Logprobs Know Uncertainty: Fighting LLM Hallucinations

Large Language Models (LLMs) excel in text generation but remain prone to hallucinations. Existing mitigation methods like Retrieval-Augmented Generation (RAG) and self-assessment face efficiency and bias limitations. We propose a novel logprob-based framework that proactively quantifies model uncertainty through two innovations: (1) integrating antonym candidates in token predictions, and (2) deriving uncertainty metrics from token-level logprobs. Experiments demonstrate our method effectively suppresses hallucinations while maintaining computational efficiency and transparency, offering a scalable solution for reliable LLM outputs.

Authors

Institutions

Publication Details

Published
2025-06-23
DOI
https://doi.org/10.1145/3696630.3731433
Citations
1
Primary Topic
International Arbitration and Investment Law
Type
article
Field-Weighted Citation Impact
2.23
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Logprobs Know Uncertainty: Fighting LLM Hallucinations

Mengyao Xu, Qiaoyin Gan, Zhenyu Zhu, Haojun Qin
1 citations
International Arbitration and Investment Law
2.23
article

Logprobs Know Uncertainty: Fighting LLM Hallucinations

Mengyao Xu, Qiaoyin Gan, Zhenyu Zhu, Haojun Qin
article en
1 citations

Abstract

Large Language Models (LLMs) excel in text generation but remain prone to hallucinations. Existing mitigation methods like Retrieval-Augmented Generation (RAG) and self-assessment face efficiency and bias limitations. We propose a novel logprob-based framework that proactively quantifies model uncertainty through two innovations: (1) integrating antonym candidates in token predictions, and (2) deriving uncertainty metrics from token-level logprobs. Experiments demonstrate our method effectively suppresses hallucinations while maintaining computational efficiency and transparency, offering a scalable solution for reliable LLM outputs.

Chinese Academy of Sciences (CN), Institute of Computing Technology (CN)
Openalex Percentile: Top 10%
International Arbitration and Investment Law
2.23
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.