Bias in Motion: Theoretical Insights into the Dynamics of Bias in SGD Training
Anchit Jain, Rozhin Nobahari, Aristide Baratin, Stefano Sarao Mannelli
TL;DR
The paper tackles the problem of understanding how bias emerges and evolves during SGD training, particularly during transient, non-asymptotic phases. It introduces a teacher-mixture with Gaussian sub-populations and analyzes online SGD for a linear classifier in the high-dimensional limit, deriving a solvable system of ordinary differential equations that track a small set of order parameters. In the two-cluster case, the authors obtain explicit closed-form solutions for the order parameters, revealing three distinct learning phases and multiple timescales that drive spurious correlations and fairness-related bias, supported by extensive simulations on synthetic data and real datasets (e.g., CIFAR10, MNIST, CelebA). The work provides a unifying, theory-grounded view of bias generation that connects fairness and spurious-correlation phenomena and yields practical insights into how representation, variance, and learning rate shape transient bias. Overall, the results offer a principled framework to anticipate and mitigate bias during training and motivate dynamical approaches to fairness-aware learning in realistic, resource-constrained settings.
Abstract
Machine learning systems often acquire biases by leveraging undesired features in the data, impacting accuracy variably across different sub-populations. Current understanding of bias formation mostly focuses on the initial and final stages of learning, leaving a gap in knowledge regarding the transient dynamics. To address this gap, this paper explores the evolution of bias in a teacher-student setup modeling different data sub-populations with a Gaussian-mixture model. We provide an analytical description of the stochastic gradient descent dynamics of a linear classifier in this setting, which we prove to be exact in high dimension. Notably, our analysis reveals how different properties of sub-populations influence bias at different timescales, showing a shifting preference of the classifier during training. Applying our findings to fairness and robustness, we delineate how and when heterogeneous data and spurious features can generate and amplify bias. We empirically validate our results in more complex scenarios by training deeper networks on synthetic and real datasets, including CIFAR10, MNIST, and CelebA.
