Neutral Residues: Revisiting Adapters for Model Extension

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Talla, Franck Signe, Grave, Edouard, Jégou, Hervé
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915419134099456
author Talla, Franck Signe
Grave, Edouard
Jégou, Hervé
author_facet Talla, Franck Signe
Grave, Edouard
Jégou, Hervé
contents We address the problem of extending a pretrained large language model to a new domain that was not seen during training. Standard techniques, such as finetuning or low-rank adaptation (LoRA) are successful at domain adaptation, but do not formally add capacity to the model. This often leads to a trade-off, between performing well on the new domain vs. degrading performance on the original domain. Here, we revisit and improve adapters to extend LLMs from three angles: data, architecture and training procedure, which are advantageously considered jointly. The resulting method, called neutral residues, modifies adapters in a way that leads each new residual block to output near-zeros on the original domain. This solution leads to strong results when adapting a state-of-the-art model originally trained on English to a new language. Neutral residues significantly outperform competing approaches such as finetuning, LoRA or vanilla adapters in terms of the trade-off between learning the new language and not forgetting English.
format Preprint
id arxiv_https___arxiv_org_abs_2410_02744
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Neutral Residues: Revisiting Adapters for Model Extension
Talla, Franck Signe
Grave, Edouard
Jégou, Hervé
Computation and Language
Artificial Intelligence
Machine Learning
We address the problem of extending a pretrained large language model to a new domain that was not seen during training. Standard techniques, such as finetuning or low-rank adaptation (LoRA) are successful at domain adaptation, but do not formally add capacity to the model. This often leads to a trade-off, between performing well on the new domain vs. degrading performance on the original domain. Here, we revisit and improve adapters to extend LLMs from three angles: data, architecture and training procedure, which are advantageously considered jointly. The resulting method, called neutral residues, modifies adapters in a way that leads each new residual block to output near-zeros on the original domain. This solution leads to strong results when adapting a state-of-the-art model originally trained on English to a new language. Neutral residues significantly outperform competing approaches such as finetuning, LoRA or vanilla adapters in terms of the trade-off between learning the new language and not forgetting English.
title Neutral Residues: Revisiting Adapters for Model Extension
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2410.02744