Abstract
Bias in machine learning is not a static outcome found only at the end of training; it is a dynamic process that shifts through distinct phases. By analyzing the high-dimensional limits of Stochastic Gradient Descent (SGD), this research reveals that models alternate their "preference" for different sub-populations based on changing priorities—from spurious correlations to data variance, and finally to group representation—leading to surprising "loss crossing" phenomena. Our findings suggest that fairness is a moving target throughout the training process.
Introduction: Bias as a Moving Target
Most theoretical research on machine learning bias focuses on the "before and after": the initial state of the model and its final converged state. However, in practice, models are rarely trained to absolute convergence due to resource constraints. This leaves a significant "black box" regarding the transient dynamics—the journey the model takes during training. If a model’s bias changes mid-training, a snapshot at epoch 10 might tell a completely different story than one at epoch 100. This paper seeks to understand how bias evolves over time and which data features drive bias at different stages of learning.
Theoretical Framework and Methodology
The researchers utilize a Teacher-Student framework combined with a Gaussian Mixture Model (GMM). In this setup, different sub-populations (e.g., demographic groups) are modeled as clusters in high-dimensional space. Each cluster has its own "teacher" rule determining labels, while a linear student classifier is trained via online SGD.
The core of the analysis lies in the high-dimensional limit. By assuming the number of features ($d$) is very large, the complex, noisy behavior of SGD can be summarized by a few "order parameters"—key statistics like the model's alignment with the teacher or its own magnitude. These parameters follow a predictable set of Ordinary Differential Equations (ODEs), allowing for an analytical solution of the model's accuracy on any sub-population at any point in time.
The Three-Phase Evolution of Bias
A key finding is that bias doesn't just grow; it transforms through three distinct regimes:
- Initial Phase: The model is dominated by spurious correlations and class imbalances, focusing on the "low-hanging fruit."
- Intermediate Phase: The model shifts focus toward saliency (variance). Groups with higher variance are learned faster, even if they are in the minority.
- Final Phase: Relative representation takes over, and the model eventually favors the majority group.
This evolution leads to the "crossing" phenomenon: because different features drive learning at different speeds, the loss curves for two groups can cross. A group that appears favored early in training might end up with the worst accuracy by the end of the process.
Experimental Validation
The theoretical findings were validated across a spectrum of complexity:
- Synthetic Data: High-dimensional Gaussian mixtures used to verify ODE solutions.
- Rotated MNIST: Modified digits where rotations simulate spurious correlations and saliency differences.
- CIFAR-10: Testing deeper networks (2-layer MLPs) using image brightness as a proxy for variance.
- CelebA: Real-world bias testing by predicting attributes like "Eye glass" while using others as sub-population dividers.
Key Results and Robustness
The derived ODEs show a remarkable agreement with actual SGD simulations in high dimensions ($d=1000$). In complex scenarios with both spurious features and representation imbalances, the authors observed and predicted a "double crossing," where the model's preference flips twice during a single training run. Importantly, while the theory is built on linear models, these crossing behaviors were empirically observed in deeper ReLU networks and ResNet-18 models, suggesting these timescales are fundamental properties of SGD on structured data.
Conclusion and Future Directions
While the core theory assumes linear models and Gaussian data structures, the phenomena persist in deep networks. These insights suggest the potential for "theory-based dynamical protocols" for bias mitigation. For instance, identifying the "crossing point" where a model is most fair could lead to better early-stopping criteria or time-dependent importance sampling to maintain the model in its most equitable state throughout training.
Summary updated