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

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • LoRA: Low-Rank Adaptation of Large Language Models 引用了 Language Models are Few-Shot Learners
  • Pushing Mixture of Experts to the Limit: Extremely Parameter Efficient MoE for Instruction Tuning 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • Pushing Mixture of Experts to the Limit: Extremely Parameter Efficient MoE for Instruction Tuning 引用了 Multitask Prompted Training Enables Zero-Shot Task Generalization
  • Pushing Mixture of Experts to the Limit: Extremely Parameter Efficient MoE for Instruction Tuning 引用了 Language Models are Few-Shot Learners
  • Pushing Mixture of Experts to the Limit: Extremely Parameter Efficient MoE for Instruction Tuning 引用了 Finetuned Language Models are Zero-Shot Learners
  • Learning to Route Among Specialized Experts for Zero-Shot Generalization 引用了 Pushing Mixture of Experts to the Limit: Extremely Parameter Efficient MoE for Instruction Tuning
  • Learning to Route Among Specialized Experts for Zero-Shot Generalization 引用了 Multitask Prompted Training Enables Zero-Shot Task Generalization
  • Learning to Route Among Specialized Experts for Zero-Shot Generalization 引用了 Finetuned Language Models are Zero-Shot Learners
  • Learning to Route Among Specialized Experts for Zero-Shot Generalization 引用了 Towards Modular LLMs by Building and Reusing a Library of LoRAs
  • Towards Modular LLMs by Building and Reusing a Library of LoRAs 引用了 Learning to Route Among Specialized Experts for Zero-Shot Generalization
  • Multitask Prompted Training Enables Zero-Shot Task Generalization 引用了 Language Models are Few-Shot Learners
  • Multitask Prompted Training Enables Zero-Shot Task Generalization 引用了 Finetuned Language Models are Zero-Shot Learners
  • Finetuned Language Models are Zero-Shot Learners 引用了 Multitask Prompted Training Enables Zero-Shot Task Generalization
  • VB-LoRA: Extreme Parameter Efficient Fine-Tuning with Vector Banks 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • VB-LoRA: Extreme Parameter Efficient Fine-Tuning with Vector Banks 引用了 Language Models are Few-Shot Learners
  • Finetuned Language Models are Zero-Shot Learners 引用了 Language Models are Few-Shot Learners
  • Towards Modular LLMs by Building and Reusing a Library of LoRAs 引用了 Pushing Mixture of Experts to the Limit: Extremely Parameter Efficient MoE for Instruction Tuning
  • Multi-Task Vehicle Routing Solver via Mixture of Specialized Experts under State-Decomposable MDP 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • Multi-Task Vehicle Routing Solver via Mixture of Specialized Experts under State-Decomposable MDP 引用了 Pushing Mixture of Experts to the Limit: Extremely Parameter Efficient MoE for Instruction Tuning
  • Multi-Task Vehicle Routing Solver via Mixture of Specialized Experts under State-Decomposable MDP 引用了 Learning to Route Among Specialized Experts for Zero-Shot Generalization
  • Multi-Task Vehicle Routing Solver via Mixture of Specialized Experts under State-Decomposable MDP 引用了 Towards Modular LLMs by Building and Reusing a Library of LoRAs
  • Calibrate Before Use: Improving Few-shot Performance of Language Models 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper8

  1. Pushing Mixture of Experts to the Limit: Extremely Parameter Efficient MoE for Instruction TuningTed Zadouri, Ahmet Üstün, Arash Ahmadian, Beyza Ermis 等ICLR 2024 · 169 次引用
  2. Towards Modular LLMs by Building and Reusing a Library of LoRAsOleksiy Ostapenko, Zhan Su, Edoardo M. Ponti, Laurent Charlin 等ICML 2024 · 70 次引用
  3. Learning to Route Among Specialized Experts for Zero-Shot GeneralizationMohammed Muqeeth, Haokun Liu, Yufan Liu, Colin RaffelICML 2024 · 63 次引用
  4. VB-LoRA: Extreme Parameter Efficient Fine-Tuning with Vector BanksYang Li, Shaobo Han, Shihao JiNeurIPS 2024 · 61 次引用
  5. Multi-Task Vehicle Routing Solver via Mixture of Specialized Experts under State-Decomposable MDPYuxin Pan, Zhiguang Cao, Chengyang Gu, Liu Liu 等NeurIPS 2025 · 7 次引用

它引用的 Paper21

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
  3. Finetuned Language Models are Zero-Shot LearnersJason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu 等ICLR 2022 · 4,966 次引用
  4. Multitask Prompted Training Enables Zero-Shot Task GeneralizationVictor Sanh, Albert Webson, Colin Raffel, Stephen H. Bach 等ICLR 2022 · 1,976 次引用
  5. Calibrate Before Use: Improving Few-shot Performance of Language ModelsZihao Zhao, Eric Wallace, Shi Feng, Dan Klein 等ICML 2021 · 1,843 次引用

相关 Paper

  1. AdaMix: Mixture-of-Adaptations for Parameter-efficient Model TuningYaqing Wang, Sahaj Agarwal, Subhabrata Mukherjee, Xiaodong Liu 等EMNLP 2022 · 65 次引用
  2. PEMT: Multi-Task Correlation Guided Mixture-of-Experts Enables Parameter-Efficient Transfer LearningZhisheng Lin, Han Fu, Chenghao Liu, Zhuo Li 等ACL Findings 2024 · 2 次引用
  3. LiME: Lightweight Mixture of Experts for Efficient Multimodal Multi-task LearningMd Kowsher, Haris Mansoor, Nusrat Prottasha, Ozlem Garibay 等ICML 2026
  4. Parameters as Experts: Adapting Vision Models with Dynamic Parameter RoutingMeng Lou, Stanley Yu, Yizhou YuICML 2026 · 1 次引用
  5. Bilevel ZOFO: Efficient LLM Fine-Tuning and Meta-TrainingReza Shirkavand, Peiran Yu, Qi He, Heng HuangNeurIPS 2025 · 6 次引用
黄昏的海面,两侧是细线勾勒的悬崖