Learning the identity: a case study of how SGD selects among functional decompositions
Abstract
One might think that learning the identity function with a deep linear residual network is trivial -- the path along residual connections already implements the identity, and so the network need only drive its weights to zero. However, this zero-weight solution is just one point on an entire manifold of population-loss minimizers, each corresponding to a different decomposition of the identity across the network's layers. Although the population loss does not distinguish among these solutions, stochastic gradient descent (SGD) reproducibly favors particular ones. For instance, under anisotropic label noise, the learned layers exhibit a noise-dependent spectrum; even with weight decay, SGD does not generally recover the zero-weight solution. Changing only the parametrization, while leaving the set of realizable functions unchanged, yields different behavior: factoring each weight matrix as a product of two matrices causes the weights to collapse to zero, even without explicit weight decay. While perhaps mysterious and unintuitive at first, these phenomena can be understood through the lens of entropic loss, which augments the population loss with a term proportional to the expected squared norm of the minibatch gradient (Ziyin et al., 2025). On the identity manifold, the population loss is constant, while the entropic term distinguishes among these decompositions. We characterize its minimizers analytically and use them to derive predictions for the structure of solutions favored by SGD. Networks trained with SGD closely match these predictions. Overall, the identity learning task studied here serves as a clean and simple case study of how the lens of entropic loss can clarify why SGD favors particular decompositions of the same input-output function.
Create a lesson
Related papers
Mid-JEPA: Learning Representations and Control through Multiscale Goal Decomposition
Shared title terminologycs.LGJiazhe Hu, Donghai Hong, Jingqi Wang et al.
Tabular Selective Attention
Shared title terminologycs.LGRohith Saai Pemmasani Prabakaran, Daniel De Dios Allegue, Nour Shaheen et al.
Molecular Uncertainty Gradients: Exact Decomposition of Predictive Variance Onto Molecular Substructures
Shared title terminologycs.LGŁukasz Janisiów, Anna Bielawska, Aneta Pawelec et al.
Adaptive Hierarchical Robust Model Selection: The Cost of Certification under Grouped Evaluation
Shared title terminologycs.LGDenali Archer, Frederik Kelbel
AlignKV: Exact Evidence Recovery via Future-Use Distillation and Block-Aligned KV Selection
Shared title terminologycs.LGShanchen Pang, Junyi Li, Chenhao Zhang et al.
Certifying Remaining AUC with Selective Verification
Shared title terminologycs.LGPeida Li