# Merging is cheaper than distillation, but it can't buy new capabilities

Date: 2026-11-25
Category: Technology
Tags: Model Merging, Distillation, Fine-Tuning
Summary: Starting from the real constraint that only one deployment slot remains, clarify what model merging actually does in parameter space, why its upper bound is locked, and give three criteria for choosing merging versus distillation.

## Two Experts, One Deployment Slot

A very common situation: the team has a general-purpose dialogue fine-tune and an industry-knowledge fine-tune, both 7B models derived from the same base, and only one model slot left in production. The reason is usually not the algorithm but GPU memory, operations, and canary rollout costs. The product window is only one or two weeks—not enough time to retrain.

At this point, "merge the two sets of weights" looks like the only solution: no labeling, no retraining, one config file and it's done, the output is still a standard-structure model, and the deployment pipeline doesn't need a single line changed.

The config looks roughly like this:

```yaml
models:
  - model: base-chat-7b
  - model: base-domain-7b
merge_method: ties
base_model: base-7b
parameters:
  weight: [0.6, 0.4]
  density: 0.5
dtype: bfloat16
```

The problem shows up in the canary. Industry Q&A accuracy drops noticeably compared to the single expert, while general dialogue is fine; further on, for inputs that require both capabilities to fire at once—like "answer using industry terminology first, then switch to a customer-service tone"—the model wavers between the two registers. Merging stuffs both capabilities into the same weight table but never tells the model when to use which.

This isn't a problem with the tool; it's using merging as a "cheap substitute for training," which sets the wrong expectation from the start. Merging is cheap because it doesn't learn; its capability ceiling is low for the same reason.

## Merging does interpolation, not learning

Weight averaging, task-vector arithmetic, TIES, DARE—different names, same class of operation: a weighted sum in parameter space.

θ = θ_base + Σ λ_i (θ_i − θ_base)

However you tune λ, however much delta you prune, however you vote on signs, the result lands in the affine hull spanned by the contributors. The parameter dimension is high, but merging introduces no new directions. The directions of capability were already in some model; merging only redistributes their strengths.

There are clear conditions for when linear interpolation doesn't collapse: for models fine-tuned separately from the same pretrained initialization, a linear path exists in weight space along which loss does not rise significantly. Model soup averages multiple models trained from the same hyperparameter grid under this premise, trading for better accuracy and out-of-distribution robustness. The premise is shared initialization. Directly averaging two models from different lineages causes parameter permutation to misalign layers, and the interpolation result is a pile of mutually canceling directions—accuracy drops unpredictably.

Task vectors, TIES, and DARE solve a different problem: interference when multiple task vectors are superimposed. Most delta parameters are small-magnitude noise; prune by magnitude first, then vote by sign to keep non-conflicting parts, choosing the dominant direction where they conflict. These tricks push merging from "basically unusable" to "sometimes works well," but they don't change its nature.

So the judgment can be stated bluntly: the single-point capability after merging is roughly capped at the level of the strongest contributor on the same task. In practice, the more common result is that every capability is slightly below the best expert, in exchange for no obvious weak spot. Occasionally you see a merged model slightly beat a single model on some benchmark—that's mostly the smoothing and regularization effect of averaging, and shouldn't be treated as a reliable path to capability growth.

That's what "capability stitching" means. Stitching is a real benefit: one model with multiple languages, multiple domains, several output styles at once—one less pipeline, one less canary variable. But it is not new capability.

## What distillation's extra cost buys is new information

Distillation's cost structure is straightforward: the teacher does one forward pass over the entire unlabeled set to produce soft labels; the student trains for several epochs on this paired input-and-distribution data. You need millions to tens of millions of samples; at that scale, labeling with a 7B teacher plus training a 7B student starts at tens to hundreds of GPU hours and climbs with data size and epoch count. Merging has no forward pass—just weight reads and writes and one model file written to disk; a single machine finishes a round in tens of minutes, and you can try a dozen-plus coefficient settings in a row.

It's worth being clear about what the extra money buys.

New data comes in. The student sees the teacher's outputs across the entire input distribution, including long-tail regions the teacher itself can't articulate. This has a cost: soft labels amplify the teacher's long-tail errors multiplicatively—the more the student learns to mimic, the more consistently it errs the same way, which is a problem distillation must handle separately. But the key point is that merging has no such path at all: no samples, no forward pass.

The second thing is where correction happens. Sequence-level distillation or on-policy distillation can feed the student's own generated trajectories to the teacher for scoring—correcting on the student's error distribution. Merging can't do this; it's impossible in principle.

Third, distillation's ceiling is "teacher plus data plus student capacity." With multi-teacher distillation and continued training on fresh data, the student routinely surpasses any single teacher. Merging's ceiling is the convex hull of all contributors, and that hull doesn't grow no matter how many more rounds of coefficient tuning you do.

In one sentence: distillation adds information, merging only rearranges it. The former can create new capability; the latter can only stitch existing capability.

## The cost ledger has three entries

Counting only GPUs gets it wrong.

The first entry is compute. Merging is nearly free here—read two weight files, write them once, done. Distillation is one to two orders of magnitude more expensive here: teacher forward passes and multiple rounds of student training both occupy GPUs.

The second entry is labor, and the direction is exactly reversed. What's genuinely expensive about merging is evaluation: you must have per-capability eval sets to confirm the merge didn't break anything. Building and maintaining those eval sets over time usually costs far more than those tens of minutes of GPU time, and it's an ongoing cost—every coefficient change means rerunning them. Distillation's expense is data: unlabeled data must be collected, cleaned, and made to cover the real production distribution; storing soft-label top-k logits is a non-trivial storage cost; and training must guard against overfitting to the teacher.

The third entry is the easiest to miss: reversibility. Merging is a minutes-per-round experiment you can try freely, with near-zero recovery cost on failure. Distillation is a one-time heavy investment—data pipeline, soft labels, training scripts all have to be built—and doing it while the architecture is still changing easily wastes the effort.

Stack the three entries and the conclusion isn't "merging is more cost-effective" but "merging's scope is underestimated and distillation's necessity is overestimated." When the requirement is "both experts must be present but only one can be deployed," merging is the reasonable choice under current constraints. When the requirement is "this class of problem must hit a hard metric," merging can't help—the money can only go into data and training.

## Where the seams show up

Stitching has seams, and their locations are predictable.

Input routing is lost. Each expert implicitly carries a judgment of "which register this input should use," originally implemented by system-level prompts or routing logic; after merging, it's gone. Style drift on boundary inputs is mostly this.

Output distribution flattens. Averaging tends to make the model milder and more prone to generic answers. Tasks requiring sharp judgment lose the most: classification, refusal, strict format output, Q&A that must give a single conclusion.

Template and added-token conflicts. If the two fine-tunes used different chat templates or each added special tokens, the merged tokenizer keeps only one, and the other template simply fails. In evaluation this shows up as entire outputs collapsing in format rather than scores sliding gradually—easy to spot, but also easy to misdiagnose as an inference-framework problem.

The illusion of forgetting recovery. Using merging to bring back general capability is a common practice: the general benchmark goes up, industry-term precision goes down, and the average score masks the loss.

The corresponding evaluation requirements are just three: score each capability individually, looking at the worst item rather than the average; add a set of "combined action" test cases, i.e., inputs that require two capabilities to take effect simultaneously in the same response; and choose a single expert as the baseline rather than just base. The third is often skipped, so that "better than base after merging" gets treated as the conclusion, when what actually needs comparing is "how much worse than the best expert it is."

## Criterion: answer three questions before acting

Whether to merge or distill, first ask three questions, and don't change the order.

```mermaid
flowchart TD
    A[两个模型只留一个] --> B{有新增数据吗}
    B -->|有| C[蒸馏或继续训练]
    B -->|没有| D{同一 base 血缘吗}
    D -->|不是| E[先别合并 掉点无规律]
    D -->|是| F{目标是缝合还是抬单点}
    F -->|缝合已有能力| G[合并 加逐项评测]
    F -->|抬单点上限| C
```

The three questions are: is there new data available; are the two models from the same pretraining lineage; and is the goal to make existing capabilities coexist, or to lift one capability to a new level. The first two determine feasibility, the third determines whether it's worth doing.

Laying the differences out in a table makes it clearer:

| | Merging | Distillation |
| --- | --- | --- |
| Information | No new information, only rearrangement | Introduces new data and new distributions |
| Cost | Very low compute, high evaluation cost | High compute, high data and pipeline cost |
| Ceiling | The level of the strongest contributor | Teacher plus data plus student capacity |
| Reversibility | High, can try repeatedly | Low, heavy investment |
| Suited for | Multi-capability coexistence, forgetting recovery, style fusion | Single-capability uplift, compression into a smaller model |

One additional condition: merging requires the two models to have identical architecture and tokenizer. A "merge" across architectures or tokenizers is not a merge in engineering terms, it's rewriting mappings—don't count it in the cost-effectiveness of this path.

## What I would do now

By default, first run a round of merge feasibility validation, with only two preconditions: same lineage, and a per-capability evaluation set in hand. This round costs hours, and it's worth it, because it simultaneously validates the question "can these two capabilities coexist," and that answer is equally useful for deciding later whether to distill.

But as soon as the product wants a hard metric on one specific capability, stop grinding coefficients on merging. That's local search in a space with a ceiling—the tuning curve looks like it's still moving, but in reality you're just swapping positions among different weak spots.

Give yourself a stop-loss line: within three rounds of coefficient tuning, if the worst item hasn't returned to near the single-expert baseline, stop and go calculate how much data and how many GPUs distillation needs. The purpose of writing this line down isn't to limit exploration, it's to prevent turning a cheap experiment into an expensive obsession.

## References

- Frankle et al., Linear Mode Connectivity and the Lottery Ticket Hypothesis (2020): https://arxiv.org/abs/1912.05671
- Wortsman et al., Model Soups (2022): https://arxiv.org/abs/2203.05482
- Ilharco et al., Editing Models with Task Arithmetic (2022): https://arxiv.org/abs/2212.04089
- Yadav et al., TIES-Merging (2023): https://arxiv.org/abs/2306.01708
- Yu et al., Language Models are Super Mario (DARE) (2023): https://arxiv.org/abs/2311.03099
- Hinton et al., Distilling the Knowledge in a Neural Network (2015): https://arxiv.org/abs/1503.02531
