Certain Head, Uncertain Tail: Expert-Sample for Test-Time Scaling in Fine-Grained MoE
Yuanteng Chen, Peisong Wang, Nanxin Zeng, Yuantian Shao, Gang Li, Jing Liu, Jian Cheng
TL;DR
This work addresses test-time scaling for large language models by exploiting the routing space of fine-grained Mixture-of-Experts (MoE). It identifies a structural pattern in router scores—a certain head of a few high-confidence experts and a long, uniform tail—that can separately support stable, core reasoning and diverse exploration. The authors propose Expert-Sample, a training-free method that deterministically preserves the top-$k_{ ext{keep}}$ experts and probabilistically samples from the tail using temperature-controlled Gumbel-softmax, yielding diverse yet stable outputs without architectural changes. Extensive experiments across multiple fine-grained MoE models and tasks show consistent improvements in pass@N and verification-based accuracy, while incurring negligible overhead. The approach offers a practical, plug-in solution to decouple stability and diversity at the routing level, complementing token-level sampling and verification methods, and enabling more efficient inference-time scaling.
Abstract
Test-time scaling improves LLM performance by generating multiple candidate solutions, yet token-level sampling requires temperature tuning that trades off diversity against stability. Fine-grained MoE, featuring hundreds of well-trained experts per layer and multi-expert activation per token, offers an unexplored alternative through its rich routing space. We empirically characterize fine-grained MoE routing and uncover an informative pattern: router scores exhibit a certain head of high-confidence experts followed by an uncertain tail of low-confidence candidates. While single-run greedy accuracy remains stable when fewer experts are activated, multi-sample pass@n degrades significantly-suggesting that the certain head governs core reasoning capability while the uncertain tail correlates with reasoning diversity. Motivated by these findings, we propose Expert-Sample, a training-free method that preserves high-confidence selections while injecting controlled stochasticity into the uncertain tail, enabling diverse generation without destabilizing outputs. Evaluated on multiple fine-grained MoE models across math, knowledge reasoning, and code tasks, Expert-Sample consistently improves pass@n and verification-based accuracy. On Qwen3-30B-A3B-Instruct evaluated on GPQA-Diamond with 32 parallel samples, pass@32 rises from 85.4% to 91.9%, and accuracy improves from 59.1% to 62.6% with Best-of-N verification.
