TL;DR
This paper introduces Collaborative Entropy (CoE), a novel metric for quantifying uncertainty in multi-LLM systems. CoE goes beyond single-model uncertainty by explicitly measuring both individual model confidence and semantic disagreement between models, offering a more holistic view of system reliability.
What Problem Does This Paper Address?
As Large Language Models (LLMs) become more powerful and are increasingly deployed in critical applications, understanding their uncertainty is paramount. While methods exist to quantify uncertainty within a single LLM (e.g., token-level entropy, semantic entropy), these fall short when multiple LLMs collaborate. Existing approaches often simply average per-model uncertainties, failing to capture the crucial aspect of semantic disagreement between diverse models. This disagreement can lead to system-level unreliability even if individual models are confident. The authors aim to bridge this gap by proposing a metric that quantifies uncertainty at the system level in multi-LLM collaborations, distinguishing between internal model ambiguity and inter-model semantic divergence.
Methods
The core contribution is Collaborative Entropy (CoE), an information-theoretic metric designed for multi-LLM systems. CoE is defined over a shared semantic cluster space and decomposes system uncertainty into two key components:
- Intra-model aleatoric uncertainty ($U_A$): This is the average semantic entropy across all participating LLMs. It captures the internal ambiguity or "confidence" of each individual model.
- Inter-model epistemic uncertainty ($U_E$): This measures the semantic divergence of each model's output distribution from the weighted ensemble mean. The authors use an asymmetric KL divergence for this, which they argue is crucial for capturing directional epistemic disagreement.
CoE is not a predictor or scoring rule itself but a system-level measure. The authors also present a CoE-guided post-hoc coordination heuristic. This is a training-free method that uses CoE signals to adjust model weights at inference time, aiming to reduce overall system uncertainty without retraining the models. This heuristic involves iteratively refining model distributions towards their most probable cluster (delta distribution approximation) and updating ensemble weights proportionally to their semantic entropy.
Datasets
The paper evaluates its proposed metric and heuristic on two standard datasets:
- TriviaQA: A large-scale reading comprehension dataset requiring retrieval and compositional reasoning.
- SQuAD: An extractive QA dataset built on Wikipedia articles, focusing on precise context grounding.
Both datasets were used with 200 samples from their validation splits. No new benchmarks were introduced.
Key Insights and Ideas
- Semantic disagreement is key: The paper strongly emphasizes that simply averaging individual model uncertainties is insufficient. The way diverse LLMs semantically disagree is a critical source of system-level uncertainty that needs explicit modeling.
- Decomposition is actionable: By separating uncertainty into intra-model ($U_A$) and inter-model ($U_E$) components, CoE provides diagnostic information. High $U_A$ suggests improving individual models (e.g., via prompting), while high $U_E$ points to the need for better inter-model alignment.
- Asymmetric divergence matters: The choice of an asymmetric KL divergence for $U_E$ is highlighted as crucial. It effectively captures when a model is an "outlier" relative to the group, which symmetric measures can miss, leading to better uncertainty estimation.
- Ideal state is zero CoE: The metric has a theoretical minimum of zero, achieved only when all models are internally confident and semantically consistent. This provides a clear target for multi-LLM system design.
Key Results
- Superior Uncertainty Quantification: CoE consistently outperformed standard single-model baselines (Semantic Entropy, Regular Entropy, Pfalse) and its own ablation components ($U_A$, $U_E$) on both TriviaQA and SQuAD datasets.
- Gains with Ensemble Size: The advantage of CoE over baselines grew as more heterogeneous models were added to the ensemble. For example, on TriviaQA, CoE's AUROC increased from 0.683 (2 LLMs) to 0.772 (3 LLMs).
- CoE-guided heuristic effectiveness: The post-hoc coordination heuristic, particularly when using KL divergence, achieved significant accuracy gains (+39.0% on TriviaQA) and reduced residual CoE substantially compared to symmetric divergence measures.
- Robustness: The CoE-reduction algorithm showed robustness to convergence thresholds and sampling temperatures, indicating practical applicability.
Limitations and Future Work
- Epistemic contamination of SE: The authors acknowledge that intra-model semantic entropy ($U_A$) might conflate true aleatoric uncertainty with epistemic uncertainty at the single-model level. For instance, a model lacking knowledge might hallucinate diverse but incorrect answers, artificially inflating SE. This is an open problem in single-model UQ.
- Superficial stylistic differences: Inter-model KL divergence ($U_E$) might capture superficial stylistic differences (e.g., verbosity) rather than genuine epistemic disagreement. Future work could involve semantic normalization techniques to mitigate this.
- Scaling to larger models and closed APIs: The metric's applicability to larger models and closed-source APIs (where token probabilities might be unavailable) is a direction for future research.
- Sequential multi-agent settings: Extending CoE to sequential interactions where uncertainty accumulates over multiple rounds is another promising avenue.
Summary updated