ORCID: https://orcid.org/0000-0002-7379-7677; Peters, Matthew; Fraser, Alexander
ORCID: https://orcid.org/0000-0003-4891-682X und Dodge, Jesse
(2023):
AdapterSoup: Weight Averaging to Improve Generalization of Pretrained Language Models.
17th Conference of the European-Chapter of the Association-for-Computational-Linguistics (EACL), Dubrovnik, Croatia, May 02-06, 2023.
Vlachos, Andreas und Augenstein, Isabelle (eds.) :
In: The 17th Conference of the European Chapter of the Association for Computational Linguistics : Findings of EACL 2023, May 2-6, 2023,
Stroudsburg, PA: Association for Computational Linguistics (ACL). pp. 2054-2063
[PDF, 621kB]
Abstract
Pretrained language models (PLMs) are trained on massive corpora, but often need to specialize to specific domains. A parameter-efficient adaptation method suggests training an adapter for each domain on the task of language modeling. This leads to good in-domain scores but can be impractical for domain- or resource-restricted settings. A solution is to use a related-domain adapter for the novel domain at test time. In this paper, we introduce AdapterSoup, an approach that performs weight-space averaging of adapters trained on different domains. Our approach is embarrassingly parallel: first, we train a set of domain-specific adapters; then, for each novel domain, we determine which adapters should be averaged at test time. We present extensive experiments showing that AdapterSoup consistently improves performance to new domains without extra training. We also explore weight averaging of adapters trained on the same domain with different hyper-parameters, and show that it preserves the performance of a PLM on new domains while obtaining strong in-domain results. We explore various approaches for choosing which adapters to combine, such as text clustering and semantic similarity. We find that using clustering leads to the most competitive results on novel domains.
| Item Type: | Conference or Workshop Item (Paper) |
|---|---|
| Faculties: | Languages and Literatures |
| Research Centers: | Center for Information and Language Processing (CIS) |
| Subjects: | 000 Computer science, information and general works > 004 Data processing computer science 400 Language > 410 Linguistics |
| URN: | urn:nbn:de:bvb:19-epub-122503-6 |
| ISBN: | 978-1-959429-47-0 |
| Place of Publication: | Stroudsburg, PA |
| Language: | English |
| Item ID: | 122503 |
| Date Deposited: | 20. Nov 2024 06:49 |
| Last Modified: | 20. Nov 2024 06:49 |
