MathOdyssey: Benchmarking Mathematical Problem-Solving Skills in Large Language Models Using Odyssey Math Data

Meng Fang, Xiangpeng Wan, Fei Lu, Fei Xing, Kai Zou

Abstract

Large language models (LLMs) have significantly advanced natural language understanding and demonstrated strong problem-solving abilities. Despite these successes, most LLMs still struggle with solving mathematical problems due to the intricate reasoning required. This paper investigates the mathematical problem-solving capabilities of LLMs using the newly developed "MathOdyssey" dataset. The dataset includes diverse mathematical problems at high school and university levels, created by experts from notable institutions to rigorously test LLMs in advanced problem-solving scenarios and cover a wider range of subject areas. By providing the MathOdyssey dataset as a resource to the AI community, we aim to contribute to the understanding and improvement of AI capabilities in complex mathematical problem-solving. We conduct benchmarking on open-source models, such as Llama-3 and DBRX-Instruct, and closed-source models from the GPT series and Gemini models. Our results indicate that while LLMs perform well on routine and moderately difficult tasks, they face significant challenges with Olympiad-level problems and complex university-level questions. Our analysis shows a narrowing performance gap between open-source and closed-source models, yet substantial challenges remain, particularly with the most demanding problems. This study highlights the ongoing need for research to enhance the mathematical reasoning of LLMs.

Introduction

As Large Language Models (LLMs) continue to evolve, their performance on traditional mathematical benchmarks has reached a point of saturation. Models like GPT-4 and Gemini 1.5 Pro frequently achieve scores exceeding 80-90% on established sets such as GSM8K (middle school word problems) and MATH (high school competitions). However, this high performance often masks two critical issues: data contamination, where test questions are inadvertently included in training corpora, and reasoning plateaus, where models rely on pattern recognition rather than first-principles logic.

To address these challenges, we introduce MathOdyssey, a rigorously curated benchmark of 387 original mathematical problems designed to push LLMs beyond their current reasoning capabilities. These problems are expert-crafted to ensure they have not been seen by web-crawlers, providing a "clean" measure of an AI’s ability to perform multi-step symbolic reasoning.

The Evolution of Mathematical Benchmarks

The need for MathOdyssey arises from the limitations of existing datasets. While previous benchmarks focused on specific levels or formats, MathOdyssey spans high school, university, and Olympiad levels, offering a more comprehensive evaluation of mathematical maturity.

Comparison of MathOdyssey with existing mathematical datasets across various difficulty levels and domains.

The MathOdyssey Dataset

The MathOdyssey dataset consists of 387 problems categorized into three distinct difficulty tiers:

  1. High School (35.66%): Covering Algebra, Geometry, and Pre-Calculus.
  2. University-level (26.10%): Including Linear Algebra, Calculus, Differential Equations, and Statistics.
  3. Olympiad-level (38.24%): Focusing on Advanced Algebra, Number Theory, and Combinatorics.

Unlike many datasets that rely on multiple-choice formats, 63% of MathOdyssey consists of Open-Answer questions. This requires models to generate precise values or expressions from scratch, significantly raising the bar for accuracy.

Distribution of mathematical topics and difficulty levels within the MathOdyssey dataset, highlighting the breadth of subject areas.

Experimental Methodology

We evaluated a suite of prominent models, including closed-source leaders (GPT-4 Turbo, Gemini 1.5 Pro, Claude 3 Opus) and top-tier open-source contenders (Llama-3-70B, DBRX-Instruct). To ensure a rigorous test of reasoning, we employed:

  • Chain-of-Thought (CoT) Prompting: Models were encouraged to generate step-by-step reasoning paths.
  • Automated Symbolic Grading: Given that mathematical answers can take multiple equivalent forms, we utilized a secondary GPT-4 instance acting as a "math professor" to verify mathematical equivalence using symbolic computation principles.
  • Expert Curation: All problems were created from scratch by mathematics professionals to prevent data leakage.

Results and Analysis

Our benchmarking reveals a significant "Olympiad Wall." While top models perform exceptionally well on high school-level tasks, their performance plummets when faced with the creative leaps required for competition-level math.

  • Overall Performance: The Gemini Math-Specialized 1.5 Pro model achieved the highest overall accuracy at 55.8%, followed by GPT-4 Turbo at 47.03%.
  • Difficulty Scaling: The drop-off is stark; for instance, GPT-4 Turbo maintains an 84.78% accuracy on high school problems but falls to just 10.14% on Olympiad-level questions.
  • Open-Source Progress: Llama-3-70B demonstrated impressive gains, achieving 27.91% overall and outperforming GPT-3.5 Turbo. It held its own in the Olympiad category with a 9.46% accuracy, suggesting that open-source models are rapidly closing the gap with their closed-source counterparts.

Conclusion and Future Work

MathOdyssey highlights that while LLMs are becoming proficient at following established mathematical procedures, they still struggle with novel logical discovery. The "Olympiad Wall" remains a formidable barrier for current architectures.

Future research should focus on expanding the dataset to include more graduate-level topics and incorporating multimodality to handle visual reasoning in geometry and graph interpretation. Furthermore, moving toward interactive environments where LLMs can use formal verification tools (like Lean or Python) in real-time may be the key to overcoming current reasoning plateaus.

Summary updated

BibTeX
@misc{fang2024mathodyssey,
  author = {Meng Fang and Xiangpeng Wan and Fei Lu and Fei Xing and Kai Zou},
  title = {{MathOdyssey: Benchmarking Mathematical Problem-Solving Skills in Large Language Models Using Odyssey Math Data}},
  year = {2024},
  eprint = {2406.18321},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.18321},
}
Figure