[Paper Review] RCOT: Detecting and Rectifying Factual Inconsistency in Reasoning by Reversing Chain-of-Thought
RCOT (Reversing Chain-of-Thought) is a novel method that detects and rectifies factual inconsistencies in LLM-generated reasoning by reconstructing problems from solutions and comparing them to the original. It uses fine-grained feedback to correct hallucinations, overlooking, and misinterpretations, achieving state-of-the-art performance across seven arithmetic reasoning datasets, with ChatGPT reaching 94.6% accuracy on GSM8K when using human-written feedback.
Large language Models (LLMs) have achieved promising performance on arithmetic reasoning tasks by incorporating step-by-step chain-of-thought (CoT) prompting. However, LLMs face challenges in maintaining factual consistency during reasoning, exhibiting tendencies to condition overlooking, question misinterpretation, and condition hallucination over given problems. Existing methods use coarse-grained feedback (e.g., whether the answer is correct) to improve factual consistency. In this work, we propose RCoT (Reversing Chain-of-Thought), a novel method to improve LLMs' reasoning abilities by automatically detecting and rectifying factual inconsistency in LLMs, generated solutions. To detect factual inconsistency, RCoT first asks LLMs to reconstruct the problem based on generated solutions. Then fine-grained comparisons between the original problem and the reconstructed problem expose the factual inconsistency in the original solutions. To rectify the solution, RCoT formulates detected factual inconsistency into fine-grained feedback to guide LLMs in revising solutions. Experimental results demonstrate improvements of RCoT over standard CoT, Self-Consistency and Self-Refine across seven arithmetic datasets. Moreover, we find that manually written fine-grained feedback can dramatically improve LLMs' reasoning abilities (e.g., ChatGPT reaches 94.6% accuracy on GSM8K), encouraging the community to further explore the fine-grained feedback generation methods.
Motivation & Objective
- To address the persistent issue of factual inconsistency in LLM reasoning, such as condition hallucination, overlooking, and question misinterpretation.
- To develop a method that detects inconsistencies with fine-grained precision, moving beyond coarse-grained correctness feedback.
- To generate actionable, interpretable feedback that enables LLMs to revise solutions effectively.
- To demonstrate that fine-grained feedback significantly improves reasoning accuracy, especially when combined with strong prompting.
- To establish a framework for automated detection and correction of factual errors in chain-of-thought reasoning.
Proposed method
- RCOT first reconstructs a problem from the LLM’s generated solution using a reverse prompting strategy.
- It performs a fine-grained comparison between the reconstructed problem and the original problem to detect factual inconsistencies.
- Detected inconsistencies are formulated into precise, natural language feedback highlighting specific errors (e.g., hallucinated conditions, overlooked constraints).
- This feedback is then used to guide the LLM in revising its original solution step by step.
- The method is applied iteratively, enabling self-correction through multiple rounds of feedback and revision.
- RCOT is evaluated across seven arithmetic reasoning datasets using LLMs like GPT-3.5 and ChatGPT.
Experimental results
Research questions
- RQ1Can reverse problem reconstruction effectively detect factual inconsistencies in LLM-generated reasoning?
- RQ2Does fine-grained feedback derived from inconsistency detection improve reasoning accuracy more than coarse-grained feedback?
- RQ3How does RCOT compare to standard CoT, Self-Consistency, and Self-Refine in terms of factual consistency and accuracy?
- RQ4To what extent can manually written fine-grained feedback improve LLM reasoning performance?
- RQ5Can RCOT detect and correct complex reasoning errors such as condition hallucination and question misinterpretation?
Key findings
- RCOT significantly outperforms standard CoT, Self-Consistency, and Self-Refine across seven arithmetic reasoning datasets, demonstrating superior factual consistency.
- On the GSM8K dataset, when fine-grained feedback is manually crafted, ChatGPT achieves 94.6% accuracy, highlighting the potential of high-quality feedback.
- In a comparative case study, RCOT successfully corrected a solution that Double-Check failed to fix, due to its ability to detect specific factual errors like incorrect assumptions about group size.
- The method identified and corrected hallucinated conditions (e.g., assuming box weight was 16 lbs instead of 15 lbs) and overlooked constraints (e.g., missing '2 days away' in scheduling problems).
- RCOT’s feedback is interpretable and actionable, enabling both LLMs and humans to trace and understand reasoning errors.
- Despite its effectiveness, RCOT does not detect computational errors and requires multiple LLM inference steps, which may impact inference speed.
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.