Directional convergence and alignment in deep learning
Ziwei Ji, Matus Telgarsky
Abstract
In this paper, we show that although the minimizers of cross-entropy and related classification losses are off at infinity, network weights learned by gradient flow converge in direction, with an immediate corollary that network predictions, training errors, and the margin distribution also converge. This proof holds for deep homogeneous networks -a broad class of networks allowing for ReLU, max-pooling, linear, and convolutional layers -and we additionally provide empirical support not just close to the theory (e.g., the AlexNet), but also on non-homogeneous networks (e.g., the DenseNet). If the network further has locally Lipschitz gradients, we show that these gradients also converge in direction, and asymptotically align with the gradient flow path, with consequences on margin maximization, convergence of saliency maps, and a few other settings. Our analysis complements and is distinct from the well-known neural tangent and mean-field theories, and in particular makes no requirements on network width and initialization, instead merely requiring perfect classification accuracy. The proof proceeds by developing a theory of unbounded nonsmooth Kurdyka-Lojasiewicz inequalities for functions definable in an o-minimal structure, and is also applicable outside deep learning.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
114 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction cites Implicit Regularization in Deep Learning May Not Be Explainable by Norms
- Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
- Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction cites Fantastic Generalization Measures and Where to Find Them
- Reconstructing Training Data From Trained Neural Networks cites Implicit Regularization in Deep Learning May Not Be Explainable by Norms
- Reconstructing Training Data From Trained Neural Networks cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
- Implicit Regularization in Deep Learning May Not Be Explainable by Norms cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
- Learning single-index models with shallow neural networks cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
- Imbalance Trouble: Revisiting Neural-Collapse Geometry cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
Cited by top-tier papers114
- Reconstructing Training Data From Trained Neural NetworksNiv Haim, Gal Vardi, Gilad Yehudai, Ohad Shamir et al.NeurIPS 2022 · 196 citations
- Implicit Regularization in Deep Learning May Not Be Explainable by NormsNoam Razin, Nadav CohenNeurIPS 2020 · 178 citations
- Learning single-index models with shallow neural networksAlberto Bietti, Joan Bruna, Clayton Sanford, Min Jae SongNeurIPS 2022 · 119 citations
- Understanding the Generalization Benefit of Normalization Layers: Sharpness ReductionKaifeng Lyu, Zhiyuan Li, Sanjeev AroraNeurIPS 2022 · 111 citations
- Imbalance Trouble: Revisiting Neural-Collapse GeometryChristos Thrampoulidis, Ganesh Ramachandra Kini, Vala Vakilian, Tina BehniaNeurIPS 2022 · 101 citations
Builds on2
Related papers
- SAD Neural Networks: Divergent Gradient Flows and Asymptotic Optimality via o-minimal StructuresJulian Kranz, Davide Gallon, Steffen Dereich, Arnulf JentzenNeurIPS 2025 · 5 citations
- Implicit Bias of Gradient Descent for Non-Homogeneous Deep NetworksYuhang Cai, Kangjie Zhou, Jingfeng Wu, Song Mei et al.ICML 2025
- Convergence beyond the over-parameterized regime using Rayleigh quotientsDavid A. R. Robin, Kevin Scaman, Marc LelargeNeurIPS 2022 · 7 citations
- Gradient Descent on Two-layer Nets: Margin Maximization and Simplicity BiasKaifeng Lyu, Zhiyuan Li, Runzhe Wang, Sanjeev AroraNeurIPS 2021 · 94 citations
- Non-Singularity of the Gradient Descent Map for Neural Networks with Piecewise Analytic ActivationsAlexandru Craciun, Debarghya GhoshdastidarNeurIPS 2025 · 1 citation
