Abstract
Math world problems correction (MWPC) is a novel task dedicated to rectifying reasoning errors in the process of solving mathematical problems. In this paper, leveraging the advancements in large language models (LLMs), we address two key objectives: (1) Distinguishing between mathematical reasoning and error correction; (2) Exploring strategies to enhance the error correction capabilities of LLMs in mathematics to solve the MWPC task. We noticed that, in real-time education, assisting students in recognizing their mistakes is more crucial than simply providing correct answers. However, current research tends to prioritize obtaining accurate solutions to math problems rather than correcting potentially incorrect ones. Therefore, we modify the research paradigm, demonstrating that improving mathematical reasoning abilities does not equate to mastery in error correction. Meanwhile, we propose a novel method called diagnostic-oriented prompting (DOP) aimed at facilitating LLMs to excel in error correction. In experiments, DOP has shown outstanding performance, highlighting its significant impact. We argue that in mathematical education, the demand for outstanding correctors surpasses that for proficient reasoners.
Introduction
The rapid evolution of Large Language Models (LLMs) has led to significant breakthroughs in solving Math Word Problems (MWPs). Models like GPT-4 can now solve complex grade-school math with high accuracy. However, a critical pedagogical skill remains underdeveloped: the ability to act as a tutor who can identify and correct a student's specific reasoning errors. In educational settings, providing the correct answer is often less valuable than diagnosing why a student arrived at an incorrect one.
This paper introduces the task of Math World Problems Correction (MWPC). Unlike standard reasoning tasks where the goal is to generate a solution from scratch, MWPC requires a model to analyze a provided, potentially erroneous solution and provide a diagnostic correction.
The MWPC Task: Reasoning vs. Correction
The core premise of this research is that being a "proficient reasoner" does not automatically make an LLM an "outstanding corrector." While reasoning involves finding a valid path to a solution, correction requires a "theory of mind" to understand a flawed logic path and map it back to the correct conceptual framework.
As illustrated in the figure above, the correction task involves taking a question and an incorrect student response (e.g., failing to account for the train's length when crossing a bridge) and generating a diagnostic explanation that addresses the specific misunderstanding. The researchers found that models often solve a problem correctly themselves but remain "blind" to the specific logical fallacies in a student's incorrect attempt.
Methodology: Diagnostic-Oriented Prompting (DOP)
To bridge the gap between reasoning and correction, we propose Diagnostic-Oriented Prompting (DOP). This framework utilizes external educational resources to provide "scaffolding" for the LLM. DOP is structured into three levels of increasing information density:
- DOP+NA (Numeric Answer): The prompt is augmented with the final correct numeric answer.
- DOP+BE (Brief Explanation): The prompt includes a short hint or the core mathematical logic required (e.g., "Total distance = train length + bridge length").
- DOP+SA (Standard Answer): The prompt includes the full, step-by-step "gold standard" solution.
By providing these reference points, DOP allows the model to compare the student's erroneous path against a known correct path, facilitating more accurate diagnosis.
Experimental Setup and Datasets
We constructed a specialized dataset of 2,861 triplets, each containing a {Question, Correct Answer, Erroneous Student Solution}. These were sourced from:
- GSM8k: A benchmark for high-quality grade-school math problems.
- MathDial: A dataset of teacher-student tutoring dialogues, providing realistic examples of human-like student errors and reasoning fallacies.
We evaluated 8 prominent LLMs, including general-purpose models (GPT-4, GPT-3.5, Llama-2) and specialized math models (MetaMath, WizardMath).
Key Insights
The Reasoning-Correction Paradox
Our experiments confirmed a significant performance gap. For instance, MetaMath-7b achieved a high reasoning rate of 76.4% but a dismal correction rate of only 18.0%. This suggests that fine-tuning models specifically for math reasoning (optimizing for the "right" path) may actually impair their ability to navigate and diagnose "wrong" paths.
General Intelligence vs. Specialized Tuning
General-purpose models like GPT-4 significantly outperformed specialized math models on the MWPC task. GPT-4 emerged as the leader, achieving an 85.9% reasoning rate and an 81.1% correction rate. This indicates that error correction relies heavily on linguistic flexibility and broader reasoning capabilities rather than just mathematical computation.
The Impact of DOP
DOP consistently improved performance across all models. For Llama-2-70b, the success rate for error correction jumped from roughly 22% with standard prompting to over 64% when using DOP+SA. Even providing just the final answer (DOP+NA) provided a substantial boost, highlighting the importance of external "reference points" for diagnostic tasks.
Conclusion
This research highlights a critical oversight in current LLM development for education: the distinction between solving a problem and correcting an error. By introducing the MWPC task and the DOP framework, we provide a path toward creating AI tutors that can truly assist learners by diagnosing their misunderstandings. In the future of AI-assisted education, the demand for models that can act as "outstanding correctors" will likely surpass the need for simple "proficient reasoners."
Summary updated