Less Experts, Faster Decoding: Cost-Aware Speculative Decoding for Mixture-of-Experts

· Source: cs.CL updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering · Depth: Expert, extended

Summary

EcoSpec is a novel cost-aware speculative decoding framework designed to enhance the inference efficiency of large-scale Mixture-of-Experts (MoE) models. It addresses the "expert scattering" problem, where confidence-driven speculative decoding in MoE models can activate disjoint sets of experts, increasing memory traffic and reducing speedup. EcoSpec integrates a lightweight expert predictor and a dynamic expert buffer into the draft selection process, prioritizing candidate token paths that reuse existing experts while preserving high acceptance likelihood. This approach avoids modifying the target-model verification rule. Evaluated on DeepSeek-V3.1 (671B), Qwen3-235B-A22B, and GPT-OSS-120B across diverse benchmarks, EcoSpec consistently reduces active expert footprints and improves end-to-end decoding speed, achieving up to 1.62x speedup.

Key takeaway

For machine learning engineers deploying large Mixture-of-Experts (MoE) language models, you should re-evaluate speculative decoding strategies. Standard methods, focused solely on acceptance likelihood, can lead to "expert scattering" and increased memory traffic, hindering actual speedup. Implement cost-aware draft selection, such as EcoSpec's approach, to explicitly balance acceptance probability with marginal expert activation cost. This will reduce verification latency and HBM traffic, significantly improving end-to-end inference throughput for your MoE models.

Key insights

EcoSpec balances draft acceptance likelihood with marginal expert activation cost for MoE inference.

Principles

Method

EcoSpec uses a lightweight expert predictor to estimate token-expert activations, a global expert buffer to track covered experts, and a cost-aware selection algorithm to prioritize draft paths balancing acceptance likelihood with marginal expert cost.

In practice

Topics

Best for: NLP Engineer, Research Scientist, AI Scientist, Machine Learning Engineer, AI Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CL updates on arXiv.org.