SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2201.04234 · ICLR · 2022

Leveraging Unlabeled Data to Predict Out-of-Distribution Performance

Saurabh Garg, Sivaraman Balakrishnan, Zachary Lipton, Behnam Neyshabur, Hanie Sedghi

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 3 functions out of this paper's own repositories and ran 0 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
saurabhgarg1996/atc_code canonical 0 of 3
FunctionStatusWhere it lives
find_ATC_threshold Not yet run saurabhgarg1996/atc_code/ATC_helper.py
code served (permissive licence) · get_code("71387d554ac8b653")
get_entropy Not yet run saurabhgarg1996/atc_code/ATC_helper.py
code served (permissive licence) · get_code("78930d84e33719b5")
get_max_conf Not yet run saurabhgarg1996/atc_code/ATC_helper.py
code served (permissive licence) · get_code("fe1107214c6aac63")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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ˆ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 1 . ˚Work done in part while Saurabh Garg was interning at Google 1 Code is available at https://github.com/saurabhgarg1996/ATC_code.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2201.04234")
get_code_for_paper("2201.04234")
have("2201.04234")

Connect an agent — have() is free.