Large Language Models for Mathematical Reasoning: Progresses and Challenges

Jihyun Janice Ahn, Rishu Verma, Renze Lou, Di Liu, Rui Zhang, Wenpeng Yin · DOI · OpenReview

Abstract

The rapid evolution of Large Language Models (LLMs) has opened new frontiers in automated mathematical reasoning. This paper synthesizes the current landscape, categorizing research into problem types, datasets, methodologies, and influencing factors. Despite significant "sparks" of intelligence, models exhibit persistent brittleness, excelling at complex calculus while failing at basic arithmetic or succumbing to adversarial distractions.

1. Introduction

While LLMs have demonstrated remarkable capabilities in various domains, their application to mathematics remains a fragmented "Wild West." Researchers utilize a diverse array of datasets—ranging from elementary word problems to formal theorem proving—alongside inconsistent evaluation metrics and prompting strategies. This lack of a unified framework complicates the assessment of whether a model has genuinely "learned" mathematical logic or is merely performing sophisticated pattern-matching. This study provides a holistic view of the state-of-the-art, identifying successful strategies such as tool-use and code-centric pre-training, while highlighting hurdles in robustness and pedagogical utility.

2. Methodology

Mathematical reasoning techniques for LLMs can be categorized into three progressive levels of complexity:

2.1 Prompting Frozen LLMs

This approach utilizes pre-trained models like GPT-4 or Claude-2 without additional training. Strategies range from "Vanilla" prompting to Chain-of-Thought (CoT), which encourages the model to generate step-by-step reasoning paths.

2.2 Enhancement Strategies

These methods augment LLMs with external logical frameworks. A prominent example is Program-of-Thought (PoT), where the model generates Python code to solve a problem, delegating calculations to a reliable interpreter. Additionally, Self-Verification prompts the model to audit its own output for errors.

2.3 Specialized Fine-tuning

Models can be further optimized through training on mathematical corpora. Techniques include Knowledge Distillation, where smaller "student" models learn to mimic the reasoning of larger "teacher" models, and training on Mistake-Correction datasets to improve error recovery.

3. Dataset Landscape

Datasets are categorized by complexity and the level of reasoning required. Math Word Problems (MWP) are particularly central to the field, often categorized by the type of solution data they provide.

Table 1: Comprehensive overview of Math Word Problem (MWP) datasets categorized by output format (Q-A, Q-E-A, Q-R-A) and educational level.
  • Arithmetic: Focuses on pure numerical manipulation (e.g., MATH-140).
  • Math Word Problems (MWP): Classified by the "clues" provided:
  • Question-Answer (Q-A): Only the final result is provided (e.g., CMATH).
  • Question-Equation-Answer (Q-E-A): Includes the underlying formula (e.g., SVAMP, ASDiv).
  • Question-Rationale-Answer (Q-R-A): Includes full step-by-step explanations (e.g., GSM8K, MATH).
  • Geometry: Requires spatial reasoning and symbolic methods. Specialized datasets like Geometry3K and UniGeo are used to benchmark these capabilities.
Table of specialized geometry datasets including their sizes and primary sources.
  • Automated Theorem Proving (ATP): Formal logic tasks using languages like Lean or Isabelle (e.g., miniF2F).
  • Vision-Language: Math involving visual data like charts or diagrams (e.g., MathVista).

4. Key Insights and Analysis

Research indicates that the "secret sauce" for mathematical proficiency is the inclusion of Code and LaTeX in training data. These formats help models internalize structured logic and precise symbolic manipulation. However, Tokenization remains a bottleneck; standard tokenizers often split numbers arbitrarily (e.g., "1234" as "12" and "34"), hindering arithmetic performance.

Furthermore, a Scaling Plateau has been observed in some tasks between 30B and 120B parameters, suggesting that increasing model size yields diminishing returns for pure logic. The most significant issue remains Brittleness: models are highly sensitive to minor changes, such as character names or irrelevant "distractor" information, indicating a lack of a robust "world model."

5. Results and Benchmarks

GPT-4 currently serves as the industry benchmark, particularly when integrated with a Code Interpreter. Methods allowing for code generation (PoT) consistently outperform those relying on internal "mental math" (CoT) by eliminating calculation errors. Additionally, smaller open-source models (e.g., WizardMath, MetaMath) have achieved competitive results on specific benchmarks like GSM8K through fine-tuning on high-quality reasoning paths.

6. Future Directions

To advance the field, research must address:

  • Generalization: Moving beyond style-specific benchmarks to handle novel problem types.
  • Human-Centric Design: Developing models that provide pedagogically sound hints rather than confusingly intricate explanations.
  • Adversarial Robustness: Creating evaluations that test resistance to manipulation.
  • Continual Learning: Enabling models to learn math incrementally, mimicking human cognitive development.

Summary updated

BibTeX
@inproceedings{ahn2024large,
  author = {Jihyun Janice Ahn and Rishu Verma and Renze Lou and Di Liu and Rui Zhang and Wenpeng Yin},
  title = {{Large Language Models for Mathematical Reasoning: Progresses and Challenges}},
  booktitle = {Student Research Workshop @ EACL},
  year = {2024},
  url = {https://openreview.net/forum?id=pP7-HIM6U9},
}
Figure