AMARIS: Merging Generalist and Specialist LLMs via Adaptive Subspace Inheritance

Hwee Young Kang, Irwin De Tao Chin, Wen-Haw Chong, Hai Leong ChieuarXiv 2026 · arXiv

It’s late, your coffee is cold, and you’re staring at two model checkpoints. One is a general-purpose powerhouse that can write poetry and explain quantum physics. The other is a specialist you spent weeks fine-tuning to understand the nuances of Indonesian financial regulations.

You want the best of both. But if you just use the specialist, it "forgets" how to do basic math (the classic "catastrophic forgetting" problem). If you try to merge them using standard tricks like simple averaging, you often end up with a lukewarm "beige" model that isn't particularly good at anything.

Enter AMARIS (Adaptive Model Alignment via Ranked Inherited Subspaces). This paper proposes a way to perform a "surgical transplant" of capabilities from a specialist to a generalist, ensuring you keep the core skills intact while inheriting the specialist's edge—all without a single step of additional training.

TL;DR

AMARIS is a training-free framework that merges generalist and specialist LLMs by identifying specific "directions" in the model's internal activation space that are high-utility for the specialist but low-interference for the generalist. By projecting specialist updates only onto these carefully chosen subspaces, it achieves a near-perfect balance: keeping the base model's broad intelligence while capturing the specialist's domain expertise.

What Problem Does This Paper Address?

The AI community has a "tension" problem. We want models that are both broad (generalists) and deep (specialists). Usually, we take a strong base model and fine-tune it on a specific domain. This works for the domain, but the model's general performance often regresses.

Model merging is the "free lunch" alternative—combining weights from different models without retraining. However, existing methods like Model Soups or TIES operate directly on the parameters (the weights). They don't account for how the model actually processes data. Because they don't look at the "activation geometry," they can't distinguish between a weight change that is vital for the new task and one that accidentally breaks a core capability.

Methods

AMARIS moves the merging logic from "parameter space" to "activation space." Here is the high-level pipeline:

  1. Calibration: The authors run a small set of data through both the base and specialist models to collect statistics on their internal activations ($X_1$ and $X_2$).
  2. Ranking Directions: Using these statistics, they solve a "generalized eigenproblem." Essentially, they rank every internal "direction" the model can take based on a ratio: how much does this direction help the specialist vs. how much does it perturb the base model's output?
  3. Budgeted Subspace Selection: You provide a "preservation budget" ($\alpha$). AMARIS greedily picks the top-ranked directions until it hits that budget.
  4. Projection Gating: Instead of adding the full difference between the specialist and base weights ($\Delta$), it uses a low-rank projector ($P$) to only apply the parts of $\Delta$ that align with the chosen "safe" directions.
Figure 1: AMARIS overview. Each checkpoint supplies layer-input statistics on its calibration set. AMARIS ranks candidate directions, selects a subspace under a preservation budget, and folds the projected delta into a static checkpoint.

The result is a single, static model checkpoint that has been "gated" to only inherit the most useful, least destructive updates.

Datasets

The researchers evaluated AMARIS using the Qwen3 family (8B and 32B versions) across three distinct specialization regimes:

  • Finance: Merging a base model with ODA-Fin-RL-8B.
  • Instruction Following: Merging with Light-IF-8B.
  • Multilingual (SEA): Merging a 32B base with Qwen-SEA-LION-v4-32B-IT, focused on Southeast Asian languages (Indonesian, Vietnamese, Thai, Tamil, and Tagalog).

They used a battery of "Core" benchmarks (AIME26 for math, LCB_v6 for code, IFEval for instructions, and GPQA for knowledge) and "Specialist" benchmarks (FPB for finance, IFBench for instruction following, and SEAHELM for multilingual tasks).

Key Insights and Ideas

  • Subspace over Parameters: The "aha" moment is realizing that not all weight changes are created equal. Some changes happen in "dead zones" for the base model but are "highways" for the specialist. AMARIS finds these highways.
  • The Power of the Budget Knob: By adjusting $\alpha$, developers have a transparent, predictable control over the trade-off. Want more specialist power? Increase the budget. Want to play it safe? Lower it.
  • Layerwise Intelligence: AMARIS doesn't apply a single global rule. It makes geometric decisions independently at every layer, acknowledging that different parts of the Transformer architecture handle specialization differently.

Key Results

AMARIS consistently hit the "Pareto frontier," meaning it offered the best possible trade-offs compared to other merging methods.

  • Finance (8B): Retained 98.37% of specialist capability while keeping 95.16% of core generalist skills.
  • Instruction Following (8B): Remarkably, it achieved 103.55% core retention (actually improving on the base!) while keeping 90.28% of the specialist's skill.
  • Multilingual (32B): In the SEA setting, it reached 99.20% core retention and 94.80% specialist retention. It showed a significant boost in Tamil performance (+4.34 points over the base) where other merging methods struggled.
Core–specialist operating points. AMARIS (red diamonds) consistently sits at the top-right of the graphs, representing the best balance of generalist and specialist performance.

Limitations and Future Work

The authors are upfront about a few hurdles:

  • Calibration Sensitivity: The method relies on having a small, representative calibration set. If your calibration data is noisy or shifted, the subspace selection might be suboptimal.
  • Manual Tuning: While $\alpha$ is a great knob, you still have to turn it manually to find the sweet spot for your specific use case.
  • Pairwise Focus: The current paper focuses on merging two models. Extending this to "multi-specialist" merges (e.g., merging a math specialist, a coding specialist, and a finance specialist all at once) is the next logical frontier.

In short, AMARIS suggests that we don't always need more GPUs to get better models; sometimes, we just need a better way to combine the intelligence we've already built.

Summary updated

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.
BibTeX
@misc{kang2026amaris,
  author = {Hwee Young Kang and Irwin De Tao Chin and Wen-Haw Chong and Hai Leong Chieu},
  title = {{AMARIS: Merging Generalist and Specialist LLMs via Adaptive Subspace Inheritance}},
  year = {2026},
  eprint = {2611.27369},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27369},
}
Figure