Learning to Route for Dynamic Adapter Composition in Continual Learning with Language Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Araujo, Vladimir, Moens, Marie-Francine, Tuytelaars, Tinne
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910678143467520
author Araujo, Vladimir
Moens, Marie-Francine
Tuytelaars, Tinne
author_facet Araujo, Vladimir
Moens, Marie-Francine
Tuytelaars, Tinne
contents Parameter-efficient fine-tuning (PEFT) methods are increasingly used with pre-trained language models (PLMs) for continual learning (CL). These methods typically involve training a PEFT module for each new task and employing similarity-based selection to route modules during inference. However, they face two major limitations: 1) interference during module training with already learned modules and 2) suboptimal routing when composing modules. In this paper, we present L2R, a method that isolates the training of new PEFT modules to ensure their task specialization. L2R then learns to compose the learned modules by training a network of routers that leverages a small memory containing examples of previously seen tasks. We evaluate our method in two CL setups using various benchmarks. Our results demonstrate that L2R provides an effective composition of PEFT modules, leading to improved generalization and performance compared to other methods.
format Preprint
id arxiv_https___arxiv_org_abs_2408_09053
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Learning to Route for Dynamic Adapter Composition in Continual Learning with Language Models
Araujo, Vladimir
Moens, Marie-Francine
Tuytelaars, Tinne
Machine Learning
Artificial Intelligence
Computation and Language
Parameter-efficient fine-tuning (PEFT) methods are increasingly used with pre-trained language models (PLMs) for continual learning (CL). These methods typically involve training a PEFT module for each new task and employing similarity-based selection to route modules during inference. However, they face two major limitations: 1) interference during module training with already learned modules and 2) suboptimal routing when composing modules. In this paper, we present L2R, a method that isolates the training of new PEFT modules to ensure their task specialization. L2R then learns to compose the learned modules by training a network of routers that leverages a small memory containing examples of previously seen tasks. We evaluate our method in two CL setups using various benchmarks. Our results demonstrate that L2R provides an effective composition of PEFT modules, leading to improved generalization and performance compared to other methods.
title Learning to Route for Dynamic Adapter Composition in Continual Learning with Language Models
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2408.09053