TL;DR
Compressing Mixture-of-Experts (MoE) language models to ultra-low 4-bit precision often breaks their internal traffic controllers—a tiny rounding error can send a token to the completely wrong "expert" subnetwork, causing cascading errors. This paper introduces a unified recipe that freezes and replays the uncompressed model's exact routing paths during fine-tuning while assigning lightweight error-correction adapters to the busiest, most sensitive experts. The result is a compressed 4-bit MoE model that recovers near-original accuracy and runs up to 1.50× faster than standard 8-bit baselines on modern GPUs.
What Problem Does This Paper Address?
Mixture-of-Experts (MoE) models achieve massive scale efficiently by activating only a small subset of specialized subnetworks ("experts") for any given token, directed by a lightweight "router." However, MoEs still require enormous memory simply to hold all those experts on standby, making quantization—shrinking weights from 16-bit (BF16) down to 4-bit formats like MXFP4—essential for practical deployment.
In standard dense transformers, quantization noise acts like a gentle nudge, perturbing layer outputs smoothly. In MoEs, it acts like a railroad switch flipping at the wrong moment. Small perturbations in layer outputs alter router scores just enough to flip the discrete top-$k$ expert selection. Once a token takes a detour through the wrong subnetwork, errors compound rapidly downstream.
Historically, researchers tackled router stabilization and expert weight restoration as separate problems, or assigned mixed bit-widths (like 2-bit or 3-bit) to different experts—a headache for GPUs that thrive on uniform operations. The authors ask: how can we jointly stabilize routing and restore expert accuracy while keeping a hardware-friendly, uniform 4-bit format?
Methods
The authors couple two complementary ideas—Limited Routing Replay (LRR) and Load-Aware Compensation (LAC)—into a single quantization-aware fine-tuning (QAT) pipeline, keeping all base expert weights in a uniform MXFP4 format.
- One-Shot Caching & Load-Aware Rank Allocation (LAC): Before fine-tuning, the authors pass a small calibration dataset once through the original BF16 model, recording exact token-by-token routing decisions and measuring how frequently each expert is used. To heal the mathematical error left behind by 4-bit quantization ($W - Q(W)$), they attach low-rank SVD adapters to the experts. Crucially, instead of giving every expert the same adapter size, a greedy algorithm distributes a fixed parameter budget based on load-weighted spectral gain—multiplying how often an expert is called by the magnitude of its quantization error (singular values). Heavily worked, error-prone experts get larger adapters; idle ones get little or none.
- Limited Routing Replay (LRR): During QAT, all base weights, embeddings, attention layers, and router parameters are frozen; only the lightweight expert adapters are trained. Rather than letting the noisy 4-bit model make routing decisions during training, the pipeline forces tokens along the cached BF16 routes. This eliminates route non-stationarity, giving gradients a stable path to optimize the adapters, backed by theoretical guarantees for linear convergence and routing consistency.
Datasets
The authors do not introduce new benchmarks, relying on established datasets for fine-tuning and evaluation:
- Fine-tuning / Replay: Samples drawn from MetaMath (for math reasoning) and auxiliary multiple-choice training sets including ARC, MC-TEST, OBQA, and RACE.
- Evaluation: Language modeling perplexity on C4 and WikiText-2, plus 5-shot downstream accuracy across MMLU, GSM8K, and ARC-C.
Key Insights and Ideas
- Quantization drift mirrors Reinforcement Learning instability: The authors mathematically connect quantization-induced route flips to the "training-inference mismatch" seen in MoE reinforcement learning. Stabilizing the optimization path during fine-tuning turns out to be the primary driver of accuracy recovery—on Mixtral-8×7B, routing replay alone cuts route mismatches from 18.7% down to 1.4%.
- Both traffic and damage matter for repair: Allocating adapter capacity purely by expert popularity or purely by mathematical weight error falls short. Combining both (load $\times$ spectral energy) is provably optimal under a fixed rank budget and empirically yields the lowest perplexity.
- Uniform 4-bit + adapters beats exotic mixed-precision on real hardware: Giving different experts 2-, 3-, or 4-bit weights fragments GPU batches and stalls tensor cores. Keeping every expert on a uniform MXFP4 (W4A8) execution path and fusing low-rank adapters into existing grouped matrix multiplications preserves hardware speed.
Key Results
Tested across Mixtral-8×7B, DeepSeek-v2-16B, and Qwen3-30B, LRR+LAC consistently outperforms Uniform MXFP4, Rank-Aware PTQ, and memory-matched Mixed-Precision MoE baselines:
- Drastic reduction in route flips: Across all three models, average route mismatch ($\Delta_{\text{route}}$) drops from 12.6% (Uniform PTQ) to 1.1%—an 11.4× reduction, and 4.3× lower than the strongest mixed-precision baseline.
- Superior accuracy recovery: On Mixtral-8×7B, average 5-shot accuracy climbs from 56.4% (Uniform PTQ) and 58.9% (Mixed-Precision) to 62.8%. On Qwen3-30B, accuracy improves from 74.8% to 78.6%.
- Real-world GPU speedups: Benchmarked on an NVIDIA RTX PRO 6000 Blackwell GPU with Qwen3-30B (saving ~46.4 GB of memory), pure W4A8 accelerates decoding by 1.38×–1.58× over W8A8 across 1K to 128K context lengths. Adding LRR+LAC adapters introduces only a 5.0%–7.0% overhead, delivering a net 1.30× to 1.50× end-to-end speedup over W8A8 while sub-4-bit mixed precision lacks an accelerated GPU path entirely.
Limitations and Future Work
The authors highlight a fundamental data-coverage trade-off in Limited Routing Replay. Caching more tokens captures a broader slice of the true data distribution, improving generalization, but increases preprocessing time and storage overhead. Conversely, if the replay set is too small (the study uses 4,096 sequences of length 2,048), the fine-tuned adapters risk overfitting to cached routes and may struggle to generalize to unseen, "low-margin" tokens where two experts have nearly tied router scores. Future directions beyond this trade-off are not explicitly discussed in the paper.
Summary updated