AMARIS: Merging Generalist and Specialist LLMs via Adaptive Subspace Inheritance
Organizations: DSO National Laboratories, Singapore
Abstract
Domain specialization of large language models (LLMs) often improves target-domain performance but degrades broad capabilities. Model merging is an attractive training-free alternative, yet common parameter-space strategies (for example, interpolation and sparsified averaging) provide limited control over task-specific interference. We introduce Adaptive Model Alignment via Ranked Inherited Subspaces (AMARIS), a covariance-driven framework that transfers specialist updates only along selected activation directions. AMARIS formulates merging as budgeted subspace inheritance: it seeks high specialist activation capture under a regularized base-output perturbation budget, then builds a low-rank projection gate from ranked generalized eigendirections. This yields a single static merged checkpoint that concentrates transfer in high-utility, low-interference directions. We evaluate AMARIS on Qwen3-based merges (8B and 32B) across finance, instruction-following, and multilingual SEA specialization. In our evaluated settings, AMARIS reaches Pareto operating points that are competitive with strong training-free baselines, including 98.37% specialist retention with 95.16% core retention for the 8B finance setting, 103.55% core retention with 90.28% specialist retention for the 8B instruction-following setting, and 99.20% core retention with 94.80% specialist retention for the 32B SEA setting. These results support subspace-constrained merging as a practical route to compositional capability integration without additional training.
Figures & tables
| Core | Specialist | |||||
|---|---|---|---|---|---|---|
| Model | AIME26 | LCB_v6 | IFEval | GPQA:Diamond | Core Avg. | FPB |
| Qwen3-8B | 65.63 [100.00%] | 48.00 [100.00%] | 88.17 [100.00%] | 57.58 [100.00%] | 64.85 [100.00%] | 79.23 [94.92%] |
| ODA-Fin-RL | 58.96 [89.84%] | 50.86 [105.96%] | 62.85 [71.28%] | 48.99 [85.08%] | 55.42 [85.46%] | 83.47 [100.00%] |
| Linear | 63.96 [97.46%] | 53.14 [110.71%] | 71.53 [81.13%] | 45.96 [79.82%] | 58.65 [90.44%] | 83.04 [99.48%] |
| SLERP | 60.00 [91.42%] | 49.71 [103.56%] | 74.86 [84.90%] | 52.02 [90.34%] | 59.15 [91.21%] | 82.99 [99.42%] |
| TIES | 55.83 [85.07%] | 45.14 [94.04%] | 68.21 [77.36%] | 47.98 [83.33%] | 54.29 [83.72%] | 82.87 [99.28%] |
| Core | Specialist | |||||
|---|---|---|---|---|---|---|
| Model | AIME26 | LCB_v6 | IFEval | GPQA:Diamond | Core Avg. | IFBench |
| Qwen3-8B | 65.63 [100.00%] | 48.00 [100.00%] | 88.17 [100.00%] | 57.58 [100.00%] | 64.85 [100.00%] | 34.33 [76.85%] |
| Light-IF-8B | 54.58 [83.16%] | 47.43 [98.81%] | 90.20 [102.30%] | 57.07 [99.11%] | 62.32 [96.10%] | 44.67 [100.00%] |
| Linear | 58.33 [88.88%] | 47.43 [98.81%] | 90.39 [102.52%] | 58.59 [101.75%] | 63.69 [98.21%] | 41.33 [92.52%] |
| SLERP | 62.29 [94.91%] | 47.43 [98.81%] | 90.94 [103.14%] | 58.08 [100.87%] | 64.69 [99.75%] | 39.00 [87.31%] |
| TIES | 60.83 [92.69%] | 49.14 [102.38%] | 90.02 [102.10%] | 56.06 [97.36%] | 64.01 [98.70%] | 42.67 [95.52%] |
| Core | Specialist | |||||
|---|---|---|---|---|---|---|
| Model | AIME26 | LCB_v6 | IFEval | GPQA:Diamond | Core Avg. | SEAHELM |
| Qwen3-32B | 71.88 [100.00%] | 58.29 [100.00%] | 87.62 [100.00%] | 62.63 [100.00%] | 70.11 [100.00%] | 62.69 [92.89%] |
| Qwen-SEA-LION-v4-32B-IT | 19.17 [26.67%] | 27.43 [47.06%] | 87.99 [100.42%] | 53.54 [85.49%] | 47.03 [67.08%] | 67.49 [100.00%] |
| RegMean | 70.80 [98.50%] | 57.70 [98.99%] | 87.40 [99.75%] | 57.10 [91.17%] | 68.25 [97.35%] | 53.79 [79.70%] |
| Linear | 69.17 [96.23%] | 57.71 [99.00%] | 87.80 [100.21%] | 57.58 [91.94%] | 68.07 [97.09%] | 52.93 [78.43%] |
| AMARIS ( , ) | 71.88 [100.00%] | 59.40 [101.90%] | 86.32 [98.52%] | 60.60 [96.76%] | 69.55 [99.20%] | 63.98 [94.80%] |
| Language | Base | AMARIS | Specialist | vs. base | 95% CI |
|---|---|---|---|---|---|
| Indonesian | 71.99 | 72.31 | 71.77 | 0.31 | [-0.50, 1.13] |
| Vietnamese | 68.12 | 68.65 | 67.20 | 0.53 | [-0.25, 1.40] |
| Thai | 63.23 | 63.87 | 65.22 | 0.64 | [-0.20, 1.49] |
| Tamil | 41.83 | 46.17 | 63.04 | 4.34 | [2.82, 6.00] |
| Tagalog | 68.27 | 68.91 | 70.20 | 0.64 | [-0.71, 2.03] |
| Overall | 62.69 | 63.98 | 67.49 | 1.29 | [0.80, 1.82] |
| Setting | Comparator | Core Avg. | 95% CI | Specialist | 95% CI |
|---|---|---|---|---|---|
| 8B Finance | LEWIS-DARE-TIES | 6.01 | [3.07, 8.90] | -1.89 | [-2.69, -1.09] |
| 8B Finance | RegMean | 1.76 | [-0.62, 4.13] | 0.23 | [-0.50, 0.95] |
| 8B IF | DARE-TIES | 4.71 | [2.08, 7.38] | -5.34 | [-10.67, 0.00] |
| 8B IF | RegMean | 1.87 | [-0.41, 4.17] | -3.33 | [-8.33, 1.34] |
| 32B SEA | Linear | 1.48 | [-0.80, 3.87] | 11.05 | [9.99, 12.04] |
| 32B SEA | RegMean | 1.30 | [-1.11, 3.80] | 10.19 | [9.15, 11.15] |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Setting | Comparator | Core | 95% CI | Specialist | 95% CI |
|---|---|---|---|---|---|
| Finance | LEWIS-DARE-TIES | 6.01 | [3.07, 8.90] | -1.89 | [-2.69, -1.09] |
| Finance | Linear | 3.06 | [0.29, 5.80] | -0.92 | [-1.70, -0.16] |
| Finance | RegMean | 1.76 | [-0.62, 4.13] | 0.23 | [-0.50, 0.95] |
| Finance | Base | -3.13 | [-5.66, -0.63] | 2.88 | [1.99, 3.79] |
| Finance | Specialist | 6.30 | [3.50, 9.03] | -1.35 | [-2.11, -0.55] |
| IF | DARE-TIES | 4.71 | [2.08, 7.38] | -5.34 | [-10.67, 0.00] |
| Comparator | Core | 95% CI | SEAHELM | 95% CI |
|---|---|---|---|---|
| Base | -0.56 | [-2.86, 1.80] | 1.29 | [0.80, 1.82] |
| Specialist | 22.52 | [18.27, 26.67] | -3.51 | [-4.33, -2.66] |
| RegMean | 1.30 | [-1.11, 3.80] | 10.19 | [9.15, 11.15] |
| Linear | 1.48 | [-0.80, 3.87] | 11.05 | [9.99, 12.04] |
| Core | Specialist | |||||
| Model | AIME26 | LCB_v6 | IFEval | GPQA:Diamond | Core Avg. | SEAHELM |
| Qwen3-32B | 71.88 [100.00%] | 58.29 [100.00%] | 87.62 [100.00%] | 62.63 [100.00%] | 70.11 [100.00%] | 62.69 [92.89%] |
| Qwen-SEA-LION-v4-32B-IT | 19.17 [26.67%] | 27.43 [47.06%] | 87.99 [100.42%] | 53.54 [85.49%] | 47.03 [67.08%] | 67.49 [100.00%] |
| TIES | 64.79 [90.14%] | 60.57 [103.91%] | 86.69 [98.94%] | 56.57 [90.32%] | 67.16 [95.79%] | 54.62 [80.93%] |
| DARE-TIES | 58.75 [81.73%] | 49.71 [85.28%] | 87.25 [99.58%] | 60.10 [95.96%] | 63.95 [91.21%] | 54.49 [80.74%] |
| LEWIS-TIES | 62.71 [87.24%] | 54.86 [94.12%] | 85.03 [97.04%] | 61.11 [97.57%] | 65.93 [94.04%] | 54.78 [81.17%] |
| Metric | SEA-Instruct | SEA-PILE | |
|---|---|---|---|
| SEAHELM | |||
| Indonesian | 72.31 | 72.45 | +0.14 |
| Vietnamese | 68.65 | 68.72 | +0.07 |
| Thai | 63.87 | 63.92 | +0.05 |
| Tamil | 46.17 | 46.80 | +0.63 |
| Tagalog | 68.91 | 69.27 | +0.36 |
| Scale | Cov. (min) | Basis/greedy (min) | Merge/save (min) | Total (min) | Peak (GiB) | Hardware |
|---|---|---|---|---|---|---|
| 8B | 13 | 1 | 1 | 15 | 49.33 | 1 H200 |
| 32B | 92 | 11 | 2 | 105 | 163.34 | 2 H200 |
| Module | Layers 1–16 | Layers 17–32 | Layers 33–48 | Layers 49–64 |
|---|---|---|---|---|
| q_proj | 634 | 119 | 66 | 16 |
| k_proj | 571 | 117 | 48 | 12 |
| v_proj | 550 | 100 | 35 | 11 |
| o_proj | 738 | 631 | 428 | 260 |
| gate_proj | 531 | 15 | 13 | 6 |
| up_proj | 527 | 14 | 12 | 7 |
| Benchmark | Temp. | Top- | Top- | Max new tokens | Seed | Samples | Metric |
|---|---|---|---|---|---|---|---|
| AIME26 | 0.6 | 0.95 | 20 | 32768 | 1234 | 16 | pass@1 mean of 16 |
| LCB_v6 | 0.6 | 0.95 | 20 | 32768 | 1234 | 16 | pass@1 unit tests mean of 16 |
| GPQA-Diamond | 0.6 | 0.95 | 20 | 32768 | 1234 | 8 | pass@1 mean of 8 |
| IFEval | 0.6 | 0.95 | 20 | 32768 | 1234 | 1 | prompt-level loose accuracy |
| IFBench | 0.6 | 0.95 | 20 | 32768 | 1234 | 1 | prompt-level loose accuracy pass@1 |
| FPB | 0.6 | 0.95 | 20 | 32768 | 1234 | 1 | weighted F1 |
| Method | Sweep grid |
|---|---|
| Linear ( ) | |
| SLERP ( ) | |
| TIES ( - ) | - - - - - - - - - - |
| DARE-TIES ( - ) | - - - - - - - - - - |
| LEWIS (for TIES and DARE-TIES, - ) | - - - - - - - - - - |
| RegMean ( ) |
| Method | Sweep grid |
|---|---|
| Linear ( ) | |
| RegMean ( ) | |
| AMARIS ( ) |
| Method | |||||||
|---|---|---|---|---|---|---|---|
| Linear | 0.8 | – | – | – | – | – | – |
| SLERP | – | 0.8 | – | – | – | – | – |
| TIES | – | – | 0.5 | 1.0 | – | – | – |
| DARE-TIES | – | – | 0.7 | 1.0 | – | – | – |
| RegMean | 1.0 | – | – | – | – | – | – |
| LEWIS-TIES | – | – | – | – | 0.4 | 0.7 | – |
| Method | |||||||
|---|---|---|---|---|---|---|---|
| Linear | 0.7 | – | – | – | – | – | – |
| SLERP | – | 0.6 | – | – | – | – | – |
| TIES | – | – | 0.2 | 0.7 | – | – | – |
| DARE-TIES | – | – | 0.7 | 1.0 | – | – | – |
| RegMean | 0.9 | – | – | – | – | – | – |
| LEWIS-TIES | – | – | – | – | 0.2 | 0.5 | – |
| Method | |||||||
|---|---|---|---|---|---|---|---|
| Validation-tuned methods | |||||||
| Linear | 0.1 | – | – | – | – | – | – |
| RegMean | 0.2 | – | – | – | – | – | – |
| AMARIS | – | – | – | – | – | – | 0.001 |
| Untuned methods | |||||||
| TIES | – | – | 0.2 | 1.0 | – | – | – |