[论文解读] Enhancing Zero-Shot Chain-of-Thought Reasoning in Large Language Models through Logic
LogiCoT 引入了一个神经符号化的 think-verify-revise 框架,使用逻辑原理来验证并修正零样本链式推理中的每一步,在多领域提升多步任务的性能。
Recent advancements in large language models have showcased their remarkable generalizability across various domains. However, their reasoning abilities still have significant room for improvement, especially when confronted with scenarios requiring multi-step reasoning. Although large language models possess extensive knowledge, their reasoning often fails to effectively utilize this knowledge to establish a coherent thinking paradigm. These models sometimes show hallucinations as their reasoning procedures are unconstrained by logical principles. Aiming at improving the zero-shot chain-of-thought reasoning ability of large language models, we propose LoT (Logical Thoughts), a self-improvement prompting framework that leverages principles rooted in symbolic logic, particularly Reductio ad Absurdum, to systematically verify and rectify the reasoning processes step by step. Experimental evaluations conducted on language tasks in diverse domains, including arithmetic, commonsense, symbolic, causal inference, and social problems, demonstrate the efficacy of enhanced reasoning by logic. The implementation code for LoT can be accessed at: https://github.com/xf-zhao/LoT.
研究动机与目标
- 推动使用逻辑启发的验证与修正,改进大型语言模型(LLMs)的零样本链式推理。
- 提出 LogiCoT,一个应用 reductio ad absurdum 来验证每一步推理的思考-验证-修正神经符号框架。
- 证明逐步验证与有选择性的修正能提升在算术、常识、因果推理、符号推理和社会任务上的推理能力。
提出的方法
- 采用一个 think-verify-revise 循环(LogiCoT),使每一步推理都对前提和先前步骤的蕴涵进行验证。
- 使用 Reductio ad Absurdum 作为验证原则,以检测中间步骤中的矛盾。
- 引入两个事后评审(E_i 和 E_i^neg)来评估 T_i 及其否定,从而实现采用型(而非组合型)验证策略。
- 如果一个步骤无法通过验证,则修剪后续步骤并生成带有理由(E_i^neg)的修订步骤 T_i'。
- 仅在必要时延伸推理链,将验证与最小但有针对性的修订结合起来。
- 可选地将 LogiCoT 与多链验证的集成方法结合使用。
实验结果
研究问题
- RQ1Does LogiCoT improve zero-shot CoT performance across diverse domains and LLM scales?
- RQ2Is adopting verification (evaluating T_i vs. ¬T_i) more effective than composing discrepancies directly for error detection?
- RQ3What is the impact of LogiCoT revision on reasoning complexity and accuracy across tasks?
主要发现
- LogiCoT improves zero-shot CoT performance across multiple datasets and model sizes, with larger models showing more consistent gains.
- Adopting verification (logically considering T_i or ¬T_i) outperforms composing discrepancies for error detection on math-reasoning tasks.
- Revision often yields modest to substantial accuracy gains for larger models, with some tasks showing notable improvements (e.g., Date Understanding, LastLetter, OddOneOut).
- The refined LogiCoT chains tend to be slightly shorter than baseline CoT chains, suggesting more concise, corrected reasoning.
- Worsening and improving-rate analyses indicate larger models benefit more from LogiCoT interventions, while smaller models may be more fragile to added constraints.
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。