Kaijing Ma

Paper Notes

Deep Learning

Paper Notes

Ian Goodfellow, Yoshua Bengio, Aaron Courville

MIT Press, 2016 · Chapter 1 Introduction only, printed pp. 1 to 26; official online edition

Official complete Chapter 1 HTML

Scope and the central question

Representation, computation and evidence

This unit covers Chapter 1, Introduction, printed pages 1 to 26. Section 1.1 describes the audience and book structure. Section 1.2 and its four subsections provide historical context. Later chapters are not covered. This is not a whole-book reading note.

The chapter motivates deep learning through representation and composition. This note develops a separate analytical question: why do coordinates, function decomposition and parameter sharing change the difficulty of learning and execution for the same prediction task? Equations, counterexamples and small arithmetic tables are note derivations unless identified as chapter data.

Three separate judgments

Independent analytical table. These forms of evidence are not interchangeable.
JudgmentEvidence that can support itGuarantee still missing
ExpressivityA parameter setting represents the targetTraining can find it
OptimizationA specified procedure reaches a low objectivePrediction is reliable on a new distribution
GeneralizationPerformance on held-out data under a stated splitReliability on every new task or population

A useful representation can make a simple predictor effective. It can also discard information needed for the target. A deeper decomposition supplies intermediate computation, while adding optimization and storage costs. The existence of helpful features therefore does not establish a universal benefit from greater depth.

1 / 7Chapter 1 Introduction only, printed pp. 1 to 26; official online edition

How coordinates change separability

The question raised by the source figure

Book Figure 1.1 · p.4。 The left panel places blue points inside green points. The right panel separates them along radius r. A coordinate change simplifies the boundary. Coordinates, sample counts and accuracy are not reconstructed from the image. Ian Goodfellow, Yoshua Bengio and Aaron Courville, MIT Press, 2016, Figure 1.1, p. 4. Figure 1.1 was produced in collaboration with David Warde-Farley. Book Figure 1.1, p. 4. CC BY-NC-ND 4.0. Complete original figure rendered without changes to diagram content or labels. Surrounding page material excluded.

An independent example uses 8 points. The inner class occupies the four axis directions at radius 1. The outer class occupies the same directions at radius 2. This explicit construction permits a proof without treating the source image as a dataset.

Note construction: A = {(1,0), (−1,0), (0,1), (0,−1)}; B = {(2,0), (−2,0), (0,2), (0,−2)}; y(A)=1, y(B)=0.

If an affine score wᵀx+b is positive on the inner class and negative on the outer class, its class averages impose contradictory conditions. Averaging the four scores within either class cancels the coordinates and leaves b. The inner class requires b>0, while the outer class requires b<0. A single strict linear threshold in the original coordinates is therefore insufficient.

Note feature: φ(x)=x₁²+x₂². Classifier: ŷ=1[φ(x)<2.25]. Equivalently, r=√φ(x) and ŷ=1[r<1.5].
Exact arithmetic for the independent construction. This is not a chapter experiment or measured accuracy.
ClassPoint countφ(x)Threshold result
Inner411
Outer440

Information retention remains target dependent

Radius is sufficient for this target, but it cannot distinguish opposite points on the same circle. If the target changes to the sign of x₁, radius merges examples with different answers. A useful representation therefore need not preserve everything or serve every task.

Exact task sufficiency: φ(x)=φ(x′) ⇒ y(x)=y(x′). Failure of this condition prevents any deterministic decoder g from satisfying y=g∘φ on all inputs.
2 / 7Chapter 1 Introduction only, printed pp. 1 to 26; official online edition

When composition changes expressivity

Counting linear layers is insufficient

Independent derivation: a stack of affine maps collapses into a single affine map. Extra layers change parameterization and optimization, but do not automatically enlarge the class of functions from inputs to outputs. This counterexample gives depth and nonlinearity separate roles.

h₁=W₁x+b₁; h₂=W₂h₁+b₂ ⇒ h₂=(W₂W₁)x+(W₂b₁+b₂).

A nonlinear construction with an exact truth table

An independent Boolean XOR example shows the role of intermediate computation. Inputs take only 0 or 1, and s=x₁+x₂. Two ReLU intermediate values followed by a linear combination produce the exact output on these four inputs. This is an existence construction, not a training result.

s=x₁+x₂; h₁=max(0,s); h₂=max(0,s−1); f(x)=h₁−2h₂, for x∈{0,1}².
Complete truth table for the independent construction. The domain is restricted to Boolean inputs.
x₁x₂sh₁h₂f(x)
000000
011101
101101
112210

A single affine threshold that rejects (0,0) and (1,1) while accepting the other points requires b<0, w₁+b>0, w₂+b>0 and w₁+w₂+b<0. Adding the middle inequalities gives w₁+w₂+2b>0, which contradicts the remaining conditions. Nonlinear intermediates change the realizable boundary. The proof does not show that a particular optimizer and initialization will find this solution.

The example does not establish that arbitrary extra layers help. A decomposition needs to match task structure. Redundant layers can implement an identity map, while a narrow intermediate state can lose necessary information. Expressivity, parameter efficiency and learnability require separate arguments.

3 / 7Chapter 1 Introduction only, printed pp. 1 to 26; official online edition

Depth conventions and shared computation

Depth depends on the primitive operations

Book Figure 1.3 · p.7。 The left graph uses scalar multiplication, addition and sigmoid primitives. The right uses one logistic regression primitive. The compared path depths are 3 and 1. These are representations of the same function, not measured latencies. Ian Goodfellow, Yoshua Bengio and Aaron Courville, MIT Press, 2016, Figure 1.3, p. 7. Book Figure 1.3, p. 7. CC BY-NC-ND 4.0. Complete original figure rendered without changes to diagram content or labels. Surrounding page material excluded.
Same function: f(x)=σ(wᵀx). Scalar multiply → sum → sigmoid: depth 3. Logistic-regression primitive: depth 1. Source: Figure 1.3.

Independent interpretation: a depth comparison needs a fixed primitive set and a convention for reductions. Expanding a high-dimensional sum into binary additions changes path length again. Naming a stronger primitive does not by itself reduce the work needed to execute it.

Parameter sharing and execution count are separate axes

An independent construction repeats the same state transition T times with a fixed elementwise activation ρ. Its unfolded computation contains T function applications, but only one trainable parameter set. Giving each step independent parameters enlarges the model class without changing the number of applications at the same unfolded length. The accounting counts W and b only. It assumes a dense transition of fixed width and excludes a fixed initial state h₀ and any extra output head.

h_(t+1)=ρ(Wh_t+b), t=0,…,T−1; h_t∈ℝᵈ; fixed elementwise ρ. W,b only: shared d²+d; unshared T(d²+d). Dense forward work O(Td²).

Differentiating through all T uses with direct state storage requires O(Td) activation space, while shared parameter storage remains O(d²). These are general graph calculations, not memory measurements in Chapter 1. Branches, attention and changing state widths require different accounting.

The number of conceptual levels also differs from the number of inference iterations. A shallow relational graph can exchange information repeatedly and produce a long computation path. A complete architecture description therefore needs its representational structure, unfolded computation and sharing constraints.

4 / 7Chapter 1 Introduction only, printed pp. 1 to 26; official online edition

Combinatorial reuse and ambiguity

A compositional code does not guarantee compositional learning

The following independent coding example relates to the chapter’s discussion of distributed representation, but uses different numbers. An object has 4 shapes and 5 colors, with all combinations valid. A separate indicator for each combination needs 20 slots. Separate shape and color indicators need 9 slots and still represent 20 combinations.

Independent coding arithmetic: joint one-hot width = ab; factorized one-hot width = a+b. For a=4, b=5: ab=20 and a+b=9.
Coding arithmetic for the independent construction. This is not a neuron-count experiment or measured compression ratio.
RepresentationWidthRepresentable combinationsRequired condition
Joint indicators2020Each combination has a separate slot
Factor indicators920The decoder handles valid combinations of shape and color

The slot reduction establishes that a representation exists. It does not show that images can be mapped to those slots easily or that a predictor will handle unseen combinations. If training contains only red circles and blue squares, color and shape co-vary. Several internal explanations can fit the same training observations.

Internal coordinates are often nonunique

If y=g(φ(x)) and A is invertible, then φ′(x)=Aφ(x), g′(z)=g(A⁻¹z) ⇒ g′(φ′(x))=g(φ(x)).

This independent reparameterization argument assumes that the representation and readout families admit Aφ and g∘A⁻¹. A constrained architecture need not admit every invertible mixing. Under this assumption, hidden coordinates can change while predictions remain identical. A hidden unit correlated with color therefore does not establish a unique color factor or a causal interpretation. Sparsity, independence and interpretability need separate definitions and evidence.

A possible compositional test withholds selected shape and color pairs while exposing each individual attribute during training. Random image holdout and complete pair holdout test different capabilities. This design is a question proposed by the note. No such experiment was run.

5 / 7Chapter 1 Introduction only, printed pp. 1 to 26; official online edition

Learning objectives, cost and historical numbers

Representation learning still needs an objective and a distribution

Note formalization: f_(θ,ψ)(x)=g_ψ(φ_θ(x)); R̂(θ,ψ)=(1/N)Σ_i ℓ(f_(θ,ψ)(x_i),y_i); R_P(θ,ψ)=E_(x,y)∼P[ℓ(f_(θ,ψ)(x),y)].

This notation is the note’s formalization, not a numbered equation from Chapter 1. Parameters θ control the representation, ψ control the readout, and N is the training set size. A lower empirical loss R̂ does not guarantee lower risk R_P on the target distribution P. Stable correlations between backgrounds and labels can support a shortcut that fails after the background changes.

Reconstruction has a similar boundary. An autoencoder can retain an input without organizing variables relevant to the task for a simple readout. Separate measurements of reconstruction, class separation and stability to nuisance changes are needed to identify which sense of a good representation improved.

Note reconstruction objective: min_(θ,ψ) (1/N)Σ_i ||x_i−d_ψ(φ_θ(x_i))||². Small reconstruction loss alone does not imply a simple predictor of y.

Training cost and sample count interact

Note accounting: C_eval ≈ Σ_(l=1)^L d_(l−1)d_l for dense affine layers; parameter count = Σ_(l=1)^L[d_(l−1)d_l+d_l]; one epoch forward work ≈ N·C_eval.

This accounting omits activation costs, data loading, communication and backward-pass constants. More examples increase the work of one full data pass, but do not determine how many passes reach a target error. Model structure, optimizer, batch size, hardware utilization and data distribution jointly affect elapsed time. Parameter count alone does not determine GPU hours.

Historical results retain their date and metric

Historical values reported in the prose on p. 24. The 15.3% value is defined as the fraction of test examples whose correct class is absent from the first 5 candidates. It is not training or validation accuracy. No exact values are inferred from plot coordinates.
Year or source timingILSVRC top-5 classification error reported in proseSource and qualification
Earlier baseline year not separately given in this passage26.1%Section 1.2.4, p. 24; earlier comparison reference, split not separately specified
201215.3%Section 1.2.4, p. 24; defined using test examples, cites Krizhevsky et al. 2012
As of chapter writing (2016 edition)3.6%Figure 1.12 and Section 1.2.4, p. 24; latest at writing, split not separately specified

Independent arithmetic: a change from 26.1% to 15.3% is a reduction of 10.8 percentage points, or about 41.4% relative error. These metrics differ. Figure 1.12 has no exact point labels. Its visible 2012 point does not fully coincide with the prose value of 15.3%, and the chapter does not reconcile the settings. The table preserves the prose values rather than merging the curve and text into an audited exact series. Best results across years also mix changes in data, models, training and evaluation. They are not a matched-budget ablation of depth. The chapter’s sample-size heuristics and model-size extrapolations remain historical judgments, not current universal thresholds or forecasts.

6 / 7Chapter 1 Introduction only, printed pp. 1 to 26; official online edition

Evidence boundaries and further questions

Identification questions left open

Chapter 1 is a conceptual and historical introduction. It does not provide a controlled experiment that varies depth, data and compute under a common recipe. This note separates the chapter’s framing and historical sources, independent arithmetic that establishes possible mechanisms, and future experiments that could test those mechanisms under specified constraints.

Comparisons proposed by the note. No experiments were executed or resources allocated.
QuestionHypotheses separatedMinimum controls
Fixed versus learned featuresCoordinates versus extra readout capacitySame split and comparable readouts
Different decompositions of a functionParameterization versus function classDeclared primitives, widths and parameter constraints
Pair holdout versus random holdoutAttribute reuse versus local co-occurrenceEach attribute observed, selected pairs withheld
Shared iteration versus separate layersExtra computation versus extra parametersSeparate records of steps, state width and optimization budget

Relation to the preceding readings

The relation to backpropagation is a division of roles. A differentiable graph explains how an objective assigns derivatives to internal parameters. This chapter motivates learning those representations. The relation to AlexNet concerns evidence: a particular image classification result supports a particular setting, not every learned representation or deep architecture. This connection does not replace the separate source checks for those papers.

Questions with explicit answers

Why can a representation help a simple predictor? The target boundary can become simpler in new coordinates, as in the radial construction. Why can this hurt another task? The representation can merge inputs that the new target distinguishes. Why does depth need a primitive convention? The same function has different decompositions. Why does a compact code fail to guarantee compositional generalization? Training observations may not identify the assumed factors.

Coverage ends at the conclusion of Chapter 1. Later chapters and independent checks of its cited literature are not covered. The mathematical examples establish only their stated domains and assumptions. No new experiment was run. The two original figures retain their labels and pages, with source and CC BY-NC-ND 4.0 links for noncommercial reading notes.

7 / 7Chapter 1 Introduction only, printed pp. 1 to 26; official online edition

Original figures and source data come from the cited book chapter. Explanations and derivations are reading notes. Added examples are identified separately. Source versions, pages and figure labels appear beside the material.