Skip to main content
QUICK REVIEW

[论文解读] Do Large Language Models Know What They Don't Know?

Zhangyue Yin, Qiushi Sun|arXiv (Cornell University)|May 29, 2023
Topic ModelingComputer Science被引用 7
一句话总结

本文提出 SelfAware 数据集用于区分不可回答与可回答的问题,并提出基于文本相似度的自知之明测量方法,结果表明指令微调与更大模型提升自知之明,但人类仍处于劣势。

ABSTRACT

Large language models (LLMs) have a wealth of knowledge that allows them to excel in various Natural Language Processing (NLP) tasks. Current research focuses on enhancing their performance within their existing knowledge. Despite their vast knowledge, LLMs are still limited by the amount of information they can accommodate and comprehend. Therefore, the ability to understand their own limitations on the unknows, referred to as self-knowledge, is of paramount importance. This study aims to evaluate LLMs' self-knowledge by assessing their ability to identify unanswerable or unknowable questions. We introduce an automated methodology to detect uncertainty in the responses of these models, providing a novel measure of their self-knowledge. We further introduce a unique dataset, SelfAware, consisting of unanswerable questions from five diverse categories and their answerable counterparts. Our extensive analysis, involving 20 LLMs including GPT-3, InstructGPT, and LLaMA, discovering an intrinsic capacity for self-knowledge within these models. Moreover, we demonstrate that in-context learning and instruction tuning can further enhance this self-knowledge. Despite this promising insight, our findings also highlight a considerable gap between the capabilities of these models and human proficiency in recognizing the limits of their knowledge.

研究动机与目标

  • 评估 LLMs 在识别不可回答或不可知的问题(自知之明)方面的能力。
  • 创建一个多样化的不可回答与可回答问题数据集以测试自知之明。
  • 提出一个自动化、基于文本相似度的不确定性检测方法以量化自知之明(F1 分数)。
  • 分析模型规模、指令微调和输入形式在不同模型中的自知之明影响。

提出的方法

  • 从多个来源构建 SelfAware 数据集,包含 1,032 条不可回答与 2,337 条可回答问题。
  • 使用参考的不确定含义句子集合和 SimCSE 构建基于相似度的不确定性检测器;采用 0.75 的阈值与长度为 5 的滑动窗口对语义分块进行处理。
  • 通过将不可回答的问题视为正例、可回答的问题视为负例来计算 F1 分数。
  • 评估 20 种 LLM(GPT-3、InstructGPT、LLaMA、Alpaca、Vicuna、GPT-4 等)在 Direct、Instruction、和 ICL 输入形式下的表现。
  • 通过两名志愿者对 100 个样本进行打分来建立一个人类自知之明基准。

实验结果

研究问题

  • RQ1LLMs 是否能可靠识别不可回答或不可知的问题?
  • RQ2模型规模如何影响不同架构和训练方式下的自知之明?
  • RQ3指令微调与输入形式(Direct、Instruction、ICL)对自知之明有何影响?
  • RQ4当前的 LLM 自知之明与人类表现相近到何种程度?
  • RQ5不可回答问题的主要类别有哪些,它们如何影响评估?

主要发现

  • 自知之明(表示不确定性的能力)随模型规模的增大在各种输入形式中得到提升。
  • 指令微调(InstructGPT 等)相对于基础 GPT-3 变体能增强自知之明。
  • 上下文学习和提供指令/示例显著提升自知之明,尤其对 davinci 系列。
  • GPT-4 在测试模型中达到最高的自知之明,达到 75.47%,但人类为 84.93%。
  • 现有的最先进 LLM 与人类在识别自身极限方面仍存在显著差距。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。