Change Partners at Every Layer: Balanced Random Regrouping for Model Merging

arXiv cs.LG Papers

Summary

This paper introduces Balanced Random Regrouping (BRR), which partitions fine-tuned experts into equal-sized random groups independently at each layer or weight matrix, showing it consistently outperforms reusing a fixed grouping across layers and similarity-based FlexMerge across 24 CLIP settings, with a first-order analysis explaining why varying partners reduces accumulated output-feature shifts.

arXiv:2611.33308v1 Announce Type: new Abstract: Model merging combines fine-tuned experts into one model that serves many tasks without retraining, but merging many experts this way substantially reduces accuracy. Grouping offers a middle ground: at every layer or weight matrix, the $N$ experts are divided into $K<N$ groups, the experts in a group are merged into one shared module, and a task uses the module merged from its expert's group. Natural choices are to keep the same partners across layers or to group similar experts. Surprisingly, we find that randomly changing partners at every layer outperforms both. We call this Balanced Random Regrouping (BRR): it independently partitions the experts into $K$ equal-sized random groups at each layer (BRR-layer) or weight matrix (BRR-matrix) and merges each group with an existing method. With validation-selected merge scales, both BRR variants outperform reusing one grouping across layers in all 24 CLIP settings, by 1.0-6.8 points, and BRR-matrix also outperforms the similarity-based FlexMerge in every setting. A first-order analysis explains this gain. At each layer, merging a task's expert with its partners shifts the task's output features; when the partners are the same at every layer, these shifts tend to point in similar directions and add up, whereas with new partners at every layer they vary independently and add up less on average. A series of experiments supports this analysis, which further guides a grouping search that can outperform BRR.
Original Article
View Cached Full Text

Cached at: 11/26/26, 09:33 AM

# Change Partners at Every Layer:Balanced Random Regrouping for Model Merging
Source: [https://arxiv.org/html/2611.33308](https://arxiv.org/html/2611.33308)
Shaobo HanAffiliation:NEC Laboratories America\{kaiyang\.li, shihao\.ji\}@uconn\.edu, shaobo@nec\-labs\.comShihao JiAffiliation:University of Connecticut

###### Abstract

Model merging combines fine\-tuned experts into one model that serves many tasks without retraining, but merging many experts this way substantially reduces accuracy\. Grouping offers a middle ground: at every layer or weight matrix, theNNexperts are divided intoK<NK<Ngroups, the experts in a group are merged into one shared module, and a task uses the module merged from its expert’s group\. Natural choices are to keep the same partners across layers or to group similar experts\. Surprisingly, we find that randomly changing partners at every layer outperforms both\. We call this Balanced Random Regrouping \(BRR\): it independently partitions the experts intoKKequal\-sized random groups at each layer \(BRR\-layer\) or weight matrix \(BRR\-matrix\) and merges each group with an existing method\. With validation\-selected merge scales, both BRR variants outperform reusing one grouping across layers in all 24 CLIP settings, by 1\.0–6\.8 points, and BRR\-matrix also outperforms the similarity\-based FlexMerge in every setting\. A first\-order analysis explains this gain\. At each layer, merging a task’s expert with its partners shifts the task’s output features; when the partners are the same at every layer, these shifts tend to point in similar directions and add up, whereas with new partners at every layer they vary independently and add up less on average\. A series of experiments supports this analysis, which further guides a grouping search that can outperform BRR\.

Figure 1:Shared grouping versus BRR \(schematic\)\.\(a\) Four tasks \(T1–T4\) and three units \(layers or weight matrices\); at each unit, the experts are merged in two equal\-sized groups\. Shared grouping reuses one grouping, whereas BRR draws one independently at each unit; the red line follows the modules selected by T1\. The accuracies shown are those of shared grouping and BRR\-layer on 100 ViT\-B/32 tasks \(TSV\-M,K=10K\{=\}10,α=1\\alpha\{=\}1\)\. \(b\) Under a first\-order approximation, each red arrow shows the shift that merging at one unit adds to T1’s final output features, and the dashed arrow is their sum\. In this illustration, fixed partners give shifts in similar directions that accumulate, whereas new partners give shifts in different directions that accumulate less\.## 1Introduction

Model merging combines fine\-tuned experts into one model that serves many tasks without retraining\[[7](https://arxiv.org/html/2611.33308#bib.bib7),[18](https://arxiv.org/html/2611.33308#bib.bib18),[5](https://arxiv.org/html/2611.33308#bib.bib5)\], but accuracy drops substantially when many experts are merged\. Keeping every expert avoids this loss but costs one full model per task, whereas many deployments can store only a few models\[[4](https://arxiv.org/html/2611.33308#bib.bib4)\]\. Merging the experts in groups lies between these two extremes: at each layer, theNNexperts are divided intoK<NK<Ngroups, and each group is merged into one shared module\. At inference, the task identity is known, so each input is routed at every layer to the module merged from its task’s expert group\. The grouping can differ from layer to layer\. The core question is therefore which experts to merge together at each layer\.

Two design choices seem natural\. One reuses a single grouping across layers, which yieldsKKmerged models with each expert keeping the same partners at every layer\. The other groups experts by parameter similarity, as FlexMerge\[[4](https://arxiv.org/html/2611.33308#bib.bib4)\]does for attention and MLP blocks and Channel Merging\[[20](https://arxiv.org/html/2611.33308#bib.bib20)\]does for rows of weight matrices\. Surprisingly, we find that randomly changing partners at every layer outperforms both choices\. We call this method*Balanced Random Regrouping*\(BRR\)\. Specifically, at each transformer layer, BRR randomly divides the experts intoKKbalanced \(equal\-sized\) groups, independently of other layers \(Fig\.[1](https://arxiv.org/html/2611.33308#S0.F1)\(a\)\)\. The corresponding parameters within each group are merged with an existing method, such as Task Arithmetic\[[7](https://arxiv.org/html/2611.33308#bib.bib7)\], TSV\-M\[[5](https://arxiv.org/html/2611.33308#bib.bib5)\], Iso\-CTS\[[9](https://arxiv.org/html/2611.33308#bib.bib9)\], or ACE\-Merging\[[17](https://arxiv.org/html/2611.33308#bib.bib17)\]\. We further extend the grouping from layers to weight matrices, allowing partners to change at a finer granularity; we call the two variants BRR\-layer and BRR\-matrix\.

We evaluate BRR on 100\-task CLIP\[[11](https://arxiv.org/html/2611.33308#bib.bib11)\]expert pools with two backbones, four merging methods, and three budgets\. With merge scales selected on validation data for each method, both BRR variants outperform shared grouping \(one random grouping reused across layers\) in all 24 configurations, and BRR\-matrix also achieves higher mean accuracy than the similarity\-based FlexMerge\[[4](https://arxiv.org/html/2611.33308#bib.bib4)\]in every configuration\. On two vision\-language models, BRR\-matrix outperforms both baselines with all four merging methods on InternVL2\.5\-1B\[[2](https://arxiv.org/html/2611.33308#bib.bib2)\], and improves on shared grouping by 0\.60 points on average on Qwen2\-VL\-7B\[[16](https://arxiv.org/html/2611.33308#bib.bib16)\]\.

To understand these gains, we analyze how merging at different layers jointly changes a task’s final output features\. Intuitively \(Fig\.[1](https://arxiv.org/html/2611.33308#S0.F1)\(b\)\), merging at each layer shifts the final output features; with fixed partners, these shifts tend to reinforce one another, whereas changing partners reduces this accumulation\. Our first\-order analysis makes this precise: reusing partners adds a correlation between the shifts of different layers, and regrouping independently at each layer removes it, which lowers the expected feature error to first order whenever this correlation is positive overall\. Under Task Arithmetic on ViT\-B/32, our estimates of this correlation are positive for each of the 100 tasks\. The analysis also lets us predict the accuracy of merged models from those of shared grouping and BRR\. For 27 groupings that reuse partners at only some units, whose gains over shared grouping range from 0\.6 to 4\.3 points, predictions fixed before their accuracies were available are off by only 0\.16 points on average\. It further guides a grouping search that uses a few unlabeled validation images to choose partners and can outperform BRR\.

Our contributions are summarized as follows:

- •We show that randomly changing partners at every layer outperforms both natural choices, keeping the same partners and grouping similar experts, and propose BRR, which draws balanced random groups independently at each layer or weight matrix; its grouping step needs no data or search and works with existing merging methods\.
- •On 100\-task CLIP pools, both BRR variants outperform shared grouping in all 24 configurations, and BRR\-matrix also outperforms FlexMerge in every configuration; on InternVL2\.5\-1B, BRR\-matrix outperforms both shared grouping and FlexMerge with all four merging methods\.
- •A first\-order analysis explains why changing partners lowers feature error; a series of experiments supports this analysis, which further guides a grouping search that can outperform BRR\.

## 2Related Work

Model merging\.Task Arithmetic\[[7](https://arxiv.org/html/2611.33308#bib.bib7)\]merges experts by adding their task vectors, the differences between fine\-tuned and pre\-trained weights\. Later work proposes different ways to reduce the resulting interference\. Some methods modify task vectors in weight space: TIES\[[18](https://arxiv.org/html/2611.33308#bib.bib18)\]trims small updates and resolves sign conflicts, while TSV\-M\[[5](https://arxiv.org/html/2611.33308#bib.bib5)\]and Iso\-CTS\[[9](https://arxiv.org/html/2611.33308#bib.bib9)\]decompose each layer’s task updates with SVD and reduce interference between the resulting task subspaces\. Others use input statistics: RegMean\[[8](https://arxiv.org/html/2611.33308#bib.bib8)\]and ACE\-Merging\[[17](https://arxiv.org/html/2611.33308#bib.bib17)\]use measured or estimated statistics to keep each layer’s output close to that of the experts\. EMR\-Merging\[[6](https://arxiv.org/html/2611.33308#bib.bib6)\]and TALL masks\[[15](https://arxiv.org/html/2611.33308#bib.bib15)\]instead recover task\-specific models with per\-task masks or scaling factors\. BRR is complementary to these methods: it only decides which experts are merged together at each layer, and any of them can be applied within each group\.

Merging experts in groups\.Some works merge experts into several models or shared modules instead of one, using more storage than a single merged model to retain task performance\. FlexMerge\[[4](https://arxiv.org/html/2611.33308#bib.bib4)\]groups network blocks by similarity, and Channel Merging\[[20](https://arxiv.org/html/2611.33308#bib.bib20)\]groups task vectors at the level of output channels\. For LoRA adapters,D2​CD^\{2\}C\[[1](https://arxiv.org/html/2611.33308#bib.bib1)\]uses a small set of task examples to optimize the clustering before merging each group, and K\-Merge\[[13](https://arxiv.org/html/2611.33308#bib.bib13)\]merges newly arriving LoRAs online without data under a fixed adapter budget\. In contrast, BRR forms its groups at random, without any similarity or clustering criterion, and asks a different question: whether an expert should keep the same partners across layers or change them\.

Analyzing merging errors\.Task Arithmetic in the Tangent Space\[[10](https://arxiv.org/html/2611.33308#bib.bib10)\]studies task arithmetic through linearization and connects it to weight disentanglement\. Zhou et al\.\[[21](https://arxiv.org/html/2611.33308#bib.bib21)\]provide a related empirical observation: interpolating weights fine\-tuned from a common checkpoint approximately interpolates layer\-wise features\. SurgeryV2\[[19](https://arxiv.org/html/2611.33308#bib.bib19)\]observes that the representation bias introduced by merging at each layer accumulates through the network and corrects it with trained modules\. We instead use a first\-order approximation to write the output\-feature change as a sum of per\-layer contributions, which shows that reusing partners adds a correlation between these contributions and that independent regrouping removes this added correlation\.

Table 1:CLIP accuracy when merging 100 experts intoKKmodules per unit\.Mean test accuracy \(%\) over 100 tasks; randomized methods report mean±\\pmstandard deviation over five seeds, with validation\-selected merge scales\. FlexMerge andK=1K=1are point estimates\. Channel Merging uses its own TA\-style merging rule and reports one result per backbone and budget; for bold, it is compared with the TA column\. Bold marks the best mean per budget and method column\. Paired bootstrap intervals:[Sec\.B\.1](https://arxiv.org/html/2611.33308#A2.SS1)\.Table 2:Public 8\-, 14\- and 20\-task checkpoints\.Mean test accuracy \(%\), averaged with equal weight over eight settings: 8 tasks \(K=2,4K=2,4\), 14 tasks \(K=2,7K=2,7\) and 20 tasks \(K=2,4,5,10K=2,4,5,10\)\. Randomized methods use five grouping seeds; Channel Merging uses its own TA\-style merging rule and is listed only in the TA columns\.Table 3:Vision\-language results atK=2K=2\.Macro\-average test scores \(%\) over ten tasks; experts fine\-tune all language\-model parameters with the visual components frozen\. Randomized methods report mean and sample standard deviation over five seeds; FlexMerge andK=1K=1are point estimates\. For TA, FlexMerge uses its stronger group\-mean scaling \([Sec\.G\.1](https://arxiv.org/html/2611.33308#A7.SS1)\)\. Channel Merging uses its own merging rule, with one result per backbone\. Bold marks the best mean among FlexMerge, Shared, BRR\-layer and BRR\-matrix in each method column\.
## 3BRR and Empirical Performance

### 3\.1Balanced random regrouping

##### Problem setting\.

Letθ1,…,θN\\theta\_\{1\},\\ldots,\\theta\_\{N\}beNNexperts fine\-tuned from the same pretrained modelθ0\\theta\_\{0\}, with task vectorsτj=θj−θ0\\tau\_\{j\}=\\theta\_\{j\}\-\\theta\_\{0\}\. We split the network intoUUunits, each a transformer layer or a single weight matrix\. At unituu, a groupinggug\_\{u\}divides the experts intoK<NK<NgroupsGu,1,…,Gu,KG\_\{u,1\},\\ldots,G\_\{u,K\}\. Each group is merged into one module, so every unit keepsKKmodules and the stored model is as large asKKbackbones; we callKKthe budget\.

##### Grouping construction\.

BRR draws the grouping of each unit independently \(Fig\.[1](https://arxiv.org/html/2611.33308#S0.F1)\(a\)\): at unituu, it takes a uniformly random permutation of theNNexperts and splits it intoKKconsecutive groups of equal sizeq=N/Kq=N/K\. This step uses only the expert indices and requires no data, similarity computation or search\. Shared grouping, one of our main baselines, draws one such grouping and reuses it at every unit\. The two schemes therefore have the same group sizes and the same distribution of groupings at each unit; they differ only in whether the units share one grouping\.

##### Merging and inference\.

At unituu, thekk\-th module is the pretrained weight plus the merged task vectors of groupGu,kG\_\{u,k\}:

θ^u,k=θ0,u\+α​ℳ​\(\{τj,u:j∈Gu,k\}\)\.\\hat\{\\theta\}\_\{u,k\}=\\theta\_\{0,u\}\+\\alpha\\,\\mathcal\{M\}\\\!\\left\(\\left\\\{\\tau\_\{j,u\}:j\\in G\_\{u,k\}\\right\\\}\\right\)\.\(1\)Here,θ0,u\\theta\_\{0,u\}is the pretrained weight at unituuandτj,u\\tau\_\{j,u\}is the task vector of expertjjat that unit;ℳ\\mathcal\{M\}is an existing merging method that maps the task vectors of a group to one merged update, andα\\alphascales this update\. Once the pretrained model, the experts,ℳ\\mathcal\{M\}andα\\alphaare fixed, the modules at unituudepend only on its groupinggug\_\{u\}\. BRR changes only this grouping, that is, which task vectors are merged together, not how they are merged\. At inference, the task identityttis known, and each unituuuses the moduleθ^u,πu​\(t\)\\hat\{\\theta\}\_\{u,\\pi\_\{u\}\(t\)\}, whereπu​\(t\)\\pi\_\{u\}\(t\)is the index of the group containing experttt\.

##### Granularity and deployment\.

BRR\-layer draws a grouping at each transformer layer, and BRR\-matrix at each weight matrix; with six weight matrices per layer, this gives 12 and 72 units for ViT\-B/32 and 24 and 144 units for ViT\-L/14\. For shared grouping and both BRR variants, each sample passes through one module per unit, so its backbone computation equals that of a single model; any extra cost comes from routing, which depends on the serving implementation \([AppendixF](https://arxiv.org/html/2611.33308#A6)\)\.

### 3\.2Experimental setup

##### Tasks and models\.

We fine\-tune CLIP\[[11](https://arxiv.org/html/2611.33308#bib.bib11)\]ViT\-B/32 and ViT\-L/14 separately on each of 100 image\-classification tasks spanning natural images and specialized domains \([Sec\.A\.1](https://arxiv.org/html/2611.33308#A1.SS1)\), which gives 100 task experts per backbone\. For these experts, we use budgetsK∈\{5,10,20\}K\\in\\\{5,10,20\\\}\. For vision\-language evaluation, we use InternVL2\.5\-1B\[[2](https://arxiv.org/html/2611.33308#bib.bib2)\]and Qwen2\-VL\-7B\[[16](https://arxiv.org/html/2611.33308#bib.bib16)\]with budgetK=2K=2on ten tasks: six visual question\-answering and four multiple\-choice image\-classification tasks\. Each vision\-language expert is obtained by fine\-tuning all language\-model parameters while keeping the visual components frozen\.

##### Baselines\.

One of our baselines is shared grouping \([Sec\.3\.1](https://arxiv.org/html/2611.33308#S3.SS1)\), which reuses one grouping at every unit; comparing it with BRR tests whether changing partners across units helps\. The other two, FlexMerge\[[4](https://arxiv.org/html/2611.33308#bib.bib4)\]and Channel Merging\[[20](https://arxiv.org/html/2611.33308#bib.bib20)\], group experts by similarity: FlexMerge clusters experts by the similarity of their task vectors in each attention or MLP sublayer, and Channel Merging clusters the corresponding rows of each weight matrix\. BRR, shared grouping and FlexMerge are each combined with four merging methods: Task Arithmetic \(TA\)\[[7](https://arxiv.org/html/2611.33308#bib.bib7)\], TSV\-M\[[5](https://arxiv.org/html/2611.33308#bib.bib5)\], Iso\-CTS\[[9](https://arxiv.org/html/2611.33308#bib.bib9)\]and ACE\-Merging\[[17](https://arxiv.org/html/2611.33308#bib.bib17)\]\. Channel Merging merges each cluster with its own TA\-style rule, so it yields one result per backbone and budget\.

##### Evaluation protocol\.

Every method, including FlexMerge and Channel Merging, uses a single merge scaleα\\alphafor all tasks and units, selected on labeled validation data as in Task Arithmetic\[[7](https://arxiv.org/html/2611.33308#bib.bib7)\]\([Sec\.A\.3](https://arxiv.org/html/2611.33308#A1.SS3.SSS1.Px1)\)\. For randomized methods,α\\alphais selected separately for each of five grouping seeds, and we report the mean and standard deviation over seeds of the average test score across tasks\.

### 3\.3Results on CLIP and VLMs

##### Partner reuse and grouping granularity\.

[Table1](https://arxiv.org/html/2611.33308#S2.T1)reports CLIP accuracy for two backbones, three budgets and four merging methods; in all 24 configurations, mean accuracy follows BRR\-matrix\>\>BRR\-layer\>\>shared grouping\. On ViT\-B/32 atK=10K=10, BRR\-matrix improves on shared grouping by 3\.02 \(ACE\-Merging\) to 4\.59 \(TSV\-M\) points\. These gains are statistically significant in all 24 configurations for both BRR variants \(95% paired bootstrap intervals;[Sec\.B\.1](https://arxiv.org/html/2611.33308#A2.SS1)\)\. Regrouping at a finer granularity helps further: BRR\-matrix is above BRR\-layer in all 24 configurations, by 0\.12 to 2\.09 points\. The gains persist at a fixed merge scale: withα=1\\alpha=1on ViT\-B/32, both BRR variants still outperform shared grouping for every merging method and budget \([Sec\.B\.2](https://arxiv.org/html/2611.33308#A2.SS2)\)\. The gains also hold for pools of 20 and 50 tasks \([Sec\.B\.7](https://arxiv.org/html/2611.33308#A2.SS7)\)\.

##### Comparison with existing grouping methods\.

In[Table1](https://arxiv.org/html/2611.33308#S2.T1), BRR\-matrix is more accurate than both similarity\-based baselines in nearly every setting\. It outperforms FlexMerge in all 24 configurations, by 2\.33 \(TA\) to 8\.35 \(Iso\-CTS\) points on ViT\-B/32 atK=10K=10\. Against Channel Merging, BRR\-matrix with TA is more accurate in four of the six backbone–budget settings and less accurate only atK=5K=5\. BRR\-layer, which regroups only once per layer, also outperforms FlexMerge in all 24 configurations and matches the record of BRR\-matrix against Channel Merging\. Shared random grouping already exceeds FlexMerge in 21 of the 24 configurations, and independent regrouping further improves accuracy\.

##### Public checkpoints\.

To test whether the gains depend on our expert pool, we repeat the comparison on the public 8\-, 14\- and 20\-task CLIP checkpoints of Wang et al\.\[[15](https://arxiv.org/html/2611.33308#bib.bib15)\]\. Averaged over all eight settings, BRR\-matrix is the most accurate method in every column of[Table2](https://arxiv.org/html/2611.33308#S2.T2), 0\.6–2\.3 points above shared grouping and 0\.3–2\.4 points above FlexMerge \(per\-setting results:[Sec\.B\.8](https://arxiv.org/html/2611.33308#A2.SS8)\)\.

##### Vision\-language models\.

[Table3](https://arxiv.org/html/2611.33308#S2.T3)shows that the gains of BRR carry over to InternVL2\.5\-1B, whereas on Qwen2\-VL\-7B they depend on the merging method\. On InternVL2\.5\-1B, mean scores follow BRR\-matrix\>\>BRR\-layer\>\>shared grouping for all four merging methods; BRR\-matrix improves on shared grouping by 0\.35–0\.85 points and exceeds FlexMerge in all four settings\. On Qwen2\-VL\-7B with TA, BRR\-matrix is 1\.93 points above shared grouping but below FlexMerge\. With TSV\-M, Iso\-CTS and ACE\-Merging, the four grouping methods score almost the same: FlexMerge, shared grouping, BRR\-layer and BRR\-matrix differ by at most 0\.5 points\. For these methods, a single merged model on Qwen2\-VL\-7B is already within 0\.3–2\.7 points of the experts, which may explain why grouping methods differ little here\. At a larger budget \(K=5K=5\) and across task types, the gains remain consistent on InternVL2\.5\-1B and method\-dependent on Qwen2\-VL\-7B \([Sec\.G\.2](https://arxiv.org/html/2611.33308#A7.SS2)\)\.

### 3\.4Effect of balance, independence and similarity

BRR combines two design choices, balanced group sizes and independent grouping\.[Table4](https://arxiv.org/html/2611.33308#S3.T4)\(a\) crosses them on ViT\-B/32 with TSV\-M andK=10K=10, using unbalanced groups of 25 down to 3 experts: independent grouping improves on shared grouping by about 4\.5 points with or without balance, and balance adds about 1\.4 points in either case \(more results in[Sec\.B\.4](https://arxiv.org/html/2611.33308#A2.SS4)\)\.

FlexMerge differs from BRR in two respects at once: its groups are highly unbalanced \(atK=10K=10, eight experts are kept alone\) and its partners are chosen by similarity rather than at random\. To isolate partner selection, we cluster the experts into ten equal\-sized groups by task\-vector cosine similarity, either once for the whole network or separately for each weight matrix\. Random groups are more accurate in seven of the eight comparisons of[Table4](https://arxiv.org/html/2611.33308#S3.T4)\(b\), by 1\.5–3\.9 points; the exception is TA with a shared grouping\. Across 20 comparisons on both backbones, several merging methods and budgets, similarity\-based groups are less accurate in 17 \([Sec\.B\.5](https://arxiv.org/html/2611.33308#A2.SS5)\)\. For groupings that vary across units,[Table5](https://arxiv.org/html/2611.33308#S3.T5)offers one possible explanation: similar experts tend to be grouped together at every unit, so FlexMerge and per\-matrix similarity clustering repeat about 30% of partner pairs between weight matrices, against 9% for BRR\-matrix\. By the analysis of[Sec\.4\.1](https://arxiv.org/html/2611.33308#S4.SS1), such partner reuse can make the errors added at different units accumulate\.

Table 4:Effect of balance, independence and similarity\.Mean test accuracy \(%\) over 100 tasks with ViT\-B/32,K=10K\{=\}10and validation\-selectedα\\alpha\. Shared reuses one grouping across all matrices; Per matrix samples random groups independently or clusters experts separately at each matrix\. Random groupings are averaged over five seeds; similarity\-based groupings are deterministic\. Full results:[Tables10](https://arxiv.org/html/2611.33308#A2.T10)and[12](https://arxiv.org/html/2611.33308#A2.T12)\.Table 5:Partner repetition across units\.Probability that two experts merged together at one weight matrix are also merged together at another, averaged over all pairs of the 72 weight matrices \(ViT\-B/32, 100 tasks,K=10K\{=\}10\)\. Under BRR\-layer, matrices of the same layer share a grouping\.

## 4Mechanism Analysis and Validation

### 4\.1How changing partners affects feature error

[Section3](https://arxiv.org/html/2611.33308#S3)shows consistent accuracy gains from changing partners on CLIP; to understand them, we analyze how merging at different units changes a task’s output features\.

##### Feature error\.

For tasktt, we measure the feature error

Dt=𝔼x​‖z⁡\(x\)−zt⋆​\(x\)‖2,D\_\{t\}=\\mathbb\{E\}\_\{x\}\\big\\\|z\(x\)\-z^\{\\star\}\_\{t\}\(x\)\\big\\\|^\{2\},\(2\)wherez⁡\(x\)z\(x\)is theℓ2\\ell\_\{2\}\-normalized output of the CLIP ViT image encoder assembled for taskttfrom the merged modules,zt⋆​\(x\)z^\{\\star\}\_\{t\}\(x\)is that of the task\-ttexpert, and the expectation is over the validation images of tasktt\. CLIP classifies an image by the inner products ofz⁡\(x\)z\(x\)with fixed text embeddings of the class names, soDtD\_\{t\}measures how much merging moves the features that the classifier uses\.

##### Local linear approximation\.

Following the tangent\-space analysis of Task Arithmetic\[[10](https://arxiv.org/html/2611.33308#bib.bib10)\], we approximate the feature change from merging with its first\-order Taylor expansion around the weights of the task\-ttexpert\. At unituu, merging changes the expert’s weights byΔu=θ^u,πu​\(t\)−θt,u\\Delta\_\{u\}=\\hat\{\\theta\}\_\{u,\\pi\_\{u\}\(t\)\}\-\\theta\_\{t,u\}; for brevity, we omit the task subscript on these unit\-level quantities\. To first order, this weight change shifts the final normalized feature byϕu​\(x\)=Ju​\(x\)​Δu\\phi\_\{u\}\(x\)=J\_\{u\}\(x\)\\Delta\_\{u\}, whereJu​\(x\)J\_\{u\}\(x\)is the Jacobian ofz⁡\(x\)z\(x\)with respect to unituu’s weights\. The total first\-order feature change is then∑uϕu​\(x\)\\sum\_\{u\}\\phi\_\{u\}\(x\)\.

Replacingz⁡\(x\)−zt⋆​\(x\)z\(x\)\-z^\{\\star\}\_\{t\}\(x\)in[Eq\.2](https://arxiv.org/html/2611.33308#S4.E2)by this sum gives the linearized feature error

Dtlin\\displaystyle D\_\{t\}^\{\\mathrm\{lin\}\}=𝔼x​‖∑uϕu​\(x\)‖2\\displaystyle=\\mathbb\{E\}\_\{x\}\\Big\\\|\\sum\_\{u\}\\phi\_\{u\}\(x\)\\Big\\\|^\{2\}\(3\)=∑u𝔼x​‖ϕu​\(x\)‖2\+2​∑u<v𝔼x​⟨ϕu​\(x\),ϕv​\(x\)⟩\.\\displaystyle=\\sum\_\{u\}\\mathbb\{E\}\_\{x\}\\\|\\phi\_\{u\}\(x\)\\\|^\{2\}\+2\\sum\_\{u<v\}\\mathbb\{E\}\_\{x\}\\langle\\phi\_\{u\}\(x\),\\phi\_\{v\}\(x\)\\rangle\.The first term adds up the error that each unit would cause if it were merged alone\. The second term adds up how the shifts of each pair of units combine: shifts pointing in similar directions \(𝔼x​⟨ϕu​\(x\),ϕv​\(x\)⟩\>0\\mathbb\{E\}\_\{x\}\\langle\\phi\_\{u\}\(x\),\\phi\_\{v\}\(x\)\\rangle\>0\) reinforce each other and increase the error, whereas shifts pointing in opposing directions partly offset each other and reduce it\. This is a local approximation;[Sec\.4\.2](https://arxiv.org/html/2611.33308#S4.SS2)checks how accurate it is for the weight changes of actual merging\.

##### Covariance from reusing a grouping\.

For a fixed merging method and merge scale, shared and independent grouping draw the grouping at each unit from the same distribution, so the single\-unit terms of[Eq\.3](https://arxiv.org/html/2611.33308#S4.E3)have the same expectation under both; any difference comes from the cross\-unit terms\. The shift at unituudepends on its groupinggug\_\{u\}, which we make explicit by writingϕu​\(gu,x\)\\phi\_\{u\}\(g\_\{u\},x\)\. We split it into its average over random balanced groupings,ϕ¯u​\(x\)=𝔼gu​\[ϕu​\(gu,x\)\]\\bar\{\\phi\}\_\{u\}\(x\)=\\mathbb\{E\}\_\{g\_\{u\}\}\[\\phi\_\{u\}\(g\_\{u\},x\)\], and the remaining deviationϕ~u​\(gu,x\)=ϕu​\(gu,x\)−ϕ¯u​\(x\)\\tilde\{\\phi\}\_\{u\}\(g\_\{u\},x\)=\\phi\_\{u\}\(g\_\{u\},x\)\-\\bar\{\\phi\}\_\{u\}\(x\)\. Taking the expectation of a cross\-unit term over the groupings then gives

𝔼gu,gv​𝔼x​⟨ϕu​\(gu,x\),ϕv​\(gv,x\)⟩\\displaystyle\\mathbb\{E\}\_\{g\_\{u\},g\_\{v\}\}\\mathbb\{E\}\_\{x\}\\langle\\phi\_\{u\}\(g\_\{u\},x\),\\phi\_\{v\}\(g\_\{v\},x\)\\rangle=𝔼x​⟨ϕ¯u​\(x\),ϕ¯v​\(x\)⟩\+𝔼x​𝔼gu,gv​⟨ϕ~u​\(gu,x\),ϕ~v​\(gv,x\)⟩\.\\displaystyle=\\mathbb\{E\}\_\{x\}\\langle\\bar\{\\phi\}\_\{u\}\(x\),\\bar\{\\phi\}\_\{v\}\(x\)\\rangle\+\\mathbb\{E\}\_\{x\}\\mathbb\{E\}\_\{g\_\{u\},g\_\{v\}\}\\langle\\tilde\{\\phi\}\_\{u\}\(g\_\{u\},x\),\\tilde\{\\phi\}\_\{v\}\(g\_\{v\},x\)\\rangle\.The first term is the same under both groupings\. Under independent grouping,gug\_\{u\}andgvg\_\{v\}are drawn independently, so the second term is zero\. Under shared grouping, both units use the same groupinggg, so the second term becomes the cross\-unit covariance

Γu​v=𝔼x​𝔼g​⟨ϕ~u​\(g,x\),ϕ~v​\(g,x\)⟩\.\\Gamma\_\{uv\}=\\mathbb\{E\}\_\{x\}\\mathbb\{E\}\_\{g\}\\left\\langle\\tilde\{\\phi\}\_\{u\}\(g,x\),\\tilde\{\\phi\}\_\{v\}\(g,x\)\\right\\rangle\.
Proposition 1 \(covariance identity\)\.LetDt,sharedlinD\_\{t,\\mathrm\{shared\}\}^\{\\mathrm\{lin\}\}andDt,indeplinD\_\{t,\\mathrm\{indep\}\}^\{\\mathrm\{lin\}\}be the linearized feature errors under shared and independent grouping\. Suppose that the merged modules at each unit depend only on that unit’s grouping, and that both groupings use the same merging method, merge scale and grouping distribution at each unit\. Then the difference between their expected values, with expectations over the groupings, is

𝔼g​\[Dt,sharedlin\]−𝔼g​\[Dt,indeplin\]=2​∑u<vΓu​v\.\\mathbb\{E\}\_\{g\}\\left\[D\_\{t,\\mathrm\{shared\}\}^\{\\mathrm\{lin\}\}\\right\]\-\\mathbb\{E\}\_\{g\}\\left\[D\_\{t,\\mathrm\{indep\}\}^\{\\mathrm\{lin\}\}\\right\]=2\\sum\_\{u<v\}\\Gamma\_\{uv\}\.\(4\)The proof is in[Sec\.C\.1](https://arxiv.org/html/2611.33308#A3.SS1)\.

A positiveΓu​v\\Gamma\_\{uv\}means that, under shared grouping, the deviations atuuandvvtend to reinforce each other, and a negative value means that they tend to offset each other\. Independent grouping therefore has lower expected linearized feature error exactly when∑u<vΓu​v\>0\\sum\_\{u<v\}\\Gamma\_\{uv\}\>0, and[Sec\.4\.2](https://arxiv.org/html/2611.33308#S4.SS2)tests this condition\.

*\(a\) Relative errorRϵR\_\{\\epsilon\}of the first\-order approximation*MethodGroupingϵ=0\.25\\epsilon=0\.25ϵ=0\.5\\epsilon=0\.5ϵ=1\\epsilon=1TAShared0\.370\.671\.08BRR\-layer0\.370\.671\.07BRR\-matrix0\.370\.671\.07TSV\-MShared0\.300\.560\.95BRR\-layer0\.280\.520\.91BRR\-matrix0\.280\.520\.90*\(b\) Partner alignmentS^\\widehat\{S\}*Tasks withS^\>0\\widehat\{S\}\>0100/100Adjacent layer pairs withH^u​v\>0\\widehat\{H\}\_\{uv\}\>01100/1100Table 6:Checks of the analysison 100 ViT\-B/32 tasks \(K=10K=10\)\. \(a\) Median over tasks;Rϵ=1R\_\{\\epsilon\}=1means the approximation error is as large as the feature change \(interquartile ranges:[Table21](https://arxiv.org/html/2611.33308#A4.T21)\)\. \(b\) Number of positive estimates, from ten sampled partners and 32 validation images per task\.
Table 7:Random BRR versus group selection under three objectives\(TSV\-M, 100 ViT\-B/32 tasks,K=10K=10,α=1\.4\\alpha=1\.4\)\. Held\-out feature errors and test accuracies are averaged over five seeds;±\\pmis the standard deviation of accuracy \(errors’ standard deviations:[Table32](https://arxiv.org/html/2611.33308#A5.T32)\)\.

##### Covariance under Task Arithmetic\.

To analyze the covariance further, we consider the most classic merging method, Task Arithmetic \(TA\), which adds a scaled sum of the group’s task vectors to the pretrained weights:

θ^u,k=θ0,u\+λ​∑j∈Gu,kτj,u,\\hat\{\\theta\}\_\{u,k\}=\\theta\_\{0,u\}\+\\lambda\\sum\_\{j\\in G\_\{u,k\}\}\\tau\_\{j,u\},whereλ\>0\\lambda\>0is the scaling coefficient of TA\. Each group containing tasktt’s expert also containsq−1q\-1partners drawn from the otherN−1N\-1experts, whose average task vector at unituuisτ¯u=1N−1​∑j≠tτj,u\\bar\{\\tau\}\_\{u\}=\\frac\{1\}\{N\-1\}\\sum\_\{j\\neq t\}\\tau\_\{j,u\}\. We define partnerjj’s contribution at unituuasψj,u​\(x\)=Ju​\(x\)​\(τj,u−τ¯u\)\\psi\_\{j,u\}\(x\)=J\_\{u\}\(x\)\(\\tau\_\{j,u\}\-\\bar\{\\tau\}\_\{u\}\), which measures, to first order, how much choosing partnerjjchanges the output relative to an average partner\.

Under shared grouping, taskttkeeps the same partners at every unit, so we measure how well each partner’s contributions at two unitsuuandvvalign:

Hu​v=𝔼j≠t​𝔼x​⟨ψj,u​\(x\),ψj,v​\(x\)⟩,H\_\{uv\}=\\mathbb\{E\}\_\{j\\neq t\}\\mathbb\{E\}\_\{x\}\\left\\langle\\psi\_\{j,u\}\(x\),\\psi\_\{j,v\}\(x\)\\right\\rangle,which is positive when these contributions tend to point in similar directions\.

Proposition 2 \(partner covariance\)\.For TA with uniformly sampled balanced groups of sizeq=N/Kq=N/KandN\>2N\>2,

Γu​v=c​Hu​v,c=λ2​\(q−1\)​\(N−q\)N−2,\\Gamma\_\{uv\}=cH\_\{uv\},\\qquad c=\\lambda^\{2\}\\frac\{\(q\-1\)\(N\-q\)\}\{N\-2\},\(5\)andc\>0c\>0whenever1<K<N1<K<N, soΓu​v\\Gamma\_\{uv\}andHu​vH\_\{uv\}have the same sign; the proof is in[Sec\.C\.2](https://arxiv.org/html/2611.33308#A3.SS2)\.

WithS=∑u<vHu​vS=\\sum\_\{u<v\}H\_\{uv\}, Propositions 1 and 2 give a gap of2​c​S2cSin[Eq\.4](https://arxiv.org/html/2611.33308#S4.E4), so independent grouping has lower expected linearized feature error whenS\>0S\>0\. The conditionS\>0S\>0means that the same partner’s contributions at different units align positively in aggregate across partners and unit pairs; individual partners or unit pairs may still contribute negatively\. Proposition 2 does not establish thatSSis positive;[Sec\.C\.6\.1](https://arxiv.org/html/2611.33308#A3.SS6.SSS1)discusses one possible reason, and[Sec\.4\.2](https://arxiv.org/html/2611.33308#S4.SS2)estimatesSSfor the actual experts\.

### 4\.2Verification of the analysis

##### First\-order approximation\.

Our analysis relies on a first\-order approximation, so we first check how well it predicts the change in the output features caused by merging\. On 100 ViT\-B/32 tasks with TA and TSV\-M atK=10K=10, we scale the weight change from merging at every unit byϵ∈\{0\.25,0\.5,1\}\\epsilon\\in\\\{0\.25,0\.5,1\\\}, giving weightsθt,u\+ϵ​Δu\\theta\_\{t,u\}\+\\epsilon\\Delta\_\{u\}, while all other parameters stay at the expert’s values;ϵ=1\\epsilon=1applies the full change to the grouped weights\. Letrϵ​\(x\)r\_\{\\epsilon\}\(x\)be the actual change in the output feature of imagexx; we compare it with its first\-order predictionϵ​∑uϕu​\(x\)\\epsilon\\sum\_\{u\}\\phi\_\{u\}\(x\)through the relative error

Rϵ=𝔼g,x​‖rϵ​\(x\)−ϵ​∑uϕu​\(x\)‖2𝔼g,x​‖rϵ​\(x\)‖2,R\_\{\\epsilon\}=\\sqrt\{\\frac\{\\mathbb\{E\}\_\{g,x\}\\big\\\|r\_\{\\epsilon\}\(x\)\-\\epsilon\\sum\_\{u\}\\phi\_\{u\}\(x\)\\big\\\|^\{2\}\}\{\\mathbb\{E\}\_\{g,x\}\\big\\\|r\_\{\\epsilon\}\(x\)\\big\\\|^\{2\}\}\},averaged over sampled groupingsggand 32 validation images per task\. The medianRϵR\_\{\\epsilon\}grows from about 0\.3 atϵ=0\.25\\epsilon=0\.25to about 1 atϵ=1\\epsilon=1\([Table7](https://arxiv.org/html/2611.33308#S4.T7)\(a\)\)\. The approximation is thus closer for small weight changes, but atϵ=1\\epsilon=1its error is of the same order as the feature change itself\.

Figure 2:Ratio of measured to predicted feature\-error gaps\(shared minus independent grouping, summed over 100 ViT\-B/32 tasks\) against the scaleϵ\\epsilonof the merging\-induced weight changes;ϵ=1\\epsilon=1applies the full change to the grouped weights, andϵ=1\.5\\epsilon=1\.5extrapolates beyond it\. A ratio of 1 means agreement\. Bars: 95% task\-bootstrap intervals\.Figure 3:Predicted versus measured accuracy gain over shared groupingfor 27 groupings on ViT\-B/32 \(five\-seed means\)\. Predictions were fixed in advance and calibrated on the measured gain of BRR over shared grouping, so the shared\-grouping and BRR endpoints match by construction; the dotted line marks equality\.

##### Feature\-error gap\.

What matters for our analysis, however, is not each feature change but the difference in feature error between shared and independent grouping, which Proposition 1 predicts\. We measure the actual gap as the feature error of[Eq\.2](https://arxiv.org/html/2611.33308#S4.E2)under shared grouping minus that under independent grouping\. For each of the four merging methods and eachϵ\\epsilon, we compare it with the first\-order prediction2​ϵ2​∑u<vΓu​v2\\epsilon^\{2\}\\sum\_\{u<v\}\\Gamma\_\{uv\}of Proposition 1, both summed over the 100 tasks \([Fig\.3](https://arxiv.org/html/2611.33308#S4.F3)\)\. In every setting, the actual gap is positive, as predicted: independent grouping lowers the actual feature error, not only its first\-order approximation\. Its size also matches closely for small weight changes \(ratio 0\.89–1\.01 atϵ=0\.25\\epsilon=0\.25\) and stays within the same order of magnitude atϵ=1\\epsilon=1\(ratio 0\.3–1\.3\)\.

##### Partner alignment\.

By Proposition 2, independent grouping lowers the linearized feature error under TA wheneverS=∑u<vHu​v\>0S=\\sum\_\{u<v\}H\_\{uv\}\>0\. EachHu​vH\_\{uv\}averages, over partners, the inner product between a partner’s contributions at unitsuuandvv, soS\>0S\>0means that partners tend to shift the output in similar directions at different units\. ComputingHu​vH\_\{uv\}requires one Jacobian–vector product per partner and unit, so averaging over all 99 candidate partners is costly\. For each task, we therefore estimateHu​vH\_\{uv\}from ten randomly sampled partners on 32 validation images, an unbiased estimate of the average \([Sec\.D\.1](https://arxiv.org/html/2611.33308#A4.SS1)\)\. The estimateS^\\widehat\{S\}is positive for all 100 tasks, andH^u​v\\widehat\{H\}\_\{uv\}is positive for all 11 pairs of adjacent layers in each of the 100 tasks \(1100 pairs;[Table7](https://arxiv.org/html/2611.33308#S4.T7)\(b\)\)\. These estimates support the positive\-alignment condition for our expert pool, and by Propositions 1 and 2, independent grouping lowers the expected linearized feature error under TA, consistent with the positive gap measured above\.

### 4\.3Applications of the analysis

##### Predicting the accuracy of partially shared groupings\.

Beyond explaining why BRR outperforms shared grouping, the analysis can predict the accuracy of groupings in between, which share a grouping between some pairs of units but not others\. If unitsuuandvvshare one grouping draw with probabilitypu​vp\_\{uv\}and draw independently otherwise, the pair adds2​pu​v​Γu​v2p\_\{uv\}\\Gamma\_\{uv\}to the expected linearized feature error relative to independent grouping \([Sec\.D\.3](https://arxiv.org/html/2611.33308#A4.SS3)\); shared grouping haspu​v=1p\_\{uv\}=1for all pairs and BRR haspu​v=0p\_\{uv\}=0\. We convert this into accuracy using the measured gainAAof BRR over shared grouping: a groupingaais predicted to gain

A^​\(a\)=F⁡\(a\)​A,F⁡\(a\)=∑u<v\(1−pu​v\)​Γu​v∑u<vΓu​v,\\widehat\{A\}\(a\)=F\(a\)\\,A,\\qquad F\(a\)=\\frac\{\\sum\_\{u<v\}\(1\-p\_\{uv\}\)\\,\\Gamma\_\{uv\}\}\{\\sum\_\{u<v\}\\Gamma\_\{uv\}\},whereF⁡\(a\)F\(a\)is the fraction of the covariance thataaremoves, so thatF=0F=0for shared grouping,F=1F=1for BRR, and groupings in between are interpolated linearly\.

We test these predictions on 27 partially shared groupings on ViT\-B/32 \([Sec\.D\.3\.1](https://arxiv.org/html/2611.33308#A4.SS3.SSS1)\)\.[Figure3](https://arxiv.org/html/2611.33308#S4.F3)compares each grouping’s predicted and measured accuracy gains; points on the diagonal indicate exact agreement\. The measured gains range from 0\.6 to 4\.3 points, and the predictions are off by 0\.16 points on average \(results by type:[Table23](https://arxiv.org/html/2611.33308#A4.T23)\)\. These results support using cross\-unit covariance to predict the accuracy gains of partially shared groupings\.

##### Searching for better groupings\.

Instead of drawing groupings at random as BRR does, we can choose the groupings that minimize the feature error, estimated either with our first\-order analysis or by running the merged model\. At each unit, we draw 64 random permutations to obtain 64 balanced candidate groupings, and select one candidate per unit to minimize an objective summed over all tasks\. We consider three objectives, from coarse to fine: the*single\-unit*objective, which scores each unit as if it were the only one merged and so ignores interactions between units; the*linearized*objective, which also includes these interactions; and the*actual*objective, the true feature error\. As there are too many combinations to enumerate, for each objective we first choose candidates unit by unit greedily, then repeatedly revisit each unit and switch it to the candidate that minimizes the objective given the others, until no unit improves\. Comparing the first two objectives shows whether accounting for interactions helps, and comparing the last two shows whether the first\-order approximation suffices\. All three use only unlabeled validation images, with TSV\-M on 100 ViT\-B/32 tasks atK=10K=10, five seeds and a fixed merge scale \([AppendixE](https://arxiv.org/html/2611.33308#A5)\)\.

Accounting for interactions helps \([Table7](https://arxiv.org/html/2611.33308#S4.T7)\): the linearized objective selects more accurate groupings than the single\-unit objective in all five seeds, by 0\.29 points at layer level and 0\.22 at matrix level\. The actual objective adds little further accuracy \(0\.06–0\.09 points\), so the first\-order approximation largely suffices for this search\. The linearized objective also searches faster, because it computes each candidate’s first\-order output change once and never runs the merged model during the search, whereas the actual objective runs it for every candidate it considers \([AppendixE](https://arxiv.org/html/2611.33308#A5)\)\.

Even the best search, however, improves on random BRR by only about half a point, whereas BRR\-matrix exceeds shared grouping by 4\.59 points \([Table1](https://arxiv.org/html/2611.33308#S2.T1)\)\. Random regrouping thus already obtains most of the gain over shared grouping, while the analysis can still guide a small further improvement\.

## 5Conclusion and Future Work

We proposed BRR, which independently draws a balanced random grouping at each layer or weight matrix and merges each group with an existing method; choosing the groups requires no data and only a random permutation of expert indices\. By changing merge partners across layers without increasing the module budget, both variants outperform shared grouping in all 24 CLIP configurations\. BRR\-matrix also outperforms FlexMerge in all 24 configurations and with all four merging methods on InternVL2\.5\-1B\. Our first\-order analysis shows that reusing partners introduces correlations between the output\-feature shifts caused by merging at different layers\. When these correlations are positive overall, the shifts accumulate; independent regrouping removes these correlations and lowers the expected linearized feature error\. A series of experiments supports this analysis, which further guides a grouping search that can outperform BRR\.

##### Future work\.

An important next step is to account for nonlinear feature changes when predicting and selecting groupings\. Another is to extend BRR to settings where task identities are unavailable, by selecting shared modules from the input\.

## LLM Usage Statement

We used OpenAI Codex and Anthropic Claude to help implement and review code and to polish the language of the manuscript\.

## References

- \[1\]Ondrej Bohdal, Taha Ceritli, Mete Ozay, Jijoong Moon, Kyeng\-Hun Lee, Hyeonmok Ko, and Umberto Michieli\.Data\-driven clustering and merging of adapters for on\-device large language models\.In*ICASSP*, 2026\.
- \[2\]Zhe Chen, Weiyun Wang, Yue Cao, Yangzhou Liu, Zhangwei Gao, Erfei Cui, Jinguo Zhu, Shenglong Ye, Hao Tian, Zhaoyang Liu, et al\.Expanding performance boundaries of open\-source multimodal models with model, data, and test\-time scaling\.*arXiv preprint arXiv:2412\.05271*, 2024\.
- \[3\]Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Yunxuan Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, et al\.Scaling instruction\-finetuned language models\.*Journal of Machine Learning Research*, 25\(70\):1–53, 2024\.
- \[4\]Akash Dhasade, Divyansh Jhunjhunwala, Milos Vujasinovic, Gauri Joshi, and Anne\-Marie Kermarrec\.Navigating the accuracy\-size trade\-off with flexible model merging\.In*ICLR*, 2026\.
- \[5\]Antonio Andrea Gargiulo, Donato Crisostomi, Maria Sofia Bucarelli, Simone Scardapane, Fabrizio Silvestri, and Emanuele Rodolà\.Task singular vectors: Reducing task interference in model merging\.In*CVPR*, 2025\.
- \[6\]Chenyu Huang, Peng Ye, Tao Chen, Tong He, Xiangyu Yue, and Wanli Ouyang\.EMR\-Merging: Tuning\-free high\-performance model merging\.In*NeurIPS*, 2024\.
- \[7\]Gabriel Ilharco, Marco Tulio Ribeiro, Mitchell Wortsman, Suchin Gururangan, Ludwig Schmidt, Hannaneh Hajishirzi, and Ali Farhadi\.Editing models with task arithmetic\.In*ICLR*, 2023\.
- \[8\]Xisen Jin, Xiang Ren, Daniel Preotiuc\-Pietro, and Pengxiang Cheng\.Dataless knowledge fusion by merging weights of language models\.In*ICLR*, 2023\.
- \[9\]Daniel Marczak, Simone Magistri, Sebastian Cygert, Bartłomiej Twardowski, Andrew D\. Bagdanov, and Joost van de Weijer\.No task left behind: Isotropic model merging with common and task\-specific subspaces\.In*ICML*, 2025\.
- \[10\]Guillermo Ortiz\-Jimenez, Alessandro Favero, and Pascal Frossard\.Task arithmetic in the tangent space: Improved editing of pre\-trained models\.In*NeurIPS*, 2023\.
- \[11\]Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever\.Learning transferable visual models from natural language supervision\.In*ICML*, 2021\.
- \[12\]Volker Roth, Julian Laub, Motoaki Kawanabe, and Joachim M\. Buhmann\.Optimal cluster preserving embedding of nonmetric proximity data\.*IEEE Transactions on Pattern Analysis and Machine Intelligence*, 25\(12\):1540–1551, 2003\.
- \[13\]Donald Shenaj, Ondrej Bohdal, Taha Ceritli, Mete Ozay, Pietro Zanuttigh, and Umberto Michieli\.K\-merge: Online continual merging of adapters for on\-device large language models\.In*ACL*, 2026\.
- \[14\]Anke Tang, Li Shen, Yong Luo, Enneng Yang, Han Hu, Lefei Zhang, Bo Du, and Dacheng Tao\.FusionBench: A unified library and comprehensive benchmark for deep model fusion\.*Journal of Machine Learning Research*, 26\(307\):1–38, 2025\.
- \[15\]Ke Wang, Nikolaos Dimitriadis, Guillermo Ortiz\-Jimenez, François Fleuret, and Pascal Frossard\.Localizing task information for improved model merging and compression\.In*ICML*, 2024a\.
- \[16\]Peng Wang, Shuai Bai, Sinan Tan, Shijie Wang, Zhihao Fan, Jinze Bai, Keqin Chen, Xuejing Liu, Jialin Wang, Wenbin Ge, Yang Fan, Kai Dang, Mengfei Du, Xuancheng Ren, Rui Men, Dayiheng Liu, Chang Zhou, Jingren Zhou, and Junyang Lin\.Qwen2\-VL: Enhancing vision\-language model’s perception of the world at any resolution\.*arXiv preprint arXiv:2409\.12191*, 2024b\.
- \[17\]Bo Xu, Haotian Wu, Hehai Lin, Weiquan Huang, Beier Zhu, Yao Shu, and Chengwei Qin\.ACE\-Merging: Data\-free model merging with adaptive covariance estimation\.In*CVPR*, 2026\.
- \[18\]Prateek Yadav, Derek Tam, Leshem Choshen, Colin Raffel, and Mohit Bansal\.TIES\-merging: Resolving interference when merging models\.In*NeurIPS*, 2023\.
- \[19\]Enneng Yang, Li Shen, Zhenyi Wang, Guibing Guo, Xingwei Wang, Xiaocun Cao, Jie Zhang, and Dacheng Tao\.SurgeryV2: Bridging the gap between model merging and multi\-task learning with deep representation surgery\.*arXiv preprint arXiv:2410\.14389*, 2024\.
- \[20\]Mingyang Zhang, Jing Liu, Ganggui Ding, Linlin Ou, Xinyi Yu, and Bohan Zhuang\.Channel merging: Preserving specialization for merged experts\.In*AAAI*, 2025\.
- \[21\]Zhanpeng Zhou, Zijun Chen, Yilan Chen, Bo Zhang, and Junchi Yan\.On the emergence of cross\-task linearity in pretraining\-finetuning paradigm\.In*ICML*, 2024\.

## Appendix AExperimental setup and reproducibility

### A\.1Tasks and experts

For each of the 100 image classification tasks, we separately fine\-tuned two CLIP\[[11](https://arxiv.org/html/2611.33308#bib.bib11)\]image encoders, ViT\-B/32 and ViT\-L/14, yielding 100 experts per backbone\. Across the 100 tasks, fine\-tuning increased mean test accuracy from a zero\-shot baseline of 42\.05% to 85\.68% on ViT\-B/32 and from 48\.11% to 89\.79% on ViT\-L/14\. The README in the code repository \([https://github\.com/kaiyangli\-ml/brr\-merging](https://github.com/kaiyangli-ml/brr-merging)\) links to all 200 experts on Hugging Face\.

##### Datasets and splits\.

We obtained 91 tasks from 86 Hugging Face Hub datasets,cassavafrom the iCassava 2019 release distributed with TFDS, and eight MedMNIST\+ tasks from Zenodo\.[Table8](https://arxiv.org/html/2611.33308#A1.T8)lists the tasks by benchmark suite or application domain and gives the number of classes for each\. At the top level of the code repository,TASKS\_V3\_100\.csvlists each dataset’s source, revision, available license information and split sizes, along with per\-task expert and zero\-shot test accuracies for both backbones\.

For 81 tasks, we held out a stratified 10% sample of the training split for validation\. For another 17 tasks, we used the published validation splits, which hold out entire slides in PCam and entire videos in the KITTI distance task\. For the two smallNORB tasks, we kept all images of the same toy in the same split\. Within each category, we used all images of toy 9 for validation, toys 4, 6, 7 and 8 for training, and toys 0, 1, 2, 3 and 5 for testing\.

For 86 tasks, including both smallNORB tasks, we used the official test split\. For another ten tasks, we used a fixed hash\-based rule to select 20% of a published split as the test set\. For the remaining four tasks \(food101,tomato\_leaf,fairface\_ageandchess\_pieces\), we used the published validation split for testing and held out a stratified 10% sample of the training split for validation\.

##### Expert training\.

We fine\-tuned only the image encoder and kept the zero\-shot classifier built from class\-name prompts fixed\. We trained each expert for 4,000 steps using Adam with a batch size of 128, a learning rate of10−510^\{\-5\}, a cosine learning rate schedule and no weight decay\.

##### Overlap audit and sensitivity\.

After removing byte\-identical images across splits within each task, we compared pixel hashes across all 5\.76 million images and found 99 within\-task matches between training and test images across three tasks\. The only cross\-task overlap we detected was betweentomato\_leafandplantvillage, with about 2,500 test images from each task appearing in the other task’s training split\. In total, five tasks had test images that also appear in a training split, and four of them had more than two each:brain\_tumor\_mri,food101,tomato\_leafandplantvillage\.

On ViT\-B/32 with TSV\-M andK=10K=10, we kept all 100 experts and their merged models fixed and averaged the test accuracy gain of BRR\-layer over shared grouping first across all 100 tasks and then across the 95 tasks without detected overlap\. Excluding the five affected tasks changed the mean gain from 3\.75 to 3\.76 percentage points at the validation\-selectedα\\alphaand from 2\.07 to 2\.08 percentage points atα=1\\alpha=1\.

Table 8:The 100 tasks of our expert pool, grouped by benchmark suite or application domain\. The number after each task name gives its class count\.

### A\.2Grouping baselines and statistics

##### Grouping baselines\.

We compare shared grouping and both BRR variants at the same storage budget, using the same merge operator and the same set of grouping seeds\. At each of the 53 module positions in ViT\-B/32, we use FlexMerge’s\[[4](https://arxiv.org/html/2611.33308#bib.bib4)\]official greedy complete\-linkage procedure to group the corresponding expert modules\. For each output channel, Channel Merging clusters the corresponding task\-vector rows across experts using sphericalKK\-means and merges each cluster using Eq\. \(3\) of the Channel Merging paper\[[20](https://arxiv.org/html/2611.33308#bib.bib20)\]\.

##### Statistical reporting\.

For each task, we average the accuracy difference between methods over grouping seeds\. We count tasks with a positive average difference as improved and, unless otherwise noted, compute 95% confidence intervals for the mean gain by resampling these task\-level differences with replacement \(2,000 bootstrap resamples\)\. The intervals for[Table1](https://arxiv.org/html/2611.33308#S2.T1)also account for variation across grouping seeds \([Sec\.B\.1](https://arxiv.org/html/2611.33308#A2.SS1)\)\.

### A\.3Evaluation protocol and scale selection

##### A\.3\.1 Evaluation precision\.

We evaluate all merged models in FP32 with TF32 matrix multiplication disabled\.

##### A\.3\.2 Scale selection and candidate grids\.

For each CLIP backbone and budget, and for each combination of grouping method, merge operator and applicable grouping seed, we evaluate candidate values ofα\\alphaon a fixed validation sample of up to 1,000 images per task\. We select the value with the highest mean validation accuracy across tasks and use it for all tasks and units in that run\. The initial grid depends on the merge operator, with shared grouping, BRR and FlexMerge using the same candidates for a given operator\.

Initial CLIP merge\-scale grids

For CLIP Task Arithmetic,α=1\\alpha=1gives 1\.5 times the group\-mean task vector\. AtK=1K=1, the TSV\-M, Task Arithmetic and Iso\-CTS grids extend down to 0\.2\.

##### A\.3\.3 Grid\-boundary checks\.

TA or Iso\-CTS selected the upper bound ofα=3\.0\\alpha=3\.0in 56 runs across 12 configurations; for these we tested three additional values \(3\.5, 4\.0 and 5\.0\) on the same validation data\. Only Iso\-CTS on ViT\-L/14 atK=20K=20selected a larger scale: BRR\-matrix chose 3\.5 in all five runs and BRR\-layer chose 3\.5 in four of five, while shared grouping \(all five runs\) and FlexMerge retained 3\.0\.[Table1](https://arxiv.org/html/2611.33308#S2.T1)reports this configuration at the extended selection\. TSV\-M and ACE\-Merging never selected the top of their grids \(2\.0\)\. In the three configurations where Channel Merging selected the lower bound of 0\.25, all 15 runs still selected 0\.25 after we extended the grid down to 0\.05 in steps of 0\.05\.

## Appendix BFull results and grouping controls

### B\.1Paired accuracy differences

Within each setting of[Table1](https://arxiv.org/html/2611.33308#S2.T1), we computed test accuracy differences between methods on the same task and grouping seed\. We resampled both tasks and seeds 4,000 times to estimate a 95% confidence interval for each mean difference\. We summarize these intervals by counting how many lie entirely above zero\. For each BRR variant compared with shared grouping, all 24 do\. For BRR\-matrix over BRR\-layer, it lay above zero in 15 settings: 11 of 12 on ViT\-B/32 and 4 of 12 on ViT\-L/14\.

### B\.2Fixed and selected merge scale

At a fixed merge scale ofα=1\\alpha=1, both BRR variants achieved higher mean accuracy than shared grouping in all 24 CLIP settings \([Table9](https://arxiv.org/html/2611.33308#A2.T9)\)\. With TSV\-M, Iso\-CTS and ACE\-Merging, both variants also outperformed FlexMerge at every budget on both backbones, covering all 18 settings for these three operators\. With Task Arithmetic at the same fixed scale, FlexMerge was more accurate than both BRR variants in five of six settings\. When each method used its validation\-selected scale, both BRR variants outperformed FlexMerge in all six Task Arithmetic settings \([Table1](https://arxiv.org/html/2611.33308#S2.T1)\)\.

Table 9:Mean test accuracy \(%\) over 100 tasks atα=1\\alpha=1\. Random groupings are averaged over five seeds\. FlexMerge uses one deterministic grouping\. Bold marks the highest accuracy for each backbone, budget and merge operator\.
### B\.3Balance and independence atK=10K=10on ViT\-B/32

Using TSV\-M on 100 ViT\-B/32 tasks atK=10K=10, we compared shared grouping with independent grouping at each weight matrix under two conditions: equal group sizes and unequal sizes fixed before evaluation \([Table10](https://arxiv.org/html/2611.33308#A2.T10)\)\. At validation\-selected scales, independent grouping improved mean test accuracy by 4\.59 points with equal group sizes and by 4\.52 points with unequal sizes, improving 95 and 92 of the 100 tasks, respectively\. Equal group sizes added 1\.41 points under shared grouping and 1\.48 points under independent grouping\. At fixedα=1\\alpha=1, independent grouping still added more \(2\.61 and 2\.71 points\) than equal group sizes \(1\.23 and 1\.13 points\)\.

\(a\) Gains at the validation\-selectedα\\alpha

\(b\) Accuracy and gains atK=10K=10

Group sizesSharedIndependentGainValidation\-selectedα\\alphaBalanced73\.7978\.38\+4\.59\+4\.59Unbalanced72\.3876\.90\+4\.52\+4\.52Balance gain\+1\.41\+1\.41\+1\.48\+1\.48–Fixedα=1\\alpha=1Balanced73\.2175\.82\+2\.61\+2\.61Unbalanced71\.9874\.69\+2\.71\+2\.71Balance gain\+1\.23\+1\.23\+1\.13\+1\.13–

Table 10:Balance and independent regrouping on ViT\-B/32 with TSV\-M atK=10K=10, 100 tasks, averaged over five grouping seeds\. \(a\) 95% intervals for gains \(points\) and counts of improved tasks at validation\-selected scales\. \(b\) Mean test accuracy \(%\) and gains \(points\) at selected and fixed scales\. Independent grouping draws a partition per matrix\. Unequal group sizes are 25, 18, 14, 11, 9, 7, 6, 4, 3 and 3\.
### B\.4Balance and independence across settings

[Table11](https://arxiv.org/html/2611.33308#A2.T11)extends this comparison to six additional settings covering other merge operators, budgets and ViT\-L/14\. In all six settings, both independent grouping and equal group sizes improved mean test accuracy, with a larger gain from independent grouping\.

Table 11:Balance and independent regrouping in six further settings\. Mean test accuracy \(%\) over 100 tasks at validation\-selected scales, averaged over five grouping seeds; independent grouping draws a partition per matrix\. AtK=10K=10, unequal group sizes are as in[Table10](https://arxiv.org/html/2611.33308#A2.T10)\. ForK=5K=5, adjacent groups are combined \(43, 25, 16, 10, 6\)\. ForK=20K=20, each group is halved as evenly as possible\.
### B\.5Balanced grouping by task\-vector similarity

With group sizes held equal, does grouping experts by task\-vector cosine similarity improve on random grouping? We use negative cosine similarity as the pairwise cost, computed over the whole network for shared grouping or separately within each weight matrix for per\-matrix grouping\. We embed the cost matrix\[[12](https://arxiv.org/html/2611.33308#bib.bib12)\], run balancedKK\-means from eight initializations, and refine each partition by swapping task pairs\. Before evaluating accuracy, we select the partition with the lowest cost\.

Clustered and random groupings use the same validation grid\. Clustering gives lower mean accuracy in 17 of 20 comparisons \([Tables12](https://arxiv.org/html/2611.33308#A2.T12),[14](https://arxiv.org/html/2611.33308#A2.T14)and[14](https://arxiv.org/html/2611.33308#A2.T14)\)\. Its three gains all occur with TA and range from 0\.28 to 0\.61 percentage points\. On ViT\-B/32 atK=10K=10, expert pairs grouped together at one matrix remain together at another in 27% of cases under per\-matrix clustering, compared with 9% under BRR\-matrix \([Table5](https://arxiv.org/html/2611.33308#S3.T5)\)\.[SectionC\.5](https://arxiv.org/html/2611.33308#A3.SS5)gives the expected repeat rate under random grouping\.

Table 12:Random versus similarity\-clustered balanced groups\.Mean test accuracy \(%\) on ViT\-B/32, 100 tasks,K=10K=10, validation\-selectedα\\alpha\. Random groupings are means over five seeds; similarity groupings are deterministic \(one run\)\. Bold: the higher of random and similarity grouping for the same grouping scheme and operator\.Table 13:Similarity clustering on ViT\-B/32 atK=5K=5and2020\. Values are mean accuracy \(%\) on 100 tasks at validation\-selected scales\. Random groupings use five seeds; similarity clustering uses one deterministic run\. Bold: the higher of random and similarity grouping for the same grouping scheme and operator\.Table 14:Mean test accuracy \(%\) for random and similarity\-clustered balanced groups on ViT\-L/14 atK=10K=10, using TA and TSV\-M at validation\-selected scales\. Random groupings use five seeds; similarity clustering uses one deterministic run\. Bold: the higher of random and similarity grouping for the same grouping scheme and operator\.
### B\.6BRR\-matrix gains across merge operators

On 100 ViT\-B/32 tasks atK=10K=10, BRR\-matrix improves on shared grouping with all four grouping\-only operators \([Table15](https://arxiv.org/html/2611.33308#A2.T15)\)\. At validation\-selected scales, the gains range from 3\.02 to 4\.59 points, every 95% interval lies above zero, and 93 to 99 of the 100 tasks improve\. Atα=1\\alpha=1, the gains are smaller for TA, TSV\-M and Iso\-CTS \(1\.06 to 2\.61 points\) and essentially unchanged for ACE\-Merging \(3\.03 versus 3\.02 points\)\. With the mask\-based operators, which keep task\-specific masks, the gains are 0\.72 points with EMR\-Merging and 0\.20 points with TALL masks, both with intervals above zero \([Table15](https://arxiv.org/html/2611.33308#A2.T15)\)\.

Table 15:Mean test accuracy \(%\) over 100 ViT\-B/32 tasks atK=10K=10, averaged over five seeds\. Gains compare BRR\-matrix with shared grouping \(percentage points, computed before rounding\)\. EMR and TALL store additional task\-specific masks \([Table35](https://arxiv.org/html/2611.33308#A6.T35)\)\. TA accuracy is lower atα=1\\alpha=1for all three groupings \([Tables9](https://arxiv.org/html/2611.33308#A2.T9)and[1](https://arxiv.org/html/2611.33308#S2.T1)\)\.
### B\.7Backbone, task counts and budgets

BackboneOperatorNNKKshared groupingBRR\-matrixgain \[95% CI\]tasks improvedViT\-L/14TA1001070\.1274\.54\+4\.42 \[3\.47, 5\.36\]95/100ViT\-L/14TSV\-M1001082\.0384\.96\+2\.93–ViT\-L/14Iso\-CTS1001083\.8586\.13\+2\.28 \[1\.58, 3\.14\]88/100ViT\-L/14ACE\-Merging1001085\.1286\.84\+1\.72 \[1\.00, 2\.57\]83/100ViT\-B/32TSV\-M100259\.7161\.71\+2\.00 \[1\.54, 2\.46\]88/100ViT\-B/32TSV\-M100568\.3272\.35\+4\.03 \[3\.01, 5\.05\]87/100ViT\-B/32TSV\-M1001073\.7978\.38\+4\.59 \[3\.71, 5\.56\]95/100ViT\-B/32TSV\-M1002078\.0281\.99\+3\.97 \[3\.01, 4\.97\]97/100ViT\-B/32TSV\-M50568\.6873\.67\+4\.99 \[2\.71, 7\.87\]39/50ViT\-B/32TSV\-M501074\.2078\.55\+4\.35 \[3\.03, 5\.78\]45/50ViT\-B/32TSV\-M20280\.2382\.36\+2\.12 \[0\.75, 3\.77\]16/20ViT\-B/32TSV\-M20484\.3486\.66\+2\.32 \[1\.43, 3\.31\]18/20ViT\-B/32TSV\-M20585\.6687\.26\+1\.61 \[1\.01, 2\.32\]18/20ViT\-B/32Iso\-CTS100260\.2862\.67\+2\.39 \[1\.82, 2\.95\]90/100ViT\-B/32Iso\-CTS100568\.3973\.16\+4\.78 \[3\.79, 5\.76\]96/100ViT\-B/32Iso\-CTS1002074\.5978\.99\+4\.40 \[3\.44, 5\.39\]92/100ViT\-B/32Iso\-CTS50567\.9872\.56\+4\.58 \[3\.46, 5\.79\]47/50ViT\-B/32Iso\-CTS501070\.5575\.00\+4\.45 \[2\.80, 6\.26\]40/50ViT\-B/32Iso\-CTS20278\.5681\.49\+2\.93 \[0\.88, 5\.50\]14/20ViT\-B/32Iso\-CTS20481\.5484\.80\+3\.27 \[1\.69, 5\.27\]18/20ViT\-B/32Iso\-CTS20581\.9784\.64\+2\.67 \[1\.32, 4\.53\]16/20ViT\-B/32ACE\-Merging100263\.1565\.25\+2\.10 \[1\.24, 2\.97\]67/100ViT\-B/32ACE\-Merging100572\.6576\.22\+3\.57 \[2\.93, 4\.28\]95/100ViT\-B/32ACE\-Merging1002080\.6783\.10\+2\.43 \[1\.64, 3\.43\]84/100ViT\-B/32ACE\-Merging50572\.9177\.03\+4\.11 \[2\.15, 6\.26\]45/50ViT\-B/32ACE\-Merging501077\.8380\.16\+2\.32 \[1\.20, 3\.67\]42/50ViT\-B/32ACE\-Merging20283\.5585\.78\+2\.22 \[1\.28, 3\.46\]20/20ViT\-B/32ACE\-Merging20486\.6588\.47\+1\.82 \[0\.98, 2\.86\]19/20ViT\-B/32ACE\-Merging20587\.4688\.75\+1\.29 \[0\.85, 1\.82\]19/20Table 16:BRR\-matrix versus shared grouping at validation\-selected scales\. Accuracy is the mean test accuracy \(%\) overNNtasks\. Rows withN=100N=100andK∈\{5,10,20\}K\\in\\\{5,10,20\\\}use five grouping seeds; all other rows use three\. Smaller pools use the firstNNtasks in a fixed order\. For TSV\-M on ViT\-L/14, only the mean gain is available\.##### Task counts and storage budgets\.

The number of tasks and the storage budget together determine how many partners each expert has at a unit\. Across nine combinations of task count and budget on ViT\-B/32, BRR\-matrix gains 1\.61–4\.99 points over shared grouping with TSV\-M \([Table16](https://arxiv.org/html/2611.33308#A2.T16)\)\. The 95% interval lies above zero in every setting, and 78–97% of tasks improve within each setting\. Across the 16 ViT\-B/32 rows shown for Iso\-CTS and ACE\-Merging, gains range from 1\.29 to 4\.78 points, with all intervals above zero\.

##### Larger budgets\.

AtK=25K=25on ViT\-B/32, BRR\-matrix gains 3\.20 points over shared grouping with TSV\-M and 5\.85 with TA\. AtK=50K=50, where each expert has just one partner per unit, the gains are 1\.79 with TSV\-M and 2\.60 with TA, the latter with every TA run at the lower grid boundaryα=1\\alpha=1\([Table17](https://arxiv.org/html/2611.33308#A2.T17)\)\.

Table 17:Larger budgets on ViT\-B/32,N=100N=100\.Mean test accuracy \(%\) and sample standard deviation over three grouping seeds, validation\-selectedα\\alpha\.†\\dagger: atK=50K=50, every TA run selected the lower boundary of the grid \(α=1\\alpha=1\)\.

### B\.8Regrouping publicly released CLIP experts

To test whether regrouping also helps with experts trained outside our pipeline, we evaluated TA and TSV\-M on the public checkpoints released by Wang et al\.\[[15](https://arxiv.org/html/2611.33308#bib.bib15)\]for the 8\-, 14\- and 20\-task CLIP suites\. Our 100\-task pool includes the TALL20 tasks in FusionBench\[[14](https://arxiv.org/html/2611.33308#bib.bib14)\], for which we trained our own experts\. We selected merge scales on the public validation splits\. The initial grids started at 1\.0 for TA and 0\.8 for TSV\-M\. If validation selected the lower bound, we also tested\{0\.4,0\.6,0\.8\}\\\{0\.4,0\.6,0\.8\\\}for TA or\{0\.4,0\.6\}\\\{0\.4,0\.6\\\}for TSV\-M\. Whether the released experts saw any of the validation images during training is unknown\.

Table 18:Mean test accuracy \(%\) on the public 8\-, 14\- and 20\-task suites\[[15](https://arxiv.org/html/2611.33308#bib.bib15)\]\. Randomized methods report mean±\\pmstandard deviation over five grouping seeds\. FlexMerge is deterministic\. Channel Merging uses its own merge rule and appears in the TA columns\. Bold marks the highest mean among grouping methods for each backbone, operator and budget\.Across eight task\-count and budget combinations, two backbones and two merge operators, BRR\-matrix achieved higher mean test accuracy than shared grouping in all 32 settings \([Table18](https://arxiv.org/html/2611.33308#A2.T18)\)\. BRR\-layer did so in 31 settings, with the sole exception of TSV\-M on ViT\-L/14 atN=20N=20andK=10K=10\. At least one BRR variant outperformed FlexMerge in 25 of the 32 settings\. BRR\-matrix with TA outperformed Channel Merging in 14 of 16 comparisons\.

## Appendix CTheory and proofs

### C\.1Details for the covariance analysis

##### Proof of Proposition 1 \(covariance identity\)\.

Fix a tasktt, the merging method and the merge scale\. Withϕ¯u\\bar\{\\phi\}\_\{u\}andϕ~u\\tilde\{\\phi\}\_\{u\}as in[Sec\.4\.1](https://arxiv.org/html/2611.33308#S4.SS1), the first\-order feature shift at unituuisϕu​\(gu,x\)=ϕ¯u​\(x\)\+ϕ~u​\(gu,x\)\\phi\_\{u\}\(g\_\{u\},x\)=\\bar\{\\phi\}\_\{u\}\(x\)\+\\tilde\{\\phi\}\_\{u\}\(g\_\{u\},x\), and the deviationϕ~u​\(gu,x\)\\tilde\{\\phi\}\_\{u\}\(g\_\{u\},x\)has mean zero overgug\_\{u\}for each fixedxx\. Both schemes drawgug\_\{u\}from the same distribution, and the update at unituudepends only ongug\_\{u\}\. Thus the expected single\-unit error,𝔼gu​𝔼x​‖ϕu​\(gu,x\)‖2\\mathbb\{E\}\_\{g\_\{u\}\}\\mathbb\{E\}\_\{x\}\\\|\\phi\_\{u\}\(g\_\{u\},x\)\\\|^\{2\}, is the same under both schemes\. These terms cancel when we subtract the two expected errors in[Eq\.3](https://arxiv.org/html/2611.33308#S4.E3)\.

Now consider two distinct unitsuuandvv\. For a fixed inputxx, expanding the inner product of their shifts gives four terms\. We suppress the arguments for readability\.

⟨ϕu,ϕv⟩=\\displaystyle\\langle\\phi\_\{u\},\\phi\_\{v\}\\rangle=\{\}⟨ϕ¯u,ϕ¯v⟩\+⟨ϕ¯u,ϕ~v⟩\\displaystyle\\langle\\bar\{\\phi\}\_\{u\},\\bar\{\\phi\}\_\{v\}\\rangle\+\\langle\\bar\{\\phi\}\_\{u\},\\tilde\{\\phi\}\_\{v\}\\rangle\+⟨ϕ~u,ϕ¯v⟩\+⟨ϕ~u,ϕ~v⟩\.\\displaystyle\+\\langle\\tilde\{\\phi\}\_\{u\},\\bar\{\\phi\}\_\{v\}\\rangle\+\\langle\\tilde\{\\phi\}\_\{u\},\\tilde\{\\phi\}\_\{v\}\\rangle\.The first term is the same under both schemes because each unit has the same mean shift under both\. The two mixed terms have expectation zero under either scheme\. For example, at fixedxx,ϕ¯u​\(x\)\\bar\{\\phi\}\_\{u\}\(x\)is fixed andϕ~v​\(gv,x\)\\tilde\{\\phi\}\_\{v\}\(g\_\{v\},x\)has mean zero\. Only the last term can differ between the schemes\.

Under shared grouping, both units use the same drawgg\. Averaging the last term over groupings and inputs gives the cross\-unit covariance defined in[Sec\.4\.1](https://arxiv.org/html/2611.33308#S4.SS1),

𝔼x​𝔼g​⟨ϕ~u​\(g,x\),ϕ~v​\(g,x\)⟩=Γu​v\.\\mathbb\{E\}\_\{x\}\\mathbb\{E\}\_\{g\}\\langle\\tilde\{\\phi\}\_\{u\}\(g,x\),\\tilde\{\\phi\}\_\{v\}\(g,x\)\\rangle=\\Gamma\_\{uv\}\.Under independent grouping, the units drawgug\_\{u\}andgvg\_\{v\}independently\. For each fixedxx, the expected inner product therefore factors into the inner product of the two means,

𝔼gu,gv​⟨ϕ~u​\(gu,x\),ϕ~v​\(gv,x\)⟩\\displaystyle\\mathbb\{E\}\_\{g\_\{u\},g\_\{v\}\}\\langle\\tilde\{\\phi\}\_\{u\}\(g\_\{u\},x\),\\tilde\{\\phi\}\_\{v\}\(g\_\{v\},x\)\\rangle=⟨𝔼gu​ϕ~u​\(gu,x\),𝔼gv​ϕ~v​\(gv,x\)⟩=0\.\\displaystyle=\\langle\\mathbb\{E\}\_\{g\_\{u\}\}\\tilde\{\\phi\}\_\{u\}\(g\_\{u\},x\),\\mathbb\{E\}\_\{g\_\{v\}\}\\tilde\{\\phi\}\_\{v\}\(g\_\{v\},x\)\\rangle=0\.The shared\-minus\-independent difference for this pair is thereforeΓu​v\\Gamma\_\{uv\}\. In the squared norm in[Eq\.3](https://arxiv.org/html/2611.33308#S4.E3), each unordered pair contributes twice, once in each order\. Summing over pairs gives[Eq\.4](https://arxiv.org/html/2611.33308#S4.E4):

𝔼g​\[Dt,sharedlin\]−𝔼g​\[Dt,indeplin\]=2​∑u<vΓu​v\.□\\mathbb\{E\}\_\{g\}\[D\_\{t,\\mathrm\{shared\}\}^\{\\mathrm\{lin\}\}\]\-\\mathbb\{E\}\_\{g\}\[D\_\{t,\\mathrm\{indep\}\}^\{\\mathrm\{lin\}\}\]=2\\sum\_\{u<v\}\\Gamma\_\{uv\}\.\\quad\\square

##### From linearized to true feature error\.

Fix the merge scaleα\\alphaand multiply each weight change from the expert byϵ\\epsilon\. The linearized feature error then scales asϵ2\\epsilon^\{2\}\. If the output is smooth inϵ\\epsilonnear the expert \(ϵ=0\\epsilon=0\), the true feature\-error gap satisfies

𝔼⁡\[Dt,shared\]−𝔼⁡\[Dt,indep\]=2​ϵ2​∑u<vΓu​v\+O⁡\(ϵ3\)\.\\mathbb\{E\}\\big\[D\_\{t,\\mathrm\{shared\}\}\\big\]\-\\mathbb\{E\}\\big\[D\_\{t,\\mathrm\{indep\}\}\\big\]=2\\epsilon^\{2\}\\sum\_\{u<v\}\\Gamma\_\{uv\}\+O\(\\epsilon^\{3\}\)\.\(6\)HereΓu​v\\Gamma\_\{uv\}uses the full weight displacements \(ϵ=1\\epsilon=1\) and the Jacobians evaluated at the expert\. The multiplierϵ\\epsilonscales the displacement from the expert, whereasα\\alphascales the merged update\.

##### Layer and matrix grouping\.

Pairs of matrices in different layers draw independent groupings under both BRR\-layer and BRR\-matrix, whereas pairs in the same layer share a grouping under BRR\-layer but not under BRR\-matrix\. Summing the covariances of the same\-layer pairs gives the expected linearized feature error under BRR\-layer minus that under BRR\-matrix,2​∑b∑m<n∈bΓm​n2\\sum\_\{b\}\\sum\_\{m<n\\in b\}\\Gamma\_\{mn\}, wherebbindexes layers\.

### C\.2Proof of Proposition 2 \(partner covariance\)

Fix a tasktt\. In a uniformly sampled balanced grouping, its expert belongs to a group of sizeq=N/Kq=N/K\. The expert itself is always in the group, so only its partners vary across draws\. LetAAdenote the set ofr=q−1r=q\-1partners sampled without replacement from theM=N−1M=N\-1other experts\. As in[Sec\.4\.1](https://arxiv.org/html/2611.33308#S4.SS1), letτ¯u\\bar\{\\tau\}\_\{u\}be the mean task vector of theseMMcandidates at unituu, and writeψj,u​\(x\)=Ju​\(x\)​\(τj,u−τ¯u\)\\psi\_\{j,u\}\(x\)=J\_\{u\}\(x\)\(\\tau\_\{j,u\}\-\\bar\{\\tau\}\_\{u\}\)for partnerjj’s contribution relative to that mean\. Under TA, the centered feature shift is the scaled sum over the selected partners, while the contributions over all candidates sum to zero:

ϕ~u​\(g,x\)=λ​∑j∈Aψj,u​\(x\),∑j≠tψj,u​\(x\)=0\.\\tilde\{\\phi\}\_\{u\}\(g,x\)=\\lambda\\sum\_\{j\\in A\}\\psi\_\{j,u\}\(x\),\\qquad\\sum\_\{j\\neq t\}\\psi\_\{j,u\}\(x\)=0\.
Under shared grouping, unitsuuandvvuse the same partner setAA\. Fixxxand omit it from the notation\. Expanding the inner product gives

⟨ϕ~u,ϕ~v⟩=λ2​∑j∈A∑k∈A⟨ψj,u,ψk,v⟩\.\\langle\\tilde\{\\phi\}\_\{u\},\\tilde\{\\phi\}\_\{v\}\\rangle=\\lambda^\{2\}\\sum\_\{j\\in A\}\\sum\_\{k\\in A\}\\langle\\psi\_\{j,u\},\\psi\_\{k,v\}\\rangle\.A term withj=kj=kappears whenever partnerjjis selected, with probabilityr/Mr/M\. A term withj≠kj\\neq krequires both partners to be selected, with probabilityr⁡\(r−1\)/\[M⁡\(M−1\)\]r\(r\-1\)/\[M\(M\-1\)\]\.

To combine these terms, sum over allMMcandidate partners\. Since their centered contributions sum to zero at each unit,

0\\displaystyle 0=⟨∑jψj,u,∑kψk,v⟩\\displaystyle=\\Big\\langle\\sum\_\{j\}\\psi\_\{j,u\},\\sum\_\{k\}\\psi\_\{k,v\}\\Big\\rangle=∑j⟨ψj,u,ψj,v⟩\+∑j≠k⟨ψj,u,ψk,v⟩\.\\displaystyle=\\sum\_\{j\}\\langle\\psi\_\{j,u\},\\psi\_\{j,v\}\\rangle\+\\sum\_\{j\\neq k\}\\langle\\psi\_\{j,u\},\\psi\_\{k,v\}\\rangle\.Thus the sum over distinct partners is the negative of the sum over identical partners\. Averaging the latter over target images givesM​Hu​vMH\_\{uv\}, sinceHu​vH\_\{uv\}is the mean alignment over theMMcandidates\. Weighting the two sums by their inclusion probabilities and substitutingr=q−1r=q\-1andM=N−1M=N\-1gives[Eq\.5](https://arxiv.org/html/2611.33308#S4.E5):

Γu​v\\displaystyle\\Gamma\_\{uv\}=λ2​\[rM−r⁡\(r−1\)M⁡\(M−1\)\]​M​Hu​v\\displaystyle=\\lambda^\{2\}\\left\[\\frac\{r\}\{M\}\-\\frac\{r\(r\-1\)\}\{M\(M\-1\)\}\\right\]MH\_\{uv\}=λ2​r⁡\(M−r\)M−1​Hu​v\\displaystyle=\\lambda^\{2\}\\frac\{r\(M\-r\)\}\{M\-1\}H\_\{uv\}=λ2​\(q−1\)​\(N−q\)N−2⏟c​Hu​v\.\\displaystyle=\\underbrace\{\\lambda^\{2\}\\frac\{\(q\-1\)\(N\-q\)\}\{N\-2\}\}\_\{c\}\\,H\_\{uv\}\.ForN\>2N\>2,λ\>0\\lambda\>0and1<K<N1<K<N, the coefficientccis positive\.□\\square

By Proposition 1, the expected linearized feature error under shared grouping minus that under independent grouping is therefore2​c​S2cS, whereS=∑u<vHu​vS=\\sum\_\{u<v\}H\_\{uv\}\. Independent grouping has lower expected linearized error exactly whenS\>0S\>0\.

##### Budget dependence\.

With the coefficient of the group mean held fixed atβ=q​λ\\beta=q\\lambda\(β=1\.5​α\\beta=1\.5\\alphain our CLIP experiments\), the budgetKKenters through the group sizeq=N/Kq=N/K, givingc=β2​\(q−1\)​\(N−q\)/\[q2​\(N−2\)\]c=\\beta^\{2\}\(q\-1\)\(N\-q\)/\[q^\{2\}\(N\-2\)\]\. ForN=100N=100, this is0\.010​β20\.010\\beta^\{2\},0\.083​β20\.083\\beta^\{2\}and0\.155​β20\.155\\beta^\{2\}atK=2K=2, 10 and 20, so at a fixed merge scale the covariance available to remove depends onKK\.

### C\.3Optimal merge scale

Proposition 1 compares shared and independent grouping at a fixed merge scale\. Here we ask whether independent grouping still gives lower expected feature error when each scheme uses its own optimal scale\. We take the pretrained model as the reference and assume that features vary linearly with the weight updates over the scales considered, with the same Jacobians at every scale\. Leteebe the expert’s feature change relative to the pretrained model, and letaabe the corresponding change for one random grouping atα=1\\alpha=1\. At scaleα\\alpha, the merged model’s feature change isα​a\\alpha a\.

Both schemes have the same mean responsea¯=𝔼g​\[a\]\\bar\{a\}=\\mathbb\{E\}\_\{g\}\[a\]because they use the same grouping distribution at each unit\. LetV=𝔼g​‖a−a¯‖2V=\\mathbb\{E\}\_\{g\}\\\|a\-\\bar\{a\}\\\|^\{2\}measure how much the response varies across groupings\. With squared norms and inner products averaged over target images, the expected feature error is

ℰ⁡\(α\)=𝔼g​‖α​a−e‖2=‖α​a¯−e‖2\+α2​V\.\\mathcal\{E\}\(\\alpha\)=\\mathbb\{E\}\_\{g\}\\\|\\alpha a\-e\\\|^\{2\}=\\\|\\alpha\\bar\{a\}\-e\\\|^\{2\}\+\\alpha^\{2\}V\.The first term is the same for both schemes\. Because the Jacobians do not change with the scale, the argument of Proposition 1 applies to the centered responsea−a¯a\-\\bar\{a\}and givesVshared−Vindep=2​∑u<vΓu​vV\_\{\\mathrm\{shared\}\}\-V\_\{\\mathrm\{indep\}\}=2\\sum\_\{u<v\}\\Gamma\_\{uv\}, with the covariances evaluated atα=1\\alpha=1\. When their sum is positive, independent grouping has smallerVVand hence lower expected error at every positive scale\.

Minimizingℰ⁡\(α\)\\mathcal\{E\}\(\\alpha\)gives

α⋆=⟨a¯,e⟩‖a¯‖2\+V,ℰ⁡\(α⋆\)=‖e‖2−⟨a¯,e⟩2‖a¯‖2\+V\.\\alpha^\{\\star\}=\\frac\{\\langle\\bar\{a\},e\\rangle\}\{\\\|\\bar\{a\}\\\|^\{2\}\+V\},\\qquad\\mathcal\{E\}\(\\alpha^\{\\star\}\)=\\\|e\\\|^\{2\}\-\\frac\{\\langle\\bar\{a\},e\\rangle^\{2\}\}\{\\\|\\bar\{a\}\\\|^\{2\}\+V\}\.If⟨a¯,e⟩\>0\\langle\\bar\{a\},e\\rangle\>0and both optima lie inside the allowed range, the smallerVVunder independent grouping gives a larger optimal scale\. Its error is already lower at the optimum for shared grouping and decreases further at its own optimum\. This calculation minimizes expected feature error over a continuous range of scales\. In the experiments, we select the scale from a discrete grid using validation accuracy\.

### C\.4Layer alignment at the first step

Can a shared training signal make updates at different layers shift the output in similar directions? Consider one gradient descent step, using the same network and images to compute the update and measure its effect on the output\. Fix the layer Jacobians and let all layers receive the same output gradientss, with mean zero and identity covariance\. IfJuJ\_\{u\}is the output Jacobian for layeruuandη\\etais the step size, updating that layer alone changes the output byδu=−η​Ju​Ju⊤​s\\delta\_\{u\}=\-\\eta J\_\{u\}J\_\{u\}^\{\\top\}sto first order\. For two layersuuandvv, the expected inner product of their output changes is

𝔼s​⟨δu,δv⟩=η2​∥Ju⊤​Jv∥F2≥0\.\\mathbb\{E\}\_\{s\}\\langle\\delta\_\{u\},\\delta\_\{v\}\\rangle=\\eta^\{2\}\\lVert J\_\{u\}^\{\\top\}J\_\{v\}\\rVert\_\{F\}^\{2\}\\geq 0\.Thus a shared gradient gives a nonnegative interaction on average\. If the two layers receive independent zero\-mean gradients, the expected interaction is zero\. For Gaussianss, the first step of bias\-corrected Adam gives the same nonnegativity in the sign limit, by Sheppard’s formula\.

In our experiments, each partner expert trains on its own images, and we measure the effect of its updates on the target task’s images\. On ViT\-B/32, we examined 352 combinations of four partners, eight target tasks and eleven adjacent layer pairs\. A sufficient condition for positive interaction is that the Frobenius distance between the training and readout kernels is smaller than the Frobenius norm of the readout kernel\. On target images, we measured responses at either the pretrained or the target expert weights, using whole blocks or their second MLP matrices\. Across these four settings, the fraction meeting the condition ranged from 2\.0% \(target expert, MLP matrices\) to 6\.5% \(pretrained, whole blocks\)\. With the actual training signal, 98\.6–100% of adjacent\-block interactions were positive across both readouts and both update rules \(gradient descent and Adam\)\. Positive interactions thus occurred frequently even when the sufficient condition did not hold\.

### C\.5Partner repetition under random grouping

Consider two experts that belong to the same group at one unit\. Under shared grouping they remain together at every unit, while under independent balanced grouping each of theN−1N\-1other experts is equally likely to occupy one of theN/K−1N/K\-1partner positions at another unit\. The probability that the pair remains together is therefore

N/K−1N−1\.\\frac\{N/K\-1\}\{N\-1\}\.\(7\)ForN=100N=100andK=10K=10, this gives9/99≈9\.1%9/99\\approx 9\.1\\%, consistent with the 9% repeat rate measured for BRR\-matrix \([Table5](https://arxiv.org/html/2611.33308#S3.T5)\)\.

### C\.6Understanding positive cross\-layer partner interactions

#### C\.6\.1Shared training signals and conditional alignment

For TA with1<K<N1<K<N, the sign of the expected linearized feature\-error gap depends on the sum of the partner interactionsHu​vH\_\{uv\}\([Sec\.C\.2](https://arxiv.org/html/2611.33308#A3.SS2)\)\. In[Sec\.C\.4](https://arxiv.org/html/2611.33308#A3.SS4), a shared output gradient gives a nonnegative expected interaction at the first step when training and readout use the same network and images\. Here a partner trains on its own images, and we ask when two layers transmit differences between partners in similar directions on the target images\.

Assume gradient flow fromθ0\\theta\_\{0\}with fixed Jacobians and a fixed positive diagonal preconditionerPP\. For partnerjj, letRjR\_\{j\}be the output gradient integrated over training on its images𝒟j\\mathcal\{D\}\_\{j\}\. The update to layeruuand its response on the target images𝒳t\\mathcal\{X\}\_\{t\}are

τj,u=−Pu​Ju​\(𝒟j\)⊤​Rj,yj,u=Ju​\(𝒳t\)​τj,u\.\\tau\_\{j,u\}=\-P\_\{u\}J\_\{u\}\(\\mathcal\{D\}\_\{j\}\)^\{\\top\}R\_\{j\},\\qquad y\_\{j,u\}=J\_\{u\}\(\\mathcal\{X\}\_\{t\}\)\\tau\_\{j,u\}\.Thusyj,u=−Bu\(j\)​Rjy\_\{j,u\}=\-B\_\{u\}^\{\(j\)\}R\_\{j\}, whereBu\(j\)=Ju​\(𝒳t\)​Pu​Ju​\(𝒟j\)⊤B\_\{u\}^\{\(j\)\}=J\_\{u\}\(\\mathcal\{X\}\_\{t\}\)P\_\{u\}J\_\{u\}\(\\mathcal\{D\}\_\{j\}\)^\{\\top\}\. Layers share the signalRjR\_\{j\}but map it to the target output through differentBu\(j\)B\_\{u\}^\{\(j\)\}\.

To compare partners, subtract the mean response of theMMcandidates at each layer\. The interactionHu​vH\_\{uv\}averages the inner product of the same partner’s centered responses at two layers:

ψj,u=yj,u−1M​∑kyk,u,Hu​v=1M​∑j⟨ψj,u,ψj,v⟩\.\\psi\_\{j,u\}=y\_\{j,u\}\-\\frac\{1\}\{M\}\\sum\_\{k\}y\_\{k,u\},\\qquad H\_\{uv\}=\\frac\{1\}\{M\}\\sum\_\{j\}\\langle\\psi\_\{j,u\},\\psi\_\{j,v\}\\rangle\.Inner products include the average over target images\.

Proposition 3\.Letℬu=\[Bu\(1\),…,Bu\(M\)\]\\mathcal\{B\}\_\{u\}=\[B\_\{u\}^\{\(1\)\},\\ldots,B\_\{u\}^\{\(M\)\}\]collect the partner maps for layeruu\. Form one vector per partner by placingRjR\_\{j\}in blockjjand zeros elsewhere, letρj\\rho\_\{j\}be this vector minus its mean over partners, and letΣ=M−1​∑jρj​ρj⊤\\Sigma=M^\{\-1\}\\sum\_\{j\}\\rho\_\{j\}\\rho\_\{j\}^\{\\top\}\. Then

Hu​v\\displaystyle H\_\{uv\}=tr⁡\(ℬu​Σ​ℬv⊤\),\\displaystyle=\\operatorname\{tr\}\(\\mathcal\{B\}\_\{u\}\\Sigma\\mathcal\{B\}\_\{v\}^\{\\top\}\),\(8\)Hu​vHu​u​Hv​v\\displaystyle\\frac\{H\_\{uv\}\}\{\\sqrt\{H\_\{uu\}H\_\{vv\}\}\}=cos⁡∠⁡\(ℬu​Σ1/2,ℬv​Σ1/2\)\.\\displaystyle=\\cos\\angle\(\\mathcal\{B\}\_\{u\}\\Sigma^\{1/2\},\\mathcal\{B\}\_\{v\}\\Sigma^\{1/2\}\)\.WhenHu​u,Hv​v\>0H\_\{uu\},H\_\{vv\}\>0, the normalized interaction is positive exactly when the two signal\-weighted maps form an acute angle\. PositiveS=∑u<vHu​vS=\\sum\_\{u<v\}H\_\{uv\}requires positive pair contributions to outweigh negative ones, not every pair to be positive\.

##### Proof\.

With the block vectors,ℬu\\mathcal\{B\}\_\{u\}applies the matching partner map, soψj,u=−ℬu​ρj\\psi\_\{j,u\}=\-\\mathcal\{B\}\_\{u\}\\rho\_\{j\}\. Averaging over partners gives

Hu​v=1M​∑j⟨ℬu​ρj,ℬv​ρj⟩=⟨ℬu​Σ1/2,ℬv​Σ1/2⟩F\.H\_\{uv\}=\\frac\{1\}\{M\}\\sum\_\{j\}\\langle\\mathcal\{B\}\_\{u\}\\rho\_\{j\},\\mathcal\{B\}\_\{v\}\\rho\_\{j\}\\rangle=\\langle\\mathcal\{B\}\_\{u\}\\Sigma^\{1/2\},\\mathcal\{B\}\_\{v\}\\Sigma^\{1/2\}\\rangle\_\{F\}\.Writing the Frobenius inner product as a trace gives the first identity\. Dividing by the two Frobenius norms gives the second\.□\\square

The derivation holds the Jacobians and preconditioner fixed, whereas both change during Adam training;[Sec\.4\.2](https://arxiv.org/html/2611.33308#S4.SS2)therefore measuresSSdirectly\.

#### C\.6\.2Signal and partner controls

##### Shared versus independent signals\.

We fix the expert maps and compare the real training signal with two replacements: a random signal shared across layers and independent random signals for each layer\. On both backbones, the shared random signal preserves most of the adjacent\-layer correlation observed with the real signal, while independent signals give correlations near zero \([Table19](https://arxiv.org/html/2611.33308#A3.T19)\)\.

Table 19:Adjacent\-layer correlation by signal\.Means over 12 tasks per backbone\. For fixed\-norm random signals,±\\pmis the mean within\-task population SD across four seeds\.
##### Same partner, different batches\.

Does the same partner produce aligned layer responses when the training batch changes? For each of 12 target tasks, we compute the first gradient step fromθ0\\theta\_\{0\}for ten partners, using batches of 128 training images, and measure how the resulting updates to adjacent fc2 layers affect the target expert’s output on 32 validation images\. Using different training batches for the same partner retains 89% of the same\-batch interaction \([Table20](https://arxiv.org/html/2611.33308#A3.T20)\)\.

Table 20:Partner alignment across batches\.Same\-partner counts cover 132 task–layer pairs \(12 tasks, 11 adjacent pairs\)\. The 2% covers 1,188 cyclic shifts \(nine per pair\)\. Centering over ten partners makes the mean shifted interaction−1/9\-1/9of the same\-partner value, so different\-partner interactions are negative on average, consistent with only 2% being positive\.

## Appendix DChecking the analysis and predicting arrangements

### D\.1Feature\-error validation

Proposition 1 \([Eq\.4](https://arxiv.org/html/2611.33308#S4.E4)\) gives the expected linearized feature\-error gap between shared and independent grouping\. We first test how accurately the first\-order approximation predicts the feature shift of an individual image\. We then compare the gap predicted by Proposition 1 with the difference in actual feature error between the two grouping schemes\.

##### Experimental setup\.

With 100 ViT\-B/32 experts and a budget ofK=10K=10, each balanced group contains ten experts\. For each target expert, we draw nine partners at random from the other 99 experts, repeating this procedure to form six candidate groups\. Both schemes use these same six groups\. Under shared grouping, we use one group at all units and average the results over the six choices\. Under independent grouping, each unit chooses uniformly from the six groups, and we average the results over 24 independently assembled models\.

##### Feature shifts and error gaps\.

We scale the weight changes at the regrouped units byϵ\\epsilon, keeping the remaining weights at the target expert’s values\. Atϵ=1\\epsilon=1the regrouped units receive the full weight change\. On 32 validation images per task, we compare the first\-order prediction with the actual feature shift\. For TA and TSV\-M, the median relative residual is close to one atϵ=1\\epsilon=1: the prediction error is comparable in size to the feature shift itself \([Table21](https://arxiv.org/html/2611.33308#A4.T21)\)\. The feature\-error gap compares two squared errors, so it can still be predicted well when this vector residual is large\.

For the gap in[Eq\.4](https://arxiv.org/html/2611.33308#S4.E4), we subtract the measured feature error under independent grouping from that under shared grouping\. We sum the measured and predicted gaps separately over the 100 tasks and compare the two sums\. Atϵ=0\.25\\epsilon=0\.25, the ratio of the measured sum to the predicted sum is close to one for all four methods \(0\.89–1\.01\)\. Atϵ=1\\epsilon=1, independent grouping gives lower measured feature error on at least 87% of tasks for each method, but the ratio varies by method \(0\.32–1\.29\)\.

Table 21:Relative output residual of the first\-order approximation\.Median \[interquartile range\] over 100 ViT\-B/32 tasks\. Shared\-grouping results are identical at layer and matrix granularity because every unit uses the same candidate group\.
##### Direct check of Proposition 2\.

On 12 prespecified tasks, covariance sums estimated from 65,536 sampled TA groups per task agree withc​HcHcomputed from all 99 partners within Monte Carlo uncertainty \([Table22](https://arxiv.org/html/2611.33308#A4.T22)\)\.

##### Partner alignment\.

For TA, Propositions 1 and 2 give a shared\-minus\-independent expected linearized feature\-error gap of2​c​S2cS, withc\>0c\>0\. Independent grouping therefore gives lower error whenS=∑u<vHu​vS=\\sum\_\{u<v\}H\_\{uv\}is positive\. We estimateSSfor each task to test whether feature shifts from the same partner tend to reinforce one another across units in our expert pools\.

To reduce computation, we sample ten of the 99 candidate partners per task\. At each unit, we subtract the ten partners’ mean response from each partner’s response, then take the inner product of the same partner’s centered responses at unitsuuandvv\. We divide the mean inner product by\(9/10\)​\(99/98\)\(9/10\)\(99/98\)to correct the finite\-sample bias\. This positive correction preserves the sign ofSS\. On both backbones, all 100 task estimates are positive, supporting the positive\-alignment condition for TA\. The tasks share candidate partners, so their estimates are dependent\.

Table 22:Direct check ofΓ=c​H\\Gamma=cHon 12 tasks\.We estimateΓ\\Gammafrom 65,536 balanced TA groups per task \(64 batches\) andHHfrom all 99 partners \(q=10q=10,λ=0\.15\\lambda=0\.15, 32 images\)\. Relative error is the Frobenius norm of the upper\-triangular discrepancy divided by that ofc​HcH\. Sum gap is the mean absolute relative difference between covariance sums\. The statisticzzis the difference between the estimated and analytic covariance sums divided by the Monte Carlo standard error of that difference\.

### D\.2Auxiliary parameters in complete deployments

Proposition 1 \([Eq\.4](https://arxiv.org/html/2611.33308#S4.E4)\) shows how reusing a grouping across units affects expected linearized feature error\. In the full model, how much of BRR\-layer’s accuracy gain comes from grouping the auxiliary parameters separately, and how much comes from changing partners across the main layers?

We start with one grouping shared by all parameters\. In the first step, the main layers keep this grouping, and we draw one separate grouping for the embeddings, layer norms and biases to share\. This is thep=1p=1control in[Sec\.D\.3](https://arxiv.org/html/2611.33308#A4.SS3)\. In the second step, we keep the same grouping rule for the auxiliary parameters and draw a grouping independently for each main layer, giving BRR\-layer\.

On ViT\-B/32 with TSV\-M atK=10K=10and the validation\-selected merge scale, mean accuracy over five seeds changes by−0\.03\-0\.03points from fully shared grouping to thep=1p=1control \(95% interval\[−0\.52,0\.43\]\[\-0\.52,0\.43\]\), then rises by 3\.78 points from that control to BRR\-layer \(\[2\.92,4\.76\]\[2\.92,4\.76\]\)\. Changing partners across the main layers therefore accounts for most of the gain in this setting\.

### D\.3Predicting grouping arrangements

#### D\.3\.1Overview of the 27 arrangements

Can the covariance in Proposition 1 predict accuracy when only some units share a grouping? Letpu​vp\_\{uv\}be the probability that unitsuuandvvuse the same draw, with independent draws otherwise\. For two arrangements with the same grouping distribution at each unit, Proposition 1 gives

𝔼⁡\[DAlin\]−𝔼⁡\[DBlin\]=2​∑u<v\(pu​vA−pu​vB\)​Γu​v\.\\mathbb\{E\}\\big\[D^\{\\mathrm\{lin\}\}\_\{\\mathrm\{A\}\}\\big\]\-\\mathbb\{E\}\\big\[D^\{\\mathrm\{lin\}\}\_\{\\mathrm\{B\}\}\\big\]=2\\sum\_\{u<v\}\\big\(p^\{\\mathrm\{A\}\}\_\{uv\}\-p^\{\\mathrm\{B\}\}\_\{uv\}\\big\)\\Gamma\_\{uv\}\.\(9\)
To predict accuracy, we first compute the fraction of shared\-grouping covariance that an arrangement removes,

F=∑u<v\(1−pu​v\)​Γu​v∑u<vΓu​v\.F=\\frac\{\\sum\_\{u<v\}\(1\-p\_\{uv\}\)\\Gamma\_\{uv\}\}\{\\sum\_\{u<v\}\\Gamma\_\{uv\}\}\.If accuracy gain is proportional to this reduction, the predicted gain over shared grouping isA​FAF, whereAAis the measured gain of the corresponding BRR endpoint\. The uniform rule weights all pairs equally\. The adjacent rule weights only neighboring pairs\.

On ViT\-B/32 \(N=100N=100,K=10K=10\), we made 27 comparisons across four families of grouping arrangements with five grouping seeds\. For blocks, placements and matrix ties, we used validation\-selected scales and each operator’s own covariance and endpoint\. Covariances come from[Sec\.4\.2](https://arxiv.org/html/2611.33308#S4.SS2): TSV\-M uses all 100 tasks, and TA’s layer\-pair covariance matrix uses the 20 tasks for which every entry was recorded\. The auxiliary parameters follow the default BRR grouping \([Sec\.D\.2](https://arxiv.org/html/2611.33308#A4.SS2)\)\.

Across the 27 comparisons, the covariance rule predicts accuracy gains with a mean absolute error of 0\.16 points, below both comparison rules \([Table23](https://arxiv.org/html/2611.33308#A4.T23)\)\. For two TSV\-M matrix arrangements \([Table29](https://arxiv.org/html/2611.33308#A4.T29)\), all ten runs had finished before the predictions were recorded\. One result was available to us and was not used\. Across the other 25 comparisons, for which predictions preceded access to results, mean absolute error remains 0\.16 points to two decimal places\.

Table 23:Mean absolute prediction error\(accuracy points, ViT\-B/32\), averaged over the arms of each family\. Cycling uses TSV\-M; the other families use TSV\-M and TA\. All rules use the same endpoint calibration\. Bold: lowest error in each row\. See[Sec\.D\.3\.1](https://arxiv.org/html/2611.33308#A4.SS3.SSS1)for the timing of the two additional TSV\-M matrix predictions\.
#### D\.3\.2Results by arrangement

##### Cycling and copy\-refresh\.

Six fixed patterns vary how often the 12 layers cycle through groupings: AAAAAABBBBBB, AAABBBAAABBB, AAAABBBBCCCC, ABABABABABAB, ABCABCABCABC and ABCDABCDABCD\. Each letter denotes an independent balanced draw\. In copy\-refresh, each layer after the first copies the preceding grouping with probabilityppand draws a fresh one otherwise\. Layersb<cb<ctherefore share a draw with probabilitypc−bp^\{c\-b\}\.

Predictions used TSV\-M layer covariances and the previously measured BRR\-layer endpoint; these predictions and both comparison rules were fixed on 2026\-10\-30 \(SHA\-2562acfc8fc…\)\. Measured gains use the matchedp=1p=1control in[Sec\.D\.2](https://arxiv.org/html/2611.33308#A4.SS2), with paired gains averaged over five seeds and intervals bootstrapped over tasks \(2,000 resamples\)\. More frequent copying lowers mean accuracy at both scales, and the covariance rule has less than half the prediction error of either comparison rule \([Tables24](https://arxiv.org/html/2611.33308#A4.T24)and[25](https://arxiv.org/html/2611.33308#A4.T25)\)\.

Table 24:Measured and predicted accuracy gains \(points\) for nine cycling and copy\-refresh arrangements atα=1\\alpha=1\. Measured gains use the matchedp=1p=1arm\. Predictions use the earlier BRR\-layer gain over shared grouping \(\+2\.07\+2\.07\)\. A separate five\-seed run atp=0p=0gives\+2\.09\+2\.09\(\[1\.67,2\.53\]\[1\.67,2\.53\]\)\. Intervals use paired bootstrap resampling over tasks\.Table 25:Measured and predicted accuracy gains \(points\) for nine cycling and copy\-refresh arrangements at validation\-selected scale\. Measured gains use the matchedp=1p=1arm\. Predictions use the earlier BRR\-layer gain over shared grouping \(\+3\.75\+3\.75\)\. Relative to the matchedp=1p=1arm, the same BRR\-layer run gives\+3\.78\+3\.78\([Sec\.D\.2](https://arxiv.org/html/2611.33308#A4.SS2)\), and a separate five\-seed run atp=0p=0gives\+3\.55\+3\.55\(\[2\.75,4\.43\]\[2\.75,4\.43\]\)\. Intervals use paired bootstrap resampling over tasks\.Using the same nine arrangements and TSV\-M fractionsFF, we calibrated predictions to the ACE\-Merging and Iso\-CTS endpoints before evaluation\. The covariance rule has the lowest error for both operators at the selected scale and for ACE\-Merging atα=1\\alpha=1\. It ties the uniform rule for Iso\-CTS atα=1\\alpha=1\([Table26](https://arxiv.org/html/2611.33308#A4.T26)\)\.

Table 26:Mean absolute error of predictions fixed in advance for other operators\.Accuracy points over the nine arrangements, ViT\-B/32, 100 tasks,K=10K\{=\}10\. Bold: lowest error in a row when it is unique\.
##### Blocks of layers\.

Shortening independently grouped blocks from six layers to three and then two increases mean accuracy for both operators, as predicted \([Table27](https://arxiv.org/html/2611.33308#A4.T27)\)\. Three comparisons among the 27 repeat a design with fresh draws: the six\-layer TSV\-M block repeats the 6\+6 switch, and evenly spaced changes repeat the three\-layer block for both operators\.

Table 27:Blocks of consecutive layers sharing a grouping\.Measured mean test accuracy \(%\) and sample standard deviation over five seeds, and the accuracies predicted by the covariance rule \(fixed before measurement\) and by the two comparison rules\. Endpoints: shared grouping 73\.79 \(TSV\-M\) and 57\.40 \(TA\); BRR\-layer 77\.53 and 61\.10\.
##### Placement of three changes\.

Here every arrangement has exactly three changes of grouping along the 12 layers, so the layers form four contiguous segments\. For each operator, we compare the placements with the largest and smallest predicted gains among the 165 possible placements, together with evenly spaced changes\. For TSV\-M, the predicted\-best placement beats the predicted\-worst in every seed but has no consistent advantage over even spacing\. The uniform rule also captures the best\-to\-worst gap and is closer for TA; the adjacent rule predicts no difference \([Table28](https://arxiv.org/html/2611.33308#A4.T28)\)\.

Table 28:Three partner changes at different layers\(ViT\-B/32,K=10K=10\)\. Measured mean test accuracy \(%\) and sample standard deviation over five seeds, with the covariance, uniform and adjacent predictions fixed before measurement\. Best and worst are the placements with the largest and smallest predictedFFfor each operator\. Endpoints: shared grouping 73\.79 \(TSV\-M\) and 57\.40 \(TA\); BRR\-layer 77\.53 and 61\.10\.
##### Tying matrices within a layer\.

With matrices as units, the six weight matrices of every layer \(in forward order: query, key, value and output projections, then the two MLP matrices\) are tied into sets that share a grouping; all sets are independent of one another\. We considered all five ways to split the six matrices into two contiguous sets\. Using only the72×7272\\times 72covariance, we selected the split with the largestFF\(the second MLP matrix alone\) and the split with the smallestFF\(the query projection alone\)\. Each split isolates one end matrix, so the two splits tie the same number of pairs overall and the same number of adjacent pairs\. Each comparison rule therefore predicts the same gain for the two splits\.

For both TSV\-M and TA, the covariance rule favors isolating the second MLP matrix, and this split wins in every seed\. For TSV\-M the rule overestimates the difference \([Table29](https://arxiv.org/html/2611.33308#A4.T29)\)\.

Table 29:Tying the matrices of a layer\(ViT\-B/32,K=10K=10\)\. Mean test accuracy \(%\) and sample standard deviation over five seeds, with predictions fixed before the runs \(for the TSV\-M two\- and three\-set arrangements, see[Sec\.D\.3\.1](https://arxiv.org/html/2611.33308#A4.SS3.SSS1)for timing\)\. Two sets: the four attention matrices and the two MLP matrices; three sets: query and key, value and output, and the two MLP matrices\. Endpoints: shared grouping 73\.79 \(TSV\-M\) and 57\.40 \(TA\); BRR\-matrix 78\.38 and 61\.87\.For the additional two\- and three\-set TSV\-M arrangements in[Table29](https://arxiv.org/html/2611.33308#A4.T29), both predicted and measured accuracies were close\.

##### Placement of a single switch\.

To test whether the ranking of the cycling arrangements above can be explained by the number of switches alone, we use two groupings and exactly one switch in every arrangement: layers1,…,s1,\\dots,suse grouping A and the remaining layers use grouping B, withs∈\{2,4,6,8,10\}s\\in\\\{2,4,6,8,10\\\}\. For each seed, these arrangements reuse the first two cycling groupings, sos=6s\{=\}6coincides with the 6\+6 switch\. These five arrangements are not among the 27 arms and are evaluated atα=1\\alpha=1only\.

At fixed budget, the covariance rule correctly orders the mean gains for eight of ten pairs of switch points, but its task\-level success rate is only 61% \(ties excluded, interval\[0\.57,0\.66\]\[0\.57,0\.66\]\)\. A post\-hoc rule using only the covariance across the switch has the same rank correlation but larger magnitude errors \([Table30](https://arxiv.org/html/2611.33308#A4.T30)\)\.

Table 30:Where to switch: the covariance prediction has the smallest error\.Equal\-budget arrangements \(two groupings, one switch ats∈\{2,4,6,8,10\}s\\in\\\{2,4,6,8,10\\\}\), TSV\-M, ViT\-B/32, 100 tasks,K=10K\{=\}10, five seeds,α=1\\alpha\{=\}1\. Error ratio: feature\-error gap normalized by the gap between the shared grouping and BRR\-layer\. Bold: lowest error in each column\.
##### Rules evaluated after the runs\.

With the same endpoint calibration, a rule using only layer distance has a mean absolute error of 0\.23 points across all 27 comparisons, against 0\.16 for covariance\. For the matrix ties tested here, matrix type and layer distance reproduce the full covariance predictions \([Table31](https://arxiv.org/html/2611.33308#A4.T31)\)\.

Table 31:Mean absolute error of the covariance rule and of simpler ruleson ViT\-B/32 \(points; all rules use the same endpoint calibration\)\. Cov\., Unif\., Adj\.: the covariance prediction and the uniform and adjacent rules\. See[Sec\.D\.3\.1](https://arxiv.org/html/2611.33308#A4.SS3.SSS1)for prediction timing in the second TSV\-M tie pair\. The remaining columns were computed after all accuracies were known: Avg\., the mean of the uniform and adjacent predictions; Dist\.,Γu​v\\Gamma\_\{uv\}replaced by its mean over unit pairs at the same layer distance; Type\+dist\., by its mean over pairs with the same matrix types and layer distance \(equal to Dist\. for layer\-level arrangements\); Geom\.,Γb​c∝0\.6\|b−c\|\\Gamma\_\{bc\}\\propto 0\.6^\{\|b\-c\|\}\(layer\-level arrangements only\)\.∗: the 21 layer\-level arms only\.

## Appendix EAnalysis\-guided group selection

##### Search setup\.

We test whether accounting for interactions between units helps select better groupings\. At each unit, either a layer or a weight matrix, all three objectives choose from the same 64 balanced candidate groupings, including the one used by random BRR\. Each search uses 16 unlabeled validation images per task\. We measure feature error on a separate set of 16 images per task and classification accuracy on the test sets\. We use TSV\-M on 100 ViT\-B/32 tasks atK=10K=10, with fresh candidates for each of five seeds\. All comparisons useα=1\.4\\alpha=1\.4\. Validation selected this scale in every run except one matrix\-level search with the actual objective, which selected 1\.6 \([Table32](https://arxiv.org/html/2611.33308#A5.T32)\)\.

Letϕt,u​\(x\)\\phi\_\{t,u\}\(x\)be the first\-order change in the final normalized feature of expertttwhen unituuis merged\. The single\-unit objective sums the squared feature shifts, so each unit can choose its grouping independently\. The full linearized objective also accounts for how shifts from different units interact \([Eq\.3](https://arxiv.org/html/2611.33308#S4.E3)\):

ℒfull=\\displaystyle\\mathcal\{L\}\_\{\\mathrm\{full\}\}=\{\}1N​∑t∑u𝔼x​‖ϕt,u​\(x\)‖2⏟ℒunit\\displaystyle\\underbrace\{\\frac\{1\}\{N\}\\sum\_\{t\}\\sum\_\{u\}\\mathbb\{E\}\_\{x\}\\\|\\phi\_\{t,u\}\(x\)\\\|^\{2\}\}\_\{\\mathcal\{L\}\_\{\\mathrm\{unit\}\}\}\+2N∑t∑u<v𝔼x⟨ϕt,u\(x\),ϕt,v\(x\)⟩\.\\displaystyle\+\\frac\{2\}\{N\}\\sum\_\{t\}\\sum\_\{u<v\}\\mathbb\{E\}\_\{x\}\\langle\\phi\_\{t,u\}\(x\),\\phi\_\{t,v\}\(x\)\\rangle\.The third objective runs the assembled model and measures its actual feature error relative to each task expert \([Eq\.2](https://arxiv.org/html/2611.33308#S4.E2)\), averaged over tasks\. For the full linearized and actual objectives, we initialize the search greedily, then revisit one unit at a time with the other groupings fixed until a full pass changes no grouping\.

Table 32:Group selection under three objectives\.Held\-out feature errors and test accuracy at fixedα=1\.4\\alpha=1\.4, reported as means and sample standard deviations over five seeds\. Bold marks the lowest mean error or highest mean accuracy at each granularity\. In the one matrix\-level run that selectedα=1\.6\\alpha=1\.6, test accuracy was 78\.89% at 1\.6 and 78\.99% at 1\.4\.
##### Selection results\.

Including cross\-unit interactions improves test accuracy over single\-unit selection in all five seeds at both granularities \([Table33](https://arxiv.org/html/2611.33308#A5.T33)\)\. Selecting groups by actual feature error reduces held\-out actual error further in every seed, but adds only 0\.06 percentage points to mean test accuracy for layers and 0\.09 for matrices\. The selected models also have higher mean linearized error than those chosen by the linearized objective \([Table32](https://arxiv.org/html/2611.33308#A5.T32)\)\. Thus, the two objectives favor different groupings even though their mean test accuracies are close\.

Table 33:Paired differences between selection objectives\.Differences are computed within each seed atα=1\.4\\alpha=1\.4and reported as mean±\\pmsample standard deviation\. Counts show how often the first objective gives higher accuracy or lower error\. For layer\-level accuracy, the mean paired gain of linearized over single\-unit selection is 0\.30 points\. Subtracting the rounded means in[Table7](https://arxiv.org/html/2611.33308#S4.T7)gives 0\.29\.
##### Search cost\.

Linearized search computes each candidate’s feature shift once and reuses it to score combinations\. Direct evaluation runs the assembled model for each combination it considers\. Including precomputation, linearized search costs slightly more per seed at layer level and less at matrix level than direct evaluation \([Table34](https://arxiv.org/html/2611.33308#A5.T34)\)\.

Table 34:Search time and total cost per seed\.Search times are wall\-clock ranges on shared GPUs\. Total costs include candidate preparation\. Direct\-evaluation costs are means over five seeds\. Linearized costs are approximate, with timings available for four layer\-level seeds and three matrix\-level seeds\.

## Appendix FStorage and deployment

##### Deployment storage\.

At the same budgetKK, shared grouping, BRR\-layer and BRR\-matrix each storeKKbackbones’ worth of merged weights to serve all 100 tasks\. Finer grouping increases only the routing table, which stores one byte per task for each distinct grouping and occupies at most 7\.3 KB \([Table35](https://arxiv.org/html/2611.33308#A6.T35)\)\.

Table 35:Deployment storage for 100 ViT\-B/32 tasks\.Merged weights and total storage are measured in backbone equivalents \(0\.326 GiB each in FP32\)\. Routing indices are included in the totals but are too small to affect the displayed values\. The mask\-based deployment adds 4\.13 backbone equivalents: one for the base weights and 3\.13 for the packed masks and, for EMR, its rescaling factors\. FlexMerge stops at the first merge that brings storage below its target budget\.
##### Routed inference\.

Shared grouping, BRR\-layer, BRR\-matrix and FlexMerge select one stored module per sample in each unit, so each requires the same backbone computation as a single model\. Our implementation processes the samples that use the same module together and reorders their activations whenever the grouping changes\. A ViT\-B/32 forward pass requires one such reordering for shared grouping, 13 for BRR\-layer, 73 for BRR\-matrix and 25 for FlexMerge, which applies one grouping to all matrices of an attention or MLP block\. Channel Merging clusters each output channel separately, so a task’s weight matrix is not one of the stored matrices\. We serve it by gathering, for each matrix and each task in the batch, that task’s rows from the stored copies and applying the gathered matrix to the task’s samples\. Computing all ten cluster outputs and then selecting one per channel was 2\.4–4\.2 times slower\. For every method, on three tasks, the maximum absolute difference in pooled features between routed inference and a model assembled for the individual task was at most9\.1×10−69\.1\\times 10^\{\-6\}\.

We timed all five methods in a single run on ViT\-B/32 with 100 tasks,K=10K=10andα=1\\alpha=1\. The grouping methods use TSV\-M merges, and Channel Merging uses its own merge rule; latency does not depend on the merged values\. Measurements used one NVIDIA RTX 6000 Ada GPU that ran no other process, with tasks sampled uniformly and identical batches for all methods\.

At batch sizes 64 and 256, BRR\-layer added 2% latency relative to shared routing, FlexMerge 6%, BRR\-matrix 14%–16% and Channel Merging 81%–142% \([Table36](https://arxiv.org/html/2611.33308#A6.T36)\)\. At batch size 16, where the reorderings are amortized over fewer samples, these overheads were 22%, 28%, 82% and 93%\. FlexMerge’s authors instead serve each task through its own view of the merged weights and process the tasks’ sub\-batches in parallel\. Running these sub\-batches one after another took 1\.96–3\.51 times as long as shared routing when tasks were drawn uniformly from all 100, which bounds the cost of parallel execution from above\. This serving style runs one assembled model per task, so its cost is the same for shared grouping, BRR and FlexMerge\. At the validation\-selected scale, BRR\-layer retains about 82% of BRR\-matrix’s accuracy gain over shared grouping in this TSV\-M setting \(computed from unrounded gains;[Table1](https://arxiv.org/html/2611.33308#S2.T1)\), with much lower routing overhead at batch sizes 64 and 256\.

Table 36:Routed inference latency\.Median latency and its ratio to a single assembled model \(“dense”; 8\.1, 29\.7 and 118\.5 ms at batch sizes 16, 64 and 256\), with tasks sampled uniformly\. Each of three passes tested all methods and batch sizes in random order, with five warm\-up and 20 timed forward passes per condition and seed\. We report the median of the 60 timed forward passes for each seed, averaged over three grouping seeds \(Channel Merging: three clustering seeds; FlexMerge: its single deterministic grouping\)\. Channel Merging gathers each task’s rows per matrix; all other methods route samples to stored modules\.

## Appendix GOther experts and tasks

### G\.1Vision\-language experiment details

#### G\.1\.1Experts, tasks and metrics

We use six visual question\-answering \(VQA\) tasks—ScienceQA\-IMG, IconQA, VSR, TallyQA, PathVQA and VizWiz—and four image\-classification tasks presented as four\-way multiple choice: Stanford Cars, FGVC\-Aircraft, DTD and RESISC45\. We score VizWiz by VQA accuracy, the other VQA tasks by exact or relaxed match, and the multiple\-choice tasks by classification accuracy\. The overall score is the unweighted mean of the ten task scores\.

For each task, we fine\-tune InternVL2\.5\-1B\[[2](https://arxiv.org/html/2611.33308#bib.bib2)\]and Qwen2\-VL\-7B\[[16](https://arxiv.org/html/2611.33308#bib.bib16)\]separately, updating all language\-model parameters while keeping the vision tower and projector frozen\. Both models train for 1,000 steps with batch size 16, AdamW, weight decay 0\.01, 3% warmup and a cosine learning\-rate schedule\. Learning rates selected on three pilot tasks are10−510^\{\-5\}for InternVL and5×10−65\\times 10^\{\-6\}for Qwen\.

#### G\.1\.2Merge scale and uncertainty

For FlexMerge with TA,[Tables3](https://arxiv.org/html/2611.33308#S2.T3)and[37](https://arxiv.org/html/2611.33308#A7.T37)report the stronger variant, which scales the mean task vector in each group\. The task\-type breakdown in[Table38](https://arxiv.org/html/2611.33308#A7.T38)uses the sum of the task vectors for this baseline\. Shared grouping, both BRR variants and the single merged model use group\-sum scaling with TA throughout\.

We select the merge scale on validation data for each grouping seed\. All four merging methods start from the grid\{0\.1,0\.3,0\.5,0\.7,1\.0,1\.5\}\\\{0\.1,0\.3,0\.5,0\.7,1\.0,1\.5\\\}\. When an endpoint gives the highest validation score, we extend the grid in that direction\. The search stops at 0\.02 on the lower end and 4\.0 on the upper end\. Ties are resolved in favor of the smaller scale\. In 23 Iso\-CTS runs, validation selected the final upper bound of 4\.0\. For randomized methods, we first average the ten task scores within each seed, then report the mean and sample standard deviation across five seeds\. FlexMerge uses one grouping\.

### G\.2Additional vision\-language results

#### G\.2\.1Results atK=5K=5

With ten experts and five balanced groups, each expert has just one partner per unit\. On InternVL2\.5\-1B, mean scores still follow BRR\-matrix\>\>BRR\-layer\>\>shared grouping for all four merging methods \([Table37](https://arxiv.org/html/2611.33308#A7.T37)\)\. On Qwen2\-VL\-7B, the three schemes are within 0\.4 points of one another for each method, and the direction of the BRR\-matrix gain over shared grouping depends on the method\.

Table 37:Vision\-language results with two experts per balanced group \(K=5K=5\)\.Scores are ten\-task macro\-averages \(%\)\. Randomized methods report the mean and sample standard deviation over five seeds\. FlexMerge uses one grouping and group\-mean scaling for TA\. Channel Merging uses its own merge rule and yields one score per backbone\. Bold marks the highest mean among FlexMerge, Shared, BRR\-layer and BRR\-matrix in each column\.
#### G\.2\.2Question\-answering and multiple\-choice tasks

[Table38](https://arxiv.org/html/2611.33308#A7.T38)separates the two task types to check whether an overall gain conceals a decline in either category\. On InternVL2\.5\-1B, BRR\-matrix scores higher than shared grouping in both category means at both budgets for all four merging methods\. On Qwen2\-VL\-7B, the result depends on the method\. With ACE\-Merging atK=5K=5, for example, both category means are slightly lower under BRR\-matrix\.

Table 38:Vision\-language scores by task type atK=2K=2andK=5K=5\.VQA is the mean score over six question\-answering tasks, and MC is the mean accuracy over four multiple\-choice tasks\. Scores \(%\) are averaged over seeds for randomized methods\. FlexMerge with TA uses group\-sum scaling in this table\.

Similar Articles

Bayesian Model Merging

arXiv cs.LG

Introduces Bayesian Model Merging (BMM), a plug-and-play bi-level optimization framework for combining multiple task-specific experts into a single model, achieving state-of-the-art performance on vision and language benchmarks.

Model Merging as Probabilistic Inference in Fine-Tuning Parameter Space

arXiv cs.LG

This paper frames model merging as probabilistic inference under a product-of-experts scenario, showing that existing methods are special cases and proposing a heavy-tailed Cauchy expert design that better captures real residual behavior, achieving significant improvements over state-of-the-art baselines.

Sparsity Curse: Understanding RLVR Model Parameter Space from Model Merging

arXiv cs.LG

This paper investigates the 'sparsity curse' in merging RLVR (Reinforcement Learning with Verifiable Reward) models, finding that sparse updates cause near-orthogonal parameter directions that hinder aggregation, and proposes SAR-Merging, which uses Fisher information and sparsification to resolve conflicts and improve merging performance on math and coding tasks.