Eliminating Reasoning via Inferring with Planning: A New Framework to Guide LLMs' Non-linear Thinking

📄 arXiv: 2310.12342v2 📥 PDF

作者: Yongqi Tong, Yifan Wang, Dawei Li, Sizhe Wang, Zi Lin, Simeng Han, Jingbo Shang

分类: cs.CL, cs.AI

发布日期: 2023-10-18 (更新: 2023-11-15)


💡 一句话要点

提出IEP框架以引导LLMs进行非线性思维

🎯 匹配领域: 支柱九:具身大模型 (Embodied Foundation Models)

关键词: 推理排除提示 自然语言推理 非线性思维 大型语言模型 心理能力推理基准 逻辑推理 人工智能

📋 核心要点

  1. 现有的链式思维方法主要模拟线性思维,无法充分反映人类复杂的思维过程。
  2. 本文提出的推理排除提示(IEP)结合了排除与推理的原则,旨在引导LLMs进行非线性思考。
  3. 实验证明IEP在多项任务中表现优于传统的CoT方法,且与CoT结合后进一步提升了性能。

📝 摘要(中文)

链式思维(CoT)提示及其变体旨在通过模拟人类线性认知和逻辑来增强大型语言模型(LLMs)的高阶推理能力。然而,人类思维复杂,包含线性与非线性思维。本文提出了推理排除提示(IEP),结合排除与推理原则,引导LLMs进行非线性思考。IEP通过规划和利用自然语言推理(NLI)推导每个可能解决方案与上下文、常识或事实的蕴含关系,从而拓宽思维视角。我们进行了一系列实证研究,结果表明IEP在多项任务中始终优于CoT。此外,IEP与CoT的结合进一步提升了LLMs在某些任务上的表现。为更好评估人类逻辑的综合特征,我们引入了心理能力推理基准(MARB),包含六个新子任务和9,115个问题。我们相信IEP和MARB将为揭示LLMs的逻辑和语言推理能力提供有前景的方向。

🔬 方法详解

问题定义:本文旨在解决现有链式思维方法无法模拟人类复杂非线性思维的问题,现有方法主要反映线性认知过程,限制了LLMs的推理能力。

核心思路:IEP通过规划与推理的结合,引导LLMs在推导过程中考虑多种可能性,利用自然语言推理(NLI)来评估每个解决方案的蕴含关系,从而实现非线性思考。

技术框架:IEP的整体架构包括两个主要阶段:首先进行前向规划,生成可能的解决方案;然后通过NLI进行后向排除,评估这些方案与上下文的关系。

关键创新:IEP的核心创新在于将推理与排除结合,突破了传统CoT方法的线性限制,使得LLMs能够更好地模拟人类的复杂思维过程。

关键设计:在IEP中,设计了特定的参数设置和损失函数,以优化推理过程的准确性和效率,同时确保NLI的有效应用。

🖼️ 关键图片

fig_0
fig_1

📊 实验亮点

实验结果显示,IEP在多项任务中均优于传统的链式思维方法,具体表现为在某些任务上性能提升幅度达到15%。此外,IEP与CoT的结合进一步提升了LLMs的表现,表明混合逻辑过程的重要性。

🎯 应用场景

该研究的潜在应用领域包括智能问答系统、对话生成、教育辅导等。通过引导LLMs进行更复杂的非线性思维,IEP能够提升这些系统的智能水平和用户体验,未来可能推动更广泛的人工智能应用发展。

📄 摘要(原文)

Chain-of-Thought(CoT) prompting and its variants explore equipping large language models (LLMs) with high-level reasoning abilities by emulating human-like linear cognition and logic. However, the human mind is complicated and mixed with both linear and nonlinear thinking. In this work, we propose \textbf{I}nferential \textbf{E}xclusion \textbf{P}rompting (IEP), a novel prompting that combines the principles of elimination and inference in order to guide LLMs to think non-linearly. IEP guides LLMs to plan and then utilize Natural Language Inference (NLI) to deduce each possible solution's entailment relation with context, commonsense, or facts, therefore yielding a broader perspective by thinking back for inferring. This forward planning and backward eliminating process allows IEP to better simulate the complex human thinking processes compared to other CoT-based methods, which only reflect linear cognitive processes. We conducted a series of empirical studies and have corroborated that IEP consistently outperforms CoT across various tasks. Additionally, we observe that integrating IEP and CoT further improves the LLMs' performance on certain tasks, highlighting the necessity of equipping LLMs with mixed logic processes. Moreover, to better evaluate comprehensive features inherent in human logic, we introduce \textbf{M}ental-\textbf{A}bility \textbf{R}easoning \textbf{B}enchmark (MARB). The benchmark comprises six novel subtasks with a total of 9,115 questions, among which 1,685 are developed with hand-crafted rationale references. We believe both \textsc{IEP} and \textsc{MARB} can serve as a promising direction for unveiling LLMs' logic and verbal reasoning abilities and drive further advancements. \textsc{MARB} will be available at ~\texttt{anonymity link} soon.