NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Unchosen Experts Can Contribute Too: Unleashing MoE Models' Power by Self-Contrast

Chufan Shi, Cheng Yang, Xinyu Zhu, Jiahao Wang, Taiqiang Wu, Siheng Li, Deng Cai, Yujiu Yang, Yu Meng

TL;DR

This paper introduces Self-Contrast Mixture-of-Experts (SCMoE), a novel inference-time strategy that leverages "unchosen" experts in MoE models to improve performance. By contrasting outputs from different routing strategies, SCMoE significantly boosts reasoning capabilities on benchmarks like GSM8K, achieving a notable accuracy increase with minimal latency overhead.

What Problem Does This Paper Address?

Mixture-of-Experts (MoE) models are a popular choice for scaling large language models (LLMs) efficiently. They achieve this by activating only a subset of "experts" (specialized neural network modules) for each input token, rather than engaging all parameters like dense models. However, this sparsity means that many experts remain "unchosen" for a given token, potentially leading to underutilized capacity. The paper questions whether simply activating more experts is always beneficial and explores how to harness the information from these unchosen experts to improve model performance.

Methods

The core innovation is Self-Contrast Mixture-of-Experts (SCMoE), a training-free decoding strategy. SCMoE works by:

  • Identifying "Strong" and "Weak" Activations: It uses the standard "top-2" routing (the default for models like Mixtral 8x7B) as the "strong" activation. For "weak" activation, it employs a "rank-k" routing strategy (where only the k-th highest-scoring expert is chosen). The paper found that different routing strategies produce significantly different output distributions, suggesting experts don't always work synergistically.
  • Self-Contrast Decoding: SCMoE then contrasts the output logits from these strong and weak activations. By combining them with a learned weighting (controlled by a hyperparameter $\beta$), it amplifies the desirable behaviors of the strong activation while mitigating potential negative influences from the weak activation.
  • Vocabulary Masking: To further refine the process, SCMoE uses a hyperparameter $\alpha$ to mask out tokens with low logits from the strong activation, focusing the contrast on more plausible next tokens.

Datasets

The experiments were conducted on several standard benchmarks for evaluating LLMs:

  • GSM8K: Mathematical reasoning problems.
  • StrategyQA: Commonsense reasoning tasks.
  • MBPP: Code generation.
  • HumanEval: Code generation.

The paper uses the Mixtral 8x7B model as its backbone for most experiments. They also tested on DeepSeekMoE-16B to demonstrate the generalizability of SCMoE.

Key Insights and Ideas

  • Unchosen Experts Aren't Necessarily Useless: Contrary to a simple assumption that more activated experts always mean better performance, the paper shows that simply increasing the number of activated experts can sometimes degrade performance. This highlights the need for smarter ways to utilize all experts.
  • Routing Strategies Create Divergent Information: The output distributions from different routing strategies (e.g., top-2 vs. rank-k) are notably different, especially for reasoning-heavy tasks. This divergence is key: it means different experts are capturing distinct, sometimes conflicting, information.
  • Contrast is Key to Unlocking MoE Potential: SCMoE leverages this divergence by using a self-contrast mechanism. By comparing and combining outputs from different routing strategies, it can amplify the strengths of the primary (strong) routing and mitigate weaknesses, effectively "unleashing" the MoE model's full power.
  • SCMoE is Efficient: The method is designed to be computationally lightweight, adding minimal latency during inference compared to standard greedy decoding.

Key Results

  • Significant Reasoning Improvement: SCMoE consistently enhances Mixtral 8x7B's reasoning capabilities. For example, on GSM8K, accuracy increased from 61.79% (greedy) to 66.94%. Similar gains were observed on StrategyQA (+3.46%), MBPP (+2.60%), and HumanEval (+7.92%).
  • Outperforms Baselines: SCMoE generally outperforms other routing-based and search-based methods, including Contrastive Search, Contrastive Decoding, and DoLa, on the tested benchmarks.
  • Synergy with Self-Consistency: Combining SCMoE with self-consistency further boosts performance, increasing major@20 accuracy on GSM8K from 75.59% to 78.31%.
  • Minimal Latency: SCMoE adds only a minor latency overhead (around 1.30x compared to greedy decoding), making it practical for real-world applications.
  • Generalizability: Experiments on DeepSeekMoE-16B also show improvements, demonstrating SCMoE's applicability to different MoE architectures.

Limitations and Future Work

  • Hyperparameter Sensitivity: While SCMoE is generally robust, the performance can be influenced by hyperparameters like $\beta$ (contrastive penalty strength) and $\alpha$ (vocabulary masking). The paper explores these but notes that finding optimal values might require tuning.
  • Scope of Effectiveness: The paper suggests SCMoE's strength lies in tasks requiring intricate reasoning. For benchmarks without explicit reasoning paths (like MMLU), its advantages might be less pronounced compared to other decoding strategies.
  • Larger Models: Due to resource constraints, the authors couldn't explore SCMoE's performance on even larger MoE models (e.g., Mixtral 8x22B or DeepSeek-V2). This remains an open avenue for future research.

Summary updated

BibTeX
@inproceedings{shi2024unchosen,
  author = {Chufan Shi and Cheng Yang and Xinyu Zhu and Jiahao Wang and Taiqiang Wu and Siheng Li and Deng Cai and Yujiu Yang and Yu Meng},
  title = {{Unchosen Experts Can Contribute Too: Unleashing MoE Models' Power by Self-Contrast}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=2OJtN5HkNw},
}
Figure