mlsanityData to 14 Oct 2026

Agreement-on-the-Line: Predicting the Performance of Neural Networks under Distribution Shift

arXiv 2206.13089 ↗First posted 27 Jun 2022cs.LG cs.AIcited by 94

Not on the map. Why?

Abstract (arXiv)

Recently, Miller et al. 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 model most likely to perform the best OOD is the one with highest ID 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-on-the-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.

Key facts. Cited by 94 papers in the map (data through 14 Oct 2026). Builds on 64 of its 93 references that are in the map. First posted on arXiv 27 Jun 2022.

Builds on

64 of 93 references.

References · 64

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  4. 2016Densely Connected Convolutional Networkscited by 6,720
  5. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
  6. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
  7. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
  8. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,795
  9. 2017Squeeze-and-Excitation Networkscited by 4,789
  10. 2014Going Deeper with Convolutionscited by 4,241
  11. 2022A ConvNet for the 2020scited by 3,579
  12. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
38 more
  1. 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,546
  2. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  3. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
  4. 2016Xception: Deep Learning with Depthwise Separable Convolutionscited by 2,332
  5. 2016Identity Mappings in Deep Residual Networkscited by 1,965
  6. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
  7. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
  8. 2017ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devicescited by 1,200
  9. 2018ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Designcited by 1,136
  10. 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,060
  11. 2020Designing Network Design Spacescited by 960
  12. 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
  13. 2021Going deeper with Image Transformerscited by 764
  14. 2017Spectrally-normalized margin bounds for neural networkscited by 686
  15. 2017Exploring Generalization in Deep Learningcited by 600
  16. 2017Computing Nonvacuous Generalization Bounds for Deep (Stochastic) Neural Networks with Many More Parameters than Training Datacited by 533
  17. 2017Progressive Neural Architecture Searchcited by 487
  18. 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
  19. 2017Deep Layer Aggregationcited by 436
  20. 2021Bottleneck Transformers for Visual Recognitioncited by 364
  21. 2021High-Performance Large-Scale Image Recognition Without Normalizationcited by 360
  22. 2017Functional Map of the Worldcited by 338
  23. 2021Accuracy on the Line: On the Strong Correlation Between Out-of-Distribution and In-Distribution Generalizationcited by 249
  24. 2021Co-Scale Conv-Attentional Image Transformerscited by 224
  25. 2021Scaling Local Self-Attention for Parameter Efficient Visual Backbonescited by 220
  26. 2021Partial success in closing the gap between human and machine visioncited by 185
  27. 2022Leveraging Unlabeled Data to Predict Out-of-Distribution Performancecited by 145
  28. 2017Dual Path Networkscited by 119
  29. 2021Assessing Generalization of SGD via Disagreementcited by 117
  30. 2021Predicting with Confidence on Unseen Distributionscited by 116
  31. 2020A survey on domain adaptation theory: learning bounds and theoretical guaranteescited by 109
  32. 2020The Effect of Natural Distribution Shift on Question Answering Modelscited by 104
  33. 2020Are Labels Always Necessary for Classifier Accuracy Evaluation?cited by 104
  34. 2018Adversarial Attacks and Defences Competitioncited by 96
  35. 2020The iWildCam 2020 Competition Datasetcited by 86
  36. 2021What Does Rotation Prediction Tell Us about Classifier Accuracy under Varying Testing Environments?cited by 63
  37. 2019Cold Case: The Lost MNIST Digitscited by 62
  38. 2020Estimating Generalization under Distribution Shifts via Domain-Invariant Representationscited by 56

50 most cited of 64 All 64 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 5; 2023: 32; 2024: 29; 2025: 18; 2026: 10.

94 papers.

Sort:

By area:

  1. 2023Anchor Points: Benchmarking Models with Much Fewer Examplescited by 86
  2. 2024Mission Critical -- Satellite Data is a Distinct Modality in Machine Learningcited by 77
  3. 2023Towards Last-layer Retraining for Group Robustness with Fewer Annotationscited by 54
  4. 2022Assaying Out-Of-Distribution Generalization in Transfer Learningcited by 53
  5. 2023RLSbench: Domain Adaptation Under Relaxed Label Shiftcited by 30
  6. 2024The Entropy Enigma: Success and Failure of Entropy Minimizationcited by 24
  7. 2022On the Strong Correlation Between Model Invariance and Generalizationcited by 23
  8. 2024TAPT: Test-Time Adversarial Prompt Tuning for Robust Inference in Vision-Language Modelscited by 23
  9. 2023Confidence and Dispersity Speak: Characterising Prediction Matrix for Unsupervised Accuracy Estimationcited by 22
  10. 2023Multimodal Learning Without Labeled Multimodal Data: Guarantees and Applicationscited by 21
  11. 2023Certified Robustness via Dynamic Margin Maximization and Improved Lipschitz Regularizationcited by 21
  12. 2024A Survey on Evaluation of Out-of-Distribution Generalizationcited by 21
38 more
  1. 2023Characterizing Out-of-Distribution Error via Optimal Transportcited by 20
  2. 2024Objective drives the consistency of representational similarity across datasetscited by 18
  3. 2024Energy-based Automated Model Evaluationcited by 17
  4. 2023(Almost) Provable Error Bounds Under Distribution Shift via Disagreement Discrepancycited by 16
  5. 2023Performance Scaling via Optimal Transport: Enabling Data Selection from Partially Revealed Sourcescited by 16
  6. 2024A Framework for Efficient Model Evaluation through Stratification, Sampling, and Estimationcited by 14
  7. 2023Effective Robustness against Natural Distribution Shifts for Models with Different Training Datacited by 13
  8. 2023Predicting Out-of-Distribution Error with Confidence Optimal Transportcited by 13
  9. 2023Does Progress On Object Recognition Benchmarks Improve Real-World Generalization?cited by 13
  10. 2024Toward a Holistic Evaluation of Robustness in CLIP Modelscited by 13
  11. 2023Demystifying Disagreement-on-the-Line in High Dimensionscited by 12
  12. 2023CIFAR-10-Warehouse: Broad and More Realistic Testbeds in Model Generalization Analysiscited by 12
  13. 2024LCA-on-the-Line: Benchmarking Out-of-Distribution Generalization with Class Taxonomiescited by 12
  14. 2025Beyond One-Size-Fits-All: Tailored Benchmarks for Efficient Evaluationcited by 12
  15. 2023Test-Time Adaptation Induces Stronger Accuracy and Agreement-on-the-Linecited by 11
  16. 2025Monitoring Risks in Test-Time Adaptationcited by 11
  17. 2024On the Generalization of Handwritten Text Recognition Modelscited by 10
  18. 2025On Continuous Monitoring of Risk Violations under Unknown Shiftcited by 10
  19. 2024Estimating Model Performance Under Covariate Shift Without Labelscited by 9
  20. 2024AETTA: Label-Free Accuracy Estimation for Test-Time Adaptationcited by 9
  21. 2024Accuracy on the wrong line: On the pitfalls of noisy data for out-of-distribution generalisationcited by 9
  22. 2025Always Tell Me The Odds: Fine-grained Conditional Probability Estimationcited by 9
  23. 2024Confidence-based Estimators for Predictive Performance in Model Monitoringcited by 8
  24. 2023DC4L: Distribution Shift Recovery via Data-Driven Control for Deep Learning Modelscited by 7
  25. 2023Accuracy on the Curve: On the Nonlinear Correlation of ML Performance Between Data Subpopulationscited by 7
  26. 2024Advancing Deep Active Learning & Data Subset Selection: Unifying Principles with Information-Theory Intuitionscited by 7
  27. 2024Predicting the Performance of Foundation Models via Agreement-on-the-Linecited by 7
  28. 2024Adaptive Prediction Ensemble: Improving Out-of-Distribution Generalization of Motion Forecastingcited by 7
  29. 2023Explanation Shift: How Did the Distribution Shift Impact the Model?cited by 6
  30. 2023On the Out of Distribution Robustness of Foundation Models in Medical Image Segmentationcited by 6
  31. 2024What Does Softmax Probability Tell Us about Classifiers Ranking Across Diverse Test Conditions?cited by 6
  32. 2023On the Joint Interaction of Models, Data, and Featurescited by 5
  33. 2023Confidence-Based Model Selection: When to Take Shortcuts for Subpopulation Shiftscited by 5
  34. 2024Ranked from Within: Ranking Large Multimodal Models Without Labelscited by 5
  35. 2022Predicting Out-of-Domain Generalization with Neighborhood Invariancecited by 4
  36. 2023Learning Diverse Features in Vision Transformers for Improved Generalizationcited by 4
  37. 2023OODRobustBench: a Benchmark and Large-Scale Analysis of Adversarial Robustness under Distribution Shiftcited by 4
  38. 2023The Limits of Fair Medical Imaging AI In The Wildcited by 4

50 most cited of 94 All 94 (JSON)