mlsanityData to 14 Oct 2026

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

arXiv 2404.01542 ↗First posted 2 Apr 2024cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

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. 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.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 48 of its 65 references that are in the map. First posted on arXiv 2 Apr 2024.

Builds on

48 of 65 references.

References · 48

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  6. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  7. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
  8. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,137
  9. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  10. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,750
  11. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  12. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
36 more
  1. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
  2. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
  3. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  4. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  5. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  6. 2015A large annotated corpus for learning natural language inferencecited by 1,847
  7. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
  8. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
  9. 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,245
  10. 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,188
  11. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,043
  12. 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
  13. 2021Robust fine-tuning of zero-shot modelscited by 797
  14. 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 454
  15. 2019MLQA: Evaluating Cross-lingual Extractive Question Answeringcited by 340
  16. 2020The Pushshift Reddit Datasetcited by 292
  17. 2021Accuracy on the Line: On the Strong Correlation Between Out-of-Distribution and In-Distribution Generalizationcited by 249
  18. 2018A Simple Method for Commonsense Reasoningcited by 223
  19. 2018Do CIFAR-10 Classifiers Generalize to CIFAR-10?cited by 200
  20. 2022Leveraging Unlabeled Data to Predict Out-of-Distribution Performancecited by 145
  21. 2022Data Determines Distributional Robustness in Contrastive Language Image Pre-training (CLIP)cited by 138
  22. 2021Assessing Generalization of SGD via Disagreementcited by 117
  23. 2021Predicting with Confidence on Unseen Distributionscited by 116
  24. 2020The Effect of Natural Distribution Shift on Question Answering Modelscited by 104
  25. 2020Are Labels Always Necessary for Classifier Accuracy Evaluation?cited by 104
  26. 2021Distribution-free uncertainty quantification for classification under label shiftcited by 101
  27. 2022Agreement-on-the-Line: Predicting the Performance of Neural Networks under Distribution Shiftcited by 94
  28. 2021What Does Rotation Prediction Tell Us about Classifier Accuracy under Varying Testing Environments?cited by 63
  29. 2019Cold Case: The Lost MNIST Digitscited by 62
  30. 2020Estimating Generalization under Distribution Shifts via Domain-Invariant Representationscited by 56
  31. 2021Detecting Errors and Estimating Accuracy on Unlabeled Data with Self-training Ensemblescited by 54
  32. 2022Predicting Out-of-Distribution Error with the Projection Normcited by 50
  33. 2020Distributional Generalization: A New Kind of Generalizationcited by 42
  34. 2022Robust Calibration with Multi-domain Temperature Scalingcited by 39
  35. 2022Exploring The Landscape of Distributional Robustness for Question Answering Modelscited by 23
  36. 2023Adaptive Calibrator Ensemble for Model Calibration under Distribution Shiftcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 4.

7 papers.