Escaping Low-Dimensional Overlap: Multi-Task Model Merging via High-Dimensional Sparse Disentanglement
Organizations: Central South University · Nanjing University of Science and Technology · Hefei University of Technology
Abstract
Model merging provides an efficient way to construct multi-task generalist models without additional training, but its performance often degrades under severe task interference. Task interference in model merging primarily stems from superposition, where task-specific features become entangled within the parameter space. This entanglement renders conventional decomposition methods insufficient for effectively isolating useful task directions from interfering components. In this paper, we propose a sparse-representation-based merging framework that uses Sparse Autoencoders (SAEs) to project task vectors into a high-dimensional sparse feature space, enabling feature-level disentanglement before fusion. To reduce computational overhead, we further introduce a lightweight Group-Ranked Zeroth-Order Optimizer (GR-ZOO) to identify task-critical layers for selective merging. Experiments on both Qwen2.5-1.5B and Qwen2.5-7B demonstrate that our method consistently outperforms representative baselines, including Task Arithmetic, TIES-Merge, DARE, Fisher-Merge,and several recent training-free merging methods, across mathematical reasoning, code generation, instruction following, and general knowledge tasks. In a highly conflicting four-task setting on Qwen2.5-1.5B, our method further achieves a 2.78% improvement over the strongest baseline.
Figures & tables
| Methods | Math (GSM8k) | Code (HumanEval+) | IF (IFEval) | Average |
|---|---|---|---|---|
| Task Arithmetic | 83.85 | 73.80 | 45.47 | 67.71 |
| TIES-Merge | 83.40 | 75.00 | 38.45 | 65.62 |
| DARE+TIES | 83.62 | 72.60 | 36.78 | 64.33 |
| Fisher-Merge | 84.00 | 75.60 | 41.59 | 67.06 |
| TSV-Merge | 83.32 | 72.88 | 45.77 | 67.32 |
| WUDI-Merging | 82.79 | 73.49 | 44.74 | 67.01 |
| Methods | Math | General | Code | Safe | Average | |||
|---|---|---|---|---|---|---|---|---|
| GSM8k | STEM | Social Sciences | Humanities | Others | HumanEval | BeaverTail | ||
| Task Arithmetic | 33.74 | 8.91 | 9.39 | 7.48 | 7.00 | 0.00 | 41.60 | 15.45 |
| TIES-Merge | 51.10 | 19.48 | 15.70 | 14.73 | 11.75 | 32.93 | 61.05 | 29.53 |
| DARE+TIES | 52.16 | 20.44 | 14.85 | 13.62 | 11.14 | 31.71 | 49.91 | 27.69 |
| Fisher-Merge | 60.80 | 22.13 | 6.47 | 10.74 | 5.74 | 36.59 | 39.00 | 25.92 |
| TSV-Merge | 52.00 | 30.10 | 33.30 | 29.70 | 38.80 | 15.00 | 29.00 | 32.24 |
| Component | Variant | Metric Avg. |
| Projection Space | PCA | 30.80 |
| Random Projection | 31.01 | |
| SAE | 31.56 | |
| Layer Selection | First Layers | 28.27 |
| Random Selection | 27.64 | |
| Fisher Selection | 29.90 |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Item | Setting |
|---|---|
| Candidate / selected layers | 197 / 16 |
| Fraction of layers receiving SAE processing | 8.12% |
| Number of trained SAEs | 16 |
| Cold GR-ZOO time | 467.13s / 7.79min |
| Single-layer SAE training and latent encoding | 366.75s / 6.11min |
| Peak GPU memory | 25,153.93 MB |
| Metric | Raw | SAE |
|---|---|---|
| Pairwise active overlap | 0.3368 | 0.0983 |
| Active Jaccard | 0.2027 | 0.0518 |
| Task-specific active ratio | 29.40% | 73.84% |
| Shared active ratio | 70.60% | 26.16% |
| Shared feature ratio | 50.96% | 14.52% |
| GSM8K | HumanEval | MMLU | Avg. | |
|---|---|---|---|---|
| 8 | ||||
| 16 | ||||
| 24 | ||||
| 32 | ||||
| 64 |
| GSM8K | HumanEval | MMLU | Avg. | |
|---|---|---|---|---|
| Method | Math | General | Code | Metric Avg. | |||
|---|---|---|---|---|---|---|---|
| GSM8K | STEM | Social Sciences | Humanities | Others | HumanEval | ||
| Task Arithmetic | 53.14 | 33.63 | 46.99 | 33.79 | 42.91 | 14.63 | 37.52 |
| TIES-Merge | 51.93 | 30.35 | 29.90 | 27.97 | 26.77 | 31.10 | 33.00 |
| DARE+TIES | 56.02 | 29.26 | 28.34 | 25.80 | 25.29 | 32.93 | 32.94 |
| Fisher-Merge | 48.45 | 21.40 | 10.63 | 13.82 | 8.76 | 37.20 | 23.38 |
| SAE | 54.89 | 35.02 | 43.68 | 31.99 | 36.67 | 33.54 | 39.30 |
| Method | Math | General | Code | Safety | Metric Avg. | |||
|---|---|---|---|---|---|---|---|---|
| GSM8K | STEM | Social Sciences | Humanities | Others | HumanEval | BeaverTail | ||
| Task Arithmetic | 33.74 | 8.91 | 9.39 | 7.48 | 7.00 | 0.00 | 41.60 | 15.45 |
| TIES-Merge | 51.10 | 19.48 | 15.70 | 14.73 | 11.75 | 32.93 | 61.05 | 29.53 |
| DARE+TIES | 52.16 | 20.44 | 14.85 | 13.62 | 11.14 | 31.71 | 49.91 | 27.69 |
| Fisher-Merge | 60.80 | 22.13 | 6.47 | 10.74 | 5.74 | 36.59 | 39.00 | 25.92 |
| SAE | 51.18 | 27.44 | 33.44 | 22.51 | 26.22 | 32.93 | 52.97 | 35.24 |
| Component | Variant | GSM8K | HumanEval | IFEval | Metric Avg. |
|---|---|---|---|---|---|
| Projection Space | PCA | 41.09 | 35.98 | 15.34 | 30.80 |
| Random Projection | 40.94 | 38.41 | 13.68 | 31.01 | |
| SAE | 42.76 | 36.59 | 15.34 | 31.56 | |
| Layer Selection | First Layers | 42.84 | 28.66 | 13.31 | 28.27 |
| Random Selection | 40.94 | 28.66 | 13.31 | 27.64 | |
| Fisher Selection | 43.06 | 31.10 | 15.53 | 29.90 |
| Variant | FVU | Dead Features (%) | Post-Top- Active (%) | Pre-Top- Active (%) | Norm Std. | Atom Coherence |
|---|---|---|---|---|---|---|
| Full SAE | 0.1528 | 0.0488 | 8.33 | 20.22 | 0.0000 | 0.0176 |
| w/o Top- | 0.0212 | 0.0000 | 35.76 | 35.76 | 0.0000 | 0.0176 |
| w/o Residual Fitting | 0.1539 | 0.0000 | 8.33 | 26.83 | 0.0000 | 0.0176 |
| w/o Decoder Normalization | 0.1565 | 0.2441 | 8.33 | 18.25 | 0.0101 | 0.0176 |
| w/o Orthogonality | 0.0110 | 1.5299 | 8.33 | 14.39 | 0.0000 | 0.0224 |
| w/o Normalization and Orthogonality | 0.0107 | 5.1921 | 8.33 | 13.23 | 0.0094 | 0.0224 |