UGMathBench: A Diverse and Dynamic Benchmark for Undergraduate-Level Mathematical Reasoning with Large Language Models

Xin Xu, Jiaxin Zhang, Tianhao Chen, Zitong Chao, Jishan Hu, Can Yang

Introduction

As Large Language Models (LLMs) continue to advance, existing benchmarks like GSM8K and MATH are reaching saturation, with top-tier models achieving scores exceeding 90%. This saturation masks two critical issues: a lack of difficulty to differentiate between high-performing models and the pervasive risk of test-set contamination. Models may appear to "reason" through problems they have simply memorized from training data. To address these challenges, we introduce UGMathBench, a dynamic benchmark designed to evaluate undergraduate-level mathematical reasoning while ensuring robustness against memorization.

The UGMathBench Framework and Dataset

UGMathBench shifts the focus to university-level mathematics, covering 16 subjects including Calculus, Linear Algebra, and Abstract Algebra. The dataset comprises 5,062 problems across 111 topics, sourced from the Department of Mathematics at The Hong Kong University of Science and Technology (HKUST).

Overview of the UGMathBench framework, including subject distribution and the dynamic evaluation process.

The defining feature of UGMathBench is its dynamic nature. Unlike static benchmarks, it utilizes randomized problem versions generated by programs. For each problem, three randomized versions are provided, sharing the same logic and difficulty but differing in numerical values or variables. This allows for a more rigorous assessment of whether a model truly understands the underlying mathematical principles.

Evaluation Metrics: Beyond Simple Accuracy

To measure true reasoning, we propose two primary metrics:

  1. Effective Accuracy (EAcc): A model is credited for a problem only if it correctly solves all randomized versions. This metric filters out instances where a model might succeed on one version through luck or pattern matching but fails on another.
  2. Reasoning Gap ($\Delta$): This represents the difference between a model's average accuracy across individual versions and its EAcc. A significant gap indicates fragility in the model's reasoning process.

Experimental Results and Insights

We evaluated 23 leading LLMs, including proprietary models like OpenAI's o1-mini and GPT-4o, and open-source models like Qwen-2-Math.

Model performance (EAcc) and reasoning metrics relative to model size.

The Robustness Crisis

The most significant finding is the persistent "Reasoning Gap" across all models. Even the highest-performing model, OpenAI o1-mini, which achieved an EAcc of 56.3%, showed a notable drop in consistency across randomized versions. This suggests that current LLMs still rely heavily on pattern matching rather than robust logical deduction.

Subject-Specific Performance

Performance varies drastically by subject. While models are relatively competent in Arithmetic (approx. 62.8% avg. EAcc), scores plummet below 10% in specialized fields like Abstract Algebra and Differential Equations. This highlights the extreme difficulty of undergraduate-level reasoning for current architectures.

Specialization and Scaling

Specialized mathematical models, such as the Qwen-2-Math series, consistently outperform general-purpose models of comparable size. This underscores the necessity of targeted mathematical pre-training. Furthermore, as shown in Figure 2, while larger models generally perform better, the reasoning gap remains a hurdle even at the highest scales.

Conclusion and Future Work

UGMathBench provides a more stringent and realistic test for LLM reasoning. Our results show that while models are improving, they lack the consistency required for true mathematical understanding. Future iterations of UGMathBench will expand to include multimodal reasoning (incorporating images for Geometry and Topology) and continue to release new randomized versions to stay ahead of potential data contamination.

Summary updated

BibTeX
@inproceedings{xu2025ugmathbench,
  author = {Xin Xu and Jiaxin ZHANG and Tianhao Chen and Zitong Chao and Jishan Hu and Can Yang},
  title = {{UGMathBench: A Diverse and Dynamic Benchmark for Undergraduate-Level Mathematical Reasoning with Large Language Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=fovPyqPcKY},
}
Figure