DPMA: Learning to Compress Mixture-of-Experts Models

Jon Irureta, Jon Imaz, Philipp Wiesner, Gorka Azkune, Javier Fernandez-Marques, Alex Iacob, Andrej Jovanović, Aizea Lojo, Nicholas D. LanearXiv 2026 · arXiv

TL;DR

Mixture-of-Experts (MoE) models are the "speed demons" of the AI world, but they are notorious memory hogs. DPMA (Differentiable Prune Merge Absorb) is a clever new way to shrink these giants by letting them learn their own diet—automatically deciding which "experts" to delete, which to merge, and which to simply reroute, all while keeping the core weights frozen.

What Problem Does This Paper Address?

In the quest for smarter AI, we’ve moved toward Mixture-of-Experts (MoE) architectures. These models are essentially a massive collection of specialized "experts." For every word (token) the model processes, it only wakes up a few experts, making it incredibly fast.

The catch? Even though only a few experts work at a time, all of them must sit in your GPU's memory. This "memory wall" makes it nearly impossible to run top-tier models on consumer hardware. Existing ways to shrink them are often "dumb"—they treat every layer the same and force a binary choice: either delete an expert (pruning) or average its weights with another (merging). The authors of DPMA argue that this one-size-fits-all approach leaves a lot of performance on the table.

Methods

The authors introduce DPMA, which stands for Differentiable Prune Merge Absorb. Instead of using a fixed rule, they use gradient descent—the same math used to train the models in the first place—to find the best compression strategy on a small "calibration" set of data.

The "secret sauce" is that DPMA doesn't just choose which experts to keep; it chooses how to handle the ones it removes:

  • Prune: Discard the expert entirely.
  • Merge: Blend the expert's knowledge (parameters) into a surviving expert.
  • Absorb: Keep the "address" of the removed expert in the router, but redirect its signal to a survivor.
Figure 1: DPMA jointly learns compression operations and the allocation of a fixed expert budget. Uniform pruning (left) retains four experts per layer. DPMA (right) combines pruning, merging, and absorption while allocating the same total budget of B = 16 experts across layers.

Crucially, DPMA learns a global budget. It might decide that Layer 1 is vital and should keep almost all its experts, while Layer 10 is redundant and can be slashed aggressively. This flexibility is summarized in their comparison with prior methods:

Table 1: Comparison of selected MoE compression methods in their main configurations by supported operations, per-layer budget allocation, and search strategy. Unlike prior work, DPMA jointly learns compression operations and layer-wise expert allocation through gradient descent.

Datasets

The researchers didn't just test this on one toy model. They evaluated DPMA across four diverse MoE architectures:

  • OLMoE-1B-7B
  • Qwen1.5-MoE-A2.7B
  • Qwen3-30B-A3B
  • DeepSeek-MoE-16B

They used the C4 dataset for calibration (just 32 to 128 sequences) and evaluated the results on eight multiple-choice benchmarks, including MMLU, ARC, and HellaSwag, to ensure the "shrunken" models still actually knew their stuff.

Key Insights and Ideas

  • The "Where" Matters as Much as the "How": DPMA discovered that models aren't uniform. It consistently kept more experts in the early layers and squeezed the middle layers harder. This non-uniform allocation is a major reason it beats simpler methods.
  • Absorption is a Game Changer: By "absorbing" routing weights, the model preserves the original logic of which tokens go where, even if the physical expert is gone. This acts as a safety net for the model's internal communication.
  • Model-Specific "Personalities": Interestingly, DPMA chose different strategies for different models. For Qwen3, it mostly pruned. For OLMoE, it leaned heavily on absorption and merging. This suggests that there is no "perfect" compression algorithm—only the one that fits the specific model's architecture.

Key Results

DPMA isn't just a marginal improvement; it’s a significant leap, especially when you're trying to cut deep.

  • Dominance Across the Board: DPMA achieved the highest average accuracy across all four models and five different compression ratios.
  • The 75% Threshold: When reducing the number of experts by 75%, DPMA outperformed the strongest baselines by up to 6.7 percentage points.
  • Efficiency: Even when forced to use the same amount of "active" compute as baselines, DPMA-compressed models were smarter, proving that its way of organizing the remaining experts is fundamentally superior.

Limitations and Future Work

While DPMA is powerful, it isn't "free." * Search Time: It takes about 4 to 8 GPU hours to find the optimal compression plan. While this is a one-time cost before deployment, it's slower than simple heuristic-based pruning. * Calibration Data: Although it only needs a tiny amount of data, it still requires some representative text to learn the compression coefficients. * Future Directions: The authors suggest that this differentiable approach could be extended to even larger models or combined with actual weight fine-tuning (which they avoided here to keep the process "retraining-free") for even more extreme compression.

Summary updated

Abstract

Mixture-of-Experts (MoE) architectures offer high computational efficiency, but storing all experts requires substantial memory and limits deployment on resource-constrained hardware. Most retraining-free MoE compression methods commit to either pruning or merging experts, often with a uniform compression ratio across layers. We introduce DPMA (Differentiable Prune Merge Absorb), which jointly learns compression operations and layer-wise expert allocation through gradient descent under a global expert budget. Separate learnable coefficients allow DPMA to prune experts, merge their parameters, and absorb their routing contributions by forwarding routing weights to retained experts. These coefficients and expert assignments are optimised to match the original model's outputs on calibration data while its weights remain frozen. Across four MoE models, eight multiple-choice benchmarks, and five compression ratios, DPMA achieves the highest accuracy averaged over benchmarks and compression ratios on each model among the evaluated methods. At $75\%$ expert reduction, it outperforms the strongest baseline on every model, with gains of up to $6.7$ percentage points.
BibTeX
@misc{irureta2026dpma,
  author = {Jon Irureta and Jon Imaz and Philipp Wiesner and Gorka Azkune and Javier Fernandez-Marques and Alex Iacob and Andrej Jovanović and Aizea Lojo and Nicholas D. Lane},
  title = {{DPMA: Learning to Compress Mixture-of-Experts Models}},
  year = {2026},
  eprint = {2611.27759},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27759},
}
Figure