Adapters Strike Back

Jan-Martin O. Steitz, Stefan Roth
6/10/2024
cs.CVcs.LG

No official code found. Best implementation: visinf/adapter_plus (43 stars, Apache-2.0, last commit 2024-07-24).

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.

View on arXivView PDF

Code Implementations(1)

visinf/adapter_plusCommunity100%
Apache-2.0

Adapters Strike Back (CVPR 2024)

432Python, Jupyter NotebookMar 27, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{steitz2024adapters,
  title  = {Adapters Strike Back},
  author = {Jan-Martin O. Steitz and Stefan Roth},
  year   = {2024},
  eprint = {2406.06820},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.06820v1},
  journal = {CVPR 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/2406.06820.svg)](https://codeofpaper.com/paper/2406.06820)

Discussion