Understanding and inverse design of implicit bias in stochastic learning: a geometric perspective

Nicola Aladrah, Emanuele Ballarin, Matteo Biagetti, Alessio Ansuini, Alberto d'Onofrio, Fabio AnselmiarXiv 2026

TL;DR

This paper provides a unifying geometric framework showing that implicit bias in machine learning arises from the interaction between optimization noise and continuous symmetries in parameter space. By turning this theory on its head, the authors introduce "inverse design"—a technique to intentionally engineer parameter redundancies to induce targeted priors, such as sparsity and low-rank structure, directly at the predictor level.

What Problem Does This Paper Address?

In overparameterized machine learning models, there are infinitely many parameter configurations that can fit the training data perfectly. Yet, during training, Stochastic Gradient Descent (SGD) consistently generalizes well by favoring specific types of solutions—a phenomenon known as implicit bias or implicit regularization.

While implicit bias is crucial for the robustness and interpretability of modern AI, existing explanations are largely ad hoc, problem-specific, and fail to provide a universal mechanism. Crucially, we lack a general, computationally actionable framework to not only explain why certain zero-loss solutions are statistically preferred but also how to control this preference to engineer better models.

Figure 1: | Hyperbolic level sets of equivalent parametrizations and symmetry-breaking. a, Hyperbolic level sets u · v = θ in the positive (u, v)-plane. Each branch represents all parameter pairs (u, v) that produce the same predictor θ, making the symmetry of the factorized parameteriza- tion explicit. b, The diagonal line u = v defines symmetry-breaking that intersects each orbit once in the positive plane, selecting a unique representative.

Methods

The authors tackle this by modeling SGD as a continuous-time stochastic process via overdamped Langevin dynamics with isotropic noise. They analyze parameter redundancies through the lens of differential geometry: continuous symmetries (like weight rescaling) form a Lie group whose actions leave the model's predictions unchanged, creating "orbits" of equivalent solutions (as seen in Figure 1a above).

To avoid overcounting these equivalent solutions, the authors introduce a canonical symmetry-breaking map (or "slice") that selects a unique representative for each orbit (Figure 1b). By applying the mathematical coarea formula to project parameter-space statistics onto this predictor space, they derive an explicit geometric correction term. This results in an effective loss function:

$$Leff(\theta) = L(\theta) + \frac{\sigma^2}{2\beta} \log \det G(\theta)$$

where the second term ($L_{IB}$) is the geometric correction encoding the implicit bias.

Crucially, the authors introduce inverse design: by deliberately engineering predictor-preserving parameter redundancies (such as Hadamard or matrix factorizations), they can shape this $\log \det G(\theta)$ term to intentionally induce desired penalties, like coordinate sparsity or low-rank structures.

Datasets

Because this is a theoretical paper establishing a foundational geometric mechanism, the authors validate their framework using controlled, synthetic setups rather than standard large-scale benchmarks. These include:

  • Teacher-student regression tasks to monitor weight dynamics in shallow ReLU networks and single-head scaled dot-product attention (SDPA) layers.
  • Sparse spectral recovery tasks to reconstruct sparse signals from limited, noise-corrupted observations.
  • Compressed sensing tasks to recover piecewise-constant signals.
  • Matrix completion tasks using deliberately overparameterized factorizations.

Key Insights and Ideas

  • Implicit Bias as a Volume Effect: The preference for certain solutions isn't magic; it is a geometric consequence of noise. Optimization noise drives parameters along flat symmetry directions, and projecting these dynamics onto the predictor space naturally creates a volume-driven statistical preference for balanced parameter configurations.
  • Logarithmic Penalties from Rescaling Symmetries: Continuous, non-compact rescaling symmetries naturally generate logarithmic penalty terms (e.g., $\log |z|$). In optimization, logarithmic penalties are highly effective at driving irrelevant weights strictly to zero, promoting sparse structures.
  • From Analysis to Engineering: Instead of merely analyzing the accidental biases of existing architectures, researchers can actively design architectures to possess specific inductive biases by introducing structured parameter redundancies.

Key Results

  • Norm Equilibration: The framework successfully predicts that stochastic learning drives factorized parameters toward a balanced configuration. In shallow ReLU networks, feature-wise attention, and matrix completion, the ratios of parameter norms rapidly converge to the predicted theoretical equilibrium of 1.
Figure 2: Implicit norm equilibration in shallow ReLU networks during training.
  • Sparse Spectral Recovery: Using an inverse-designed Hadamard-factored parameterization ($w = w_1 \odot w_2$), the model successfully isolated true underlying signal frequencies from noisy data, significantly outperforming a vanilla baseline which overfitted to spurious spectral noise.
  • Total Variation Minimization: By combining a Hadamard product with a cumulative sum operator, the authors induced a total variation bias. This inverse-designed model reconstructed a piecewise-constant signal from noisy compressed measurements with a Mean Squared Error (MSE) of $7.94 \times 10^{-2}$, vastly superior to the baseline model's MSE of $1.39$.

Limitations and Future Work

While elegant, the current framework relies on the assumption of isotropic noise within a continuous-time Langevin approximation. In practical deep learning, SGD noise is highly anisotropic, discrete, and depends heavily on mini-batch choices. The authors note that extending this geometric framework to account for anisotropic noise and more intricate, deeply layered architectures remains an important direction for future research.

Summary updated

BibTeX
@misc{aladrah2026understanding,
  author = {Nicola Aladrah and Emanuele Ballarin and Matteo Biagetti and Alessio Ansuini and Alberto d'Onofrio and Fabio Anselmi},
  title = {{Understanding and inverse design of implicit bias in stochastic learning: a geometric perspective}},
  year = {2026},
  eprint = {2601.06597},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.06597},
}
Figure