Group-robust Sample Reweighting for Subpopulation Shifts via Influence Functions

Rui Qiao, Zhaoxuan Wu, Jingtan Wang, Pang Wei Koh, Bryan Kian Hsiang Low
3/10/2025
cs.LGcs.AIcs.CV

No official code found. Best implementation: qiaoruiyt/GSR (8 stars, MIT, last commit 2025-03-04).

Abstract

Machine learning models often have uneven performance among subpopulations (a.k.a., groups) in the data distributions. This poses a significant challenge for the models to generalize when the proportions of the groups shift during deployment. To improve robustness to such shifts, existing approaches have developed strategies that train models or perform hyperparameter tuning using the group-labeled data to minimize the worst-case loss over groups. However, a non-trivial amount of high-quality labels is often required to obtain noticeable improvements. Given the costliness of the labels, we propose to adopt a different paradigm to enhance group label efficiency: utilizing the group-labeled data as a target set to optimize the weights of other group-unlabeled data. We introduce Group-robust Sample Reweighting (GSR), a two-stage approach that first learns the representations from group-unlabeled data, and then tinkers the model by iteratively retraining its last layer on the reweighted data using influence functions. Our GSR is theoretically sound, practically lightweight, and effective in improving the robustness to subpopulation shifts. In particular, GSR outperforms the previous state-of-the-art approaches that require the same amount or even more group labels.

View on arXivView PDF

Code Implementations(1)

qiaoruiyt/GSRCommunity100%
MIT
80PythonMar 2, 20251 years agoMIT

Similar Papers

Cite this paper

@article{qiao2025grouprobust,
  title  = {Group-robust Sample Reweighting for Subpopulation Shifts via Influence Functions},
  author = {Rui Qiao and Zhaoxuan Wu and Jingtan Wang and Pang Wei Koh and Bryan Kian Hsiang Low},
  year   = {2025},
  eprint = {2503.07315},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.07315v1},
  journal = {ICLR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.07315.svg)](https://codeofpaper.com/paper/2503.07315)

Discussion