cs.AIOct 21, 2026

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

Authors: Di Wu, Shuaidong Pan

Organizations: JPMorgan Chase & Co.

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 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 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\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).

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Model Merging in the Essential Subspace

    Feb 23, 2026Longhua Li, Lei Qi, Qi Tian +1Task InterferenceModel Merging

  2. Escaping Low-Dimensional Overlap: Multi-Task Model Merging via High-Dimensional Sparse Disentanglement

    Aug 26, 2026Yihang Zhang, Shengke Sun, Junjie Wen +1Language Model MergingModel Merging

  3. Data-Aware Model Merging in the Essential Subspace for Multi-Task Knowledge Aggregation

    Jun 17, 2026Longhua Li, Lei Qi, Qi Tian +1Multi-Task LearningModel Merging