Predicting the Performance of Foundation Models via Agreement-on-the-Line

Aman Mehra, Rahul Saxena, Taeyoun Kim, Christina Baek, Zico Kolter +1 more
4/1/2024

No confident code implementation found for this paper.

Abstract

Estimating the out-of-distribution performance in regimes where labels are scarce is critical to safely deploy foundation models. Recently, it was shown that ensembles of neural networks observe the phenomena"agreement-on-the-line", which can be leveraged to reliably predict OOD performance without labels.

Show full abstract

However, in contrast to classical neural networks that are trained on in-distribution data from scratch for numerous epochs, foundation models undergo minimal finetuning from heavily pretrained weights, which may reduce the ensemble diversity needed to observe agreement-on-the-line. In our work, we demonstrate that when lightly finetuning multiple runs from a single foundation model, the choice of randomness during training (linear head initialization, data ordering, and data subsetting) can lead to drastically different levels of agreement-on-the-line in the resulting ensemble. Surprisingly, only random head initialization is able to reliably induce agreement-on-the-line in finetuned foundation models across vision and language benchmarks. Second, we demonstrate that ensembles of multiple foundation models pretrained on different datasets but finetuned on the same task can also show agreement-on-the-line. In total, by careful construction of a diverse ensemble, we can utilize agreement-on-the-line-based methods to predict the OOD performance of foundation models with high precision.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mehra2024predicting,
  title  = {Predicting the Performance of Foundation Models via Agreement-on-the-Line},
  author = {Aman Mehra and Rahul Saxena and Taeyoun Kim and Christina Baek and Zico Kolter and Aditi Raghunathan},
  year   = {2024},
  eprint = {2404.01542},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2404.01542},
  url    = {https://arxiv.org/abs/2404.01542},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.01542.svg)](https://codeofpaper.com/paper/2404.01542)

Discussion