[Paper Review] Deep Learning-based Method for Expressing Knowledge Boundary of Black-Box LLM
The paper presents LSCL, a deep learning method to express the knowledge boundaries of black-box LLMs via a knowledge-distillation framework, with an adaptive variant for when token probabilities are unavailable.
Large Language Models (LLMs) have achieved remarkable success, however, the emergence of content generation distortion (hallucination) limits their practical applications. The core cause of hallucination lies in LLMs' lack of awareness regarding their stored internal knowledge, preventing them from expressing their knowledge state on questions beyond their internal knowledge boundaries, as humans do. However, existing research on knowledge boundary expression primarily focuses on white-box LLMs, leaving methods suitable for black-box LLMs which offer only API access without revealing internal parameters-largely unexplored. Against this backdrop, this paper proposes LSCL (LLM-Supervised Confidence Learning), a deep learning-based method for expressing the knowledge boundaries of black-box LLMs. Based on the knowledge distillation framework, this method designs a deep learning model. Taking the input question, output answer, and token probability from a black-box LLM as inputs, it constructs a mapping between the inputs and the model' internal knowledge state, enabling the quantification and expression of the black-box LLM' knowledge boundaries. Experiments conducted on diverse public datasets and with multiple prominent black-box LLMs demonstrate that LSCL effectively assists black-box LLMs in accurately expressing their knowledge boundaries. It significantly outperforms existing baseline models on metrics such as accuracy and recall rate. Furthermore, considering scenarios where some black-box LLMs do not support access to token probability, an adaptive alternative method is proposed. The performance of this alternative approach is close to that of LSCL and surpasses baseline models.
Motivation & Objective
- Address the hallucination problem by making LLMs aware of their internal knowledge boundaries.
- Develop a method that expresses knowledge states for black-box LLMs with only API access.
- Quantify and map inputs (question, answer, token probabilities) to the model's internal knowledge state.
- Demonstrate effectiveness across diverse datasets and multiple black-box LLMs.
- Provide an adaptive alternative for scenarios lacking token probability access.
Proposed method
- Grounded in a knowledge distillation framework to learn mapping from inputs to knowledge state.
- Inputs include the question, the LLM output, and token probabilities from the black-box LLM.
- Learns a deep model (LSCL) that quantifies and expresses the LLM's knowledge boundary.
- Evaluates against multiple public datasets and prominent black-box LLMs.
- Proposes an adaptive variant that omits token probabilities when unavailable while maintaining performance.
Experimental results
Research questions
- RQ1Can LSCL accurately express the knowledge boundary of black-box LLMs?
- RQ2Does LSCL outperform baseline models in accuracy and recall when token probabilities are available?
- RQ3How does the adaptive variant perform when token probabilities are not accessible?
- RQ4Is the method effective across diverse datasets and multiple black-box LLMs?
Key findings
- LSCL effectively assists black-box LLMs in expressing their knowledge boundaries.
- LSCL significantly outperforms existing baselines on accuracy and recall across experiments.
- The adaptive alternative achieves performance close to LSCL and surpasses baselines even without token probabilities.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.