GRAM: Group-wise Rank-Aware Model Merging via Subspace Alignment
Abstract
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 (), 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).
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL
Related papers
AMARIS: Merging Generalist and Specialist LLMs via Adaptive Subspace Inheritance
Shared title terminologycs.AIHwee Young Kang, Irwin De Tao Chin, Wen-Haw Chong et al.
Mitigating Saliency Collapse: Robust Saliency-Aware Long-Text Image-Text Alignment
Shared title terminologycs.AIQiuyu Kong, Zanxi Ruan, Marco Cristani et al.
Emotion-Aware and Context-Grounded Dialogue Agents for Personalized Video Game Interactions
Shared title terminologycs.AIMichael Adjeisah, Jin Zhang, Pierluigi Vito Amadori et al.
PruneNAS: Constraint Aware Neural Architecture Search based Pruning
Shared title terminologycs.AISudhakar Sah, Nikhil Chhabra, Honnesh Rohmetra et al.
When Do Better Visual World Models Make Better Plans? Decision-Aligned Selection for Latent Planning
Shared title terminologycs.AIChan Aristella Lu, Arya Fayyazi, Junil Yeo et al.
Beyond Unit Tests: Path-Aware Rubric-Guided LLM Autograding of Notebooks
Shared title terminologycs.AISalman Hajizada, Mohammed Yusuf Ansari, Gianni Di Caro