Depth without curvature is one layer
proof▲▲▲Symbolic.
STATEMENT
Prove that a network of any depth whose activations are all the identity — or any linear map — computes a single affine function. Then state exactly what the theorem does and does not rule out.
GIVEN
An -layer network with and , row-major throughout, with no nonlinearity between layers.
FIND
A single with for all , together with explicit formulas for both.
STRATEGY
Induct on depth. The base case is one layer; the inductive step substitutes the hypothesis into the next layer and collects terms. The only algebra needed is that matrix multiplication distributes over addition.
SOLUTION
Base case, . , which is already of the required form with and .
Inductive hypothesis. Suppose after layers
for some and not depending on .
Inductive step. Apply layer and expand, using distributivity:
which is again of the required form. By induction it holds for all , with
(I.3.3)
The same result for any linear activation. If then applying it elementwise is multiplication by , which is itself a linear map and can be absorbed into the neighbouring . The proof is unchanged with replaced by .
Even an affine activation collapses. adds a constant row, which merges into the bias. So no affine activation escapes.
What is ruled out. The hypothesis class of the deep linear network equals that of a single layer of the same input and output widths. Nothing reachable by the deep one is unreachable by the shallow one. Depth has bought zero expressiveness.
What is not ruled out — and this is the part usually stated wrongly.
The parameter counts differ. The deep network has parameters against the shallow one’s . It is over-parameterised for what it computes, and the map from parameters to functions is many-to-one.
The rank can be lower. If some intermediate width is smaller than both and , the product has rank at most (Rank, eigenvalues and the singular value decomposition 0.LA.04). So a deep linear network with a bottleneck is more restricted than one layer, not equal to it. This is the linear autoencoder of Chapter I.12, and its restriction is the whole point.
The optimisation differs entirely. The loss surface of the deep linear network is non-convex in its parameters even though the function class is linear. It has saddle points the single layer does not, gradient descent on it has a different implicit bias, and it converges at a different rate. Studying deep linear networks is a live research programme precisely because the trajectory is interesting while the destination is not.
Answer
The function class is that of one affine layer, for every depth and any linear or affine activation. Expressiveness is unchanged; parameterisation, rank and optimisation are not.
Check — sanity
Shapes conform. is , …, is , so the product is — exactly the shape a single layer from input to output would have.
A two-layer instance checks by hand. With , , , and : layer by layer, then . By the formula, and , so . ✓
It is consistent with I.1.B01. There, removing the ReLU changed from to . If the collapse theorem said the nonlinearity did nothing, that check would have had to give the same number. It did not, which is the same fact from the other side.
Where this breaks
The proof needs the activation to be applied to the whole vector uniformly and to be linear. Two near-misses:
A single nonlinear unit among linear ones does not collapse. The proof’s inductive step requires every layer to be affine; one exception breaks the chain.
Weight sharing does not save it. Setting gives , still a single matrix. A recurrent network without a nonlinearity is a single linear map too, which is worth knowing before Chapter I.9.
Variation
Take and . State the rank of the product and describe the set of functions this two-layer linear network can compute, compared with one layer.