Neural networks have parameter symmetries: parameter transformations that do not affect the represented function. How do these symmetries affect the functions that neural networks ultimately learn? We study the implicit bias arising from these symmetries by calculating the equilibrium distribution over represented functions under Langevin dynamics with Gaussian regularization. To isolate the effect of symmetries on this distribution, we study the limit in which the strength of the regularization is taken to zero. In certain cases, we show that the zero-regularization and infinite-time limits commute. In the low temperature limit, we recover known effective regularizations. At positive temperature, a renormalization procedure allows us to derive a novel entropy which predicts symmetry-induced preference for certain functions. For linear networks, we obtain explicit entropy terms that favor singular and low-rank functions. For networks with homogeneous activations, we find entropy terms that favor inactive neurons, which can lead to neural "heat death" in which equilibrium mass concentrates on networks with vanishing output. We interpret these results through the neural tangent kernel, as a simplicity bias selecting for functions that vary slowly under variations in the parameters.
Figures & tables
Figure 1: The loss landscape of f(x)=uvx with L(u,v)=(uv−1)2/2 , plotted with the coordinates w=uv (blue) and a (orange, defined in Section 3 ). The loss and w have scaling symmetry u↦cu and v↦v/c . Under Langevin dynamics, θ escapes to infinity along uv=1 (green).
Figure 2: In the positive (u,v) quadrant (excluding the axes), the diagonal network f(x)=uvx can be given symmetry coordinates w=uv (blue) and a=21log(u/v) (orange). These are ill-defined at the boundary, as shown by a path (black) approaching the v -axis diverging to (0,−∞) in the (w,a) plane. The finite a -axis corresponds to approaching (u,v)=(0,0) along different rays.
Figure 3: Unregularized Langevin densities for wi=uivi with ℓ(w)=∥w−w∗∥2/2 , for w∗=(1,−1) and T=0.2 , over 512 trials. Finite-time λ=0 densities are increasingly well predicted by pλeff(t),T(w) (blue) at large times, and approach the predicted λ→0 limit (blue, dotted). (See Appendix Figure 8 for t=104 .)
Figure 4: Langevin densities of the two smallest singular values of W=UV⊤ with ℓ(W)=∥W−W∗∥F2/2 for W∗=I4 and T=0.2 , over 2048 trials. Empirical λ=0 densities appear to track the λeff(t) prediction (blue), and approach limλ→0pλ,T (blue, dotted), as opposed to the naïve distribution without the entropic correction (orange, dashed). (See Appendix Figure 11 for all four singular values up to t=104 .)
Figure 5: Langevin dynamics for a 3-hidden-layer ReLU network under squared loss on input data x=±1 and target f∗(x)=ReLU(x)+21ReLU(−x) , with T=0.2 and λ∈{0,0.003,0.01,0.03,0.1} , with 512 trials. For λ=0 , the probability a neuron is zero for all inputs increases over time (heatmaps); the probability that the function outputs zero thus goes to one while loss increases (middle plot, solid and dashed black lines). For λ>0 (shown in color), the final empirical deadness (middle plot) agrees with the theoretical Gibbs equilibrium (right plot and dotted lines). Shading shows the empirical 95% interval.
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 6: Stationary distributions for w=uv in a two-layer diagonal network f(x)=uvx trained by Langevin dynamics on the loss L(u,v)=(uv−1)2/2 (temperature T=0.15 ). As λ decreases, the density spreads across the loss valley, with mass escaping to infinity.
Figure 7: Analytical and empirical density of w for one-layer diagonal network f(x)=uvx with L(u,v)=(uv−1)2/2 trained by Langevin dynamics, with λ=0.2 and T=0.25 . Samples are collected after burn-in and thinned.
Figure 8: Densities for unregularized Langevin in the setting of Figures 3 and D.1 , showing all results to time t=104 .
Figure 9: CDFs for unregularized Langevin in the setting of Figures 3 and D.1 , up to time t=104 . The vertical distance D marks the largest disagreement between the empirical CDF and that of the predicted limit, that is, the Kolmogorov-Smirnov distance of the distributions.
Figure 10: For the empirical CDF of unregularized Langevin in the setting of Figures 3 and D.1 , we show its Kolmogorov-Smirnov distance to the predicted limit (top) and to the Gibbs distribution using λeff(t) (bottom). The latter shows a more rapid agreement as t grows. There is little change in the distance to the predicted limit between t=1000 and t=104 , suggesting the convergence from Theorem 1 has been reached, up to numerical error.
Figure 11: Marginal Langevin densities for all singular values in the setting of Figures 4 and D.2 , including all time up to t=104 . The predicted λ→0 limit and empirical distribution appear to agree at large times, as do the empirical densities at time t and Gibbs densities using λeff(t) . There is a visible shift towards zero in the smaller singular values.
Figure 12: Marginal Langevin CDFs for all singular values in the setting of Figures 4 and D.2 , including all time up to t=104 . The vertical distance D marks the Kolmogorov-Smirnov distance between the empirical distribution and predicted limiting distributions.
Figure 13: For the empirical CDF of unregularized Langevin in the setting of Figures 4 and D.2 , we show its Kolmogorov-Smirnov distance to the predicted limit (top), to the Gibbs distribution using λeff(t) (middle), and to the naïve distribution proportional to exp(−ℓ(W)/T) (bottom). The former two show agreement as t grows, with the λeff(t) prediction being almost immediately accurate, while the naïve prediction does not match the data. There is little change in the distance to the predicted limit between t=1000 and t=104 , suggesting convergence.
Figure 14: For the empirical CDF of unregularized Langevin in the setting of Figures 5 and D.3 , we show its Kolmogorov-Smirnov distance of the distribution of outputs to the predicted zero limit (top) and to the naïve distribution proportional to exp(−ℓ(f)/T) (bottom). The former shows agreement as t grows, while the naïve prediction does not. There is little change in the distance to the predicted limit between t=200 and t=320 , suggesting convergence.
Implicit bias studies how training algorithms and model structure favor particular solutions, representations, and generalization behaviors without explicit penalties.
Deep neural networks are highly over-parameterized, and different parameter values represent the same predictive function. This makes their effective complexity difficult to measure using only the number of parameters or the rank of the Hessian. Singular Learning Theory addresses this issue through the local learning coefficient (LLC), which characterizes the effective complexity of a model near a given solution. Existing methods for estimating the LLC often rely on posterior sampling, which can be computationally expensive for large neural networks. This makes accurate LLC estimation difficult at scale. In this work, we use known structures in the model to simplify the analysis and make LLC estimation more tractable. Specifically, we study the LLC of a graph attention model by exploiting symmetries in both the graph structure and the attention parameters. An analytic framework through a teacher--student setting, and explicit LLC estimates after considering the symmetry--induced degeneracies are developed.
Overparameterization is central to the success of deep learning, yet the mechanisms by which it improves optimization remain incompletely understood. We analyze weight-space symmetries in neural networks and show that overparameterization introduces additional symmetries that benefit optimization in two distinct ways. First, we prove that these symmetries act as a form of diagonal preconditioning on the Hessian, enabling the existence of better-conditioned minima within each equivalence class of functionally identical solutions. Second, we show that overparameterization increases the probability mass of global minima near typical initializations, making these favourable solutions more reachable. These results offer a potential link between loss landscape geometry and simplicity bias. Empirically, we observe wider networks have lower top eigenvalues, smaller condition numbers and faster convergence, matching our analysis. Our analysis provides a unified framework for understanding overparameterization and width growth as a geometric transformation of the loss landscape.
Kusha Sareen, Mohammad Pedramfar, Sékou-Oumar Kaba +2
McGill University · Mila - Quebec Artificial Intelligence Institute
Representations are routinely used across machine learning, psychology, and neuroscience to draw inferences about the computations of biological and artificial systems. Such inferences presume that the geometry of these representations reflects the computation being performed. For artificial neural networks, however, the extent to which the function a network computes constrains this geometry remains unclear. One key obstacle is that these networks admit parameter symmetries: changes in parameterization that preserve function exactly while reshaping representational geometry. Here, we show that a broad class of parameter symmetries acts on representations through just three primitive feature transformations: addition, duplication, and scaling. This feature-level characterization yields a closed-form decomposition of representational geometry into essential and auxiliary components, revealing how representational degeneracy can exist without and grows with overparameterization even when function is held fixed. Finally, we establish conditions under which implementation-level selection rules resolve this degeneracy, yielding identifiable geometries in which features are weighted according to their contributions to the network's function. Together, our results delineate when representational geometry can support inferences about computation, and when it cannot.
Marvin Theiss, Lukas Braun, Andrew M. Saxe +1
University of Tübingen · International Max Planck Research School for Intelligent Systems · Allen Institute for Neural Dynamics +4