Skip to main content
QUICK REVIEW

[论文解读] Language Models Are Greedy Reasoners: A Systematic Formal Analysis of Chain-of-Thought

Abulhair Saparov, He He|arXiv (Cornell University)|Oct 3, 2022
Topic ModelingComputer Science被引用 38
一句话总结

论文介绍 PRONTOQA,一个带有形式证明的合成问答数据集,用于分析 LLM 的链式推理,显示模型能够生成有效的单个推理步骤,但在证明规划和探索多种推导路径方面存在困难。

ABSTRACT

Large language models (LLMs) have shown remarkable reasoning capabilities given chain-of-thought prompts (examples with intermediate reasoning steps). Existing benchmarks measure reasoning ability indirectly, by evaluating accuracy on downstream tasks such as mathematical reasoning. However, it is unclear how these models obtain the answers and whether they rely on simple heuristics rather than the generated chain-of-thought. To enable systematic exploration of the reasoning ability of LLMs, we present a new synthetic question-answering dataset called PrOntoQA, where each example is generated from a synthetic world model represented in first-order logic. This allows us to parse the generated chain-of-thought into symbolic proofs for formal analysis. Our analysis on InstructGPT and GPT-3 shows that LLMs are quite capable of making correct individual deduction steps, and so are generally capable of reasoning, even in fictional contexts. However, they have difficulty with proof planning: When multiple valid deduction steps are available, they are not able to systematically explore the different options.

研究动机与目标

  • 评估 LLM 是否通过链式推理而非仅仅检索已学习的答案来推理。
  • 提供一个形式可解析的数据集(PRONTOQA)以检视预测的 CoT 步骤与黄金证明的对应关系。
  • 评估诸如本体类型、跳数和遍历方向等因素如何影响推理性能。

提出的方法

  • 生成一个合成的一阶逻辑本体及其证明。
  • 将证明转换为自然语言的 CoT 跟踪并给出相应标签。
  • 将 CoT 解析回符号形式以度量局部和全局的证明正确性。
  • 在受控变量(跳数、本体类型、遍历)下评估 INSTRUCTGPT 和 GPT-3。
  • 将证明步驟分类为规范化、原子/非原子和有效性类别,以定义多种正确性指标。

实验结果

研究问题

  • RQ1当在合成本体上进行推理时,LLMs 是否能够产生有效的单个证明步骤?
  • RQ2当存在多种有效步奏时,模型是否表现出全局证明规划能力?
  • RQ3本体的真实度(真实/虚构/虚拟)和遍历方向如何影响推理?
  • RQ4哪些指标能与正确推理的关系最紧密,而非表面标签的准确性?
  • RQ5模型规模在多大程度上影响推理能力和润校(proofreading)?

主要发现

  • LLMs 能够生成正确的单个推理步骤,即使在虚构本体上也是如此。
  • 当存在多种有效步驟时,模型在证明规划方面表现欠佳,导致证明不完整或答案不正确。
  • 真实世界知识(真实本体)提升推理能力并降低对跳数的敏感性。
  • 更大模型显示出更高的证明准确性和更少的无效步骤,text-davinci-002 的表现优于较小的变体。
  • 标签准确性并不能紧密跟随严格的证明准确性,但与最宽松的度量(如跳过或有效证明准确性)更一致。

阅读本论文

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

在 Nubint 中阅读本论文

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