TL;DR
DM-MoE is a two-stage compression framework for Mixture-of-Experts (MoE) models that combines expert dropping and expert merging. By adaptively allocating compression budgets across layers based on mutual information and functional diversity, it achieves state-of-the-art parameter reduction (up to 50%) with minimal performance loss, all without requiring expensive fine-tuning or search.
What Problem Does This Paper Address?
Mixture-of-Experts (MoE) architectures have become the go-to for scaling Large Language Models (LLMs) because they allow for massive parameter counts with relatively low computational costs during inference. However, their "total" parameter count remains a massive hurdle for deployment, leading to prohibitive storage requirements and high memory bandwidth demands.
Existing compression techniques generally fall into two camps:
- Expert Dropping: Removing experts entirely. This often discards unique knowledge and creates "representation gaps" that hurt performance.
- Expert Merging: Fusing multiple experts into one. This often leads to "parameter conflicts," where experts with different specializations interfere with each other, diluting the model's capabilities.
Furthermore, most methods apply compression uniformly across all layers, ignoring the fact that early layers in a transformer are often highly specialized, while later layers tend to be more redundant.
Methods
The authors introduce DM-MoE, a training-free, two-phase framework:
Phase I: Layer-wise Adaptive Expert Dropping
Instead of dropping experts randomly or uniformly, DM-MoE uses Canonical Correlation Analysis (CCA) to measure the mutual information between expert outputs.
- Adaptive Allocation: It solves a constrained optimization problem to decide how many experts to drop per layer. Layers with high mutual information (high redundancy) get aggressive pruning, while specialized layers (low mutual information) are preserved.
- Selection: Within a layer, it identifies experts to keep based on "output impact"—measuring how much the layer's output deviates when a specific expert is removed.
Phase II: Layer-wise Adaptive Expert Merging
After pruning the most redundant experts, the remaining ones are merged to further reduce size.
- Similarity Graphs: Each layer is modeled as a graph where edges represent behavioral similarity between experts.
- Graph Partitioning: The framework determines the optimal number of expert groups per layer and uses graph-based optimization (specifically the METIS method) to cluster functionally similar experts together.
- Importance-Weighted Merging: Experts are fused using a dual-weighted factor that considers both how often an expert is activated (frequency) and its contribution to the output (deviation).
Datasets
The authors evaluated DM-MoE across five major MoE models: Mixtral-8×7B, Qwen1.5-MoE-A2.7B, Qwen3-30B-A3B, DeepSeek-V2-Lite, and GPT-OSS-20B.
For evaluation, they used eight diverse reasoning and understanding benchmarks:
- ARC (Challenge & Easy)
- BoolQ
- HellaSwag
- MMLU
- OpenBookQA
- RTE
- Winogrande
They also measured language modeling capabilities using WikiText-2 and C4 perplexity. A small calibration set of 16 sequences from C4 was used to compute the compression metrics.
Key Insights and Ideas
- Strategic "Drop-then-Merge": The core "aha moment" is that dropping a few truly redundant experts first actually improves the subsequent merging of the remaining experts. By removing the "outliers" that cause parameter conflicts, the remaining experts align much better during fusion.
- Hierarchical Specialization: The paper provides visual evidence (via MI heatmaps) that MoE layers exhibit a clear progression: early layers are highly specialized (low redundancy), while later layers converge on similar high-level representations (high redundancy).
- Training-Free Efficiency: Unlike methods that require evolutionary search or expensive fine-tuning, DM-MoE relies on efficient metric computation. The entire compression process for a large model takes only about 10 to 30 minutes.
Key Results
- Performance Retention: For Mixtral-8×7B, DM-MoE retains 96.5% of original accuracy at 25% expert reduction and 89.1% at 50% reduction.
- Outperforming SOTA: On Qwen3-30B-A3B (compressed from 128 to 64 experts), DM-MoE maintained 81.2% of performance, while the previous state-of-the-art (HC-SMoE) plummeted to 55.2%—a relative improvement of over 47%.
- Hardware Speedup: When combined with 4-bit quantization (GPTQ), DM-MoE achieved a 1.35× inference speedup (119.97 tokens/sec) while maintaining competitive accuracy.
- Robustness: The metrics used (CCA and diversity) proved to be highly stable across different calibration datasets and random seeds.
Limitations and Future Work
- Compression Overhead: While much faster than training-based methods, the initial metric calculation (especially output deviation analysis) still represents a non-trivial upfront time cost (roughly 10-30 minutes depending on the model size).
- System-Level Optimization: The current work focuses on model-level parameter reduction. The authors note that combining this with system-level optimizations (like expert offloading or specialized kernels) is a promising direction for future research.
- Fine-tuning Potential: While DM-MoE is designed to be training-free, the authors suggest that a lightweight fine-tuning stage following their "drop-then-merge" pipeline could potentially recover even more of the original model's performance.
Summary updated