Renjie Wei, Haochen Huang, Chuyu Qiu, Jinqi Wen, Dehao Xu, Meng Li
Well-engineered algorithm-system co-design with solid ablations and real hardware speedups, but the novelty is largely a recombination and baselines/controls are limited.
Mixture-of-Experts (MoE) architecture has been widely adopted in large language models (LLMs) since it reduces the computational cost through sparse expert activation. However, the massive parameter scale of MoE models hinders their deployment on resource-constrained edge devices. Although existing mixed-precision quantization reduces the model size, they are inherently static, fixing the bit-width of each expert across decoding steps. Such static schemes yield suboptimal performance as they overlook the dynamic variation in expert importance during decoding. Furthermore, they fail to adapt to the dynamic latency constraint driven by the fluctuating system utilization. To address these challenges, we propose MatMoE, a dynamic mixed-precision quantization framework for efficient MoE inference. MatMoE features: (1) a Matryoshka MoE PTQ algorithm that enables experts to operate flexibly at multiple precisions within a stringent memory budget; (2) a floor-and-compensation quantization method that eliminates redundant memory accesses in the Matryoshka representation; and (3) a dynamic bit-width allocation strategy that determines the precision for each expert based on their routing scores to satisfy the dynamic latency requirement. We implement our MatMoE system atop llama.cpp for both CPU and GPU platforms. Extensive evaluations across three modern MoE models and challenging benchmarks demonstrate that MatMoE achieves higher accuracy than state-of-the-art static mixed-precision method. Compared to llama.cpp, MatMoE delivers speedup on Raspberry Pi 5, and speedup on NVIDIA RTX 4090 and Jetson AGX Orin.
MatMoE combines three ideas for running MoE LLMs on edge devices: Matryoshka-style nested multi-precision quantization, per-token dynamic bit-width assignment at expert granularity, and a co-designed llama.cpp implementation for CPU and GPU.
The conceptual novelty is mostly in the combination. Per-token, per-expert dynamic precision for MoE is a natural but previously unexplored fit, because routing scores give a free importance signal. The F&C trick is simple and practical, though its theory is thin: a constant bias correction for a uniform residual.
The design is generally sensible. It uses three MoE models, three generative benchmarks (GSM8K-CoT, HumanEval, MBPP), a SOTA static mixed-precision baseline (PMQ), and an ablation that separates kernel, dynamic allocation and F&C contributions. The ablation is the most convincing part: PMQ with the new kernels gives the same accuracy as PMQ on llama.cpp but is 2.9× faster, and MatMoE at similar TPOT raises accuracy from 22.8% to 35.3%.
Weaknesses:
The work is relevant to on-device MoE inference, where memory is the bottleneck. A single nested model that supports multiple operating points, with a cheap runtime knob, is practically attractive. Open-source integration into llama.cpp could allow adoption. The nested-bitplane design also benefits SSD-offloading regimes, as the Qwen3-30B-A3B experiment shows (1.1–2.0× over HOBBIT). The ideas of routing-score-driven precision and nested representations are reusable by other MoE inference systems. However, the gains are incremental over existing multi-scale and MoE quantization methods, and the venue (ICCAD) suggests a systems and co-design audience.
MoE models (Qwen3, DeepSeek, OLMoE) and edge LLM deployment are active areas. Dynamic precision under fluctuating load is an emerging need. The models evaluated are somewhat dated (Qwen1.5-MoE, DeepSeek-V2-Lite), and larger modern MoEs (Qwen3-30B, Mixtral-class) appear only in the offloading experiment.
Generated Nov 3, 2026
Well-engineered algorithm-system co-design with solid ablations and real hardware speedups, but the novelty is largely a recombination and baselines/controls are limited.