Teaching Large Language Models to Express Knowledge Boundary from Their Own Signals
Lida Chen, Zujie Liang, Xintao Wang, Jiaqing Liang, Yanghua Xiao, Feng Wei, Jinglei Chen, Zhenghong Hao, Bing Han, Wei Wang
TL;DR
This work tackles hallucinations in LLMs by teaching models to recognize and express their knowledge boundaries without labeled data. The authors propose CoKE, a two-stage framework that first probes internal confidence signals to identify what the model knows or does not know, and then trains the model to articulate its boundary using three prompts and a consistency loss, with fine-tuning confined to the attention layer via LoRA. Experiments on TriviaQA, Natural Questions, and PopQA show that CoKE substantially improves boundary expression and generalization to out-of-domain data, outperforming uncertainty-based and prompt-based baselines. The approach demonstrates that internal signals, when coupled with multi-prompt consistency, can enable more honest and robust responses, reducing hallucinations in knowledge-intensive tasks. These findings have practical implications for deploying LLMs in professional and high-stakes domains where admitting ignorance can be preferable to fabricating information.
Abstract
Large language models (LLMs) have achieved great success, but their occasional content fabrication, or hallucination, limits their practical application. Hallucination arises because LLMs struggle to admit ignorance due to inadequate training on knowledge boundaries. We call it a limitation of LLMs that they can not accurately express their knowledge boundary, answering questions they know while admitting ignorance to questions they do not know. In this paper, we aim to teach LLMs to recognize and express their knowledge boundary, so they can reduce hallucinations caused by fabricating when they do not know. We propose CoKE, which first probes LLMs' knowledge boundary via internal confidence given a set of questions, and then leverages the probing results to elicit the expression of the knowledge boundary. Extensive experiments show CoKE helps LLMs express knowledge boundaries, answering known questions while declining unknown ones, significantly improving in-domain and out-of-domain performance.
