Uncertainty-Aware Answer Selection for Improved Reasoning in Multi-LLM Systems

Aakriti Agrawal, Rohith Aralikatti, Anirudh Satheesh, Souradip Chakraborty, Amrit Singh Bedi, Furong Huang

Abstract

Large Language Models (LLMs) have demonstrated exceptional capabilities, yet selecting the most reliable response from multiple LLMs remains a challenge, particularly in resource-constrained settings. Existing approaches often depend on costly external verifiers, human evaluators, or self-consistency techniques that require multiple samples from a single model. While multi-LLM systems produce more diverse responses than single models and thus have greater potential, they often underperform compared to single LLM self-consistency. In this work, we propose a calibrated log-likelihood-based selection framework to improve multi-LLM performance. Our approach leverages uncertainty estimation to identify the most confident response while minimizing inference costs. We show that our method outperforms majority voting and exceeds self-consistency performance when using a large number of model calls. Through extensive experiments, we demonstrate improvements of approx. 4%, 3%, and 5% on GSM8K, MMLU, and ARC, respectively, when applying uncertainty-aware selection to multi-LLM systems.

Introduction

As Large Language Models (LLMs) become increasingly specialized in domains such as mathematics, coding, and creative writing, the use of multi-LLM ensembles has emerged as a powerful strategy for complex problem-solving. However, aggregating diverse outputs from an ensemble of models presents a significant technical hurdle. Traditional majority voting—selecting the most frequent answer—often fails when models are "confidently wrong" in different ways. Conversely, using a high-capacity "LLM-as-a-judge" (e.g., GPT-4) to select the best response is computationally expensive and slow.

A primary challenge in multi-LLM systems is calibration. Comparing the internal confidence (log-likelihood) of different architectures (e.g., Llama vs. Qwen) is inherently an "apples-to-oranges" comparison due to varying tokenizers and training objectives. This paper introduces a calibrated log-likelihood metric that enables an ensemble to "vote" using normalized internal confidence levels, effectively identifying the most reliable answer with high efficiency.

Methodology: Calibrated Log-Likelihood Selection

The proposed framework addresses the calibration problem through a four-step process designed to leverage the collective intelligence of the ensemble while maintaining low inference costs:

  1. Generation: Each model in the ensemble (e.g., Llama-3, Qwen-2.5, Ministral) generates a candidate answer for a given prompt.
  2. Cross-Scoring (Teacher-Forcing): Every model in the ensemble scores every candidate answer. This is achieved via "teacher-forcing," a single forward pass that calculates the probability of the specific token sequence without the need for autoregressive decoding.
  3. Normalization: To ensure comparability across different models, the log-likelihood is normalized by the sequence length (number of tokens). This prevents the system from unfairly penalizing detailed, longer responses.
  4. Aggregation: The normalized scores for each candidate are averaged across all models. This "Product-of-Experts" approach identifies the answer that the ensemble, as a whole, finds most probable.
Illustration of the proposed calibrated log-likelihood selection framework compared to traditional majority voting in a multi-agent reasoning scenario.

This method is significantly more efficient than traditional verification because it avoids the slow, token-by-token generation process during the scoring phase.

Experimental Evaluation

The effectiveness of the calibrated selection method was evaluated across three major reasoning benchmarks:

  • GSM8K: Grade-school math word problems.
  • MMLU: A multitask dataset, focusing on reasoning-heavy subsets such as Formal Logic and College Math.
  • ARC (AI2 Reasoning Challenge): The "Challenge" subset of grade-school science questions.

Results and Discussion

The proposed method consistently outperformed both random tie-breaking and standard majority voting. As shown in the experimental data, the system achieved absolute accuracy gains of approximately 4% on GSM8K, 3% on MMLU, and 5% on ARC.

Experimental results on GSM8K and ARC benchmarks, demonstrating the superiority of log-likelihood based selection over random selection and other uncertainty metrics.

Key findings from the results include:

  • Diversity as a Strength: Multi-LLM systems produce more diverse incorrect answers than single-model self-consistency. This diversity allows the calibrated metric to more effectively filter out noise and identify the correct consensus.
  • Efficiency Gains: By utilizing teacher-forced forward passes, the verification phase is roughly a factor of L (sequence length) cheaper than generating new samples for tie-breaking.
  • Superiority over Single-Model Sampling: A multi-LLM system using this selection method outperformed single-model "Best-of-N" approaches with the same number of model calls, suggesting that model diversity is more valuable than increased sampling from a single source.

Conclusion and Limitations

While uncertainty-aware selection provides a robust and efficient mechanism for answer aggregation, its benefits are most pronounced in resource-constrained settings where the number of LLM calls is limited. In scenarios with extremely high sampling budgets, the relative advantage over majority voting may diminish. Furthermore, the method's success relies on the diversity of the ensemble; models derived from the same base weights may share biases that compromise the consensus. Future research will explore adaptive sampling techniques to dynamically determine when sufficient confidence has been reached to terminate generation.

Summary updated

BibTeX
@inproceedings{agrawal2025uncertainty,
  author = {Aakriti Agrawal and Rohith Aralikatti and Anirudh Satheesh and Souradip Chakraborty and Amrit Singh Bedi and Furong Huang},
  title = {{Uncertainty-Aware Answer Selection for Improved Reasoning in Multi-LLM Systems}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
  url = {https://openreview.net/forum?id=bXt3br39if},
}
Figure