TL;DR
Large Language Diffusion Models (LLDMs) offer fast, highly parallel text generation but remain prone to hallucinations. This paper introduces the first systematic framework for Uncertainty Quantification (UQ) tailored to LLDMs, leveraging their internal denoising trajectories to detect hallucinations with up to 100x less computational overhead than traditional sampling methods.
What Problem Does This Paper Address?
Traditional autoregressive large language models (like GPT-4) generate text token-by-token from left to right. While this makes it straightforward to calculate token probabilities for uncertainty estimation, it creates an inference bottleneck. LLDMs solve this by generating and iteratively refining multiple tokens in parallel via a denoising process.
However, LLDMs still suffer from factual hallucinations. Existing UQ methods fail to address this safely: they either assume a left-to-right generation order (which LLDMs don't use) or require generating multiple independent text samples to check for consistency. This repeated sampling is computationally expensive and completely destroys the core speed advantage of LLDMs. The authors tackle this gap by asking: Can we extract reliable uncertainty signals directly from a single generation trajectory of a diffusion model?
Methods
The authors propose extracting lightweight, "zero-shot" uncertainty signals directly from the LLDM's internal denoising process:
- Trajectory Semantic Instability: This measures how much the text's meaning shifts from the early, highly masked denoising steps to the final output. The authors formally prove that this dissimilarity lower-bounds the model's training loss, providing a strong theoretical justification for its use.
- Trajectory Statistics: The framework tracks generation complexity using metrics like the Number of Function Evaluations (NFE), token remasking dynamics, and token "flips" (how often a token changes during refinement).
- D-CoCoA (Diffusion-aware Confidence and Consistency): The authors adapt a state-of-the-art hybrid UQ method (CoCoA) into two diffusion-native variants:
- D-CoCoA Local: Combines token-level commitment confidence with block-level trajectory dissimilarity.
- D-CoCoA Global: Combines a global masked diffusion likelihood estimate with full trajectory drift and an NFE complexity penalty.
Datasets
The framework was evaluated across eight standard benchmarks spanning three distinct generation tasks:
- Question Answering (QA): MMLU, TriviaQA, CoQA, and GSM8k.
- Abstractive Text Summarization (ATS): SamSum and XSum.
- Neural Machine Translation (NMT): WMT14 (French$\rightarrow$English) and WMT19 (German$\rightarrow$English).
Experiments were conducted using two prominent 7B-parameter instruction-tuned LLDMs: LLaDA-1.5 and Dream.
Key Insights and Ideas
- The Trajectory is a "Free Lunch": Instead of running a model 10 separate times to see if it generates consistent answers (black-box sampling), you can look at the intermediate states of a single generation run. If the model fluctuates wildly or takes a long time to settle on an answer during denoising, it is highly uncertain.
- Theoretical Alignment: The paper bridges the gap between empirical heuristic signals and learning theory. By proving that expected trajectory dissimilarity bounds the masked diffusion training objective, they show that a model's instability during inference directly reflects its expected prediction error.
Key Results
- Superior Performance-Efficiency Frontier: The proposed D-CoCoA methods achieved a powerful trade-off, approaching the accuracy of the strongest sampling-based baselines while drastically reducing cost.
- 100x Speedup: Specifically, D-CoCoA-L required roughly 100x less additional computation time than top-performing sampling methods (like standard CoCoA or KLE) while sacrificing only a marginal amount of predictive accuracy (e.g., a minor 2.4% difference for LLaDA).
Limitations and Future Work
- Diffusion Paradigm Scope: The evaluation is restricted to discrete masked LLDMs. Evaluating these UQ methods on other diffusion paradigms (such as continuous embedding diffusion) or scaling up to larger model sizes remains future work.
- Idealized Assumptions: The theoretical bounds rely on the assumption of perfect model calibration (Fisher consistency), which may not hold perfectly in practical, real-world deployments.
- Hardware and Algorithm Specifics: The reported computational overhead is specific to the hardware used (NVIDIA A100/RTX 6000) and the parallel decoding algorithm (FastDLLM), meaning efficiency gains may vary across different serving frameworks.
Summary updated