Learning Fast Sample Re-weighting Without Reward Data

Zizhao Zhang, Tomas Pfister

Introduction

Deep learning models are notoriously sensitive to "dirty" data, specifically noisy labels and class imbalance. While sample re-weighting—where an algorithm learns to prioritize high-quality samples—is a popular solution, existing state-of-the-art methods suffer from two major "deal-breakers." First, they often require a perfectly clean "reward" (validation) dataset to guide the weighting process, which is rarely available in real-world scenarios. Second, they rely on computationally expensive meta-learning loops that can triple training time and significantly increase memory usage, making them impractical for large-scale models.

To address these challenges, researchers at Google Cloud AI have developed Fast Sample Re-weighting (FSR). FSR identifies "good" training data autonomously without a separate validation set and utilizes architectural efficiencies to make meta-learning practical for large-scale models.

Methodology: Autonomous and Efficient Meta-Learning

FSR introduces two key innovations to overcome the limitations of traditional re-weighting:

  1. Proxy Reward Data (Learning from the Past): Instead of requiring external clean data, FSR maintains a "dictionary" of reliable samples from the training set itself. Samples are selected based on a meta-margin score: those whose loss decreases most significantly after a single gradient update are deemed reliable and used as the reward signal for subsequent rounds.
  2. Feature Sharing: Standard meta-learning requires backpropagating through the entire network twice. FSR optimizes efficiency by sharing features between the model and the weight-learner, performing the expensive meta-optimization only on the final fully-connected (FC) layer.
Comparison of typical meta-learning vs. the proposed FSR method.

Additionally, FSR employs Momentum Re-labeling to handle noise. By keeping a running average of model predictions, the system "guesses" correct labels for low-weighted samples, effectively turning a supervised problem into a semi-supervised one. The authors also found that using MixUp data augmentation is crucial for maintaining "dictionary purity," acting as a regularizer that prevents the model from accidentally trusting noisy samples too early.

Key Insights: The Power of Feature Sharing

A central discovery of this work is that the final layers of a neural network carry the most influence on sample weighting. As shown in the gradient analysis, the mean magnitude of gradients in the fully-connected (FC) layer is orders of magnitude higher than in earlier residual blocks.

Mean gradient magnitude across network layers, showing the dominance of the FC layer.

By focusing meta-optimization on the "head" of the model, FSR achieves a "fast" version of meta-learning that is nearly as computationally cheap as standard training. This allows the model to distinguish good samples from bad ones without the massive "compute tax" usually associated with meta-learning.

Experimental Results

The authors evaluated FSR across several challenging benchmarks, including CIFAR-10/100, WebVision (2.4 million images), and iNaturalist 2018. These tests included both uniform and asymmetric label noise (up to 80% noise) as well as long-tailed distributions.

  • Efficiency: Compared to standard meta-learning methods like L2R, FSR reduces training time overhead from approximately 319% to just 47%. GPU memory overhead is even more drastically reduced, dropping from 54% to a mere 1.9% on certain architectures.
  • Accuracy: On CIFAR-10 with 40% noise, FSR achieved 93.7% accuracy, outperforming previous state-of-the-art methods that required access to clean reward data.
  • Scalability: On the large-scale WebVision dataset, FSR achieved a 74.9% top-1 accuracy, significantly surpassing other robust training methods like CRUST (72.4%).

Conclusion

FSR represents a significant step forward in making robust deep learning practical. By eliminating the need for clean validation data and drastically reducing computational overhead, it enables the use of meta-learning on massive, real-world datasets. While the method requires a brief "warm-up" period and some hyperparameter tuning, its ability to self-curate high-quality data makes it a powerful tool for training models in noisy or imbalanced environments. Future research may explore if these "fast" meta-weighting principles apply to domains beyond computer vision, such as NLP or reinforcement learning.

Summary updated

BibTeX
@inproceedings{zhang2021learning,
  author = {Zizhao Zhang and Tomas Pfister},
  title = {{Learning Fast Sample Re-weighting Without Reward Data}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00076},
}
Figure