Credal Large Language Models for Semantic Commitment under Uncertainty

Shireen Kudukkil Manchingal, Sofiia Nikolenko, Fabio CuzzolinarXiv 2026

TL;DR

Standard Large Language Models (LLMs) flatten their uncertainty into a single probability distribution, often leading them to hallucinate answers with unwarranted confidence. This paper introduces Credal Large Language Models (CLLMs), which use an ensemble of LoRA adapters to define a set of plausible distributions (a credal set) rather than just one. By tracking upper and lower probability bounds, CLLMs significantly improve model calibration, hallucination detection, and selective prediction while offering a cheap, generation-free scoring option.

What Problem Does This Paper Address?

When an LLM answers a question, it outputs a single "softmax" probability distribution over the next token. The core issue is that this representation conflates two very different types of uncertainty:

  1. Aleatoric uncertainty: Inherent ambiguity in language (e.g., if a question has multiple valid synonyms as answers).
  2. Epistemic uncertainty: Genuine ignorance (e.g., the model lacks the facts or context to answer correctly).

By forcing these two distinct signals into a single distribution, standard LLMs often look just as confident when they are completely guessing as when they actually know the answer. The authors tackle this challenge by preserving the full spread of plausible predictions, allowing models to safely choose to abstain or flag doubt when their underlying knowledge base is unstable.

Methods

Instead of relying on a single predictive distribution, the authors propose Credal Large Language Models (CLLMs):

  • Credal Sets via LoRA Ensembles: CLLM deploys an ensemble of $M=5$ low-rank adaptation (LoRA) adapters on top of a frozen base LLM. Each adapter is trained with a different initialization seed, yielding its own next-token distribution. The convex hull of these distributions forms a credal set—a geometric space of plausible beliefs.
  • Lower and Upper Probabilities: Rather than averaging these predictions together, CLLM tracks the worst-case (lower bound $\underline{P}$) and best-case (upper bound $\overline{P}$) probabilities for every token. A large gap between the two signals indicates high epistemic uncertainty. This concept is visualized in Single Softmax vs Credal Set.
  • Intersection Probability Transform: To make an actual token prediction, the model uses a mathematical transform to select a single representative point from the credal set, keeping the rest of the geometry intact for uncertainty analysis.
Figure 1: Left: a single softmax gives a sharp prediction whether the model is confident or merely committed. Right: the credal set induced by a LoRA ensemble exposes for each token a lower probability P (top of solid red bar) and an upper probability P (top of outlined band); a non-trivial gap P−P on tokens with weak support separates robust commitment from epistemic ignorance.

From this framework, the authors derive three distinct decision scores:

  1. Credal Token Commitment (CTC): A token-space score that combines lower-bound support, credal width, and intersection entropy. Crucially, CTC is computed entirely on the first token without requiring any text generation, making it highly computationally efficient.
  2. Semantic Commitment Consistency (SCC): For scenarios where generation is permissible, SCC samples multiple full completions, clusters them by semantic meaning, and checks if the token-level choice aligns with the overall semantic intent.
  3. SCC-Gap: Measures the absolute divergence between token-level and semantic-level support, serving as a diagnostic tool to catch instances where surface fluency masks underlying semantic chaos.

The complete architectural pipeline is mapped out in CLLM Architecture.

Figure 2: CLLM architecture. An LLM with M LoRA adapters on a frozen backbone produces, in parallel, two views of the next-token prediction. (2a) Token space (top): each adapter outputs a next-token distribution pm over the vocabulary (illustrated bar chart). Treated as M points in the probability simplex over the top three candidates here “Paris”, “France”, “the”, their convex hull (cyan) is the credal set P(x), with lower / upper bounds P, P on its facets and the intersection-probability transform ˆp (red dot) selecting y∗=“Paris”. The credal token commitment Ctok reads the lower-bound margin of y∗against the strongest competitor through a sigmoid. (2b) Semantic space (bottom): the same LLM is sampled K times to produce text completions; clustering by meaning gives a dominant cluster c∗(here the Paris cluster, k=3) whose mass and margin define the semantic commitment Csem. (3) Commitment scores: CTC compresses the credal-set geometry alone, requiring no generation, and is illustrated as the product of three glyphs: the blue bar denotes the token commitment Ctok, the two parallel red lines denote a narrow credal set, and the red triangle denotes a sharp intersection-probability peak. SCC multiplies token-level commitment by semantic-cluster commitment; SCC-Gap flags divergence between the two (shown by the ∆arrow). (4) Decision: commit or abstain based on the chosen score.

Datasets

The authors evaluated their approach across several open-weight backbones (Gemma-2-9B, Llama-3.1-8B, and Qwen2.5-7B) using the following benchmarks:

  • OpenBookQA: A 4-way multiple-choice dataset used to evaluate constrained, letter-level vocabulary spaces.
  • CoQA: A free-form conversational question-answering dataset to test lexical variability under semantic agreement.
  • TriviaQA: An open-ended factual QA dataset characterized by a long-tail entity vocabulary.
  • ARC-Challenge: A difficult multiple-choice reasoning dataset requiring multi-step inference.
  • AdvBench: An adversarial prompt dataset containing harmful instructions and injection attacks to evaluate safety boundaries.

Key Insights and Ideas

  • Don't Average Out Disagreement: Traditional ensembles average their softmax outputs, which flattens out and destroys the geometric signature of adapter disagreement. Keeping the ensemble as a bounded set explicitly preserves the "spread" of plausible truths.
  • Cheap Uncertainty is Possible: The generation-free CTC score performs remarkably well at detecting hallucinations. This challenges the common assumption in the LLM community that robust uncertainty quantification must rely on expensive sampling loops.
  • Regime-Dependent Failures: The authors discovered that the mismatch between token-level confidence and semantic-level meaning (SCC-Gap) behaves differently depending on the failure mode. Under random context corruption, token and semantic support degrade together. However, under targeted adversarial attacks, token confidence remains high while semantic meanings split, making the SCC-Gap an excellent diagnostic tool for jailbreaks.

Key Results

  • Near-Zero Calibration Error: On the multi-step reasoning tasks of the ARC-Challenge, CLLM collapsed the Expected Calibration Error (ECE) to $\le 0.6\%$ across all three backbones. In comparison, standard LLM confidence metrics suffered from massive miscalibration, with ECEs inflating up to 80.6% (see ARC Results Table).
  • High-Accuracy Selective Prediction: In a selective prediction setup at 80% coverage (where the model answers only its top 80% most confident queries and abstains from the rest), CLLM combined with SCC reached an outstanding 99.0% accuracy on OpenBookQA (detailed in Selective Prediction Table).
  • Efficient Hallucination Detection: The generation-free CTC score tracked within 1.5 percentage points of the best computationally heavy sampling baselines across most hallucination settings, providing a massive win for inference efficiency (see Hallucination AUROC Table).
Table 3: ARC-Challenge reasoning results (N=500). CLLM uses Csem as the confidence; Standard LLM uses exp(−¯H) as the proxy. Selective prediction is reported at 80% coverage. Arrows in column headers indicate metric direction. Bold = best per column, underlined = second-best.
Table 2: Per-dataset selective prediction at 80% coverage. CLLM + SCC matches or beats Semantic Entropy and the LoRA Ensemble baseline on all three datasets, with the largest gap on OpenBookQA (CLLM+SCC 99.0% vs Semantic Entropy 98.0% accuracy among retained predictions). Bold = best per column, underlined = second-best.
Table 4: Hallucination detection AUROC under corrupted versus clean context. All values are AUROC (↑). Each setting is computed over 250 clean and 250 corrupted prompts using a 5-adapter LoRA ensemble with K=16 semantic samples per query and BAAI/bge-base-en-v1.5 embeddings; cluster threshold τ=0.8 for OpenBookQA and τ=0.5 for CoQA and TriviaQA. Bold = best per column, underlined = second-best.

Limitations and Future Work

  • Computational Overhead: While the CTC score avoids generation costs, running an ensemble of 5 LoRA adapters still increases parameter overhead and inference compute (adding roughly a 1.1× cost per member for the forward pass). For semantic scores (SCC), generating $K=16$ completions per query remains expensive.
  • Empirical Approximation: The $M=5$ ensemble size is an empirical approximation of the true credal set rather than a formally calibrated Bayesian posterior.
  • Future Directions: The authors propose extending the token-space CTC score to longer-form generation, which requires propagating the credal set across multiple sequential decoding steps. They also plan to stress-test the SCC-Gap on a wider variety of adversarial attack protocols.

Summary updated

BibTeX
@misc{manchingal2026credal,
  author = {Shireen Kudukkil Manchingal and Sofiia Nikolenko and Fabio Cuzzolin},
  title = {{Credal Large Language Models for Semantic Commitment under Uncertainty}},
  year = {2026},
  eprint = {2608.23244},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.23244},
}
Figure