Overview
Modern machine learning models are becoming increasingly expensive to train, especially for real-world image and text classification tasks where massive web-scale data is collected in a streaming fashion. To reduce training costs, researchers use data downsampling (or online batch selection) to "cherry-pick" the most informative data points from a stream.
However, existing selection methods have a critical blind spot: they often optimize for average performance. If a dataset is heavily imbalanced, a standard selector might ignore rare classes entirely because they don't move the "average" needle much. This leads to poor worst-class generalization, where the model fails miserably on difficult or infrequent categories. Furthermore, real-world data is often noisy; selecting points with high loss might just mean the model is trying to learn from unlearnable "garbage" data.
To address this, researchers have introduced REDUCR (Robust Data Downsampling using Class Priority Reweighting). REDUCR is a novel online batch selection method that makes data downsampling robust to class imbalance and noise, achieving up to a 15–26% boost in worst-class accuracy compared to state-of-the-art methods while significantly reducing the amount of data needed for training.
How REDUCR Works
REDUCR dynamically prioritizes underperforming classes using an online learning algorithm. It operates on three main pillars:
- Class-Aware Selection Scores: Instead of assigning a single generic score to a data point, REDUCR calculates how much a point helps a specific class. It uses a Bayesian perspective to derive a score based on excess loss—the difference between the current model's loss and the loss of an "expert" model that already knows that class well.
- Amortized Irreducible Loss Models: To make this computationally feasible, the authors pre-train "expert" models for each class (or groups of classes). These models are trained with a weighted loss function that prioritizes a specific category, allowing them to act as a benchmark for what is genuinely "learnable" in that category.
- Multiplicative Weights Update: REDUCR maintains a set of weights for every class. If the model is performing poorly on a specific class during training, REDUCR increases the weight for that class. In the next iteration, the selector is more likely to pick data points that are useful for improving it.
Key Insights and Innovations
- Worst-Class Accuracy as a Proxy for Robustness: The paper argues that worst-class accuracy is a vital metric because it represents a lower bound on performance under distribution shifts. If a model can perform well on its hardest class, it is likely more robust overall.
- Avoiding the "Noise Trap": By comparing the target model to a class-specific "expert" model, REDUCR avoids picking points that are simply unlearnable noise. If even the expert cannot figure out a data point, the selector safely ignores it.
- Stability through Clipping: The authors found that "clipping" the selection score (ensuring it doesn't go below zero) prevents the model from being distracted by points that might actually increase the loss of certain classes, leading to much more stable training curves.
- Scaling via Superclasses: For datasets with many classes, training an expert for every single category is expensive. The authors showed that grouping classes into "superclasses" (e.g., grouping different types of vehicles) still provides a strong enough signal for robust downsampling.
Experimental Results
The authors evaluated REDUCR across both vision (CIFAR10, CINIC10, CIFAR100, Clothing1M) and text domains (MNLI, QQP).
- Massive Gains on Noisy Data: On Clothing1M, a notoriously difficult dataset with 1 million images featuring significant label noise and class imbalance, REDUCR improved worst-class test accuracy by ~15% over the next best baseline (Train Loss selection) and by ~26% over the previous state-of-the-art, RHO-LOSS.
- Superior Efficiency in NLP: In text classification tasks (MNLI and QQP), REDUCR matched the peak performance of other baselines while reaching that level approximately 100,000 training steps earlier.
- Robustness to Extreme Imbalance: When artificially inducing extreme imbalance (e.g., sampling a class only 1% of the time), REDUCR’s performance deteriorated significantly less than Uniform or RHO-LOSS sampling.
Limitations and Future Directions
While highly effective, REDUCR does have limitations. The primary constraint is that the method's complexity scales linearly with the number of classes (or superclasses). While superclasses help mitigate this, it still requires more overhead than class-agnostic methods. Additionally, pre-training the "expert" irreducible loss models on a holdout set adds a pre-processing step to the pipeline.
Future work may investigate smaller, "distilled" versions of these irreducible loss models to further reduce the computational footprint, as well as explore how class-priority reweighting might apply to larger-scale generative modeling.
Summary updated