English

Adapters Strike Back

Computer Vision and Pattern Recognition 2024-06-12 v1 Machine Learning

Abstract

Adapters provide an efficient and lightweight mechanism for adapting trained transformer models to a variety of different tasks. However, they have often been found to be outperformed by other adaptation mechanisms, including low-rank adaptation. In this paper, we provide an in-depth study of adapters, their internal structure, as well as various implementation choices. We uncover pitfalls for using adapters and suggest a concrete, improved adapter architecture, called Adapter+, that not only outperforms previous adapter implementations but surpasses a number of other, more complex adaptation mechanisms in several challenging settings. Despite this, our suggested adapter is highly robust and, unlike previous work, requires little to no manual intervention when addressing a novel scenario. Adapter+ reaches state-of-the-art average accuracy on the VTAB benchmark, even without a per-task hyperparameter optimization.

Keywords

Cite

@article{arxiv.2406.06820,
  title  = {Adapters Strike Back},
  author = {Jan-Martin O. Steitz and Stefan Roth},
  journal= {arXiv preprint arXiv:2406.06820},
  year   = {2024}
}

Comments

To appear at CVPR 2024. Code: https://github.com/visinf/adapter_plus