Stochastic Resetting Mitigates Latent Gradient Bias of SGD from Label Noise

Youngkyoung Bae, Yeongwoo Song, Hawoong Jeong · DOI

Abstract

Giving up and starting over may seem wasteful in many situations such as searching for a target or training deep neural networks (DNNs). Our study, though, demonstrates that resetting from a checkpoint can significantly improve generalization performance when training DNNs with noisy labels. In the presence of noisy labels, DNNs initially learn the general patterns of the data but then gradually memorize the corrupted data, leading to overfitting. By deconstructing the dynamics of stochastic gradient descent (SGD), we identify the behavior of a latent gradient bias induced by noisy labels, which harms generalization. To mitigate this negative effect, we apply the stochastic resetting method to SGD, inspired by recent developments in the field of statistical physics achieving efficient target searches. We first theoretically identify the conditions where resetting becomes beneficial, and then we empirically validate our theory, confirming the significant improvements achieved by resetting. We further demonstrate that our method is both easy to implement and compatible with other methods for handling noisy labels. Additionally, this work offers insights into the learning dynamics of DNNs from an interpretability perspective, expanding the potential to analyze training methods through the lens of statistical physics.

Introduction

In the training of deep neural networks (DNNs), the phenomenon of "memorization" is a persistent challenge. DNNs tend to learn simple, generalizable patterns from clean data early in training, but eventually begin to memorize noisy or incorrectly labeled data. This leads to a characteristic "U-shaped" validation loss curve: performance improves initially, reaches an optimum, and then degrades as the model overfits to the noise. While early stopping is a common heuristic to combat this, it essentially "gives up" on further training. This paper introduces a more dynamic approach: Stochastic Resetting.

The Latent Gradient Bias Problem

The root cause of this performance degradation is identified as a latent gradient bias. During Stochastic Gradient Descent (SGD), the update step is influenced by the gradients of all samples in a mini-batch. When label noise is present, the total gradient is effectively a sum of two competing vectors: one pointing toward the true optimum (derived from clean data) and another pointing toward a false optimum (derived from noisy data).

As training progresses, the model's parameters move into regions where the "noisy" gradient component begins to dominate. The authors demonstrate that these two gradient components are often nearly orthogonal, and as the model overfits, the influence of the noisy labels pulls the parameters further away from the generalizable solution.

Stochastic Resetting: A Physics-Inspired Solution

To counteract this bias, the researchers borrow a concept from statistical physics. Stochastic resetting is a strategy used to optimize search processes (like a particle looking for a target) by occasionally returning the searcher to its starting point or a known good location.

In the context of DNN training, the "searcher" is the model's parameter set $\theta_t$. The researchers propose a simple modification to the SGD loop:

  1. Maintain a Checkpoint ($\theta_c$): Keep track of the parameters that have yielded the best validation performance so far.
  2. Probabilistic Reset: At each iteration, there is a small, fixed probability $r$ that the model will abandon its current state $\theta_t$ and "teleport" back to the checkpoint $\theta_c$.
Conceptual illustration of stochastic resetting. The model parameters $\theta_t$ explore the loss landscape, but are periodically reset to a high-quality checkpoint $\theta_c$ to prevent them from wandering into noisy local minima and to keep them closer to the true optimum $\theta^*$.

By mapping SGD dynamics onto Langevin dynamics—a framework describing particles subject to drift and diffusion—the authors use the physics of "Mean First Passage Time" (MFPT) to prove that resetting can minimize the time needed to find the optimal parameters and prevent the model from getting lost in noisy regions of the loss landscape.

Empirical Validation and Results

The effectiveness of stochastic resetting was tested across various benchmarks, including CIFAR-10/100 with synthetic noise and real-world datasets like ANIMAL-10N. The results consistently show that resetting mitigates the memorization of noisy labels. In high-noise scenarios, the improvement is particularly pronounced. For instance, on CIFAR-100 with 60% noise, standard training achieved 32.9% accuracy, while adding stochastic resetting increased this to 44.1%.

Empirical results showing that SGD with resetting (green) maintains a lower validation loss (inset) and avoids the sharp drop in the fraction of correctly predicted data compared to standard SGD (grey), effectively mitigating the memorization of noise.

Beyond its standalone performance, the method is highly compatible with existing robust training techniques. When combined with state-of-the-art methods like ELR or SOP+, stochastic resetting acts as a "safety net," further boosting performance or stabilizing training when hyperparameters are not perfectly tuned.

Conclusion

Stochastic resetting provides a theoretically grounded yet practically simple tool for training DNNs in the presence of label noise. By recognizing that the training process is a search subject to bias, and by occasionally "starting over" from a position of known quality, we can significantly improve the robustness and generalization of deep learning models. This work highlights the power of cross-disciplinary insights, showing how principles from statistical physics can solve fundamental problems in machine learning.

Summary updated

BibTeX
@article{bae2025stochastic,
  author = {Youngkyoung Bae and Yeongwoo Song and Hawoong Jeong},
  title = {{Stochastic Resetting Mitigates Latent Gradient Bias of SGD from Label Noise}},
  journal = {Mach. Learn. Sci. Technol.},
  year = {2025},
  doi = {10.1088/2632-2153/adbc46},
}
Figure