paper-with-me

Papers

Multi-Head Adapter Routing for Cross-Task Generalization

2022-11-07 · NeurIPS 2023 11 · Lucas Caccia, Edoardo Ponti, Zhan Su, Matheus Pereira, Nicolas Le Roux, Alessandro Sordoni

Parameter-efficient fine-tuning (PEFT) for cross-task generalization consists in pre-training adapters on a multi-task training set before few-shot adaptation to test tasks. Polytropon [Ponti et al., 2023] ($\texttt{Poly}$) jointly learns an inventory of adapters and a routing function that selects a (variable-size) subset of adapters for each task during both pre-training and few-shot adaptation. In this paper, we investigate the role that adapter routing plays in its success and design new variants based on our findings. First, we build on the intuition that finer-grained routing provides more expressivity. Hence, we propose $\texttt{MHR}$ (Multi-Head Routing) which combines subsets of adapter parameters and outperforms $\texttt{Poly}$ under a comparable parameter budget; by only fine-tuning the routing function and not the adapters ($\texttt{MHR}$-$z$) we achieve competitive performance with extreme parameter efficiency. Second, we find that $\texttt{Poly}$/$\texttt{MHR}$ performance is a result of better multi-task optimization, rather than modular inductive biases that facilitate adapter recombination and local adaptation, as previously hypothesized. In fact, we find that $\texttt{MHR}$ exhibits high gradient alignment between training tasks. We find that routing is most beneficial during multi-task pre-training rather than during few-shot adaptation and propose $\texttt{MHR}$-$\mu$, which discards routing and fine-tunes the average of the pre-trained adapters on each downstream tasks. This establishes $\texttt{MHR}$-$\mu$ as an effective method for single-adapter fine-tuning. We also show that $\texttt{MHR}$-$\mu$ can be used as an effective zero-shot transfer method by training the average of the pre-trained adapters for a few additional steps on the multi-task training set: this yields gains up to 3% on absolute accuracy w.r.t. the baselines.

📄 PDF Abstract BibTeX arXiv:2211.03831

Code (1)

microsoft/mttl 공식 구현 pytorch

Tasks

parameter-efficient fine-tuning

Similar Papers 제목 키워드 기반

Effective LoRA Adapter Routing using Task Representations

2026-01-29 · Akash Dhasade, Anne-Marie Kermarrec, Igor Pavlovic, Diana Petrescu 외 arxiv

Low-rank adaptation (LoRA) enables parameter efficient specialization of large language models (LLMs) through modular adapters, resulting in rapidly growing public adapter pools spanning diverse tasks. Effectively using …

CARL-CXR: Continual Adapter-Based Routing for Task-Unknown Chest Radiograph Classification

2026-02-17 · Muthu Subash Kavitha, Anas Zafar, Amgad Muneer, Jia Wu arxiv

Clinical deployment of chest radiograph classifiers requires models that can be updated as new datasets become available without retraining on previously observed data or degrading validated performance. We study a task-…

Continual Learning

Towards Modular LLMs by Building and Reusing a Library of LoRAs

2024-05-18 · Oleksiy Ostapenko, Zhan Su, Edoardo Maria Ponti, Laurent Charlin 외

The growing number of parameter-efficient adaptations of a base large language model (LLM) calls for studying whether we can reuse such trained adapters to improve performance for new tasks. We study how to best build a …

Language ModelingLanguage ModellingLarge Language Model

MoLoRA: Composable Specialization via Per-Token Adapter Routing

2026-03-16 · Shrey Shah, Justin Wagle arxiv

Multi-adapter serving systems route entire sequences to a single adapter, forcing a choice when requests span multiple domains. This assumption fails in two important settings: (1) multimodal generation, where text and i…

multimodal generation

C-LoRA: Continual Low-Rank Adaptation for Pre-trained Models

2025-02-25 · Xin Zhang, Liang Bai, Xian Yang, Jiye Liang

Low-Rank Adaptation (LoRA) is an efficient fine-tuning method that has been extensively applied in areas such as natural language processing and computer vision. Existing LoRA fine-tuning approaches excel in static envir…

Continual Learning