Detecting Hallucination Before Answering: Semantic Compression Through Instruction
Abstract
Large language models (LLMs) excel in various tasks but often suffer from hallucinations, providing incorrect information with high confidence. To address this, we focus on detecting when an LLM knows or does not know an answer, a concept referred to as the ``feeling of knowing'' (FoK). We propose a novel approach called Semantic Compression by trying to Answer in One-word (SCAO), which enables efficient FoK detection before generating full sentences, with only minimal computational cost. Additionally, we introduce a method to measure confounding variable effects in benchmarks, an Approximate Misannotation Effect (AME) test. Our experiments demonstrate that the feature fusion model of our SCAO and probing achieves enhanced performance in FoK detection in both short and long-form entity questions. The code and the dataset is available online (https://anonymous.4open.science/r/SCAO-2FF8).
BibTeX
@misc{seo2025detecting,
author = {Yeongbin Seo and Dongha Lee and Jinyoung Yeo},
title = {{Detecting Hallucination Before Answering: Semantic Compression Through Instruction}},
year = {2025},
url = {https://openreview.net/forum?id=YFOg1LUGG1},
howpublished = {OpenReview},
note = {Submitted to ICLR 2025},
}Ask Althea to put this paper to the test.