[论文解读] Deep Learning-based Method for Expressing Knowledge Boundary of Black-Box LLM
论文提出 LSCL,一种通过知识蒸馏框架表达黑盒 LLMs 知识边界的深度学习方法;在无法获得词概率时有自适应变体。
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.
研究动机与目标
- 通过使 LLM 了解其内部知识边界来解决幻觉问题。
- 开发一种仅通过 API 访问即可表达黑盒 LLM 知识状态的方法。
- 量化并映射输入(问题、回答、词概率)到模型的内部知识状态。
- 在多样数据集和多种黑盒 LLM 上展示有效性。
- 在缺少词概率访问的情形下提供自适应替代方案。
提出的方法
- 基于知识蒸馏框架,学习从输入映射到知识状态的过程。
- 输入包括问题、LLM 输出以及来自黑盒 LLM 的词概率。
- 学习一个深度模型(LSCL),量化并表达 LLM 的知识边界。
- 在多个公开数据集和知名黑盒 LLM 处进行评估。
- 提出一种自适应变体,在不可获得词概率时去除该信息,同时保持性能。
实验结果
研究问题
- RQ1LSCL 是否能够准确表达黑盒 LLM 的知识边界?
- RQ2在可获得词概率时,LSCL 的准确性与召回率是否优于基线模型?
- RQ3当无法访问词概率时,自适应变体的性能表现如何?
- RQ4该方法在多样数据集和多种黑盒 LLM 上是否有效?
主要发现
- LSCL 能有效帮助黑盒 LLM 表达其知识边界。
- 在实验中,LSCL 在准确率和召回率方面显著优于现有基线。
- 自适应替代方案在接近 LSCL 的性能基础上实现且在没有词概率时也优于基线。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。