Reproduce “Agreement-on-the-Line: Predicting the Performance of Neural Networks under Distribution Shift” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Christina Baek, Yiding Jiang, Aditi Raghunathan, Zico Kolter

Carnegie Mellon University researchers demonstrate a robust empirical phenomenon, "agreement-on-the-line," which shows a strong linear correlation between in-distribution and out-of-distribution agreement for neural network pairs. Leveraging this, they introduce ALine-D, an algorithm that predicts a neural network's out-of-distribution accuracy solely from unlabeled out-of-distribution data, achieving lower prediction error compared to existing methods.

Key insights

  • A robust empirical phenomenon, "agreement-on-the-line," exists where OOD agreement between neural network pairs linearly correlates with ID agreement, mirroring the "accuracy-on-the-line" trend.
  • Crucially, the slope and bias of the "agreement-on-the-line" fit are approximately the same as those for "accuracy-on-the-line," and this matching property appears specific to neural networks.
  • The strength of "agreement-on-the-line" correlation (measurable with unlabeled OOD data) indicates the reliability of the underlying linearity for OOD accuracy prediction.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.