arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.29110cs.AIcs.CL
收藏

GRAM:通过子空间对齐的分组式感知秩的模型合并

GRAM: Group-wise Rank-Aware Model Merging via Subspace Alignment

JPMorgan Chase & Co.(摩根大通公司)

Di Wu, Shuaidong Pan

AI总结:

针对模型合并中的子空间干扰问题,提出GRAM方法,通过任务向量主角度几何分组后基于SVD合并,在三类基准任务上优于现有方法,缓解了子空间干扰。

摘要:

将不同模型合并为单一模型对于多任务部署至关重要,尤其在医疗等受监管领域。在这些场景中,由于严格的数据隐私政策,模型通常在本地进行微调,因此聚合操作只能基于微调后的权重。现有方法对所有任务采用统一合并,忽略了其学习子空间之间的几何关系。当任务更新占据未对齐的子空间时,将其投影到共享低秩基会丢弃任务相关方向,这种失效模式被称为子空间干扰。本研究表明,合并模型的单任务投影误差由每个任务与共享子空间之间的主角度对齐决定,因此对几何兼容的任务进行分组可显著降低每组内的误差。受此观察启发,我们提出分组式感知秩的模型合并(GRAM),该方法利用任务向量的主角度几何来确定应合并的任务,然后在每个组内执行标准的基于SVD的合并;该流程在合并时仅需要微调后的权重。仅使用一个额外模型(K=2),GRAM可显著缓解子空间干扰,并在语言理解(带Flan-T5的GLUE)、8任务CLIP视觉以及医疗指令调优(带四个中英医疗LoRA的Qwen2-7B-Instruct)上始终优于现有合并方法。

英文摘要:

Merging different models into a single model is highly desirable for multi-task deployment, particularly in regulated domains like healthcare. In such settings, models are often locally fine-tuned due to strict data privacy policies, necessitating that aggregation operates exclusively on the fine-tuned weights. Existing methods apply a uniform merge across all tasks, ignoring the geometric relationships among their learned subspaces. When task updates occupy misaligned subspaces, projecting them onto a shared low-rank basis discards task-relevant directions, a failure mode named \emph{subspace interference}. Through this study, we show that the per-task projection error of a merged model is governed by the principal-angle alignment between each task and the shared subspace, so that grouping geometrically compatible tasks provably reduces this error within each group. Motivated by this observation, we propose \textbf{Group-wise Rank-Aware Model Merging (GRAM)}, which uses the principal-angle geometry of task vectors to decide which tasks should be merged together and then performs a standard SVD-based merge within each coalition; the pipeline requires only the fine-tuned weights at merge time. With only one additional model ($\nK{=}2$), GRAM significantly mitigates subspace interference and consistently outperforms prior merging methods across language understanding (GLUE with Flan-T5), 8-task CLIP vision, and medical instruction tuning (Qwen2-7B-Instruct with four English/Chinese medical LoRAs).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑