TL;DR
When you fine-tune an LLM for a specialized domain like finance or regional languages, it often suffers from "catastrophic forgetting" of its general math and coding skills. AMARIS offers a surgical, training-free way to merge a generalist and a specialist model: instead of blindly averaging their weights, it looks at how data actually flows through the layers and copies specialist updates only along geometric directions that won't trip up the base model. The result is a single, static checkpoint that keeps at least 95% of its core intelligence and 90% of its new specialist skills—no GPUs required for retraining or inference-time routing.
What Problem Does This Paper Address?
Imagine teaching a brilliant polymath how to read corporate balance sheets, only to discover they've suddenly forgotten basic algebra. In LLM development, sequential fine-tuning frequently causes general capabilities to regress as the model adapts to a new target distribution.
Model merging tries to get the best of both worlds without expensive retraining by mathematically blending the weights of a generalist base model and a fine-tuned specialist. However, standard merging heuristics—like linear interpolation ("model soups"), SLERP, or TIES—operate directly in parameter space. Because they don't look at actual data activations, they have no clear way of knowing which weight changes carry useful specialist knowledge and which ones will wreck the base model's existing reasoning circuits.
Methods
AMARIS (Adaptive Model Alignment via Ranked Inherited Subspaces) shifts model merging from blind weight-averaging to data-conditioned subspace geometry. Rather than applying a single global mixing knob, it treats each linear layer independently:
- Calibration: Pass small calibration datasets (1,000 examples each for base and specialist tasks) through their respective models to capture layer-input activation covariances ($C_1$ for base, $C_2$ for specialist).
- Spectral Ranking: Solve a generalized eigenvalue problem to rank activation directions by their "bang for the buck"—high specialist activation energy relative to base activation energy.
- Budgeted Greedy Selection: Set a user-controlled preservation budget $\alpha$ (the maximum fraction of base-output perturbation you are willing to tolerate). Step through the ranked candidate directions one by one, accepting a direction into your subspace only if the total output error on the base calibration data stays under budget.
- Static Projection: Construct a low-rank orthogonal projection matrix $P$ from the accepted directions and fold the specialist weight delta ($\Delta = W_2 - W_1$) directly into the base weights: $W_{\text{merge}} = W_1 + \Delta P$.
Crucially, if a future input activation doesn't align with the selected specialist subspace, it hits zero during projection and behaves identically to the original base model. Everything collapses into standard linear weights—no extra adapters or routers at deployment.
Datasets
Because AMARIS is training-free, datasets are used strictly for lightweight calibration (plus hyperparameter validation) and final evaluation. No new benchmarks are introduced.
- Calibration Sets (1,000 samples each): Math and instruction-following subsets from Yang et al. (2026) for base math/IF; finance questions from Cao et al. (2026); and
SEA-Instruct-2602(covering Indonesian, Vietnamese, Thai, Tamil, and Tagalog) for Southeast Asian (SEA) languages. - Core Capability Benchmarks: AIME26 (math), LiveCodeBench v6 (coding), IFEval (general instruction following), and GPQA:Diamond (graduate-level knowledge).
- Specialist Benchmarks: FPB (finance), IFBench (strict instruction following), and SEAHELM (SEA multilingual tasks).
Key Insights and Ideas
- Orthogonal protection works in practice: Restricting weight updates to low-interference activation subspaces shields general reasoning. In the 32B SEA language merge, the specialist checkpoint had lost over two-thirds of its math ability (dropping from 71.88 to 19.17 on AIME26), whereas AMARIS recovered the exact 71.88 base score while still transferring language gains.
- No single "sweet spot" budget: Sweeping the preservation budget $\alpha$ on the finance merge revealed that math performance peaked at $\alpha = 0.09$ while finance peaked at $\alpha = 0.18$. Different capabilities have non-aligned optima, highlighting why an explicit, tunable budget knob is valuable.
- Preventing negative interference: Standard data-aware and linear baselines actually degraded SEA language scores below the base model when trying to balance math and multilingualism, whereas subspace gating cleanly isolated a statistically significant +4.34-point boost in Tamil.
Key Results
Across all three Qwen3 merge experiments (8B Finance, 8B Instruction-Following, and 32B Multilingual SEA), AMARIS achieved the highest Core Average retention among all tested merging baselines, consistently preserving $>95\%$ core competence and $>90\%$ specialist performance.
- 8B Finance (
Qwen3-8B+ODA-Fin-RL-8B): Retained 95.16% of core skills (61.71 Core Avg., beating LEWIS-DARE-TIES by a statistically significant +6.01 points) while keeping 98.37% of specialist finance performance (82.11 FPB).
- 8B Instruction Following (
Qwen3-8B+Light-IF-8B): Achieved 103.55% core retention (67.15 Core Avg., actually outperforming the base model on math and GPQA) alongside 90.28% specialist retention (40.33 IFBench, a statistically significant jump over the base model's 34.33). - 32B Multilingual SEA (
Qwen3-32B+Qwen-SEA-LION-v4-32B-IT): Delivered 99.20% core retention (69.55 Core Avg.) and 94.80% specialist retention (63.98 SEAHELM), beating tuned RegMean and Linear merges by over +10 points on SEAHELM.
Limitations and Future Work
- Calibration sensitivity: Because subspace selection relies on empirical activation covariances, small, noisy, or distribution-shifted calibration sets could degrade real-world transfer reliability.
- Hyperparameter tuning: While training-free, AMARIS still requires choosing a budget $\alpha$, non-linear parameter interpolation weight $\beta$, and which layers to project.
- Pairwise & homogeneous: Experiments are currently limited to two-model merges sharing an identical architecture and tokenizer, and transfer is partial rather than 100% specialist recovery. Future work aims to tackle multi-specialist composition (where multiple specialists might conflict), heterogeneous model architectures, and automated budget selection.
Summary updated