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

Rethinking LLM Ensembling from the Perspective of Mixture Models

Jiale Fu, Yuchu Jiang, PeiJun Wu, Chonghan Liu, Joey Tianyi Zhou, Xu Yang

TL;DR

This paper proposes a novel approach to Large Language Model (LLM) ensembling, "Mixture-model-like Ensemble" (ME), by reframing it as a mixture model. ME achieves equivalent performance to traditional ensembling methods but is significantly faster (1.78x-2.68x) by only invoking a single model per token generation step, rather than all models. This work also bridges LLM ensembling with token-level routing, suggesting ensembling is a fundamental form of routing.

What Problem Does This Paper Address?

Ensembling multiple LLMs is a powerful technique to boost performance and robustness, but it comes with a hefty computational price. Traditional ensembling methods require running each LLM in the ensemble through a separate forward pass for every single token generated. This leads to a significant increase in inference time, making it impractical for many real-world applications. While parallelizing these forward passes can offer some speedup, communication overhead between devices often limits the gains. The core problem is how to harness the benefits of ensembling without incurring prohibitive computational costs.

Methods

The authors introduce the Mixture-model-like Ensemble (ME). Instead of averaging the output probability distributions of all LLMs in the ensemble to form a single distribution from which to sample the next token, ME takes a different approach. It reinterprets the ensemble as a mixture model. At each step of token generation, ME stochastically selects one LLM from the ensemble based on their assigned weights (similar to sampling a component from a mixture distribution). Then, it uses only that selected LLM to generate the next token.

Mathematically, this is shown to be equivalent to sampling from the full ensemble distribution, meaning it produces the same quality of output. The key innovation is that it avoids the need for multiple forward passes and explicit distribution averaging, drastically reducing computational overhead.

The paper also introduces a Lazy Key-Value Cache Synchronization strategy to further optimize ME. Since only one model is active at a time, its KV cache might be outdated. This strategy updates the cache asynchronously and only when a model is selected, performing a "forward extend" operation for missing tokens to bring the cache up-to-date efficiently.

Datasets

The paper evaluates its method on several standard NLP benchmarks:

  • GSM8K: Mathematical reasoning.
  • MMLU: Multi-task understanding.
  • BBH: Complex logical reasoning.
  • ARC: General knowledge.

For MMLU and ARC, due to their size and category imbalance, the authors created balanced subsets by randomly selecting samples per subcategory.

Key Insights and Ideas

  • Ensembling as a Mixture Model: The core insight is that LLM ensembling doesn't need to involve all models for every token. Reinterpreting it as a mixture model allows for efficient sampling by selecting a single model.
  • Efficiency Without Performance Loss: The ME approach achieves significant speedups (1.78x-2.68x) while maintaining performance comparable to traditional, computationally expensive ensembling methods.
  • LLM Ensembling as a Special Case of Routing: The paper establishes a conceptual link between ME and token-level routing. ME can be seen as the simplest form of routing, where the "router" randomly selects an expert (LLM) at each step. This suggests that more sophisticated routing mechanisms could build upon this foundation.
  • Lazy KV Cache Synchronization is Crucial: For ME to be truly efficient, managing the KV cache effectively is vital. The proposed lazy synchronization method prevents the overhead from negating the benefits of single-model inference.
  • Adding More Models Isn't Always Better: The experiments show that simply increasing the number of models in an ensemble doesn't always lead to performance gains, highlighting the importance of careful model selection and configuration.

Key Results

  • Performance Equivalence: ME consistently achieved performance on par with conventional ensembling (CE) across various datasets and model configurations (similar, heterogeneous, and different sizes).
  • Significant Speedup: ME demonstrated a speedup of 1.78x to 2.68x compared to sequential and parallel conventional ensembling methods. The inference speed of ME approached that of a single model.
  • Hardware Robustness: The speedup benefits of ME were observed across different GPU architectures (RTX 3090, V100, A100), indicating its general applicability.
  • Ablation Study on Lambda (λ): The hyperparameter λ in ME controls the balance between models of different sizes. The study showed that ME's performance closely tracks CE's across different λ values, reinforcing their equivalence. The sensitivity to λ was found to depend on the performance gap between the constituent models.

Limitations and Future Work

  • Greedy Decoding Limitation: The proposed mixture-model perspective is primarily applicable to sampling-based decoding. In scenarios where greedy decoding (selecting the most probable token) is preferred, a full forward pass for each model is still necessary, limiting ME's applicability.
  • Potential Extensions: The authors suggest that the mixture-model concept can be extended to more complex combination operations beyond simple weighted averaging. They highlight the potential for more sophisticated "separable" combination structures and optimal separation strategies, which require further research. The connection to token-level routing also opens avenues for more advanced, input-aware routing mechanisms.

Summary updated

BibTeX
@inproceedings{fu2026rethinking,
  author = {Jiale Fu and Yuchu Jiang and PeiJun WU and Chonghan Liu and Joey Tianyi Zhou and Xu Yang},
  title = {{Rethinking LLM Ensembling from the Perspective of Mixture Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=YVk8EDxBWx},
}
Figure