arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.10801cs.CLcs.LG
收藏

基于深度学习的知识边界表达方法:黑盒大语言模型

Deep Learning-based Method for Expressing Knowledge Boundary of Black-Box LLM

Haotian Sheng, Heyong Wang, Ming Hong, Hongman He, Junqiu Liu

AI总结:

本文提出LSCL方法,通过深度学习模型帮助黑盒LLMs准确表达其知识边界,显著提升准确率和召回率。

摘要:

大语言模型(LLMs)已取得显著成功,然而,内容生成扭曲(幻觉)的出现限制了其实际应用。幻觉的核心原因在于LLMs缺乏对存储内部知识的意识,这使它们在超出内部知识边界的问题上无法像人类一样表达其知识状态。然而,现有研究主要集中在白盒LLMs上,而黑盒LLMs(仅提供API访问,不暴露内部参数)的方法研究则鲜有探索。针对这一背景,本文提出了LSCL(LLM监督置信学习),一种基于深度学习的黑盒LLMs知识边界表达方法。基于知识蒸馏框架,该方法设计了一个深度学习模型。通过将黑盒LLMs的输入问题、输出答案和token概率作为输入,构建输入与模型内部知识状态之间的映射,从而实现对黑盒LLMs知识边界的量化和表达。在多种公开数据集上进行的实验以及多个知名黑盒LLMs的测试表明,LSCL有效帮助黑盒LLMs准确表达其知识边界。在准确率和召回率等指标上,LSCL显著优于现有基线模型。此外,考虑到某些黑盒LLMs不支持访问token概率的情况,提出了一种适应性替代方法。该替代方法的性能接近LSCL,且优于基线模型。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑