atlas

Research map / Large language models / Language, safety and interpretability

Improving Uncertainty Estimation through Semantically Diverse Language Generation

ICLR 2025 · Large language models › Language, safety and interpretability · approach: Uncertainty quantification for LLMs · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Semantically Diverse Language Generation (SDLG), an importance-sampling method that steers LLM generation toward semantically diverse yet likely alternatives to estimate semantic entropy for hallucination detection.

Problem

Estimating aleatoric semantic uncertainty in autoregressive LLMs is imprecise with few samples, because multinomial sampling rarely produces semantically diverse yet likely output sequences, and sampling is computationally expensive.

Approach

Uses NLI-model gradients to score tokens by attribution, substitution, and importance, deterministically substitutes the top-ranked token at a word start, regenerates the suffix, and corrects with importance-sampling weights; also derives a proper semantic entropy estimator from importance sampling.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use SDLG instead of the strongest listed baseline for semantic entropyOPT language models · TruthfulQAAUROC: .846 -> .920; .781 -> .881; .896 -> .956; .864 -> .927Helped
Use SDLG instead of the strongest listed baseline for semantic entropyOPT language models · CoQAAUROC: .744 -> .744; .764 -> .759; .758 -> .760; .767 -> .768Mixed
Use SDLG instead of the strongest listed baseline for semantic entropyOPT language models · TriviaQAAUROC: .808 -> .809; .823 -> .829; .841 -> .845; .837 -> .840Helped
Use the proper semantic entropy estimator rather than the improper estimatorSemantic entropy with multinomial sampling · Question answering tasksAUROCHelped
Add targeted semantic token substitutions to multinomial samplingSDLG · CoQA semantic clusterssemantic clusters found: +19%; +74%Helped
Use SDLG rather than multinomial samplingUncertainty estimation · TruthfulQAFLOPs: 15%Helped
Use SDLG rather than multinomial samplingUncertainty estimation · CoQAFLOPs: 33%Helped
Use SDLG rather than multinomial samplingUncertainty estimation · TriviaQAFLOPs: 21%Helped
Include the attribution score in token ranking (ablation)SDLG · Question answering tasksAUROCHelped
Include the substitution score in token ranking (ablation)SDLG · Question answering tasksAUROCHelped
Include the importance score in token ranking (ablation)SDLG · Question answering tasksAUROCHelped

Surprising findings

Limitations

Experimental setup

Datasets: TruthfulQA CoQA TriviaQA

Benchmarks: TruthfulQA CoQA TriviaQA

Metrics: AUROC Rouge-L Rouge-1 BLEURT

Baselines: Predictive Entropy Length-Normalized Predictive Entropy SAR SE multinomial sampling SE diverse beam search

Builds on: semantic entropy importance sampling diverse beam search SAR

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy