Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Leveraging Unlabeled Data to Predict Out-of-Distribution Performance

About

Real-world machine learning deployments are characterized by mismatches between the source (training) and target (test) distributions that may cause performance drops. In this work, we investigate methods for predicting the target domain accuracy using only labeled source data and unlabeled target data. We propose Average Thresholded Confidence (ATC), a practical method that learns a threshold on the model's confidence, predicting accuracy as the fraction of unlabeled examples for which model confidence exceeds that threshold. ATC outperforms previous methods across several model architectures, types of distribution shifts (e.g., due to synthetic corruptions, dataset reproduction, or novel subpopulations), and datasets (Wilds, ImageNet, Breeds, CIFAR, and MNIST). In our experiments, ATC estimates target performance $2$-$4\times$ more accurately than prior methods. We also explore the theoretical foundations of the problem, proving that, in general, identifying the accuracy is just as hard as identifying the optimal predictor and thus, the efficacy of any method rests upon (perhaps unstated) assumptions on the nature of the shift. Finally, analyzing our method on some toy distributions, we provide insights concerning when it works. Code is available at https://github.com/saurabhgarg1996/ATC_code/.

Saurabh Garg, Sivaraman Balakrishnan, Zachary C. Lipton, Behnam Neyshabur, Hanie Sedghi• 2022

Related benchmarks

TaskDatasetResultRank
Object DetectionCityscapes to Foggy Cityscapes (test)
mAP48.46
196
Object DetectionSim10K → Cityscapes (test)--
104
Image ClassificationImageNet Matched Frequency V2--
92
Object DetectionPascal VOC -> Clipart (test)
mAP43.93
78
Accuracy EstimationPACS
R20.752
50
Unsupervised Accuracy EstimationRR1-WILDS
R-squared0.988
36
Accuracy EstimationLiving-17 Subpopulation Shift
R20.966
36
Unsupervised Accuracy EstimationDomainNet
R^20.846
36
Accuracy EstimationNonliving-26 Subpopulation Shift
R20.945
36
Accuracy EstimationEntity-13 Subpopulation Shift
R20.936
36
Showing 10 of 60 rows

Other info

Follow for update