Enhancing LLM Reliability via Explicit Knowledge Boundary Modeling

Hang Zheng, Hongshen Xu, Yuncong Liu, Shuai Fan, Lu Chen, Pascale Fung, Kai Yu

TL;DR

This paper introduces the Explicit Knowledge Boundary Modeling (EKBM) framework to combat hallucinations in Large Language Models (LLMs). EKBM uses a two-stage approach: a fast model for quick, confident predictions and a slow refinement model for uncertain ones, balancing reliability with helpfulness. This method significantly improves LLM self-awareness and accuracy on complex tasks.

What Problem Does This Paper Address?

Large Language Models (LLMs) are powerful but prone to "hallucinations" – generating outputs that are factually incorrect or misaligned with context. This is particularly problematic when LLMs are asked questions that push the boundaries of their knowledge. Existing solutions, like estimating uncertainty or rejecting queries, often sacrifice either efficiency or helpfulness. The authors aim to create LLMs that are not only reliable but also useful, by explicitly modeling their knowledge boundaries and improving their self-awareness.

Methods

The core of the proposed solution is the Explicit Knowledge Boundary Modeling (EKBM) framework, which integrates "fast" and "slow" reasoning systems.

  • Fast Thinking Model: This initial stage generates responses and assigns a confidence label ("sure" or "unsure") to each prediction. High-confidence ("sure") outputs are used immediately, ensuring precision.
  • Slow Refinement Model: For "unsure" predictions, a more deliberate reasoning process is triggered. This isn't just about filtering out uncertain outputs; it's about using them as opportunities for improvement.

To achieve this, they propose a hybrid training pipeline:

  • Supervised Fine-Tuning (SFT): This involves multiple samplings of training data. Accurate predictions are labeled "sure," while errors or omissions are labeled "unsure." Crucially, erroneous outputs are not corrected during this phase to reinforce the model's ability to identify its own limitations.
  • Direct Preference Optimization (DPO): This technique uses Weighted-F1 scores to learn from preference pairs, guiding the model to better distinguish between "sure" and "unsure" outputs.

Datasets

The authors evaluate their methods on three Dialogue State Tracking (DST) datasets:

  • MultiWOZ-2.4
  • BiTOD
  • SGD

They also conducted supplementary experiments on the GSM8K mathematics dataset.

Key Insights and Ideas

  • "Sure" vs. "Unsure" as a Spectrum: Instead of a binary "correct/incorrect" or "reject/accept," the paper introduces a nuanced approach where "unsure" predictions are not just errors to be discarded but valuable signals for potential refinement.
  • Self-Awareness is Key to Reliability: The core idea is that an LLM's ability to accurately assess its own knowledge boundaries and output correctness is fundamental to reducing hallucinations.
  • Balancing Reliability and Helpfulness: The EKBM framework explicitly aims to strike a balance. "Sure" predictions offer high reliability, while "unsure" predictions, though less confident, still provide utility and a path to improvement, avoiding the "all-or-nothing" nature of strict rejection.
  • Refinement as an Opportunity: The "slow" reasoning stage isn't a fallback for failure but a structured process to improve potentially correct but uncertain outputs, enhancing recall and overall utility.

Key Results

  • Superior Self-Awareness: EKBM significantly outperforms traditional prompt-based and uncertainty-based methods in improving model self-awareness, as measured by Quality-F1 scores.
  • Improved Accuracy Post-Refinement: After applying the refinement stage, the EKBM system achieves substantial improvements in Slot-F1 and Joint Goal Accuracy (JGA) on DST tasks, demonstrating enhanced overall performance. For example, on MultiWOZ-2.4, their method achieved a JGA of 73.96% after refinement, compared to baselines like "Direct" (32.41%) or "Prob" (25.12%).
  • Scalability: The framework shows strong scalability across foundation models of varying capabilities, consistently outperforming baselines after refinement.
  • Cost-Effectiveness: The refinement process adds computational overhead, but the authors show that their methods achieve significant performance improvements at a relatively low cost, with the cost decreasing as the foundation model's performance improves.

Limitations and Future Work

  • Refinement Model Imperfection: The paper notes that the refinement model is not perfect. An excessive number of "unsure" predictions can lead to residual errors after refinement, highlighting the importance of a balanced "sure" and "unsure" classification.
  • Scenario-Specific Alpha Tuning: The optimal settings for the Weighted-F1 parameters (α₁ and α₂) depend on the specific scenario and the performance of the refinement model. If the refinement model is weak, a more conservative approach (higher α₁) might be needed.
  • Future Work: The authors suggest that their framework establishes a scalable paradigm for deploying reliable LLMs in error-sensitive applications, implying further exploration in diverse domains and more complex tasks. They also mention extending their method to mathematical problems, showing promising results.

Summary updated

BibTeX
@inproceedings{zheng2025enhancing,
  author = {Hang Zheng and Hongshen Xu and Yuncong Liu and Shuai Fan and Lu Chen and Pascale Fung and Kai Yu},
  title = {{Enhancing LLM Reliability via Explicit Knowledge Boundary Modeling}},
  booktitle = {COLM},
  year = {2025},
  url = {https://openreview.net/forum?id=WLgfeRhuA0},
}
Figure