Learn to be Honest: Mitigate LLMs' Overconfidence for Improving Hallucination Detection with Self-Hesitation Activation

Shi-Qi Yan, Ya Li, Quan Liu, Zhen-Hua LingOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

Large Language Models (LLMs) are notorious for "hallucinating" with high confidence, making it nearly impossible to detect errors using standard uncertainty metrics. This paper introduces SHAFT (Self-Hesitation Activation Fine-Tuning), a novel training strategy that stabilizes an "honest" intermediate state where models naturally express hesitation when they are wrong, significantly improving our ability to catch hallucinations before they are even generated.

What Problem Does This Paper Address?

The core issue in AI reliability isn't just that models lie—it’s that they lie with a straight face. This is known as overconfidence.

Most hallucination detection methods rely on "probing" the model’s internal states (like token probability or entropy) to find signs of uncertainty. The assumption is simple: if the model is unsure, it’s probably hallucinating. However, the authors point out a fatal flaw: traditional training (Supervised Fine-Tuning or SFT) encourages models to rationalize incorrect outputs. This creates a misalignment where a model might be 99% "sure" about a factually false statement.

Existing research shows that models actually go through a brief, "honest" phase early in training where they do hesitate on things they don't know. Unfortunately, this state is extremely unstable; as training continues, the model quickly returns to its overconfident ways.

Methods

The authors propose SHAFT (Self-Hesitation Activation Fine-Tuning) to capture and stabilize this "self-hesitation" state.

Standard SFT tries to maximize the probability of a target token regardless of how well the model already knows it. SHAFT changes the game with a selective and adaptive loss function:

  1. Hard-Sample Filtering: It ignores "easy" samples where the model already has the correct token as its top choice. This prevents "overtraining" on known facts.
  2. Adaptive Weighting: The loss is weighted by the maximum token probability. This forces the model to focus its learning effort on closing the gap between what it thinks is right and what is actually right, rather than just blindly boosting confidence scores.

The researchers evaluated this using eight different "probes"—six "calculator" methods (like Mean Token Entropy and Perplexity) and two "classifier" methods (training a small neural network to look at the model's hidden layers).

Datasets

The study utilized three representative open-domain Question-Answering (QA) benchmarks:

  • Natural Questions (NQ): Real-world queries from Google Search.
  • PopQA: A dataset focused on "long-tail" or rare entities, which are prime territory for hallucinations.
  • TriviaQA: A large-scale reading comprehension dataset.

Key Insights and Ideas

  • The "Self-Hesitation" State: The authors discovered that models aren't inherently overconfident; overconfidence is a byproduct of overtraining. There is a "Goldilocks zone" early in SFT where the model is "honest," but it usually disappears within 50 training steps. SHAFT extends this state to over 1,000 steps.
  • Hard Samples are the Key: Honesty isn't learned from things the model already knows. It is activated by forcing the model to confront "hard" samples—questions it originally got wrong.
  • The First Token Matters Most: Uncertainty is most visible in the very first token of a generated entity. Once the model commits to that first token, it usually follows through with high (but potentially false) confidence. This means we can detect hallucinations before the model finishes its sentence.
  • Decoupling Confidence from Correctness: SHAFT successfully "decouples" the model's tendency to be overconfident from the act of hallucinating, making the internal signals of a hallucination much louder and easier to detect.

Key Results

The results show that making a model "honest" via SHAFT dramatically boosts the accuracy of hallucination detection across the board:

  • Detection Accuracy: On the PopQA dataset using Qwen2.5-7B, the Maximum Token Probability (MTP) probe improved its detection performance by a staggering 17.4%.
  • Generalizability: SHAFT improved almost every probing method tested. For LLaMA3-8B on the NQ dataset, detection via Maximum Sequence Probability improved by 12.7%.
  • No Knowledge Loss: Importantly, SHAFT doesn't just make the model "hesitant"; it still allows the model to learn new facts. It avoids the typical trade-off where a more "cautious" model becomes less useful or knowledgeable.

Limitations and Future Work

  • The TriviaQA Anomaly: The authors noted that while SHAFT improved detection, fine-tuning in general struggled to improve raw accuracy on TriviaQA, suggesting that if the training data is too different from the task, even "honesty" can't save the model from producing more hallucinations.
  • Long-form Generation: While SHAFT works wonders for short, factual answers, probing remains more challenging for long-form, Chain-of-Thought (CoT) style generations where the model's internal "thinking" tokens can muddy the uncertainty signal.
  • Broader Applications: The paper focuses on hallucination detection, but the authors suggest that "learning to be honest" could have wider implications for AI safety and model alignment that are yet to be explored.

Summary updated

Abstract

While Large Language Models (LLMs) have demonstrated strong performance across a wide range of natural language processing tasks, plausible but unfaithful content is still inevitably generated, which is known as factual hallucination. Previous methods, such as classifier training and uncertainty estimation, have been proposed for hallucination detection. However, it is widely found that LLMs express overconfidence by attempting to rationalize the incorrect outputs, leading to a misalignment between perceived uncertainty and knowledge boundary perception. It significantly undermines the effectiveness of existing hallucination detection methods. We study the correlation between hallucination and overconfidence, arguing that they are systematically inseparable in traditional training strategies due to overtraining. To address this, a series of analyses are conducted and a method called Self-Hesitation Activation Fine-Tuning (SHAFT) is proposed to align the uncertainty with the factual correctness, making LLMs "More Honest". Experiments demonstrate that our approach significantly mitigates the overconfidence of LLMs and decouples overconfidence with hallucination, making the nonfactual instances more distinguishable. Furthermore, evaluations across three benchmarks reveal that SHAFT greatly improves the performance of various hallucination detection methods before generation, consistently indicating its generalizability and computational efficiency.
BibTeX
@misc{yan2026learn,
  author = {Shi-Qi Yan and Ya Li and Quan Liu and Zhen-Hua Ling},
  title = {{Learn to be Honest: Mitigate LLMs' Overconfidence for Improving Hallucination Detection with Self-Hesitation Activation}},
  year = {2026},
  url = {https://openreview.net/forum?id=FRtKUpgEZ9},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure