Optimal Sparsity of Mixture-of-Experts Language Models for Reasoning Tasks
Taishi Nakamura (PhD student · Institute of Science Tokyo), Satoki Ishikawa, Masaki Kawamura, Okamoto, Daisuke Nohara, Jun Suzuki, Rio Yokota
International Conference on Learning Representations 2026 · Oral
Overview
The talk "Optimal Sparsity of Mixture-of-Experts Language Models for Reasoning Tasks" presented by Taishi Nakamura from the Institute of Science Tokyo delves into a critical design challenge for Mixture-of-Experts (MoE) language models: determining the most effective level of sparsity for tasks requiring complex reasoning. While MoE architectures are celebrated for their computational efficiency, allowing for a substantial increase in total parameter count at a fixed computational budget by activating only a subset of "experts" per token, the optimal configuration of this sparsity has primarily been studied from a loss-based scaling perspective. This work challenges that paradigm, highlighting that for reasoning tasks, training loss is often an unreliable proxy for downstream performance.

Key moments
- 0:00 Introduction: MoE sparsity and reasoning task challenges
- 2:00 Research questions on compute-optimal sparsity for reasoning
- 4:00 Training loss not always proxy for reasoning performance
- 6:00 U-shaped performance trend for reasoning tasks
- 7:00 Total Tokens Per Parameter (TPP) as key factor
- 8:00 Test-time and post-training methods don't change sparsity effects
- 10:00 Conclusion: Optimal sparsity for reasoning differs from loss-based
- 11:00 Q&A: Intuition behind TPP and active parameters
Optimal Sparsity of Mixture-of-Experts Language Models for Reasoning Tasks
Speakers: Taishi Nakamura (PhD student, Institute of Science Tokyo), Satoki Ishikawa, Masaki Kawamura, Okamoto, Daisuke Nohara, Jun Suzuki, Rio Yokota
Conference: ICLR 2026
YouTube: https://slideslive.com/39062165
Overview
The talk "Optimal Sparsity of Mixture-of-Experts Language Models for Reasoning Tasks" presented by Taishi Nakamura from the Institute of Science Tokyo delves into a critical design challenge for Mixture-of-Experts (MoE) language models: determining the most effective level of sparsity for tasks requiring complex reasoning. While MoE architectures are celebrated for their computational efficiency, allowing for a substantial increase in total parameter count at a fixed computational budget by activating only a subset of "experts" per token, the optimal configuration of this sparsity has primarily been studied from a loss-based scaling perspective. This work challenges that paradigm, highlighting that for reasoning tasks, training loss is often an unreliable proxy for downstream performance.
The core motivation stems from the observation that compute-optimal behavior can diverge significantly across different tasks. This research directly addresses the gap in understanding optimal MoE sparsity specifically for reasoning, under a constrained computational budget. The speakers investigate how various architectural choices—model width, number of experts, and the top-k parameter (number of experts activated per token)—interact to influence performance on tasks like mathematical problem-solving, contrasting these findings with more general knowledge-based or factual recall benchmarks.
Ultimately, this presentation offers crucial insights into the nuanced relationship between MoE design parameters and reasoning capabilities. It underscores that optimal sparsity for reasoning tasks often deviates from what loss-based scaling laws would predict, emphasizing the importance of factors like Total Tokens Per Parameter (TPP) and active parameter allocation. The findings provide a foundational understanding for researchers and practitioners aiming to build more efficient and performant large language models tailored for complex cognitive tasks.
Background
▶ Watch: Introduction: MoE sparsity and reasoning task challenges (0:00)
Standard dense Transformer models have demonstrated remarkable success, with their performance often following predictable scaling laws as model size, data size, and computational resources increase. However, the computational demands of these models, especially at very large scales, can be prohibitive. The Mixture-of-Experts (MoE) architecture emerged as a more compute-efficient alternative, designed to overcome these limitations. In an MoE model, instead of every parameter being involved in every computation for every input token, a gating mechanism routes each token to a small, chosen subset of "experts" (typically feed-forward networks). This selective activation means that while the total parameter count can be significantly larger than a dense model (allowing for greater model capacity), the active computational cost (FLOPs) per token remains comparable to a much smaller dense model.
This inherent sparsity introduces a new design axis: how many experts (top-k) are activated per token. Prior research into MoE scaling has largely focused on optimizing sparsity from a loss-based perspective, aiming to minimize cross-entropy loss on pre-training data. This approach assumes that lower pre-training loss generally correlates with better downstream performance across a wide range of tasks. However, recent advancements and observations in the field of large language models have begun to challenge this assumption, particularly for complex cognitive tasks such as reasoning. For these tasks, a low pre-training loss does not always reliably predict superior performance, suggesting that the compute-optimal behavior might differ significantly from what loss-based scaling alone would indicate. This discrepancy creates a critical problem: if the traditional metrics for optimizing MoE sparsity are insufficient for reasoning tasks, then current design principles might be leading to suboptimal models for a crucial class of applications. The need for a dedicated investigation into optimal sparsity for reasoning, under fixed computational budgets, thus becomes paramount.
Key Findings
▶ Watch: Training loss not always proxy for reasoning performance (4:00)
The research presented several critical findings that challenge conventional wisdom regarding MoE design, particularly for reasoning tasks:
- Loss is not a reliable predictor for reasoning performance: The study definitively showed that while training and validation loss generally decrease with increasing model size, this trend does not consistently hold for task-specific loss on reasoning benchmarks like GSM8K. For general tasks like HellaSwag, task loss aligned with training loss, but for reasoning, lower cross-entropy loss did not always translate to better performance.
- Sparsity's effect is task-dependent: The impact of MoE density (defined as
top-kover total expertsE) on performance varied drastically across task types. For factual recall and general comprehension tasks (TriviaQA, HellaSwag), sparser models tended to perform better, showing a mostly monotonic improvement with increasing sparsity. In stark contrast, reasoning tasks (GSM8K, GSM Plus) and coding tasks (HumanEval, MBPP) exhibited a distinct U-shaped trend, indicating that there is an optimal intermediate sparsity level, and overly sparse or overly dense configurations lead to diminished performance. - Total Tokens Per Parameter (TPP) is a key factor for reasoning: The performance on reasoning tasks, when plotted against TPP, revealed that optimal performance clustered around a TPP value of approximately 20. This aligns with findings from dense model scaling laws (e.g., Chinchilla-optimal), suggesting that for reasoning, the effective utilization of each parameter through sufficient training tokens is crucial, even in MoE architectures where total parameters are decoupled from active parameters.
- Active parameter count is also important: Beyond TPP, the number of active parameters (
top-k) also plays a significant role. Even at similar TPP values, increasingtop-k(i.e., activating more experts per token) generally led to improved reasoning performance, suggesting that both the overall training budget per parameter and the breadth of expert activation contribute to better outcomes. - Post-training techniques do not alter optimal pre-training sparsity: While techniques such as self-consistency (a test-time compute method) and GRPO (an RL post-training method) effectively improved overall reasoning performance, they did not fundamentally change the observed U-shaped relationship between MoE sparsity and reasoning performance. This implies that the compute-optimal sparsity for reasoning is largely determined during the pre-training phase, and post-training fine-tuning acts as an enhancer rather than a re-optimizer of the underlying architectural sparsity.
Technical Deep Dive
▶ Watch: Total Tokens Per Parameter (TPP) as key factor (7:00)
The core of this research revolves around the design and analysis of Mixture-of-Experts (MoE) language models, specifically a 16-layer MoE transformer. Unlike dense transformers where every parameter participates in every forward pass, MoE models introduce a sparse activation mechanism. In this architecture, for each input token, a gating network (typically a small feed-forward network) learns to select a top-k subset of E available "experts." Each expert is typically a standard feed-forward layer. Only the parameters of these top-k selected experts are activated and contribute to the token's representation. This design allows for a significantly larger total number of parameters in the model, as E can be very high, while keeping the active FLOPs per token (and thus inference cost) relatively constant, determined primarily by k.
The study systematically explored three key architectural dimensions to understand their impact on sparsity and performance:
- Model Width: Ranging from 512 to 2048, this parameter defines the dimensionality of the hidden states and the size of individual experts.
- Number of Experts (E): Ranging from 8 to 256, this controls the total capacity of the MoE layer.
- Top-k (k): Ranging from 2 to 64, this specifies how many experts are activated for each token. This is the primary knob for controlling sparsity; a smaller
krelative toEimplies higher sparsity.
Sparsity in this context is simply referred to as the number of experts activated per token. The authors also define MoE density as top-k / E. A lower MoE density corresponds to higher sparsity. This metric allows for a direct comparison of how the proportion of activated experts influences performance.
A crucial concept introduced and analyzed is Total Tokens Per Parameter (TPP). For dense models, active parameters and total parameters are identical. TPP is a well-established metric in scaling laws, with compute-optimal performance often observed around a TPP of 20 (as suggested by the Chinchilla paper). In MoE models, however, the total parameter count and the active parameter count are decoupled. An MoE model can have billions of total parameters but only activate a fraction of them per token. The TPP in the context of MoE refers to the total number of training tokens divided by the total number of parameters. The study found that for reasoning tasks, TPP remained a critical factor, with optimal performance appearing around TPP ≈ 20, even in the MoE setting. This suggests that while MoE allows for increased capacity, each parameter still requires a certain "exposure" to training data to be effective, and overly sparse models (with many total parameters but few active ones, leading to lower TPP for fixed training budget) can suffer from under-training of their individual experts. The intuition provided by the speaker was that "even if more sparser models have more parameters, but each parameter's are under-trained" under the same training budget, especially when inference FLOPs are kept constant by adjusting k.
The research also investigated the effects of test-time compute (specifically using self-consistency, where multiple reasoning paths are generated and voted upon) and RL post-training (using GRPO, a reinforcement learning-based fine-tuning method). These techniques aim to boost performance after the initial pre-training phase. While both methods successfully improved absolute performance, they did not alter the fundamental U-shaped trend observed for optimal sparsity in reasoning tasks. This indicates that the pre-training phase is paramount for establishing the inherent sparsity characteristics that govern reasoning capabilities, and subsequent enhancements primarily build upon this foundation rather than re-optimizing the sparsity itself.
Experimental Setup & Results
▶ Watch: Test-time and post-training methods don't change sparsity effects (8:00)
The experimental setup was designed to systematically explore the impact of MoE sparsity across various task types and architectural configurations.
Model Architecture: The core model used was a 16-layer MoE transformer.
Parameter Sweeps: The researchers conducted extensive sweeps across three dimensions:
- Model Width: Ranged from 512 to 2048.
- Number of Experts (E): Ranged from 8 to 256.
- Top-k (k): Ranged from 2 to 64.
This setup allowed for exploring a wide range of MoE configurations, spanning from what could be considered "Chinchilla-optimal" (in terms of active parameters and TPP) to overtrained regimes.
Training Data: Models were trained on a substantial corpus of 125 billion tokens. This dataset was comprehensive, covering a mix of web data, mathematical problems, and STEM-related content, including Wikipedia. The inclusion of math and STEM data was particularly relevant for evaluating reasoning performance.
Evaluation Tasks: The models were evaluated on a diverse set of tasks to differentiate performance trends:
- General QA/Comprehension:
- TriviaQA: A challenging question-answering dataset requiring factual recall.
- HellaSwag: A commonsense reasoning benchmark, often used to gauge general language understanding.
- Reasoning Tasks:
- GSM8K: A dataset of grade school math word problems requiring multi-step reasoning.
- GSM Plus: Likely an extension or more challenging version of GSM8K.
- Coding Tasks (separate setting with coding corpus):
- HumanEval: A benchmark for evaluating code generation capabilities.
- MBPP: A dataset of Python programming problems.
Metrics: Performance was primarily measured using:
- Training Loss and Validation Loss (standard cross-entropy).
- Task Loss (negative log-likelihood for the correct answer, given the prompt).
- Accuracy (for tasks like GSM8K).
Headline Results and Ablations:
- Loss vs. Task Performance Discrepancy:
- For TriviaQA and HellaSwag, task loss generally decreased monotonically with increasing model size and sparsity, aligning with training/validation loss.
- For GSM8K, task loss did not decrease monotonically. Lower cross-entropy loss did not consistently lead to better reasoning performance, highlighting that pre-training loss is an insufficient proxy for reasoning.
- When comparing models with the same training loss, TriviaQA and HellaSwag showed minimal effect of sparsity. However, for GSM8K and GSM Plus, higher sparsity led to worse performance, while more dense MoE models performed better at the same training loss.
- Sparsity vs. Performance Trends:
- TriviaQA and HellaSwag: Showed a mostly monotonic trend where sparser models (higher MoE density) tended to perform better, or the effect of sparsity was minimal.
- GSM8K and GSM Plus: Exhibited a clear U-shaped trend when plotted against MoE density. This indicates an optimal intermediate sparsity level for reasoning; both overly sparse and overly dense configurations were suboptimal.
- HumanEval and MBPP: When evaluated in a separate setting with a coding-inclusive training corpus, these coding tasks also displayed a similar U-shaped trend, reinforcing the idea that complex generative tasks benefit from a specific sparsity balance.
- Total Tokens Per Parameter (TPP) and Active Parameters:
- Plotting reasoning performance against TPP revealed that the best performance for tasks like GSM8K and GSM Plus consistently appeared around a TPP of roughly 20. This strongly suggests that sufficient training exposure per total parameter is crucial for reasoning, echoing findings from dense model scaling.
- Furthermore, even at similar TPP values, increasing the
top-k(number of active parameters) generally led to improved performance. This implies that both the overall training budget allocated per parameter and the breadth of expert activation (i.e., how many experts participate) are important for robust reasoning capabilities.
- Impact of Post-training Techniques:
- Self-consistency (test-time compute) and GRPO (RL post-training) both improved the absolute reasoning performance across the board.
- However, neither technique removed the underlying inverted U-shaped trend (which is the same as U-shaped when looking at loss) or the strong dependence on pre-training sparsity. This indicates that while post-training can enhance reasoning, the fundamental optimal sparsity for reasoning is established during pre-training.
In summary, the experimental results provide compelling evidence that designing MoE models for reasoning requires a nuanced understanding of sparsity, moving beyond simple loss-based optimization. The U-shaped performance curve, the critical role of TPP, and the importance of active parameter allocation emerged as key insights.
Practical Implications
▶ Watch: Q&A: Intuition behind TPP and active parameters (11:00)
The findings from this research carry significant practical implications for anyone involved in designing, training, or deploying Mixture-of-Experts (MoE) language models, especially when the target application involves complex reasoning tasks.
First and foremost, the study delivers a crucial message to model builders and pre-training teams: blindly optimizing MoE models solely based on pre-training cross-entropy loss is likely suboptimal for reasoning-intensive applications. The observed disconnect between low loss and high reasoning performance means that architects must adopt task-aware evaluation metrics from the earliest stages of model design. This necessitates a shift in focus from purely data-centric scaling laws to a more holistic approach that considers the specific cognitive demands of target downstream tasks.
For infrastructure teams and ML engineers working with MoE deployments, the discovery of a U-shaped optimal sparsity for reasoning tasks implies that there isn't a "one-size-fits-all" answer to top-k configuration. Instead, finding the sweet spot requires careful experimentation and tuning. Deploying an overly sparse MoE (to maximize total parameters for a given FLOPs budget) might lead to under-trained experts and diminished reasoning capabilities, as indicated by the importance of Total Tokens Per Parameter (TPP). Conversely, an overly dense MoE might negate some of the computational benefits of the architecture. Teams need to balance total model capacity, active compute, and the effective training of individual parameters. The finding that optimal reasoning performance occurs around a TPP of 20 serves as a valuable heuristic for guiding pre-training budgets and MoE parameterization.
The research also highlights the intricate trade-offs involved. While higher sparsity can be beneficial for general tasks like factual QA (leading to larger models at the same inference FLOPs), it can be detrimental for reasoning if pushed too far. Practitioners must decide whether to optimize for maximum general capacity or for specific reasoning prowess, or seek a balance. The fact that increasing top-k generally improves performance even at similar TPP suggests that providing more "active" experts, even if it slightly increases compute, can be worthwhile for reasoning. This implies that for reasoning-focused MoEs, one might err on the side of slightly lower sparsity (higher top-k) than what a purely loss-driven optimization might suggest.
Finally, the observation that test-time compute and RL post-training methods improve performance but do not alter the underlying sparsity-performance relationship has a clear message: pre-training is king for establishing the fundamental reasoning capabilities and optimal architectural sparsity. While fine-tuning can enhance a model's existing reasoning skills, it cannot fundamentally correct a suboptimal sparsity choice made during pre-training. Therefore, significant effort should be placed on getting the MoE design right from the outset, especially for the top-k parameter and the overall TPP, rather than relying on post-training to fix foundational architectural limitations for reasoning tasks.
Key Takeaways
- Loss is an unreliable proxy for reasoning: Pre-training cross-entropy loss does not consistently predict reasoning task performance in MoE models, unlike its correlation with general knowledge tasks.
- Optimal sparsity for reasoning is U-shaped: For complex tasks like mathematical reasoning and coding, there's an optimal intermediate sparsity level. Both overly sparse and overly dense MoE configurations lead to reduced performance.
- Total Tokens Per Parameter (TPP) is critical for reasoning: Optimal reasoning performance for MoE models was observed around a TPP of approximately 20, aligning with findings from dense model scaling laws.
- Active parameter count matters: Beyond TPP, increasing the number of active experts (
top-k) generally improves reasoning performance, even at similar TPP values, indicating the importance of broader expert activation. - Pre-training determines optimal sparsity: Test-time compute (self-consistency) and RL post-training (GRPO) enhance overall performance but do not alter the fundamental relationship between sparsity and reasoning, confirming that optimal sparsity is established during pre-training.
- Task-aware MoE design is essential: Designers must move beyond loss-centric optimization and consider task-specific performance and metrics like TPP when configuring MoE architectures for reasoning.
About the Speaker(s)
The lead speaker for this presentation was Taishi Nakamura, a first-year PhD student at the Institute of Science Tokyo. His work, alongside his co-authors Satoki Ishikawa, Masaki Kawamura, Okamoto, Daisuke Nohara, Jun Suzuki, and Rio Yokota, focuses on understanding and optimizing the architectural design of advanced language models, particularly Mixture-of-Experts (MoE) models, for challenging tasks like reasoning.
Reviews
→ Top-rated talks at International Conference on Learning Representations 2026
All talks from International Conference on Learning Representations 2026