SOTAVerified

AdapterBias: Parameter-efficient Token-dependent Representation Shift for Adapters in NLP Tasks

2022-04-30Findings (NAACL) 2022Code Available1· sign in to hype

Chin-Lun Fu, Zih-Ching Chen, Yun-Ru Lee, Hung-Yi Lee

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Transformer-based pre-trained models with millions of parameters require large storage. Recent approaches tackle this shortcoming by training adapters, but these approaches still require a relatively large number of parameters. In this study, AdapterBias, a surprisingly simple yet effective adapter architecture, is proposed. AdapterBias adds a token-dependent shift to the hidden output of transformer layers to adapt to downstream tasks with only a vector and a linear layer. Extensive experiments are conducted to demonstrate the effectiveness of AdapterBias. The experiments show that our proposed method can dramatically reduce the trainable parameters compared to the previous works with a minimal decrease in task performances compared with fine-tuned pre-trained models. We further find that AdapterBias automatically learns to assign more significant representation shifts to the tokens related to the task in consideration.

Reproductions