Neural Priming for Sample-Efficient Adaptation
Abstract
We propose Neural Priming, a technique for adapting large pretrained models to distribution shifts and downstream tasks given few or no labeled examples. Presented with class names or unlabeled test samples, Neural Priming enables the model to recall and conditions its parameters on relevant data seen throughout pretraining, thereby priming it for the test distribution. Neural Priming can be performed at test time in even for pretraining datasets as large as LAION-2B. Performing lightweight updates on the recalled data significantly improves accuracy across a variety of distribution shift and transfer learning benchmarks. Concretely, in the zero-shot setting, we see a 2.45% improvement in accuracy on ImageNet and 3.81% accuracy improvement on average across standard transfer learning benchmarks. Further, using our test time inference scheme, we see a 1.41% accuracy improvement on ImageNetV2. These results demonstrate the effectiveness of Neural Priming in addressing the common challenge of limited labeled data and changing distributions. Code and models are open-sourced at https://www.github.com/RAIVNLab/neural-priming.
Cite
Text
Wallingford et al. "Neural Priming for Sample-Efficient Adaptation." Neural Information Processing Systems, 2023.Markdown
[Wallingford et al. "Neural Priming for Sample-Efficient Adaptation." Neural Information Processing Systems, 2023.](https://mlanthology.org/neurips/2023/wallingford2023neurips-neural/)BibTeX
@inproceedings{wallingford2023neurips-neural,
title = {{Neural Priming for Sample-Efficient Adaptation}},
author = {Wallingford, Matthew and Ramanujan, Vivek and Fang, Alex and Kusupati, Aditya and Mottaghi, Roozbeh and Kembhavi, Aniruddha and Schmidt, Ludwig and Farhadi, Ali},
booktitle = {Neural Information Processing Systems},
year = {2023},
url = {https://mlanthology.org/neurips/2023/wallingford2023neurips-neural/}
}