让手机端大模型持续合并新功能插件,不丢旧能力
K-Merge: Online Continual Merging of Adapters for On-device Large Language Models
- 按需选择并融合新增的LoRA插件,无需训练数据
- 在存储和算力受限下保持原有任务性能
- 适合移动端持续更新模型功能的场景
移动端部署大语言模型常使用低秩适配器(LoRAs)来支持多种下游任务,但受设备存储限制,需通过模型合并技术将多个LoRA融合为单个。实际中,LoRA常按用户需求增量提供(如新语言或新问题类型),带来新挑战:如何在仅保留有限数量适配器的前提下,在线持续合并新LoRA,同时不损失对已有任务的性能。本文提出一种无需数据、计算高效的方法,在新LoRA可用时选择并融合,实验表明该方法在真实任务上优于现有策略,且符合移动端存储与计算约束。
原文摘要 · Abstract (English)
On-device deployment of Large Language Models (LLMs) frequently leverages Low-Rank Adapters (LoRAs) to support diverse downstream tasks under tight resource constraints. To address the limited storage capacity of mobile devices, recent works have explored model merging techniques to fuse multiple LoRAs into a single one. In practice, however, LoRAs are often delivered incrementally, as users request support for new tasks (e.g., novel problem types or languages). This scenario introduces a new challenge: on-device online continual merging, where the objective is to incorporate new LoRAs while preserving the performance on previously supported tasks. In this paper, we propose a data-free and computationally efficient strategy for selecting and merging LoRAs when a new one becomes available, assuming the device can store only a limited number of adapters. Extensive experiments across real-world tasks demonstrate the superiority of our approach compared to alternative strategies while adhering to the storage budget and compute limitations of on-device settings. The project page is available at: https://donaldssh.github.io/K-Merge.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。