Skip to main content
QUICK REVIEW

[论文解读] Metacognitive Prompting Improves Understanding in Large Language Models

Yuqing Wang, Zhao Yun|arXiv (Cornell University)|Aug 10, 2023
Topic ModelingComputer Science被引用 9
一句话总结

元认知提示(MP)在LLMs中注入五阶段内省过程,以深化理解;在五种模型和GLUE/SuperGLUE任务中,MP 优于标准提示和Chain-of-Thought提示,GPT-4 常在性能领先。

ABSTRACT

In Large Language Models (LLMs), there have been consistent advancements in task-specific performance, largely influenced by effective prompt design. Recent advancements in prompting have enhanced reasoning in logic-intensive tasks for LLMs, yet the nuanced understanding abilities of these models, crucial for processing and interpreting complex information, remain underexplored. In this study, we introduce Metacognitive Prompting (MP), a strategy inspired by human introspective reasoning processes. Using MP, LLMs undergo a systematic series of structured, self-aware evaluations, drawing on both their vast inherent knowledge and new insights. We conduct extensive experiments on four prevalent LLMs: Llama2, PaLM2, GPT-3.5, and GPT-4, across ten natural language understanding (NLU) datasets from GLUE, SuperGLUE, BLUE, and LexGLUE benchmarks. Additionally, we compare our method with chain-of-thought prompting and its advanced versions. The results show that GPT-4 consistently excels across all tasks, while other models have shown significant progress in some tasks when used in conjunction with MP. Furthermore, MP consistently outperforms existing prompting methods in both general and domain-specific NLU tasks. This study underscores the potential to amplify the understanding abilities of LLMs and highlights the benefits of mirroring human introspective reasoning in NLU tasks.

研究动机与目标

  • 在超越表层推理的基础上,通过模仿人类内省过程来激发对LLMs的更深理解。
  • 引入元认知提示(MP)以构建LLMs中的自我意识评估阶段的结构。
  • 在来自GLUE和SuperGLUE的多样化NLU任务上使用多种LLM评估MP。
  • 将MP与标准提示和Chain-of-Thought提示进行比较,以评估理解和可靠性方面的提升。
  • 分析错误模式和置信信号,以理解MP的可靠性与局限性。

提出的方法

  • 提出包含五个阶段的元认知提示(MP):输入理解、初步判断、关键再评估、带推理的最终决策和置信度评估。
  • 向LLM输出包含这些阶段的单一综合提示,以引发迭代自我评估。
  • 在五个LLM(Llama-2-13b-chat、Vicuna-13b、PaLM-bison-chat、GPT-3.5-turbo、GPT-4)上使用零-shot和5-shot设置评估MP。
  • 使用贪心解码(temperature=0)和提示:Standard、Chain-of-Thought(CoT)和元认知提示。
  • 数据集来自GLUE和SuperGLUE基准,覆盖SST-2、STS-B、QQP、QNLI、WNLI、RTE、CB、WiC、WSC和COPA。
  • 在多次迭代中报告最佳结果,并将MP与SP和CoT进行比较。

实验结果

研究问题

  • RQ1元认知提示是否在多种模型之间提高LLMs在NLU任务上的表现,相较于标准提示和CoT?
  • RQ2MP如何影响在不同任务(情感、相似性、同义改写、问答/NLI、WSD、核心ference、COPA)中的表现?
  • RQ3在MP下的错误模式和置信信号有哪些,它们如何与可靠性相关?
  • RQ4更大模型(如GPT-4)相对于更小/开源模型在MP中获得的收益程度如何?
  • RQ5MP错误和置信分析中出现的局限性和潜在改进(如简化或对比检查点)是什么?

主要发现

  • MP 在五种LLM的大多数数据集上优于标准提示和CoT。
  • GPT-4始终取得最高性能;PaLM 使用MP在某些数据集(如COPA、WSC)上与GPT-4接近。
  • MP 在模型之间相对于标准提示平均提升4.4%–6.5%,相对于CoT提升2.0%–4.3%。
  • MP在WNLI、WSC和CB数据集上显示出显著提升(分别比CoT高3.7%、4.7%、4.8%)。
  • 错误分析指认两类MP特定错误:过度思考(情感与QQP)和过度纠错(WiC、WSC);提出潜在缓解方法(简化/设检查点)。
  • 置信度分析揭示MP的高真阳性率和相对较低的真阴性率,同时存在不容忽略的假阳性,提示需要校准的空间。

阅读本论文

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

在 Nubint 中阅读本论文

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