Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Calibrated ensembles can mitigate accuracy tradeoffs under distribution shift

About

We often see undesirable tradeoffs in robust machine learning where out-of-distribution (OOD) accuracy is at odds with in-distribution (ID) accuracy: a robust classifier obtained via specialized techniques such as removing spurious features often has better OOD but worse ID accuracy compared to a standard classifier trained via ERM. In this paper, we find that ID-calibrated ensembles -- where we simply ensemble the standard and robust models after calibrating on only ID data -- outperforms prior state-of-the-art (based on self-training) on both ID and OOD accuracy. On eleven natural distribution shift datasets, ID-calibrated ensembles obtain the best of both worlds: strong ID accuracy and OOD accuracy. We analyze this method in stylized settings, and identify two important conditions for ensembles to perform well both ID and OOD: (1) we need to calibrate the standard and robust models (on ID data, because OOD data is unavailable), (2) OOD has no anticorrelated spurious features.

Ananya Kumar, Tengyu Ma, Percy Liang, Aditi Raghunathan• 2022

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-10
Accuracy98.6
875
Image ClassificationImageNet-1k (val)
Accuracy82.2
199
Image ClassificationImageNet and Distribution Shifts
ImageNet-V2 Accuracy72.3
49
Image ClassificationSTL-10 OOD
Accuracy97.7
24
Image ClassificationEntity-30 ID
Accuracy97.2
20
Image ClassificationEntity-30 OOD
Accuracy71.8
20
Showing 6 of 6 rows

Other info

Follow for update