MathFish: Evaluating Language Model Math Reasoning via Grounding in Educational Curricula

Li Lucy, Tal August, Rose E. Wang, Luca Soldaini, Courtney Allison, Kyle Lo

MathFish Logo

MathFish: Evaluating Language Model Math Reasoning via Grounding in Educational Curricula

Introduction

While Large Language Models (LLMs) have shown impressive performance on standard math benchmarks, these evaluations often focus solely on whether a model can produce the correct final answer. This "black box" approach overlooks a critical dimension of mathematical reasoning: pedagogical intent. In educational settings, it is not enough to solve a problem; one must understand why a problem is being asked and which specific curriculum standards it targets. Researchers from the Allen Institute for AI and Stanford have introduced MathFish, a framework designed to evaluate how well LLMs understand the educational grounding of mathematical tasks.

The Alignment Gap in AI Evaluation

Current benchmarks like GSM8k or MATH primarily measure raw problem-solving. However, for AI to serve as an effective "co-pilot" for educators or an automated tutor, it must be able to categorize problems with the same granularity as human experts. Curriculum review is a complex process where experts ensure a problem aligns with specific learning objectives—for instance, distinguishing between "multiplication of fractions" and "calculating the area of a rectangle." MathFish addresses this gap by grounding evaluation in K-12 curriculum standards.

The MathFish Framework

The researchers define two primary challenges to test an LLM's pedagogical understanding:

  1. Verification: Given a math problem and a specific educational standard, the model must determine if they align (a binary "yes/no" task).
  2. Tagging: Given a problem, the model must navigate a hierarchical tree—moving from broad Domains (e.g., Geometry) to Clusters and finally to specific Standards—to identify all applicable labels.
The MathFish framework evaluates models on two tasks: Verification (binary alignment) and Tagging (hierarchical classification).

Benchmarking with Real-World Curricula

To support this evaluation, the study introduces and utilizes several key resources:

  • MathFish Dataset: A new benchmark consisting of 9.9K human-written math problems sourced from reputable Open Educational Resources like Illustrative Mathematics and Fishtank Learning.
  • ATC (Achieve the Core): A dataset of 385 fine-grained K-12 math standards based on the Common Core (CCSS), including natural language descriptions and hierarchical relationships.
  • GSM8k Re-evaluation: The authors tagged the classic GSM8k benchmark with MathFish standards to analyze its pedagogical depth, finding that it covers only about one-third of K-12 standards and is heavily skewed toward elementary arithmetic.

Key Findings

The evaluation of models like GPT-4-Turbo, Mixtral-8x7B, and Llama-2-70B revealed significant hurdles in AI math reasoning:

The "Hard Negative" Challenge

While LLMs can easily distinguish between broad domains like geometry and algebra, they struggle with "hard negatives"—conceptually similar standards. For example, distinguishing between a 4th-grade place value standard and a 5th-grade one proves difficult; as distractor standards become more similar to the truth, model accuracy drops sharply.

Over-Optimism in Self-Evaluation

When LLMs generate math problems, they tend to be "optimistic" verifiers. GPT-4 judged 96% of its own generated problems as "fully aligned" with target standards. However, professional K-12 teachers disagreed, granting "full alignment" to only 52% of those same problems. Teachers noted that AI-generated problems often lacked "full intent," being too simple or missing crucial components of the standard.

The Difficulty of Precise Tagging

Pinpointing exact standards is remarkably difficult for current models. GPT-4 achieved an exact match accuracy of only 4.8% in the tagging task. While it could often identify a set of standards that overlapped with the truth (achieving ~50% "weak accuracy"), the precision required for curriculum alignment remains elusive.

Conclusion and Future Directions

MathFish highlights that solving a math problem is not synonymous with understanding its educational purpose. Future work will need to address the multimodal nature of math—incorporating diagrams and graphs—and explore how these models handle international pedagogical frameworks beyond the U.S. Common Core. As AI continues to enter the classroom, ensuring true pedagogical alignment will be essential for creating reliable educational tools.

Summary updated

BibTeX
@inproceedings{lucy2024mathfish,
  author = {Li Lucy and Tal August and Rose E. Wang and Luca Soldaini and Courtney Allison and Kyle Lo},
  title = {{MathFish: Evaluating Language Model Math Reasoning via Grounding in Educational Curricula}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.323},
}
Figure