[Paper Review] Enhancing Zero-Shot Chain-of-Thought Reasoning in Large Language Models through Logic
LogiCoT introduces a neurosymbolic think-verify-revise framework that uses logical principles to verify and revise each step in zero-shot chain-of-thought reasoning, improving multi-step task performance across diverse domains.
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.
Motivation & Objective
- Motivate improving zero-shot chain-of-thought reasoning in large language models (LLMs) using logic-inspired verification and revision.
- Propose LogiCoT, a think-verify-revise neurosymbolic framework that applies reductio ad absurdum to validate each reasoning step.
- Demonstrate that per-step verification and selective revision improve reasoning across arithmetic, commonsense, causal inference, symbolic, and social tasks.
Proposed method
- Adopt a think-verify-revise loop (LogiCoT) where each reasoning step is verified for entailment from premises and prior steps.
- Use Reductio ad Absurdum as the verification principle to detect contradictions in intermediate steps.
- Introduce two post hoc reviews (E_i and E_i^neg) to assess T_i and its negation, enabling an adopting (versus composing) verification strategy.
- If a step fails verification, prune trailing steps and generate a revised step T_i' with justification (E_i^neg).
- Grow the reasoning chain only when necessary, blending verification with minimal but targeted revisions.
- Optionally combine LogiCoT with ensemble approaches for multiple verified chains.
Experimental results
Research questions
- 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?
Key findings
- 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.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.