Transformative or Conservative? Conservation laws for ResNets and Transformers
Not on the map. Why?
Abstract (arXiv)
While conservation laws in gradient flow training dynamics are well understood for (mostly shallow) ReLU and linear networks, their study remains largely unexplored for more practical architectures. This paper bridges this gap by deriving and analyzing conservation laws for modern architectures, with a focus on convolutional ResNets and Transformer networks. For this, we first show that basic building blocks such as ReLU (or linear) shallow networks, with or without convolution, have easily expressed conservation laws, and no more than the known ones. In the case of a single attention layer, we also completely describe all conservation laws, and we show that residual blocks have the same conservation laws as the same block without a skip connection. We then introduce the notion of conservation laws that depend only on a subset of parameters (corresponding e.g. to a pair of consecutive layers, to a residual block, or to an attention layer). We demonstrate that the characterization of such laws can be reduced to the analysis of the corresponding building block in isolation. Finally, we examine how these newly discovered conservation principles, initially established in the continuous gradient flow regime, persist under discrete optimization dynamics, particularly in the context of Stochastic Gradient Descent (SGD).
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 23 of its 33 references that are in the map. First posted on arXiv 6 Jun 2025.
Builds on
23 of 33 references.
References · 23
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2018Neural Ordinary Differential Equationscited by 3,779
- 2013Exact solutions to the nonlinear dynamics of learning in deep linear neural networkscited by 763
- 2017The Implicit Bias of Gradient Descent on Separable Datacited by 655
- 2019Making Convolutional Networks Shift-Invariant Againcited by 391
- 2018On the Optimization of Deep Networks: Implicit Acceleration by Overparameterizationcited by 284
- 2020Implicit Bias of Gradient Descent for Wide Two-layer Neural Networks Trained with the Logistic Losscited by 268
- 2018A Convergence Analysis of Gradient Descent for Deep Linear Neural Networkscited by 184
11 more
- 2018Gradient descent aligns the layers of deep linear networkscited by 182
- 2018Algorithmic Regularization in Learning Deep Homogeneous Models: Layers are Automatically Balancedcited by 177
- 2023Handbook of Convergence Theorems for (Stochastic) Gradient Methodscited by 163
- 2017Dissecting Adam: The Sign, Magnitude and Variance of Stochastic Gradientscited by 139
- 2019Learning deep linear neural networks: Riemannian gradient flows and convergence to global minimizerscited by 61
- 2018Convergence and Dynamical Behavior of the ADAM Algorithm for Non-Convex Stochastic Optimizationcited by 49
- 2023Abide by the Law and Follow the Flow: Conservation Laws for Gradient Flowscited by 45
- 2024Implicit Bias and Fast Convergence Rates for Self-attentioncited by 31
- 2023Implicit regularization of deep residual networks towards neural ODEscited by 20
- 2019Equi-normalization of Neural Networkscited by 16
- 2024Keep the Momentum: Conservation Laws beyond Euclidean Gradient Flowscited by 11
Built on by
Citing papers per year: 2025: 2; 2026: 5.
7 papers.
- 2025Symmetry in Neural Network Parameter Spacescited by 36
- 2025Intrinsic training dynamics of deep neural networkscited by 4
- 2026Implicit Bias of Mirror Flow in Homogeneous Neural Networks: Sparse and Dense Feature Learningcited by 3
- 2026Conservation Laws for Modern Neural Architecturescited by 1
- 2026Three-Phase Transformercited by 0
- 2026Why Geometric Continuity Emerges in Deep Neural Networks: Residual Connections and Rotational Symmetry Breakingcited by 0
- 2026On Parameter Symmetries and Conservation Laws in Gradient Flowcited by 0
- 2026On Parameter Symmetries and Conservation Laws in Gradient Flow28 Sep 2026
- 2026Conservation Laws for Modern Neural Architectures16 Jun 2026
- 2026Implicit Bias of Mirror Flow in Homogeneous Neural Networks: Sparse and Dense Feature Learning19 May 2026
- 2026Why Geometric Continuity Emerges in Deep Neural Networks: Residual Connections and Rotational Symmetry Breaking6 May 2026
- 2026Three-Phase Transformer15 Apr 2026
- 2025Intrinsic training dynamics of deep neural networks10 Aug 2025
- 2025Symmetry in Neural Network Parameter Spaces16 Jun 2025