Diverse Prototypical Ensembles Improve Robustness to Subpopulation Shift

Minh Nguyen Nhat To, P. Wilson, Viet Nguyen, Mohamed Harmanani, Michael Cooper +4 more
2/14/2026

No official code found. Best implementation: minhto2802/dpe4subpop (7 stars, last commit 2026-04-20).

Abstract

The subpopulationtion shift, characterized by a disparity in subpopulation distributibetween theween the training and target datasets, can significantly degrade the performance of machine learning models. Current solutions to subpopulation shift involve modifying empirical risk minimization with re-weighting strategies to improve generalization. This strategy relies on assumptions about the number and nature of subpopulations and annotations on group membership, which are unavailable for many real-world datasets. Instead, we propose using an ensemble of diverse classifiers to adaptively capture risk associated with subpopulations. Given a feature extractor network, we replace its standard linear classification layer with a mixture of prototypical classifiers, where each member is trained to classify the data while focusing on different features and samples from other members. In empirical evaluation on nine real-world datasets, covering diverse domains and kinds of subpopulation shift, our method of Diverse Prototypical Ensembles (DPEs) often outperforms the prior state-of-the-art in worst-group accuracy. The code is available at https://github.com/minhto2802/dpe4subpop

View on arXivView PDF

Code Implementations(1)

[ICML 2025] Diverse Prototypical Ensembles Improve Robustness to Subpopulation Shift

70Shell, PythonMay 10, 20256 months agoNOASSERTION
attribute-imbalanceclass-imbalancedistance-based-classifiersdiversified-ensemblesubpopulation-shift+1 more

Similar Papers

Cite this paper

@article{to2026diverse,
  title  = {Diverse Prototypical Ensembles Improve Robustness to Subpopulation Shift},
  author = {Minh Nguyen Nhat To and P. Wilson and Viet Nguyen and Mohamed Harmanani and Michael Cooper and Fahimeh Fooladgar and P. Abolmaesumi and Parvin Mousavi and Rahul G. Krishnan},
  year   = {2026},
  eprint = {2505.23027},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2505.23027},
  journal = {ICML 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/2505.23027.svg)](https://codeofpaper.com/paper/2505.23027)

Discussion