Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 84 4 a Solution Created 2026-10-03 Updated 2026-10-14
Fit a stimulus-conditioned linear-nonlinear-Poisson cascade model. Choose a causal stimulus-history window, subtract the stimulus mean, and estimate a temporal filter . A useful initial estimate is the spike-triggered average, . For white Gaussian stimulation and a one-filter response, this estimates the filter direction. With correlated Gaussian stimulation it estimates a direction proportional to , where is the history covariance matrix; use stimulus-correlated spike-triggered averaging to whiten or regularize this correction. An arbitrary stimulus or an even response nonlinearity does not guarantee that this average identifies the correct model.
A general fitting approach is to expand a causal filter in smooth basis functions, compute , and take a nonnegative rate . With , fit the coefficients by Poisson spike-train likelihood fitting:The first term rewards rate at observed spikes and the second penalizes overprediction elsewhere. Include a filter-size or smoothness penalty, and choose complexity on held-out data. Another option estimates by stimulus-projection histograms: divide the density of projection values at spikes by their occupancy density, multiplied by the mean firing rate. Avoid interpreting poorly sampled bins as reliable rates. Temporal train/test splits should avoid leakage through the filter-history window.
Given the fitted rate and the same stimulus, generate an Inhomogeneous Poisson process. For small bins of width , spike with probability , choosing the bins sufficiently short that multiple events are negligible. More exactly, advance integrated intensity until it increases by an independent unit-exponential random variable, then place the next event. Repeating this generates different synthetic spike trains with the same fitted stimulus-dependent rate, not copies of the original event times.
Compare held-out log-likelihood, stimulus-conditioned firing-rate predictions, count distributions, interspike-interval distributions and autocorrelation. With repeated identical stimulus presentations, compare trial-averaged time courses and trial-to-trial count variance, including the Fano factor. A single recorded train does not by itself supply a reliable repeated-trial average or variance; use held-out temporal data, model-based uncertainty and further recordings instead. Time-rescaled spike-train diagnostics test whether integrated-intensity intervals look independently exponential, rather than comparing raw intervals to an exponential law under a changing rate.
A successful model reproduces specified statistical features on new data; identical spike times are not the goal. The basic Poisson model can miss refractoriness, bursting, adaptation, history dependence or stimulus-unexplained trial variability. If needed, add a spike-history filter to the conditional rate, including an absolute dead time, and fit the resulting history-dependent model. A complex cell may also require multiple filters or quadratic stimulus features: its spike-triggered mean can vanish despite strong tuning. These failures identify model limitations rather than evidence that a random spike generator should match every observed interval.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 73 1 c Solution Created 2026-10-03 Updated 2026-10-14
One useful starting point is reverse correlation, implemented as a spike-triggered average. Present a long stimulus record and retain the stimulus history before each observed spike. After subtracting the stimulus mean, estimatewhere is the number of spikes and is the history window. This identifies a candidate temporal receptive field. For white Gaussian stimulation and a one-filter encoding model, the average is proportional to the relevant filter, provided the response nonlinearity does not make that average vanish. For example an even response to the projection can have zero average despite strong stimulus dependence. Colored inputs require accounting for stimulus covariance, and more than one relevant stimulus direction may require a richer fitted model.
Use the candidate filter in an LNP model:Estimate the static nonlinearity by binning filter projections and dividing spike counts by exposure time in each bin. Equivalently, Bayes' rule gives under this model. Refine the filter and nonlinearity by maximizing the conditional Poisson log-likelihoodwith suitable regularization. Simulate an Inhomogeneous Poisson process at the fitted rate using integrated-intensity inversion from the previous solution. This gives a statistical encoding model, not a claim to reconstruct the neuron's ion channels.
Use cross-validation: estimate parameters on one set of trials and test them on independent held-out trials. Under repeated identical stimuli, compare the observed and simulated trial-averaged firing rates, spike-count distributions, interspike-interval distributions and autocorrelations. Compare held-out likelihoods and predictive errors with simpler baseline models and with the variability between real repeats. Exact spike-by-spike agreement is not expected from two independent realizations of a stochastic model. Large rate agreement accompanied by incorrect short-interval or correlation statistics reveals missing dynamics. Adding a spike-history term, for example in a point-process generalized linear model, can account for refractoriness or bursting when the basic Poisson cascade fails.
A good model predicts held-out response distributions, not just its training spike train. Such a model summarizes what stimulus features affect the neuron, permits controlled simulated changes of those features, and tests whether the proposed computation is sufficient. Its failures can suggest further experiments or additional stimulus and history variables.