Lune

NeurIPS2023顶会

Multi-Head Adapter Routing for Cross-Task Generalization

Lucas Page-Caccia, Edoardo Maria Ponti, Zhan Su, Matheus Pereira, Nicolas Le Roux, Alessandro Sordoni

2023年份
38被引次数
8顶会引用

摘要

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] (Poly\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 MHR\texttt{MHR} (Multi-Head Routing) which combines subsets of adapter parameters and outperforms Poly\texttt{Poly} under a comparable parameter budget; by only fine-tuning the routing function and not the adapters (MHR\texttt{MHR}-zz) we achieve competitive performance with extreme parameter efficiency. Second, we find that Poly\texttt{Poly}/MHR\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 MHR\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 MHR\texttt{MHR}-μ\mu, which discards routing and fine-tunes the average of the pre-trained adapters on each downstream tasks. This establishes MHR\texttt{MHR}-μ\mu as an effective method for single-adapter fine-tuning. We also show that MHR\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.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

引用它的顶会 Paper8

问问它们各自怎么用它

它引用的顶会 Paper20

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖