Kaijing Ma

Paper Notes

Deep learning

Paper Notes

Yann LeCun, Yoshua Bengio, Geoffrey Hinton

Nature 521, 436 to 444 (2015) · Publisher version, issue dated 28 May 2015

Author hosted full paper · DOI 10.1038/nature14539

The question: what becomes learnable?

The central change

The review connects representation learning with convolutional and recurrent models. The question for this note is how that connection changes the design of a learning system.

Prediction = gθ(φψ(x)); both θ and ψ can receive gradients from the objective.

A feature map φ turns an input into a representation. A predictor g then uses that representation. When the feature map is fixed, optimization can only change the predictor. When both are trainable, an error can change which information the system exposes to the predictor. This is a change in the search space, as well as a change in the number of parameters.

Depth needs a role

aᴸ = fᴸ(Wᴸ fᴸ⁻¹(Wᴸ⁻¹ ⋯ f¹(W¹x + b¹) ⋯ + bᴸ⁻¹) + bᴸ)

Composition lets an intermediate result be reused by a later computation. Depth alone does not ensure a useful representation. If every activation is linear, successive affine maps collapse into a single affine map. Nonlinear stages change that expressivity. Data, architecture and optimization still determine which function is learned.

How the argument will be examined

The analysis proceeds from a local derivative to a complete parameter update. It then considers spatial sharing, distributed codes and temporal sharing. The final sections separate mathematical capacity from empirical evidence. The derivations and small calculations below are original explanations. Constructed numbers are labelled explicitly.

The historical frame

Layerwise unsupervised pretraining helped renew interest around 2006. The 2012 ImageNet result made deep convolutional models prominent. The authors expected unsupervised learning, selective attention and reasoning to become more important. These are 2015 judgments. They motivate questions here rather than establish current performance.

1 / 7Publisher version, issue dated 28 May 2015

Backpropagation: a derivative, then an update

Source Figure 1b · p. 437。 LeCun, Bengio and Hinton, Nature 521 (2015). Diagram excerpt. The diagram gives the correct chain rule; the adjoining source caption has a derivative typo.

A local calculation fixes the meaning

y = q(x); z = r(y); dz/dx = (dz/dy)(dy/dx)

A small change in x first changes y. That change in y then changes z. The two local sensitivities therefore multiply. The intermediate variable appears once as an output and once as an input. Replacing the first factor by dz/dx would repeat the x to y sensitivity and would no longer express this composition.

The vector form

a⁰ = x; zˡ = Wˡaˡ⁻¹ + bˡ; aˡ = fˡ(zˡ); E = ½‖aᴸ − y‖²

The target is y. The superscript l indexes layers. Each activation acts element by element in this derivation. Defining δ as the derivative of E with respect to z gives the following recurrence.

δᴸ = (aᴸ − y) ⊙ fᴸ′(zᴸ)
δˡ = ((Wˡ⁺¹)ᵀδˡ⁺¹) ⊙ fˡ′(zˡ)
∂E/∂Wˡ = δˡ(aˡ⁻¹)ᵀ; ∂E/∂bˡ = δˡ

The transpose routes downstream sensitivity back to the inputs that contributed to it. The elementwise product accounts for the local activation. The outer product then gives a matrix with the same shape as the weights. Bias gradients need no activation outer product because each bias enters its preactivation additively.

A numerical consistency check

Constructed scalar example. These values are not paper results.
QuantityValueInterpretation
x, w, y2, 0.5, 3Input, weight, target
a = wx; E = ½(a − y)²1; 2Prediction and loss
∂E/∂w = (a − y)x−4Local derivative
η; w_new = w − η∂E/∂w0.1; 0.9Learning rate and updated weight
a_new; E_new1.8; 0.72Prediction and loss after one update

Backpropagation computes derivatives. An optimizer chooses how to use them. A correct derivative does not guarantee that a large step lowers the objective. A lower training objective also leaves a separate empirical question about performance on unseen data.

From a derivative to SGD

L_B(θ) = (1/|B|) Σ_(i∈B) ℓ_i(θ); θ_new = θ − η∇L_B(θ)

A minibatch gradient averages the selected examples. With uniform sampling, it estimates the gradient of the dataset mean. Different batches introduce variation into that estimate. The objective, sampling scheme and learning rate still matter. Measuring generalization requires examples outside the data used for fitting.

2 / 7Publisher version, issue dated 28 May 2015

Convolution: locality, sharing and information loss

A structural prior

A convolutional layer reuses a local rule across an array. This is useful when the same local pattern can matter at different positions. It also excludes functions that need unrelated parameters at every position. Sharing is therefore an assumption about useful structure, rather than a free increase in flexibility.

N_conv = kₕk𝑤C_inC_out + C_out; N_dense = (HWC_in)D + D
Parameter arithmetic for a constructed example.
Constructed layerAssumptionsTrainable parameters
Convolution3 × 3 kernel; C_in = 3; C_out = 16448
Dense32 × 32 × 3 input; D = 1649,168

Output shapes and expressivity differ. This calculation isolates parameter sharing. It is not a controlled accuracy or speed comparison.

Parameters and computation are different counts

MACs_conv ≈ H_outW_outkₕk𝑤C_inC_out

A shared weight can be used at many spatial locations. Fewer parameters can therefore coexist with substantial computation. The approximate multiply accumulate count above omits biases, activation work and memory traffic. Latency also depends on layout, batching, implementation and hardware utilization.

Receptive fields grow through composition

r₀ = 1; j₀ = 1; r_l = r_(l−1) + (k_l − 1)j_(l−1); j_l = s_lj_(l−1)

For an ordinary one dimensional stack without dilation, r is the receptive field size and j is the spacing between neighboring receptive field centers in input coordinates. Two kernels of size three with stride one give a receptive field of five. In two dimensions, the same calculation applies to each axis. Padding changes which boundary values are observed.

Equivariance differs from invariance

Φ(Tx) = TΦ(x) versus Ψ(Tx) = Ψ(x)

The first relation preserves where a transformation went. The second removes that change from the output. Localization often needs the first property. A category label may benefit from the second for selected transformations. Exact translation statements depend on boundaries, sampling and stride. Pooling does not establish invariance to arbitrary rotations or viewpoints.

3 / 7Publisher version, issue dated 28 May 2015

Distributed codes: capacity is not a guarantee

A combinatorial count

n binary coordinates admit 2ⁿ distinct configurations.

A coordinate can participate in many different configurations. That gives a representation a compact way to express combinations. The count says how many codes are available. It does not identify the correct label for an unseen code. Generalization requires additional structure in the target function and in the learner.

A constructed ambiguity. Both rules fit the observed rows.
InputAdditive rule fAlternative rule gObserved in the example
(0, 0)00Yes
(0, 1)11Yes
(1, 0)11Yes
(1, 1)2100No

An additive assumption selects one extension of the observations. A lookup rule can select another. Perfect agreement on the first three inputs cannot distinguish them. This small example makes the missing assumption explicit. A larger code space alone does not resolve it.

An embedding is learned through its use

e_i = E onehot(i); logits_i = We_i

The column selected from E is a vector for an input symbol. A downstream computation converts it into a prediction. Its usefulness is therefore tied to the prediction problem and the training distribution. A component need not correspond to a single human concept.

E′ = AE; W′ = WA⁻¹; W′E′ = WE for invertible A

This simple linear readout has equivalent parameterizations. An invertible change of embedding coordinates can leave every logit unchanged. Some such changes alter Euclidean distances. Coordinates and plots therefore need interpretation in the context of the model. A two dimensional visualization alone cannot prove a unique semantic geometry.

4 / 7Publisher version, issue dated 28 May 2015

Recurrence: shared parameters across time

Source Figure 5 · p. 442。 LeCun, Bengio and Hinton, Nature 521 (2015). Original diagram excerpt. U, V and W are shared across the unfolded time steps.

A state is a repeated computation

h_t = f(Wh_(t−1) + Ux_t + b); o_t = g(Vh_t + c)

The state at a time step depends on the preceding state and the current input. Unrolling exposes these dependencies as an ordinary computation graph. The graph grows with sequence length. The parameter set remains shared. A separate copy of the state is a different object from a separate trainable matrix.

∂E/∂W = Σ_t δ_t h_(t−1)ᵀ, where δ_t = ∂E/∂z_t

Each use of W contributes to the same parameter gradient. The sum is over uses of a shared matrix. The total δ at a state includes its effects on later computations. Treating the unrolled matrices as independently learned would define a different model.

Why temporal credit can be difficult

J_t = ∂h_t/∂h_(t−1) = diag(f′(z_t))W
∂h_T/∂h_t = J_TJ_(T−1) ⋯ J_(t+1)

Early sensitivity passes through a product of Jacobians. Norm bounds can explain shrinking or growing sensitivity. Their directions and interactions also matter. A single eigenvalue slogan does not fully characterize a nonlinear time varying system. Sequence length changes the number of factors through which a distant dependency must pass.

A gated memory path

c_t = f_t ⊙ c_(t−1) + i_t ⊙ g_t
∂c_t/∂c_(t−1) along the direct memory edge = diag(f_t)

This generic gated cell has a direct additive path. A forget gate near one can preserve sensitivity along that path. The full derivative also includes paths through the gates and hidden states. This is a mechanism for carrying information, rather than a guarantee that a task will learn arbitrarily long dependencies.

Encoding and generation

p(y₁, …, y_T | x) = ∏_(t=1)^T p(y_t | y_<t, x)

An encoder can supply information about x to a decoder. The factorization defines generation one conditional distribution at a time. Training can condition on observed earlier tokens. Generation conditions on its own earlier choices. These contexts can differ. A fluent output does not by itself establish that every relevant input detail was retained.

5 / 7Publisher version, issue dated 28 May 2015

Evidence, cost and the limits of inference

The review is not a new benchmark

Selected source facts. No new experiment is implied.
Reported contextSource locationQualification
GPU training speedup: 10 or 20 timesp. 439Historical report; no matched setup here
ImageNet: about 1 million images; 1,000 classesp. 440Dataset context; not an accuracy table

A numerical claim needs a measurement protocol before it supports a comparison. A speed ratio needs a baseline, hardware, implementation, precision, batch size and stopping condition. An error rate needs a dataset split and metric definition. Without those conditions, a historical number can orient a reading without supporting a new performance prediction.

A useful cost decomposition

Training work ≈ updates × examples per update × work per example

This decomposition separates three quantities that a parameter count cannot replace. A representation may be compact while activations remain large. A shared weight can be applied many times. A recurrent sequence can increase stored state or recomputation. Memory, arithmetic, communication and latency therefore need separate accounting.

Optimization claims need assumptions

The review emphasizes saddle points over poor local minima in large networks. The scope of that argument matters.

A nonconvex objective can contain stationary points of different kinds. A zero gradient does not identify a global minimum. A negative curvature direction can help distinguish a saddle from a local minimum. The existence of good training solutions also does not prove that every architecture or initialization has the same landscape. A general guarantee requires a stated class of objectives and an argument for that class.

A representation preserves some information

A prediction objective rewards information useful for that prediction. It may leave other distinctions unconstrained. Classification, localization, reconstruction and generation can therefore favor different intermediate representations. A useful question is which changes in the input should alter the output. This connects architectural invariances to the actual task.

Learning without labels and learning to act

A reconstruction or prediction objective can obtain a training signal without a manually supplied category label. That changes where supervision comes from. It does not remove the choice of objective. An agent that selects observations adds another dependency: its actions affect which information becomes available. A complete analysis then includes the observation policy and its feedback, as well as the representation.

6 / 7Publisher version, issue dated 28 May 2015

Relationships, corrections and recall

Three forms of reuse

Interpretive comparison developed in this note.
MechanismWhat is reusedWhat still needs evidence
CompositionIntermediate computationsUseful task structure
ConvolutionA local parameterized rule across positionsAppropriate spatial assumptions
RecurrenceA state transition across timeLearnable temporal dependencies

These mechanisms answer different questions. Composition organizes a computation. Sharing restricts which parameters can vary independently. An objective determines which errors generate a signal. Optimization determines how that signal changes parameters. Generalization concerns behavior beyond the observations used for fitting. A clear reading keeps these roles connected without merging them.

A bibliographic correction

Reference 102 links to the wrong captioning paper. The matching Vinyals, Toshev, Bengio and Erhan paper is arXiv:1411.4555. The printed destination, arXiv:1502.03044, belongs to Xu and colleagues.

Questions with substantive answers

What does backpropagation supply? It supplies derivatives of a defined objective through a computation graph. It does not choose the objective, the learning rate or the evaluation distribution.

Why can parameter sharing help? It makes multiple observations constrain the same rule. The benefit depends on whether that rule should actually be shared across those observations.

Why is a large code space insufficient? It counts possible representations. It does not specify the target function on unseen combinations. The ambiguity table gives an explicit counterexample.

Why can a recurrent model have few parameters and a deep computation? Its parameters are reused at every step. The unrolled dependency chain still grows with sequence length.

What does a qualitative output establish? It shows behavior on that example. Estimating reliability needs a defined sample and metric. Explaining a mechanism requires additional evidence about the computation.

Source and scope

The full author hosted publisher PDF was checked, including the main text, figure pages and bibliography. The bibliography was inspected for identity and selected links. This does not constitute independent reading of all cited work. This note adds derivations and constructed examples. It makes no claim about current model rankings.

7 / 7Publisher version, issue dated 28 May 2015

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