Re-Evaluating Group Robustness via Adaptive Class-Specific Scaling

Seonguk Seo, Bohyung Han

Introduction

In modern machine learning, models often achieve high average accuracy by exploiting "spurious correlations"—shortcuts in the data that do not generalize. For instance, a model might identify a "cow" based on a grassy background rather than the animal's features. While this works for the majority of cases, it leads to a catastrophic failure on minority groups (e.g., a cow on a beach), resulting in poor worst-group accuracy.

Researchers from Seoul National University have challenged the prevailing wisdom that solving this requires complex, computationally expensive retraining. Their work demonstrates that a standard model trained via Empirical Risk Minimization (ERM) actually learns robust features; it simply needs its output scores adjusted at inference time through a technique called Robust Scaling.

The Challenge of Spurious Correlations

Most existing solutions for group robustness, such as Group Distributionally Robust Optimization (Group DRO), involve modifying the training objective. These methods are often difficult to tune and force a rigid trade-off between average and robust performance. As shown in Figure 1, there is typically a strong negative correlation between average accuracy and worst-group accuracy across different modeling approaches.

Figure 1: The inherent trade-off between average accuracy and worst-group accuracy across various debiasing methods.

Methodology: Post-Processing for Robustness

The authors introduce two training-free post-processing techniques that act as a adjustable "knob" to navigate the accuracy trade-off after a model has been trained:

  1. Robust Scaling (RS): This method applies a scaling factor to the output logits of specific classes. By upweighting minority-heavy classes based on a small validation set, the model's decision boundary is shifted to be more inclusive of underrepresented groups.
  2. Instance-wise Robust Scaling (IRS): To handle cases where group labels are unavailable at test time, IRS uses K-means clustering in the model's feature space. It identifies the likely "context" of an image (e.g., the background) and applies a specific scaling factor for that cluster, allowing for adaptive debiasing.
  3. Robust Coverage Metric: To evaluate these methods fairly, the authors propose a metric that calculates the "area under the curve" of the accuracy trade-off, providing a holistic view of a model's potential across different robustness requirements.

Results: Navigating the Pareto Frontier

The most significant finding is that ERM models, when paired with RS or IRS, define a "Pareto frontier" that matches or exceeds the performance of state-of-the-art (SOTA) algorithms.

Figure 3: Pareto frontiers for Worst-group and Unbiased accuracy. ERM with RS and IRS (blue and orange lines) effectively dominates or matches specialized algorithms like Group DRO* and JTT.

On the Waterbirds dataset, IRS improved ERM's worst-group accuracy from 76.3% to 89.3%, outperforming Group DRO (88.0%) without requiring group labels during the training phase. Similarly, on CelebA, ERM with Robust Scaling achieved a worst-group accuracy of 82.8%, a massive leap from the 34.5% seen in raw ERM, and significantly higher than specialized methods like JTT (75.1%).

Key Insights and Practical Implications

  • ERM is a Strong Baseline: Standard training captures sufficient information for robustness; the bias lies in the final classification threshold rather than the learned representations.
  • Efficiency and Flexibility: Because RS and IRS are post-processing steps, they take seconds to compute. Practitioners can adjust the level of robustness required for their specific application without retraining the entire model.
  • Data Efficiency: Optimal scaling factors can be derived using as little as 1% of the validation data, making the approach highly practical for real-world deployment where annotated group data is scarce.

Conclusion

This research suggests that the community may have over-complicated the problem of group robustness. By shifting the focus from complex training objectives to adaptive post-processing, we can achieve superior robustness with significantly less computational overhead. Future work will likely explore more sophisticated clustering techniques to further refine instance-wise scaling in high-dimensional feature spaces.

Summary updated

BibTeX
@inproceedings{seo2025re,
  author = {Seonguk Seo and Bohyung Han},
  title = {{Re-Evaluating Group Robustness via Adaptive Class-Specific Scaling}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2025},
  doi = {10.1109/wacv61041.2025.00812},
}
Figure