Abstract
Janice Ahn, Rishu Verma, Renze Lou, Di Liu, Rui Zhang, Wenpeng Yin. Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics: Student Research Workshop.
2024.
Introduction
The field of Large Language Models (LLMs) has witnessed a "notable surge" in capabilities for solving mathematical problems. However, the research landscape remains fragmented, presenting a "complex panorama" of diverse problem types and inconsistent evaluation metrics. Mathematical reasoning is uniquely challenging because it requires a synergy of textual comprehension, symbolic manipulation, and operational logic. This survey provides a holistic perspective by synthesizing current accomplishments, identifying performance drivers, and outlining the "brittleness" that still plagues these models.
Methodology
The authors categorize existing methodologies into three progressive levels of model engagement:
- Prompting Frozen LLMs: Evaluating "out-of-the-box" performance of models like GPT-4, Claude, and LLaMA using vanilla prompts.
- Strategies Enhancing Frozen LLMs:
- Advanced Prompting: Techniques like Chain-of-Thought (CoT) for step-by-step reasoning and Self-Consistency to find the most probable answer through multiple reasoning paths.
- External Tools: Offloading computation to Python REPLs or symbolic solvers (e.g., Program-of-Thought) to prevent trivial calculation errors.
- Self-Verification: Encouraging models to use code to verify their own reasoning steps.
- Fine-tuning LLMs:
- Instruction Tuning: Using curated datasets like "Math-Instruct" to improve logic.
- Mistake Correction: Training models on "mistake-correction" pairs to emulate human-like learning from errors.
- Knowledge Distillation: Using large models to "coach" smaller, more efficient solvers.
Benchmarking Datasets
The paper categorizes a vast array of benchmarks across different mathematical domains, ranging from basic arithmetic to automated theorem proving.
Key benchmark categories include:
- Arithmetic: Basic expressions (e.g., MATH-140).
- Math Word Problems (MWP): GSM8K (linguistically diverse), MATH (high-school competition level), and SVAMP (robustness testing).
- Tabular & Vision: TABMWP (math over tables) and MathVista (visual mathematical reasoning).
- Geometry: Datasets like GEOMETRY3K and UniGeo require spatial understanding and visual reasoning.
Key Insights and Results
The survey identifies several critical factors that drive performance in mathematical reasoning:
- The "Code-Math" Connection: Pre-training on code and LaTeX significantly boosts mathematical reasoning. The logical structure of programming languages translates well to mathematical logic.
- Tokenization as a Bottleneck: Standard LLM tokenizers often struggle with numbers. Models with specialized tokenization for arithmetic (like Galactica) show superior proficiency.
- Brittleness and Sensitivity: LLMs are surprisingly fragile. Changing a name in a word problem or slightly altering a numerical value can cause the reasoning chain to collapse, even if the underlying logic remains identical.
- Tool Augmentation Wins: Strategies that separate reasoning (LLM) from computation (Python interpreter) consistently outperform pure text-based reasoning for complex calculations. GPT-4 remains the gold standard for robustness.
Limitations and Future Work
Despite progress, significant challenges remain:
- Generalization: Models still struggle to generalize across different math domains (e.g., from arithmetic to geometry).
- Adversarial Vulnerability: LLMs are highly susceptible to manipulated inputs that look normal to humans but trigger logical failures in the model.
- Pedagogical Mismatch: LLMs often generate hints that are "overly complex" for students, highlighting a need for more human-centric AI design.
- Continual Learning: Future research must focus on "continual learning" frameworks, as LLMs currently require massive retraining to build skills cumulatively.
Summary updated