TL;DR
This paper introduces PseDual, a model-agnostic learning scheme that improves Math Word Problem (MWP) solvers by mimicking the human "reexamination" process. By training models to perform a "pseudo-dual" task—filling numbers from a generated expression back into a masked version of the original problem—the researchers achieved consistent accuracy gains across various architectures, including Large Language Models like ChatGPT.
What Problem Does This Paper Address?
Solving Math Word Problems is a complex AI challenge that requires both natural language understanding and mathematical reasoning. While deep learning and Large Language Models (LLMs) have made significant strides, they often struggle with the underlying logic connecting descriptive text to arithmetic operations.
The authors observe that when humans solve math problems, we don't just produce an answer and stop; we reexamine our work to verify its correctness. Most existing MWP solvers lack this feedback loop. While "dual learning" (e.g., translating A to B and then B back to A) has worked in machine translation, a strict reverse task for MWPs—generating a full word problem from a raw equation—is incredibly difficult and often introduces noise that hurts performance. This paper seeks a "relaxed" version of this dual task that provides a useful training signal without being impossibly hard.
Methods
The authors propose the Pseudo-Dual (PseDual) learning scheme, which consists of two cycled modules:
- Solving Module: A standard encoder-decoder setup that takes a word problem and generates a mathematical expression.
- Reexamining Module: The core innovation. Instead of reconstructing the entire problem text, this module performs a number infilling task. It takes the generated expression and the original problem text (with numbers masked out) and attempts to place the correct numbers back into the blanks.
To make this work, they introduce a Scheduled Fusion strategy. Training a reexamination module on the poor predictions of an early-stage solver would be counterproductive. Scheduled fusion uses a weight ($\epsilon$) to blend ground-truth expressions with predicted ones, gradually "switching" the input from perfect data to the model's own predictions as training progresses. This curriculum-style approach helps the model adapt to its own errors and learn to verify its logic more robustly.
Datasets
The researchers evaluated their method on three widely used MWP benchmarks:
- Math23k: A collection of 23,000 Chinese math problems for primary school students.
- MathQA: A more challenging English dataset involving complex domains and multiple operations.
- MAWPS: An English repository of simpler problems, typically containing only two operands.
Detailed statistics for these datasets can be found in the paper's appendix: Dataset Statistics
Key Insights and Ideas
- The "Pseudo-Dual" Sweet Spot: Full text reconstruction from an equation is too hard. Number infilling is the "Goldilocks" task—it forces the model to understand the relationship between quantities and operators without getting bogged down in linguistic fluff.
- Structure Matters: The authors found that using Graph Convolutional Networks (GCNs) to encode expressions outperformed GRUs. This is because GCNs can naturally represent the tree-like structure of mathematical operations, whereas GRUs treat them as simple sequences.
- Data Efficiency: PseDual is particularly effective when training data is scarce. As shown in Figure 1, the performance gap between standard models and PseDual-enhanced models is largest at smaller training set sizes (e.g., 3,000 samples).
Key Results
The PseDual scheme consistently improved both expression accuracy and final value accuracy across all tested baselines (DNS, GTS, Graph2Tree, BERT-Tree, and RE-Deduction).
- Broad Improvements: On average, the method boosted answer accuracy by 1.14% on Math23k, 0.98% on MathQA, and 0.88% on MAWPS.
- LLM Integration: When applied to ChatGPT (gpt-3.5-turbo) via zero-shot prompting on the SVAMP dataset, the reexamination process improved accuracy from 69.3% to 71.8%, outperforming standard Zero-Shot Chain-of-Thought (CoT) methods.
Limitations and Future Work
While effective, the authors note that the reexamination module itself is not perfect. As shown in Table 4, even the best models (RE-Deduction) only achieve a "Perfect Match Ratio" for number infilling of around 70-73%.
This suggests there is still significant room to improve the reexamination process. Future work could explore more sophisticated infilling architectures or investigate how to integrate this "closed-loop" training more deeply into the pre-training phase of Large Language Models.
Summary updated