Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 84 1 a Solution Created 2026-10-03 Updated 2026-10-14
A binary Hopfield network has recurrently connected units , symmetric weights , zero self-weights, and thresholds . A distributed memory is a desired population pattern . One Hebbian learning prescription isCoactive signs strengthen a connection, and opposite signs weaken it. This is Hebbian memory weights for a Hopfield network, rather than a separate address for each memory.
Initialize the units with the input cue, which can be a corrupted or partially specified pattern. Update one unit at a time by , retaining its old sign when the field is exactly zero. A fair asynchronous schedule revisits every unit. The energychanges on a single update by . An actual flip with the tie convention strictly reduces energy; finitely many states imply eventual arrival at a fixed point. This proves asynchronous Hopfield energy descent. Synchronous updating lacks this single-unit argument and can cycle.
For one stored pattern and zero thresholds, the field at is , so the pattern is a fixed point. With multiple patterns, the desired signal is accompanied by cross-talk from other memories; not every arbitrary set is guaranteed to be stable. Retrieval is attraction from a cue to a stored-pattern fixed point, provided the cue lies in its basin of attraction. Spurious minima and limited basins are part of the model, not errors in its update algorithm.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 84 1 b Solution Created 2026-10-03 Updated 2026-10-14
To an experimental neuroscientist, a Hopfield network offers a concrete hypothesis about associative memory: information is distributed over a population, a partial cue can complete a learned pattern through recurrent interactions, and synaptic changes can alter which persistent activity patterns are accessible. It predicts attraction basins, interference between similar memories and resilience to some corrupted inputs. These are useful qualitative questions for experiments, and the connection between Hebbian learning, collective dynamics and stored patterns is mathematically testable.
Its limitations are equally concrete. Binary units suppress spike timing, neural adaptation, heterogeneous conductances and dendritic computation. Exact symmetric effective interactions, unrestricted signs and the absence of delays are idealizations; individual biological neurons generally do not implement arbitrary positive and negative outgoing synapses in the way the unrestricted weight matrix permits. The simple learning rule supplies neither realistic forgetting nor a complete account of biological long-term synaptic plasticity. Memory capacity and retrieval reliability depend on load and pattern correlations, and spurious attractors occur. Moreover, a stable activity pattern is not by itself an account of consolidation, behavioral readout or the anatomical location of a memory. It is an explanatory model of associative retrieval, not a literal complete circuit diagram of the brain.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 84 1 c Solution Created 2026-10-03 Updated 2026-10-14
Since the derivative of at zero is , the Jacobian matrix of this directed rate network isWith , its characteristic determinant isThus the eigenvalues satisfyThis establishes three-neuron ring stability from the loop product. The ring is directed, so the symmetric-weight Hopfield network energy argument does not apply. Assume the physical relaxation time .
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 73 2 Solution Created 2026-10-03 Updated 2026-10-14
Computational models and biological experiments answer complementary questions. Experiments constrain what a nervous system actually does; a model makes a proposed explanation precise enough to test whether its mechanisms can produce those observations. The useful comparison is between competing, experimentally constrained explanations, rather than between modelling and experimentation as alternatives. A good model exposes assumptions, predicts new observations and identifies measurements that would distinguish it from rivals.
A Hodgkin-Huxley model links action potentials to voltage-dependent conductances and channel kinetics. It is more informative than merely fitting a spike waveform because changes in its conductances predict changes in excitability. Yet a model calibrated for one cell or preparation does not automatically represent another: different channel combinations and spatial geometry can yield similar outputs. Detailed parameters must be constrained by experiments, and apparent agreement does not make them uniquely identifiable. A leaky integrate-and-fire model deliberately sacrifices channel detail to study the effects of connectivity, timing and synapses in a large network. It is useful for such questions even though it cannot explain the microscopic origin of the action-potential waveform.
At a functional level, an LNP model tests which stimulus features predict a neuron's response and how those features map to firing rate. Independent testing, including response correlations rather than only mean rate, reveals what its assumptions miss. It can characterize a receptive field without claiming that the brain explicitly performs its particular fitted calculation. A Hopfield network likewise demonstrates that recurrent interactions can implement content-addressable memory: corrupted cues relax toward stored patterns. Its usefulness is an existence proof and a quantitative account of interference, not evidence that biological memory literally uses symmetric binary connections and the same update schedule.
Developmental models connect observed input statistics with synaptic plasticity. Hebbian learning with normalization or synaptic competition can produce selective weights and segregation of competing inputs. Models of correlated ON and OFF inputs can explain the formation of oriented simple-cell subregions and predict how changing the correlations changes their organization. That makes altered visual experience or patterned stimulation informative tests. Such models still need anatomical, developmental and plasticity constraints; several learning rules may reproduce similar final receptive fields. A primary model of activity-dependent ON/OFF competition illustrates this approach.
Normative models instead ask what representation would perform a specified task efficiently. For example, sparse coding of natural images can produce localized oriented filters resembling simple cell receptive fields. This links environmental statistics to a useful coding objective, but resemblance alone neither proves that the objective is the only explanation nor specifies the biological learning mechanism. Predictions about altered stimulus ensembles, population activity and synaptic changes provide stronger tests. The original sparse-code receptive-field model provides an example.
These distinctions also explain the dangers of models. Excessive flexibility can fit noise; unrealistic assumptions can generate a desired effect by construction; and multiple parameter sets can have nearly indistinguishable outputs. Simulation without analysis may obscure rather than explain a mechanism. Cross-validation, uncertainty analysis, comparisons with simpler models and controlled perturbations are therefore important. Conversely, collecting more measurements without a discriminating hypothesis can leave the same explanatory ambiguity unresolved.
The productive cycle is to propose a constrained model, determine which observations it predicts beyond the fitting data, perform the relevant experiment, and revise or reject the model. Models help select experiments and interpret results; experiments establish their scope and reveal omitted mechanisms. The appropriate level of detail depends on the question: spike-generation mechanisms, circuit computation and developmental organization need not be explained by the same model.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 73 3 d Solution Created 2026-10-03 Updated 2026-10-14
A standard binary Hopfield network contains recurrently connected units with activities . Choose symmetric weights , omit self-couplings by setting , and use zero thresholds for the energy in the next part. To store desired binary patterns , a simple choice is Hebbian memory weights for a Hopfield network:Correlated activity strengthens connections between units agreeing across the training patterns and makes disagreement contribute negatively. This creates attraction toward the stored configurations when cross-talk is sufficiently small. For one stored pattern, its local field is , so every bit is stable for . With multiple patterns, the other patterns add cross-talk; the rule does not guarantee exact retrieval for an arbitrary collection.
Start retrieval from a partial or corrupted cue and update one unit at a time using its current fieldA cyclic or random fair asynchronous schedule lets the network relax toward a fixed point, completing a memory when the cue lies in its basin. This is content-addressable retrieval: the initial pattern selects the memory without an explicit address. Nonzero thresholds can be included in a more general model, but their corresponding linear terms must then be included in the energy.
Three-neuron ring stability 2026-10-13
For a directed three-neuron rate ring , the linearization has characteristic equation , where . Positive loop gain has strict linear asymptotic stability for . Negative loop gain has it for ; at a complex pair crosses the imaginary axis at frequency . The saturating cubic gives a supercritical Hopf bifurcation under an ordinary loop-gain variation. This directed system does not inherit the energy-descent property of a symmetric Hopfield network.