Towards Modular LLMs by Building and Reusing a Library of LoRAs
Oleksiy Ostapenko, Zhan Su, Edoardo M. Ponti, Laurent Charlin, Nicolas Le Roux, Lucas Caccia, Alessandro Sordoni
摘要
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 library of adapters given multi-task data and devise techniques for both zero-shot and supervised task generalization through routing in such library. We benchmark existing approaches to build this library and introduce model-based clustering, MBC, a method that groups tasks based on the similarity of their adapter parameters, indirectly optimizing for transfer across the multi-task dataset. To re-use the library, we present a novel zero-shot routing mechanism, Arrow, which enables dynamic selection of the most relevant adapters for new inputs without the need for retraining. We experiment with several LLMs, such as Phi-2 and Mistral, on a wide array of held-out tasks, verifying that MBC-based adapters and Arrow routing lead to superior generalization to new tasks. We make steps towards creating modular, adaptable LLMs that can match or outperform traditional joint training.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 24 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- TIES-Merging: Resolving Interference When Merging Models 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- TIES-Merging: Resolving Interference When Merging Models 引用了 Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning
- Learning to Route Among Specialized Experts for Zero-Shot Generalization 引用了 TIES-Merging: Resolving Interference When Merging Models
- Learning to Route Among Specialized Experts for Zero-Shot Generalization 引用了 The Flan Collection: Designing Data and Methods for Effective Instruction Tuning
- Learning to Route Among Specialized Experts for Zero-Shot Generalization 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- Learning to Route Among Specialized Experts for Zero-Shot Generalization 引用了 Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning
- Continual Model Merging without Data: Dual Projections for Balancing Stability and Plasticity 引用了 Learning to Route Among Specialized Experts for Zero-Shot Generalization
- Continual Model Merging without Data: Dual Projections for Balancing Stability and Plasticity 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- Permissioned LLMs: Enforcing Access Control in Large Language Models 引用了 TIES-Merging: Resolving Interference When Merging Models
- The Flan Collection: Designing Data and Methods for Effective Instruction Tuning 引用了 Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning
- Understanding LoRA as Knowledge Memory: An Empirical Analysis 引用了 TIES-Merging: Resolving Interference When Merging Models
- Multi-Task Vehicle Routing Solver via Mixture of Specialized Experts under State-Decomposable MDP 引用了 TIES-Merging: Resolving Interference When Merging Models
- 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 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
引用它的顶会 Paper24
- Learning to Route Among Specialized Experts for Zero-Shot GeneralizationMohammed Muqeeth, Haokun Liu, Yufan Liu, Colin RaffelICML 2024 · 63 次引用
- Continual Model Merging without Data: Dual Projections for Balancing Stability and PlasticityEnneng Yang, Anke Tang, Li Shen, Guibing Guo 等NeurIPS 2025 · 13 次引用
- Permissioned LLMs: Enforcing Access Control in Large Language ModelsBargav Jayaraman, Virendra J. Marathe, Hamid Mozaffari, William F. Shen 等NeurIPS 2025 · 13 次引用
- Understanding LoRA as Knowledge Memory: An Empirical AnalysisSeungju Back, Dongwoo Lee, Naun Kang, Taehee Lee 等ICML 2026 · 10 次引用
- Multi-Task Vehicle Routing Solver via Mixture of Specialized Experts under State-Decomposable MDPYuxin Pan, Zhiguang Cao, Chengyang Gu, Liu Liu 等NeurIPS 2025 · 7 次引用
它引用的 Paper34
- PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao 等AAAI 2020 · 2,916 次引用
- Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context LearningHaokun Liu, Derek Tam, Mohammed Muqeeth, Jay Mohta 等NeurIPS 2022 · 1,483 次引用
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timeMitchell Wortsman, Gabriel Ilharco, Samir Yitzhak Gadre, Rebecca Roelofs 等ICML 2022 · 1,464 次引用
- TIES-Merging: Resolving Interference When Merging ModelsPrateek Yadav, Derek Tam, Leshem Choshen, Colin A. Raffel 等NeurIPS 2023 · 999 次引用
- The Flan Collection: Designing Data and Methods for Effective Instruction TuningShayne Longpre, Le Hou, Tu Vu, Albert Webson 等ICML 2023 · 908 次引用
相关 Paper
- Multi-Head Adapter Routing for Cross-Task GeneralizationLucas Page-Caccia, Edoardo Maria Ponti, Zhan Su, Matheus Pereira 等NeurIPS 2023 · 38 次引用
- LiME: Lightweight Mixture of Experts for Efficient Multimodal Multi-task LearningMd Kowsher, Haris Mansoor, Nusrat Prottasha, Ozlem Garibay 等ICML 2026
- Prototype-based HyperAdapter for Sample-Efficient Multi-task TuningHao Zhao, Jie Fu, Zhaofeng HeEMNLP 2023 · 3 次引用
- LoRA-Mixer: Coordinate Modular LoRA Experts Through Serial Attention RoutingWenbing Li, Zikai Song, Hang Zhou, Junqing Yu 等ICLR 2026 · 20 次引用
- MeteoRA: Multiple-tasks Embedded LoRA for Large Language ModelsJingwei Xu, Junyu Lai, Yunpeng HuangICLR 2025
