# GRAM: Group-wise Rank-Aware Modal Merging via Subspace Alignment

*Di Wu, Shuaidong Pan*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153287) · [OpenReview](https://openreview.net/forum?id=MOnKup7VWM) · [Open on the map](../papers.html#p153287)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [Model Merging](../pgroup/494.md) · Type: new method · Keywords: model merging, subspace interference, principal-angle alignment, multi-task deployment, weight merging

Areas: [Multimodal](../areas/multimodal.md) › Multimodal Integration and Robustness › Multimodal Model Merging

## Summary
GRAM proposes a group-wise model merging approach that uses principal-angle geometry to group compatible tasks and merges them via SVD, reducing subspace interference and improving performance across language, vision, and medical tasks.

## Explained to a 5-year-old
We have several small robot helpers, each trained to do a different job. Their memories are like little notebooks that store how they learned. When we try to combine them into one big robot, we need to make sure their notebooks point in the same direction, otherwise some of the ideas get lost. GRAM looks at how the notebooks are angled and groups the robots that already point similarly together, then merges those groups so the combined robot keeps more of the original skills.

## Explained to a 5-year-old, longer
Imagine you have three friends who each learned to draw different pictures. One friend learned to draw cats, another learned to draw dogs, and the third learned to draw birds. They each have a special way of thinking about their pictures that is a bit different from the others. When we want to make a new friend who can draw all three kinds of animals, we need to combine their ideas. If we just mix everything together without looking at how they think, some of the drawing tricks might get confused and the new friend might not draw as well. GRAM is a clever plan that first looks at how each friend thinks about drawing and finds the friends who think in similar ways. It then puts those similar friends together and blends their ideas using a simple method that keeps the best parts. This way, the new combined friend can draw cats, dogs, and birds more accurately than if we just mixed everything randomly.

## For a technical reader
GRAM leverages principal-angle geometry to assess the alignment of task vectors and clusters tasks that share a common subspace. Within each cluster, a standard SVD-based merging is performed, allowing the combined model to retain task-specific directions while minimizing interference. The pipeline operates solely on fine-tuned model weights, making it suitable for privacy-constrained environments. Empirical results show consistent gains over baseline merging methods on language, vision, and medical benchmarks.

## Problem
Merging locally fine-tuned models for multi-task deployment is challenging because existing uniform merging methods ignore the geometric relationships among task subspaces, leading to subspace interference that discards task-relevant directions.

## Method
The approach computes principal-angle alignments between task vectors to group geometrically compatible tasks, then performs a standard SVD-based merge within each group, requiring only the fine-tuned weights at merge time.

## Results
The approach significantly reduces subspace interference and consistently outperforms prior merging methods across language, vision, and medical tasks.

## Contributions
It introduces a grouping strategy based on principal-angle geometry to reduce subspace interference, and demonstrates that merging geometrically compatible tasks yields better performance across multiple domains.

## Practical relevance
Enables efficient deployment of multi-task models in privacy-sensitive domains by safely merging locally fine-tuned models.

## Research questions this paper is counted under

- [How can we merge multiple task-specific model updates while preserving performance and avoiding interference?](../q/114.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/153287)
