LLMs can Find Mathematical Reasoning Mistakes by Pedagogical Chain-of-Thought

Zhuoxuan Jiang, Haoyuan Peng, Shanshan Feng, Fan Li, Dongsheng Li

TL;DR

LLMs often struggle to identify their own reasoning errors, a major hurdle for reliable self-correction. This paper introduces Pedagogical Chain-of-Thought (PedCoT), a prompting strategy that leverages educational theory (Bloom’s Taxonomy) and a two-stage "blind" verification process to significantly improve mistake detection in mathematical reasoning.

What Problem Does This Paper Address?

While Large Language Models (LLMs) are increasingly capable, they still "hallucinate" or make logical leaps, especially in multi-step math problems. A popular proposed solution is self-correction, where a model finds and fixes its own errors. However, finding the mistake is the hard part; LLMs are notoriously "agreeable" and often fail to spot errors when using simple prompts like "Is this step correct?"

The authors identify two main gaps:

  1. Lack of Domain Knowledge: Most prompts are generic and don't use the structured logic a human teacher might use to grade a student.
  2. The "Lazy LLM" Bias: If a model sees a reasoning step while trying to evaluate it, it tends to be biased toward confirming that step is correct rather than thinking critically.

Methods

The authors propose PedCoT, which consists of two main innovations:

1. Pedagogical Principles for Prompts (PPP)

Instead of asking for a binary "right or wrong," PedCoT forces the model to evaluate a step based on three levels of the Bloom Cognitive Model (BCM), a cornerstone of educational theory:

  • Remember: Are the right mathematical concepts involved?
  • Understand: Are the correct problem-solving approaches adopted?
  • Apply: Are the calculations actually correct?
Figure 1: We develop the principles for prompt design for LLMs by leveraging the educational Bloom Cognitive Model and we focus on the learning ability. The bold parts are keywords used in prompts.

2. Two-Stage Interaction Process (TIP)

To solve the "lazy LLM" bias, the authors use a two-stage workflow:

  • Stage 1 (Regenerate): The LLM is given the question and the previous steps, but not the current step being checked. It is asked to generate what the ideal next step should look like (concepts, analysis, and math).
  • Stage 2 (Extract-Compare): Only now is the LLM shown the actual step. It must extract the concepts and math from that step and compare them against the "gold standard" it generated in Stage 1.
Figure 2: Diagram of two-stage interaction process (TIP) with LLMs for finding mistakes at the i-th step. The left and right parts are the exampling input and output contents. The detailed contents, as well as complete prompts, of the example can be referred to Appendix.

Datasets

The researchers evaluated PedCoT on two public datasets representing different difficulty levels:

  • BIG-Bench Mistake: Contains 1,506 reasoning steps across 300 traces, primarily focused on multi-step arithmetic.
  • PRM800K: A much more challenging dataset derived from high-school competition math (the MATH dataset). It includes complex word problems requiring advanced reasoning and intricate mathematical concepts.

Key Insights and Ideas

  • Objectivity through "Blindness": By forcing the model to generate a correct path before seeing the candidate step, the authors effectively remove the confirmation bias that plagues standard self-correction.
  • Pedagogy as a Rubric: Breaking down "correctness" into concepts, approach, and calculation provides a structured framework that helps the LLM focus. The ablation studies showed that checking calculations (the "Apply" level) was the most critical factor in detecting errors.
  • Efficiency: While some methods like SelfCheck require five LLM requests to verify a step, PedCoT achieves superior results with only two, making it more computationally efficient.

Key Results

PedCoT consistently outperformed strong baselines like Zero-shot CoT, Plan-and-Solve, and SelfCheck across both GPT-4 and GPT-4 Turbo.

  • On BIG-Bench Mistake: PedCoT achieved a Mistake Finding Accuracy (MF. Acc.) of 85.33% with GPT-4 Turbo, surpassing SelfCheck (80.33%).
  • On PRM800K (The Harder Task): The gap was even wider. PedCoT reached 45.33% MF. Acc. on GPT-4, while SelfCheck trailed at 40.00%.
  • Explainability: Unlike binary classifiers, PedCoT provides textual labels (e.g., "contradiction-found" in concepts) that explain why a step is considered wrong, mirroring a teacher's feedback.
Main performance comparison table

Limitations and Future Work

  • Scope of Ability: This study focused on the "Learning Ability" levels of Bloom's Taxonomy (the bottom three). The authors suggest that the "Planning Ability" levels (Analyze, Evaluate, Create) are more complex and should be explored in future research.
  • Domain Specificity: While highly effective for math, the prompts are currently tailored to the mathematical domain. Adapting these pedagogical principles to other fields like law or medicine remains an open challenge.
  • Cost: Although more efficient than some baselines, it still requires two API calls per reasoning step, which may be a bottleneck for very long chains of thought.

Summary updated

Abstract

Self-correction is emerging as a promising approach to mitigate the issue of hallucination in Large Language Models (LLMs). To facilitate effective self-correction, recent research has proposed mistake detection as its initial step. However, current literature suggests that LLMs often struggle with reliably identifying reasoning mistakes when using simplistic prompting strategies. To address this challenge, we introduce a unique prompting strategy, termed the Pedagogical Chain-of-Thought (PedCoT), which is specifically designed to guide the identification of reasoning mistakes, particularly mathematical reasoning mistakes. PedCoT consists of pedagogical principles for prompts (PPP) design, two-stage interaction process (TIP) and grounded PedCoT prompts, all inspired by the educational theory of the Bloom Cognitive Model (BCM). We evaluate our approach on two public datasets featuring math problems of varying difficulty levels. The experiments demonstrate that our zero-shot prompting strategy significantly outperforms strong baselines. The proposed method can achieve the goal of reliable mathematical mistake identification and provide a foundation for automatic math answer grading. The results underscore the significance of educational theory, serving as domain knowledge, in guiding prompting strategy design for addressing challenging tasks with LLMs effectively.
BibTeX
@inproceedings{jiang2024llms,
  author = {Zhuoxuan Jiang and Haoyuan Peng and Shanshan Feng and Fan Li and Dongsheng Li},
  title = {{LLMs can Find Mathematical Reasoning Mistakes by Pedagogical Chain-of-Thought}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=Ge2O10YV2d},
}
Figure