The Hidden Space of Transformer Language Adapters

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Alabi, Jesujoba O., Mosbach, Marius, Eyal, Matan, Klakow, Dietrich, Geva, Mor
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911911426129920
author Alabi, Jesujoba O.
Mosbach, Marius
Eyal, Matan
Klakow, Dietrich
Geva, Mor
author_facet Alabi, Jesujoba O.
Mosbach, Marius
Eyal, Matan
Klakow, Dietrich
Geva, Mor
contents We analyze the operation of transformer language adapters, which are small modules trained on top of a frozen language model to adapt its predictions to new target languages. We show that adapted predictions mostly evolve in the source language the model was trained on, while the target language becomes pronounced only in the very last layers of the model. Moreover, the adaptation process is gradual and distributed across layers, where it is possible to skip small groups of adapters without decreasing adaptation performance. Last, we show that adapters operate on top of the model's frozen representation space while largely preserving its structure, rather than on an 'isolated' subspace. Our findings provide a deeper view into the adaptation process of language models to new languages, showcasing the constraints imposed on it by the underlying model and introduces practical implications to enhance its efficiency.
format Preprint
id arxiv_https___arxiv_org_abs_2402_13137
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle The Hidden Space of Transformer Language Adapters
Alabi, Jesujoba O.
Mosbach, Marius
Eyal, Matan
Klakow, Dietrich
Geva, Mor
Computation and Language
We analyze the operation of transformer language adapters, which are small modules trained on top of a frozen language model to adapt its predictions to new target languages. We show that adapted predictions mostly evolve in the source language the model was trained on, while the target language becomes pronounced only in the very last layers of the model. Moreover, the adaptation process is gradual and distributed across layers, where it is possible to skip small groups of adapters without decreasing adaptation performance. Last, we show that adapters operate on top of the model's frozen representation space while largely preserving its structure, rather than on an 'isolated' subspace. Our findings provide a deeper view into the adaptation process of language models to new languages, showcasing the constraints imposed on it by the underlying model and introduces practical implications to enhance its efficiency.
title The Hidden Space of Transformer Language Adapters
topic Computation and Language
url https://arxiv.org/abs/2402.13137