Kaijing Ma

Paper Notes

Learning representations by back-propagating errors

Paper Notes

David E. Rumelhart, Geoffrey E. Hinton, Ronald J. Williams

Nature 323, 533 to 536 (9 October 1986) · Original Nature article across four scanned sheets, printed pp. 533 to 536

Author hosted full article PDF

The question and the evidence

How output error shapes a hidden representation

The central question concerns the hidden units. Training provides inputs and desired outputs, but it does not provide a label for each internal feature. The paper shows how an output objective can nevertheless shape those features. A backward computation assigns derivatives to internal connections, so changes to a hidden representation can be evaluated through their effect on the task.

Note interpretation: backpropagation computes a gradient. Gradient descent and momentum use that gradient to update parameters. This distinction separates derivative correctness from optimization success. The same derivative calculation can support different update rules, while the objective, parameterization, initialization and step size still affect learning. The source uses sigmoid units and squared error. Modern softmax, cross entropy and random minibatches are not assumed here.

What the source demonstrates

Evidence map from pp. 533 to 536. This is an explanatory table created for the note.
QuestionEvidence in the paperBoundary of the claim
Can hidden units learn nonlinear features?Mirror symmetry for six binary inputs with two hidden unitsA small exhaustive task rather than a large vision benchmark
Can representations exploit relational structure?Two isomorphic family trees with 100 training triples and 4 withheld triplesSuccess on four withheld triples rather than a broad generalization estimate
Can the procedure apply to recurrent networks?Figure 5 unfolds synchronous recurrence into a layered networkA structural argument without a separate numerical recurrent experiment
Does the method model learning in brains?The conclusion on p. 536 rejects that claim for the current formTask learning is not a validation of a biological mechanism

Coverage includes the article across four scanned sheets, with printed pages 533 to 536. It starts in the lower part of p. 533 and ends in the upper left of p. 536. The neighboring fossil and kitten vision articles are excluded. The article text, equations (1) to (9), Figures 1 to 5 and its four references were visually checked. The cited works were not independently reread.

1 / 9Original Nature article across four scanned sheets, printed pp. 533 to 536

Notation, the forward pass and the objective

Connection indices and biases

The source writes w_ji for a connection from unit i to unit j. The symbol x_j denotes a unit’s total input, while y_j denotes its output. This differs from notation that reserves x for the external input vector. Here a denotes an external input, O denotes the output layer and c indexes training cases. The original weight orientation is retained.

x_j = Σ_i w_ji y_i; y_j = σ(x_j) = 1 / (1 + exp(−x_j)); σ′(x_j) = y_j(1 − y_j)

A constant input y_0 = 1 makes its connection weight w_j0 the bias b_j. The same derivative rule then applies to biases because the incoming activation equals one. The paper describes a bias as a threshold with the opposite sign. A negative bias therefore requires positive incoming evidence to offset it. It does not make a sigmoid output exactly zero.

Notation from pp. 533 to 535. The delta symbol is introduced here as a shorthand.
SymbolMeaningConvention in this note
w_jiConnection from i to jThe first index belongs to the receiving unit
x_j, y_jTotal input and nonlinear outputExternal inputs use a separate symbol a
d_j,cDesired output for a caseHidden units have no assigned target label
E_c, ECase loss and summed case lossThe sum is not silently replaced by a mean
δ_j∂E_c/∂x_jDerivative convention; descent uses a negative sign

Why the objective reaches internal units

E_c = (1/2) Σ_(j∈O) (y_j,c − d_j,c)²; E = Σ_c E_c

Equation (3) combines errors across cases and output units into one scalar. An internal connection influences that scalar through forward paths even though no desired hidden state is specified. Learning therefore needs the derivative of this indirect influence rather than an invented target for a hidden unit. The family task also allows multiple correct outputs, so the target need not be an exclusive class label.

The layered network can have connections that skip intermediate layers. It excludes connections within a layer and connections from higher layers to lower ones. Forward states follow dependency order, and units in a layer can be evaluated in parallel. The backward computation follows the reverse order. The essential condition is an acyclic dependency structure rather than a requirement that every edge connect adjacent layers.

2 / 9Original Nature article across four scanned sheets, printed pp. 533 to 536

The chain rule and hidden unit credit

Output error becomes a derivative of total input

For one case, the case index can be suppressed. Equation (4) gives the output derivative y_j − d_j. Multiplication by the sigmoid derivative gives the derivative with respect to total input. With the convention used here, delta is a gradient rather than a desired minus predicted residual. Confusing these definitions reverses the sign of the parameter update.

j ∈ O: ∂E_c/∂y_j = y_j − d_j; δ_j = ∂E_c/∂x_j = (y_j − d_j)y_j(1 − y_j)

Each forward edge contributes to the backward derivative

∂E_c/∂w_ji = δ_j y_i; contribution through i → j: ∂E_c/∂y_i = δ_j w_ji

A weight derivative is the receiving unit’s delta multiplied by the sending unit’s activation. This local product is complete only after delta has accumulated all downstream effects. If unit i influences several successors, its activation derivative sums their contributions. Selecting only the largest contribution or only one nearby connection would omit valid paths.

∂E_c/∂y_i = Σ_(j∈succ(i)) w_ji δ_j; δ_i = y_i(1 − y_i) Σ_(j∈succ(i)) w_ji δ_j

The hidden recurrence combines equations (7) and (5). Successor deltas are available before the current delta is evaluated. Intermediate derivatives are computed once and reused. This avoids expanding the entire network function separately for every weight. A connection that skips a layer contributes to the same successor sum, so the rule also covers the skip connections permitted in the source.

From one case to the full sweep used in the paper

G_ji = ∂E/∂w_ji = Σ_c δ_j,c y_i,c; Δw_ji(t) = −εG_ji(t) + αΔw_ji(t − 1); w_ji(t + 1) = w_ji(t) + Δw_ji(t)

The source mentions an alternative that updates after each case. The reported research instead accumulates derivatives across all training cases before changing the weights. Equation (8) is gradient descent without momentum. Equation (9) retains part of the previous weight change. Time t advances after a complete sweep through the case set. Epsilon controls the current gradient contribution, while alpha retains part of the previous update. The momentum factor α lies between 0 and 1 in the source definition.

Note interpretation: replacing a gradient sum with a mean changes the update scale unless the learning rate changes accordingly. With fixed epsilon, a different number of cases can therefore change the effective step. Momentum can preserve a direction shared by successive gradients. It does not guarantee that every step lowers error or that a nonconvex objective reaches its global minimum.

3 / 9Original Nature article across four scanned sheets, printed pp. 533 to 536

A worked derivative example

An independent calculation rather than a source experiment

A one input network with one hidden sigmoid and one output sigmoid makes the signs concrete. The input a and desired output d both equal one. Initially, the hidden weight v and hidden bias b_h equal zero. The output weight w equals one and its bias b_o equals zero. The loss remains half the squared error. These values were chosen for this note and do not reproduce a source experiment.

h = σ(va + b_h) = 0.5; y = σ(wh + b_o) = 0.62245933; E_c = (1/2)(y − 1)² = 0.07126848
δ_o = (y − 1)y(1 − y) = −0.08872346; δ_h = h(1 − h)wδ_o = −0.02218086
Independent numerical example. All four derivatives use the parameters before the update, and α = 0.
ParameterGradientNew value with ε = 0.1
wδ_o h = −0.044361731.00443617
b_oδ_o = −0.088723460.00887235
vδ_h a = −0.022180860.00221809
b_hδ_h = −0.022180860.00221809

All four derivatives are negative, so a descent step increases each parameter. A simultaneous update using unrounded values gives a loss of approximately 0.07019139, below the initial 0.07126848. This is a direct arithmetic check of the equations. It is not dataset training, a randomized experiment or a replication of the paper.

Three errors exposed by the example

The hidden delta needs the downstream weight w. Copying an output residual to the hidden layer omits this sensitivity. The hidden delta also needs its own factor h(1 − h), rather than the output factor y(1 − y). Finally, updating w before computing the hidden delta mixes derivatives from different parameter points. A consistent backward pass corresponds to one stored forward state.

Finite difference check: ∂E/∂θ ≈ [E(θ + q) − E(θ − q)] / (2q)

Proposed checks include a central finite difference for every parameter of this small network. Several values of q would reveal the balance between rounding and truncation error. A network with several downstream paths would also allow comparison between explicit path expansion and reverse accumulation. These are proposed checks, and no execution of those additional tests is claimed.

4 / 9Original Nature article across four scanned sheets, printed pp. 533 to 536

Mirror symmetry and the learned hidden computation

The exhaustive task and the reported settings

Figure 1 has six binary inputs, two hidden units and one output. The task asks whether the input equals its reflection around the midpoint. An individual bit does not determine this relation. A single weighted sum of individual bits cannot supply the required discrimination. The reported learning procedure found a solution with two hidden units.

Source Figure 1 · p. 534。 ©1986 Nature Publishing Group. Rumelhart, Hinton and Williams, Nature 323, 1986. Edge numbers are learned weights and numbers inside nodes are biases. Opposite signed hidden weight patterns detect imbalance between reflected input positions. Negative output connections suppress nonsymmetric patterns. The displayed values are rounded, including the 7.2 and 7.1 pair, so the structural explanation uses approximate pairing.
Figure 1 caption, p. 534. Counts and settings belong to this example rather than the family network.
ItemSource report
Input set64 possible binary input vectors
Hidden units2
Complete training sweeps1,425
ε, α0.1, 0.9
InitializationRandom weights, uniform from −0.3 to 0.3
UpdateAccumulated gradient after each full sweep
Displayed biases−1.1 for each hidden unit; 6.4 for the output
Hidden to output weights−8.8 on both connections

Comparing two halves before a nonlinear decision

The caption interprets reflected weights within a hidden unit as equal in magnitude and opposite in sign. The three weights on one side follow a 1:2:4 relation. This gives distinct weighted sums to the eight possible configurations of three bits. Equal reflected halves cancel, while different halves leave a discrepancy. Opposite patterns in the two hidden units make the two directions of discrepancy detectable.

Note idealization: r = Σ_(k=1)^3 2^(k−1)(a_k − a_(7−k)); h₊ = σ(βr + b); h₋ = σ(−βr + b), b < 0

This formula is an idealized explanation of the mechanism, with beta setting its scale. It does not replace the printed learned values. When r is zero, both hidden units have similarly low activity. A discrepancy in either direction raises the activity of its corresponding unit. The positive output bias favors symmetry, while negative connections turn discrepancy evidence into suppression. Sigmoid units remain continuous, so on and off describe activity ranges rather than exact Boolean states.

Independent counting gives 2⁶ = 64 inputs. A symmetric input is determined by its first three bits, so there are 2³ = 8 symmetric and 56 nonsymmetric patterns. The caption’s sweep definition gives 1,425 × 64 = 91,200 input presentations. These are arithmetic consequences of the setup. They are not additional accuracy measurements, variance estimates or hardware timings. The paper does not report a success distribution across random initializations.

5 / 9Original Nature article across four scanned sheets, printed pp. 533 to 536

Family trees, distributed representations and limited generalization

Combining a person with a relation

Figure 2 gives two isomorphic trees with 12 people each. One uses English names and the other Italian names. A fact has the form person 1, relationship, person 2. Inputs indicate a person and a relationship, while outputs indicate the people who satisfy that relation. In Figure 3, Colin with the relation has aunt has two correct outputs. Several answers can therefore be active together.

Figures 2 and 3, p. 534. The 36 input units do not form one exclusive 36 class label.
LayerUnits and connectionsRole
Input24 person units and 12 relationship unitsOne active input in each group
Second6 person units and a separate group of 6 relationship unitsDistributed encodings for the two input groups
Central12 units connected to all 12 units in the second layerCombination of person and relationship information
Penultimate6 units connected to all 12 central unitsA representation used to produce output people
Output24 units connected to all 6 preceding unitsSeveral people may satisfy the relationship

Training settings and tolerance in the error

Figure 4 caption and main text, p. 535. The tolerance changes training error rather than serving only as a final accuracy threshold.
ItemSource report
Training and withheld facts100 of 104 possible triples used in training; 4 withheld
Training sweeps1,500
First 20 sweepsε = 0.005, α = 0.5
Remaining sweepsε = 0.01, α = 0.9
Weight decayEvery weight reduced by 0.2% after each weight change
Desired active outputsError treated as zero above activity 0.8
Desired inactive outputsError treated as zero below activity 0.2
Withheld resultCorrect generalization reported for all 4 triples

The tolerance avoids the need for large weights that push sigmoid outputs arbitrarily close to zero or one. The caption states when error is treated as zero. It does not fully specify the piecewise objective outside those regions or its boundary handling. That reproduction gap remains explicit here. It is not silently replaced with ordinary squared loss, a hinge objective or cross entropy.

Source Figure 4 · p. 535。 ©1986 Nature Publishing Group. Rumelhart, Hinton and Williams, Nature 323, 1986. Each panel shows the weights from 24 person inputs to one second layer unit. English people occupy the upper row and corresponding Italian people the lower row. White and black indicate excitatory and inhibitory weights, while area indicates magnitude. The caption interprets unit 1 mainly through family identity, unit 2 through generation and unit 6 through family branch. These meanings describe one learned solution rather than predefined semantic labels.

What distributed representation and generalization mean here

Each person begins as a separate input unit. The network is not given generation or branch labels. Figure 4 shows a hidden feature serving people in corresponding structural positions. A shared code can let relational constraints from one family help the other. This interpretation does not imply recovery of a unique symbolic or causal rule for kinship. Permuting hidden units can also preserve the same network function.

The evidence from four withheld triples is limited. The article does not list the exact withheld set, repeated random splits, confidence intervals or a systematic memorization baseline. The 100 triples also do not establish 100 distinct person plus relation inputs because one input can have several correct outputs. The example supports representation of relational structure. It does not estimate performance on new families, entirely new people or unseen relationships.

6 / 9Original Nature article across four scanned sheets, printed pp. 533 to 536

Update choices, cost and reproduction gaps

Initialization, momentum and decay have different roles

Small random initial weights break symmetry between hidden units. Two units with identical incoming weights, biases and outgoing weights have identical states and derivatives. Deterministic updates can preserve that duplication. Randomness supplies different starting points, but it does not directly provide knowledge about family relations or mirror symmetry.

Momentum retains update history, whereas decay shrinks parameters. The family experiment introduces 0.2% decay to make weight magnitudes easier to interpret. This is different from the momentum coefficient alpha in equation (9). The following arithmetic expresses a literal shrinkage after the weight change. The paper does not provide full pseudocode that resolves every implementation detail.

Literal decay ordering for interpretation: w_new = (1 − 0.002)(w_old + Δw) = 0.998(w_old + Δw)

Note interpretation: a small weight does not necessarily identify an unimportant feature. Reparameterization, interactions and input scales can change how magnitude relates to function. The source uses decayed magnitudes to interpret this learned solution. That is a useful qualitative clue rather than a calibrated or causal feature attribution method.

Cost follows connections and stored states

Derived scaling: one case forward + backward = O(M + U); P cases per full sweep = O(P(M + U)); sequential case storage ≈ O(M + U)

These scalings are derived for this note. M is the number of computed connections, U the number of units and P the number of training cases. Each edge participates in a constant amount of local forward and backward work. Computing each unit’s activation and derivative adds the U term. A full batch update does not require storing activations for all cases at once. Cases can be evaluated sequentially while gradients accumulate in M storage locations. Retaining all case states at once instead gives O(PU) activation storage. These are asymptotic estimates rather than measured time or energy.

Cost accounting with explicit sources and assumptions. No additional training run was performed.
QuantityDerivation or sourceInterpretation
576 connection weights24×6 + 12×6 + 12×12 + 12×6 + 6×24Derived from the fully connected groups in Figure 3, excluding biases
54 possible biases12 + 12 + 6 + 24Assumes one bias for every noninput unit
630 possible parameters576 + 54A topology count rather than a reported parameter total
1,425 and 1,500 sweepsFigures 1 and 4Different tasks whose sweep counts do not directly compare speed
Hardware time and resource costNot reportedNo basis for a conversion to modern GPU hours or a training budget

A reproduction also needs the family loss outside its tolerance regions, the construction of training cases, the identity of the four withheld triples and full initialization details for that experiment. Figure 1’s uniform initialization range belongs to the symmetry experiment. It does not automatically fill the gap for the family network. No verified author code version or executable run record is established here, so no unverified code link is added.

7 / 9Original Nature article across four scanned sheets, printed pp. 533 to 536

Recurrent unfolding and shared parameters

Time becomes another dependency axis

Figure 5 represents three iterations of a synchronous recurrent network as a layered network. Each time step becomes a layer in the unfolded computation. A recurrent connection appears as several copies at different times. The same forward and backward rules can then operate on a finite computation. The original recurrent graph itself need not be acyclic.

Note notation for an unfolded state: y^(t+1) = σ(Wy^(t) + b), t = 0, …, T − 1

The caption identifies two extra conditions. Backward computation needs the states from earlier time steps, so a state history is required. Corresponding connections must also keep the same value. Without that constraint, training would produce a layered network with a different parameter set at each step rather than the fixed recurrent network being represented.

The source average and the derivative of a shared parameter

Shared parameter chain rule: ∂E/∂w_shared = Σ_(t=1)^T ∂E/∂w^(t); source Figure 5 update uses ḡ = (1/T)Σ_(t=1)^T ∂E/∂w^(t)

Figure 5 explicitly averages derivatives across corresponding copies and applies that average to each copy. By the chain rule, the derivative of one shared variable is the sum of contributions from all its uses. If every shared parameter has T copies, averaging instead of summing is equivalent to reducing the learning rate by T. If copy counts differ between parameters, separate averages are no longer one uniform learning rate change.

Derived recurrent scaling: forward + backward over T steps = O(T(M + U)); stored state history = O(TU)

These time and memory expressions are again derived here, assuming M connections and U state values per step. The source suggests applications to iterative search and sequential structure. This short article does not give separate numerical experiments for those tasks, long dependency curves or a truncated backward procedure. Figure 5 therefore does not establish successful learning over long sequences.

8 / 9Original Nature article across four scanned sheets, printed pp. 533 to 536

Limits, relationships and questions for further tests

A correct gradient does not guarantee optimization or generalization

The source discusses local minima and acknowledges that gradient descent need not find a global minimum. The authors report that poor outcomes were uncommon in their experience and suggest that extra connections can provide routes around obstacles. This is an empirical observation from their tasks. It is not a convergence theorem for arbitrary widths, data distributions or random seeds.

The derivative exposes another limitation. A sigmoid near zero or one has a small factor y(1 − y). Products of sensitivities along several layers can become small, depending on both weight scales and activation states. The article does not quantify this behavior through a modern depth study. It is identified here as a risk visible in the equations rather than a completed source ablation.

Conceptual relationships, with interpretations kept beside explicit source qualifications.
Relationship or questionJudgment supported by this reading
Backpropagation and gradient descentThe former computes derivatives; the latter chooses updates, while momentum changes update dynamics
Fixed features and learned representationsTrainable input connections allow the task to change internal features
Forward and backward computationThe forward pass computes states; the backward pass reuses them to accumulate objective sensitivities
Symbolic rules and distributed codesFigure 4 shows structural regularities in continuous features without proving recovery of a unique symbolic rule
Biological plausibilityThe conclusion on p. 536 rejects the current form as a plausible model of learning in brains
Historical priorityThe paper notes independent variants by Parker and Le Cun; this note does not establish a separate priority history

Tests that could separate mechanism from an isolated success

One proposed study would repeat random initializations for the symmetry task. It would record convergence frequency, sweep counts and output margins, then compare one, two and more hidden units. This could test how typical the illustrated solution is and whether extra capacity mainly changes optimization. No such runs were generated or executed for this note.

A second proposed study would publish every family training input, its complete target vector and the withheld facts. Random fact withholding could then be compared with withholding a person or an entire family. Controlled removal of decay, momentum or the tolerance would identify their separate effects. These splits ask different generalization questions. One result on four facts cannot substitute for all of them.

A third proposed study would check the summed shared gradient for a finite recurrent computation. Figure 5’s averaging rule could be compared after the corresponding learning rate conversion. Changing the unfolding length would then expose state storage and gradient magnitude. This separates correct parameter tying, comparable update scale and the difficulty of optimizing long paths.

The causal chain worth retaining

A differentiable forward computation connects weights to task error. The chain rule transfers output sensitivities to hidden states. Local products then give connection derivatives. Joint updates can make internal features reflect useful task structure. The symmetry and family examples demonstrate organized hidden features through this chain. Their boundaries remain equally important: no global optimization guarantee, no large scale generalization estimate and no validated biological learning mechanism.

9 / 9Original Nature article across four scanned sheets, printed pp. 533 to 536

Original figures and data come from the cited paper. Explanations and comparisons are reading notes. Source versions and figure labels appear beside the material.