TL;DR
MergePipe is a new execution layer for model merging that treats expert weights as a "budgeted" resource rather than a mandatory read. By selectively accessing only the most important weight updates (deltas), it reduces I/O by an order of magnitude and speeds up the merging process by up to 11x with negligible impact on model quality.
What Problem Does This Paper Address?
Model merging has become a go-to technique for consolidating specialized LLMs (e.g., a coding expert, a math expert, and a chat assistant) into a single multi-task model without the cost of a full training run. Traditionally, researchers have focused on the mathematics of merging—how to average weights or resolve interference between models (using methods like TIES or DARE).
However, as models scale to billions of parameters and the number of "experts" grows, a practical bottleneck emerges: I/O overhead. Naive merging scripts treat model checkpoints as opaque files, reading every single byte of every expert model. If you are merging 20 different 8B-parameter models, you are reading hundreds of gigabytes of data. This makes iterative merging I/O-bound and painfully slow, regardless of how fast your GPU or CPU is.
Methods
The authors introduce MergePipe, which shifts the focus from "how to combine weights" to "which weights are worth reading."
Key components include:
- Access-Set Abstraction: Instead of reading entire files, MergePipe treats checkpoints as a collection of blocks. It uses an "access mask" to decide which specific blocks of an expert's weight updates (deltas) are actually needed.
- The Catalog-Plan-Execute Loop:
- Catalog: It indexes checkpoints, storing metadata like block sizes and lightweight statistics (norms or sketches) so it doesn't have to scan the whole model to make a decision.
- Planner: Given a specific I/O budget (e.g., "only read 20% of the expert weights"), the planner ranks blocks by importance (using scores like the weight norm) and builds an access plan.
- Executor: It streams the base model and only pulls the "budgeted" expert blocks from storage, passing "zero" handles for the omitted ones to the merge operator.
- Mathematical Grounding: The authors prove that for additive merges (like simple averaging), the error introduced by skipping weights is bounded by the norm of the omitted deltas.
Datasets
The researchers evaluated MergePipe using several modern LLM families and benchmarks:
- Models: Qwen3 (0.6B, 1.7B, 8B), Llama-3.2 (3B), and Llama-3.1 (8B).
- Expert Pools: They tested merging up to 20-25 experts for the 8B and 3B model families.
- Benchmarks: To ensure model quality wasn't sacrificed, they tested the merged models on HumanEval (coding), IFEval (instruction following), and DROP (reading comprehension).
Key Insights and Ideas
- I/O is the Real Bottleneck: In the era of massive LLMs, moving data from disk to memory is often more expensive than the actual mathematical computation of the merge.
- Weight Importance is Sparse: Not every weight update in a fine-tuned model is equally critical. By prioritizing blocks with the largest changes (highest norms), MergePipe can skip the vast majority of data transfer while retaining the model's "intelligence."
- Decoupling Access from Logic: MergePipe is "operator-agnostic." It doesn't replace merge rules like TIES or DARE; it sits underneath them, providing a budgeted way to feed them data.
- The Speed-Fidelity Frontier: The paper demonstrates that the relationship between I/O budget and model performance isn't a cliff, but a smooth frontier. You can trade a small amount of "fidelity" (parameter deviation) for massive gains in speed.
Key Results
- Massive Speedups: MergePipe achieved up to 11x speedups on Qwen and Llama merging workloads.
- I/O Efficiency: It reduced expert-read I/O by up to an order of magnitude. For example, on Llama-3.1-8B with 8 experts, TIES merging I/O dropped from 79.5GB to just 3.46GB.
- Minimal Quality Loss: Even when reading only a fraction of the weights, the resulting models showed a parameter deviation of only $O(10^{-3})$ compared to a "full-read" merge.
- Stable Benchmarks: Downstream performance on HumanEval and IFEval showed no monotonic degradation, meaning the "budgeted" models performed essentially as well as the "expensive" ones.
Limitations and Future Work
- Homologous Requirement: MergePipe assumes models are "homologous"—meaning they share a base model or are already aligned in the same weight coordinate system. It does not address the "model alignment" or "permutation" problem (matching neurons between different architectures).
- Non-linear Bounds: While the error bounds are mathematically proven for additive merges, the authors note that for non-linear operators (like TIES or DARE), the fidelity must be evaluated empirically.
- Hardware Context: The benefits are most significant when experts are stored on disk (SSD). If a system has enough RAM/VRAM to hold all experts simultaneously, the I/O advantages of MergePipe become less critical.
- Future Directions: The authors suggest that as model families continue to grow, weight-space methods should be paired with execution layers that treat weights as structured, budgeted data rather than opaque blobs.
Summary updated