Implicit bias as a Gauge correction: Theory and Inverse Design
Nicola Aladrah, Emanuele Ballarin, Matteo Biagetti, Alessio Ansuini, Alberto d'Onofrio, Fabio Anselmi
TL;DR
The paper introduces a geometric mechanism for implicit bias in SGD: continuous parameter symmetries induce a gauge correction when dynamics are projected to the quotient space $\bar{\Theta}$, biasing solutions toward regions with smaller orbit volume. It formalizes this with a stochastic differential equation framework, defines the Faddeev–Popov and orbit Gram matrices, and shows that the stationary distribution on a gauge slice acquires a $\log\det G_\chi$ correction. It then develops constructive inverse-design principles, showing how scalar and matrix factorizations, via Abelian and non-Abelian symmetries, yield targeted biases such as spectral sparsity and total-variation tendencies, and validates these with numerical experiments on toy data and with several architecture exemplars. The framework unifies known implicit biases under a common geometric lens and offers a principled route to engineer inductive biases by symmetry design, with potential applications to ill-posed inverse problems and beyond. The work also connects to prior symmetry- and thermodynamics-informed perspectives while providing new quantitative tools (gauge corrections, balanced gauges) to predict and realize bias in complex models.
Abstract
A central problem in machine learning theory is to characterize how learning dynamics select particular solutions among the many compatible with the training objective, a phenomenon, called implicit bias, which remains only partially characterized. In the present work, we identify a general mechanism, in terms of an explicit geometric correction of the learning dynamics, for the emergence of implicit biases, arising from the interaction between continuous symmetries in the model's parametrization and stochasticity in the optimization process. Our viewpoint is constructive in two complementary directions: given model symmetries, one can derive the implicit bias they induce; conversely, one can inverse-design a wide class of different implicit biases by computing specific redundant parameterizations. More precisely, we show that, when the dynamics is expressed in the quotient space obtained by factoring out the symmetry group of the parameterization, the resulting stochastic differential equation gains a closed form geometric correction in the stationary distribution of the optimizer dynamics favoring orbits with small local volume. We compute the resulting symmetry induced bias for a range of architectures, showing how several well known results fit into a single unified framework. The approach also provides a practical methodology for deriving implicit biases in new settings, and it yields concrete, testable predictions that we confirm by numerical simulations on toy models trained on synthetic data, leaving more complex scenarios for future work. Finally, we test the implicit bias inverse-design procedure in notable cases, including biases toward sparsity in linear features or in spectral properties of the model parameters.
