LoRA-Flow: Dynamic LoRA Fusion for Large Language Models in Generative Tasks
Hanqing Wang, Bowen Ping, Shuo Wang, Xu Han, Yun Chen, Zhiyuan Liu, Maosong Sun
摘要
LoRA employs lightweight modules to customize large language models (LLMs) for each downstream task or domain, where different learned additional modules represent diverse skills. Combining existing LoRA modules to address new tasks can enhance the reusability of learned LoRA modules, particularly beneficial for tasks with limited annotated data. Most prior works on LoRA combination primarily rely on task-level weights for each involved LoRA, making different examples and tokens share the same LoRA weights. However, in generative tasks, different tokens may necessitate diverse skills to manage. Taking the Chinese math task as an example, understanding the problem description may depend more on the Chinese LoRA, while the calculation part may rely more on the math LoRA. To this end, we propose LoRA-Flow, which utilizes dynamic weights to adjust the impact of different LoRA modules. The weights at each step are determined by a fusion gate with extremely few parameters, which can be learned with only 200 training examples. Experiments across six generative tasks demonstrate that our method consistently outperforms baselines with tasklevel fusion weights. This underscores the necessity of introducing dynamic fusion weights for LoRA combination. 1
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- 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 引用了 AdaMix: Mixture-of-Adaptations for Parameter-efficient Model Tuning
- AdaMix: Mixture-of-Adaptations for Parameter-efficient Model Tuning 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- CRAFT-LoRA: Content-Style Personalization via Rank-Constrained Adaptation and Training-Free Fusion 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- MINGLE: Mixture of Null-Space Gated Low-Rank Experts for Test-Time Continual Model Merging 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- Stylus: Automatic Adapter Selection for Diffusion Models 引用了 LoRA: Low-Rank Adaptation of Large Language Models
引用它的顶会 Paper15
- Stylus: Automatic Adapter Selection for Diffusion ModelsMichael Luo, Justin Wong, Brandon Trabucco, Yanping Huang 等NeurIPS 2024 · 27 次引用
- Delta-CoMe: Training-Free Delta-Compression with Mixed-Precision for Large Language ModelsBowen Ping, Shuo Wang, Hanqing Wang, Xu Han 等NeurIPS 2024 · 25 次引用
- MINGLE: Mixture of Null-Space Gated Low-Rank Experts for Test-Time Continual Model MergingZihuan Qiu, Yi Xu, Chiyuan He, Fanman Meng 等NeurIPS 2025 · 16 次引用
- CRAFT-LoRA: Content-Style Personalization via Rank-Constrained Adaptation and Training-Free FusionYu Li, Yujun Cai, Chi ZhangCVPR 2026 · 2 次引用
- FedMerge: Federated Model Merging for PersonalizationShutong Chen, Tianyi Zhou, Guodong Long, Jing Jiang 等AAAI 2026 · 2 次引用
它引用的 Paper6
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
- MetaMath: Bootstrap Your Own Mathematical Questions for Large Language ModelsLonghui Yu, Weisen Jiang, Han Shi, Jincheng Yu 等ICLR 2024 · 637 次引用
- 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 次引用
- AdaMix: Mixture-of-Adaptations for Parameter-efficient Model TuningYaqing Wang, Sahaj Agarwal, Subhabrata Mukherjee, Xiaodong Liu 等EMNLP 2022 · 65 次引用
- Language models are multilingual chain-of-thought reasonersFreda Shi, Mirac Suzgun, Markus Freitag, Xuezhi Wang 等ICLR 2023 · 52 次引用
相关 Paper
- Instance-Level Dynamic LoRAs Composition for Cross-Task GeneralizationZhiqi Wang, Shizhu He, Kang Liu, Jun ZhaoEMNLP Findings 2024
- qa-FLoRA: Data-free query-adaptive Fusion of LoRAs for LLMsShreya Shukla, Aditya Sriram, Milinda Kuppur Narayanaswamy, Hiteshi JainAAAI 2026
- LoraRetriever: Input-Aware LoRA Retrieval and Composition for Mixed Tasks in the WildZiyu Zhao, Leilei Gan, Guoyin Wang, Wangchunshu Zhou 等ACL Findings 2024 · 10 次引用
- Mixture of LoRA ExpertsXun Wu, Shaohan Huang, Furu WeiICLR 2024 · 174 次引用
- Adaptive LoRA Merge with Parameter Pruning for Low-Resource GenerationRyota Miyano, Yuki AraseACL Findings 2025 · 2 次引用
