arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.21022cs.AIcs.CLcs.LG
收藏

大型语言模型的知识边界发现

Knowledge Boundary Discovery for Large Language Models

Ziquan Wang, Zhongqi Lu

AI总结:

本文提出KBD框架,通过强化学习探索LLM的知识边界,通过自动生成可答与不可答问题识别边界,验证了方法的有效性。

摘要:

我们提出知识边界发现(KBD),一种基于强化学习的框架,用于探索大型语言模型(LLMs)的知识边界。我们通过自动生成两种类型的问题来定义知识边界:(i)LLM可以自信回答的问题(在知识边界内)和(ii)无法回答的问题(超出知识边界)。迭代探索和利用LLM的响应以找到其知识边界具有挑战性,因为存在幻觉现象。为了找到LLM的知识边界,智能体在建模探索部分可观测环境的情况下与LLM交互。智能体生成逐步问题作为动作,采用熵减少作为奖励,接收LLM的响应作为观察,并更新其信念状态。我们证明KBD通过自动找到一组非平凡可答和不可答问题来检测LLM的知识边界。我们通过将KBD生成的知识边界与人工编写的LLM基准数据集进行比较来验证KBD。实验表明,我们的KBD生成的问题集与人工生成的数据集相当。我们的方法为评估LLM开辟了新途径。

英文摘要:

We propose Knowledge Boundary Discovery (KBD), a reinforcement learning based framework to explore the knowledge boundaries of the Large Language Models (LLMs). We define the knowledge boundary by automatically generating two types of questions: (i) those the LLM can confidently answer (within-knowledge boundary) and (ii) those it cannot (beyond-knowledge boundary). Iteratively exploring and exploiting the LLM's responses to find its knowledge boundaries is challenging because of the hallucination phenomenon. To find the knowledge boundaries of an LLM, the agent interacts with the LLM under the modeling of exploring a partially observable environment. The agent generates a progressive question as the action, adopts an entropy reduction as the reward, receives the LLM's response as the observation and updates its belief states. We demonstrate that the KBD detects knowledge boundaries of LLMs by automatically finding a set of non-trivial answerable and unanswerable questions. We validate the KBD by comparing its generated knowledge boundaries with manually crafted LLM benchmark datasets. Experiments show that our KBD-generated question set is comparable to the human-generated datasets. Our approach paves a new way to evaluate LLMs.

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

↑