Demystifying Disagreement-on-the-Line in High Dimensions
Donghwan Lee, Behrad Moniri, Xinmeng Huang, Edgar Dobriban, Hamed Hassani
Abstract
Evaluating the performance of machine learning models under distribution shift is challenging, especially when we only have unlabeled data from the shifted (target) domain, along with labeled data from the original (source) domain. Recent work suggests that the notion of disagreement, the degree to which two models trained with different randomness differ on the same input, is a key to tackle this problem. Experimentally, disagreement and prediction error have been shown to be strongly connected, which has been used to estimate model performance. Experiments have led to the discovery of the disagreement-on-the-line phenomenon, whereby the classification error under the target domain is often a linear function of the classification error under the source domain; and whenever this property holds, disagreement under the source and target domain follow the same linear relation. In this work, we develop a theoretical foundation for analyzing disagreement in high-dimensional random features regression; and study under what conditions the disagreement-on-the-line phenomenon occurs in our setting. Experiments on CIFAR-10-C, Tiny ImageNet-C, and Camelyon17 are consistent with our theory and support the universality of the theoretical findings.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
12 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- A Law of Data Reconstruction for Random Features (And Beyond) cites High-dimensional Asymptotics of Feature Learning: How One Gradient Step Improves the Representation
- Monitoring Risks in Test-Time Adaptation cites Accuracy on the Line: on the Strong Correlation Between Out-of-Distribution and In-Distribution Generalization
- Monitoring Risks in Test-Time Adaptation cites Test-Time Adaptation Induces Stronger Accuracy and Agreement-on-the-Line
- Accuracy on the Line: on the Strong Correlation Between Out-of-Distribution and In-Distribution Generalization cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Accuracy on the Line: on the Strong Correlation Between Out-of-Distribution and In-Distribution Generalization cites Measuring Robustness to Natural Distribution Shifts in Image Classification
- The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization cites AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty
- Test-Time Adaptation Induces Stronger Accuracy and Agreement-on-the-Line cites Accuracy on the Line: on the Strong Correlation Between Out-of-Distribution and In-Distribution Generalization
- Test-Time Adaptation Induces Stronger Accuracy and Agreement-on-the-Line cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Measuring Robustness to Natural Distribution Shifts in Image Classification cites AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty
- Measuring Robustness to Natural Distribution Shifts in Image Classification cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Predicting the Performance of Foundation Models via Agreement-on-the-Line cites Accuracy on the Line: on the Strong Correlation Between Out-of-Distribution and In-Distribution Generalization
- Predicting the Performance of Foundation Models via Agreement-on-the-Line cites Measuring Robustness to Natural Distribution Shifts in Image Classification
Cited by top-tier papers12
- Test-Time Adaptation Induces Stronger Accuracy and Agreement-on-the-LineEungyeup Kim, Mingjie Sun, Christina Baek, Aditi Raghunathan et al.NeurIPS 2024 · 12 citations
- Monitoring Risks in Test-Time AdaptationMona Schirmer, Metod Jazbec, Christian Andersson Naesseth, Eric T. NalisnickNeurIPS 2025 · 10 citations
- Predicting the Performance of Foundation Models via Agreement-on-the-LineRahul Saxena, Taeyoun Kim, Aman Mehra, Christina Baek et al.NeurIPS 2024 · 8 citations
- A Law of Data Reconstruction for Random Features (And Beyond)Leonardo Iurada, Simone Bombari, Tatiana Tommasi, Marco MondelliICLR 2026 · 3 citations
- Strong Model CollapseElvis Dohmatob, Yunzhen Feng, Arjun Subramonian, Julia KempeICLR 2025 · 3 citations
Builds on19
- The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath et al.ICCV 2021 · 2,294 citations
- AugMix: A Simple Data Processing Method to Improve Robustness and UncertaintyDan Hendrycks, Norman Mu, Ekin Dogus Cubuk, Barret Zoph et al.ICLR 2020 · 1,572 citations
- Measuring Robustness to Natural Distribution Shifts in Image ClassificationRohan Taori, Achal Dave, Vaishaal Shankar, Nicholas Carlini et al.NeurIPS 2020 · 731 citations
- Accuracy on the Line: on the Strong Correlation Between Out-of-Distribution and In-Distribution GeneralizationJohn Miller, Rohan Taori, Aditi Raghunathan, Shiori Sagawa et al.ICML 2021 · 323 citations
- High-dimensional Asymptotics of Feature Learning: How One Gradient Step Improves the RepresentationJimmy Ba, Murat A. Erdogdu, Taiji Suzuki, Zhichao Wang et al.NeurIPS 2022 · 173 citations
Related papers
- Predicting with Confidence on Unseen DistributionsDevin Guillory, Vaishaal Shankar, Sayna Ebrahimi, Trevor Darrell et al.ICCV 2021 · 141 citations
- Agreement-on-the-line: Predicting the Performance of Neural Networks under Distribution ShiftChristina Baek, Yiding Jiang, Aditi Raghunathan, J. Zico KolterNeurIPS 2022 · 120 citations
- Overparameterization Improves Robustness to Covariate Shift in High DimensionsNilesh Tripuraneni, Ben Adlam, Jeffrey PenningtonNeurIPS 2021 · 50 citations
- (Almost) Provable Error Bounds Under Distribution Shift via Disagreement DiscrepancyElan Rosenfeld, Saurabh GargNeurIPS 2023 · 18 citations
- On the Bayes Inconsistency of Disagreement Discrepancy SurrogatesNeil G Marchant, Andrew Craig Cullen, Feng Liu, Sarah Monazam ErfaniICLR 2026
