Agreement-on-the-line: Predicting the Performance of Neural Networks under Distribution Shift
Christina Baek, Yiding Jiang, Aditi Raghunathan, J. Zico Kolter
摘要
Recently , Miller et al. [59] showed that a model's in-distribution (ID) accuracy has a strong linear correlation with its out-of-distribution (OOD) accuracy on several OOD benchmarks -a phenomenon they dubbed "accuracy-on-the-line". While a useful tool for model selection (i.e., the models with better ID accuracy are likely to have better OOD accuracy), this fact does not help estimate the actual OOD performance of models without access to a labeled OOD validation set. In this paper, we show a similar but surprising phenomenon also holds for the agreement between pairs of neural network classifiers: whenever accuracy-onthe-line holds, we observe that the OOD agreement between the predictions of any two pairs of neural networks (with potentially different architectures) also observes a strong linear correlation with their ID agreement. Furthermore, we observe that the slope and bias of OOD vs. ID agreement closely matches that of OOD vs. ID accuracy. This phenomenon, which we call agreement-on-the-line, has important practical applications: without any labeled data, we can predict the OOD accuracy of classifiers, since OOD agreement can be estimated with just unlabeled data. Our prediction algorithm outperforms previous methods both in shifts where agreement-on-the-line holds and, surprisingly, when accuracy is not on the line. This phenomenon also provides new insights into deep neural networks: unlike accuracy-on-the-line, agreement-on-the-line appears to only hold for neural network classifiers.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 45 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Towards Last-layer Retraining for Group Robustness with Fewer Annotations 引用了 WILDS: A Benchmark of in-the-Wild Distribution Shifts
- BEiT: BERT Pre-Training of Image Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- A ConvNet for the 2020s 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classification 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- The Entropy Enigma: Success and Failure of Entropy Minimization 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Assaying Out-Of-Distribution Generalization in Transfer Learning 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Assaying Out-Of-Distribution Generalization in Transfer Learning 引用了 WILDS: A Benchmark of in-the-Wild Distribution Shifts
- On the Strong Correlation Between Model Invariance and Generalization 引用了 BEiT: BERT Pre-Training of Image Transformers
- On the Strong Correlation Between Model Invariance and Generalization 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- On the Strong Correlation Between Model Invariance and Generalization 引用了 A ConvNet for the 2020s
- On the Strong Correlation Between Model Invariance and Generalization 引用了 WILDS: A Benchmark of in-the-Wild Distribution Shifts
引用它的顶会 Paper45
- Assaying Out-Of-Distribution Generalization in Transfer LearningFlorian Wenzel, Andrea Dittadi, Peter V. Gehler, Carl-Johann Simon-Gabriel 等NeurIPS 2022 · 93 次引用
- Towards Last-layer Retraining for Group Robustness with Fewer AnnotationsTyler LaBonte, Vidya Muthukumar, Abhishek KumarNeurIPS 2023 · 73 次引用
- On the Strong Correlation Between Model Invariance and GeneralizationWeijian Deng, Stephen Gould, Liang ZhengNeurIPS 2022 · 28 次引用
- The Entropy Enigma: Success and Failure of Entropy MinimizationOri Press, Ravid Shwartz-Ziv, Yann LeCun, Matthias BethgeICML 2024 · 27 次引用
- Certified Robustness via Dynamic Margin Maximization and Improved Lipschitz RegularizationMahyar Fazlyab, Taha Entesari, Aniket Roy, Rama ChellappaNeurIPS 2023 · 26 次引用
它引用的 Paper28
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- A ConvNet for the 2020sZhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer 等CVPR 2022 · 6,782 次引用
- BEiT: BERT Pre-Training of Image TransformersHangbo Bao, Li Dong, Songhao Piao, Furu WeiICLR 2022 · 3,632 次引用
- CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image ClassificationChun-Fu (Richard) Chen, Quanfu Fan, Rameswar PandaICCV 2021 · 2,072 次引用
- WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie 等ICML 2021 · 1,773 次引用
相关 Paper
- Test-Time Adaptation Induces Stronger Accuracy and Agreement-on-the-LineEungyeup Kim, Mingjie Sun, Christina Baek, Aditi Raghunathan 等NeurIPS 2024 · 12 次引用
- Predicting the Performance of Foundation Models via Agreement-on-the-LineRahul Saxena, Taeyoun Kim, Aman Mehra, Christina Baek 等NeurIPS 2024 · 8 次引用
- Demystifying Disagreement-on-the-Line in High DimensionsDonghwan Lee, Behrad Moniri, Xinmeng Huang, Edgar Dobriban 等ICML 2023 · 12 次引用
- Aggregation Hides Out-of-Distribution Generalization Failures from Spurious CorrelationsOlawale Salaudeen, Haoran Zhang, Kumail Alhamoud, Sara Beery 等NeurIPS 2025 · 3 次引用
- (Almost) Provable Error Bounds Under Distribution Shift via Disagreement DiscrepancyElan Rosenfeld, Saurabh GargNeurIPS 2023 · 18 次引用
