EDUMATH: Generating Standards-aligned Educational Math Word Problems

Bryan R. Christ, Penelope Molitz, Beau LeBlond, Zachary Gottesman, Jonathan Kropko, Thomas Hartvigsen

TL;DR

The EDUMATH paper introduces the first teacher-annotated dataset and specialized open-source models designed to generate math word problems (MWPs) that are both aligned with educational standards and personalized to student interests. By combining expert teacher feedback with advanced fine-tuning techniques, the authors developed a 30B model that outperforms GPT-4o in generating high-quality, classroom-ready math problems.

What Problem Does This Paper Address?

Personalizing education is a proven way to improve learning outcomes, but it is incredibly labor-intensive. Teachers often lack the time to write custom math word problems for every student’s interest (e.g., Minecraft, space aliens, or sports) while ensuring those problems strictly adhere to state-mandated math standards.

While Large Language Models (LLMs) are great at generating text, they often struggle with "educational quality." They might produce problems that are unsolvable, mathematically inaccurate, or educationally inappropriate (e.g., using unrealistic scenarios or language unsuitable for children). Furthermore, existing math benchmarks like GSM8K focus on general reasoning rather than specific curriculum alignment. This paper bridges the gap between raw LLM capability and practical classroom utility.

Methods

The researchers employed a multi-phase pipeline to move from raw LLMs to "EDUMATH" models:

  1. The "MaC" Framework: They defined a high-quality problem as one that Meets all Criteria (MaC): Solvability, Accuracy, Educational Appropriateness, and Standards Alignment.
  2. Human-in-the-Loop Annotation: They hired U.S. teachers to annotate over 3,000 synthetic MWPs. This feedback was used to identify nuances that automated metrics often miss.
  3. Training Pipeline:
    • SFT & KTO: They used Supervised Fine-Tuning (SFT) followed by Kahneman-Tversky Optimization (KTO)—a simpler alternative to RLHF—to align the model with teacher preferences.
  4. ModernBERT Classifier: They trained a text classifier to act as a "quality gatekeeper," filtering out generated problems that didn't meet the MaC criteria.
  5. Model Selection: They developed EDUMATH 12B (based on Gemma 3) and EDUMATH 30B (based on Qwen 3), using the classifier to enable a "best-of-N" sampling strategy.

Datasets

The paper introduces the Standards-Targeted Educational Math (STEM) dataset.

  • STEM: Contains 2,577 MWPs specifically aligned with Virginia Standards of Learning (VA SOLs) for grades 3-5.
  • Comparison Benchmarks: The authors evaluated their models against established datasets like GSM8K, ASDIV, and SVAMP, noting that these older datasets often lack teacher-verified solutions or specific grade-level standards alignment.

Key Insights and Ideas

  • The Nuance of "Accuracy": The authors found that LLMs often get the "right answer" but provide "wrong reasoning" or overly complex solutions that would confuse a 4th grader. Their "Accuracy" metric specifically penalizes confusing or non-pedagogical reasoning.
  • Open vs. Closed Gap: Specialized training on a small, high-quality, teacher-annotated dataset allowed a 12B open-source model to nearly match the performance of much larger closed-source models like GPT-4o.
  • Student Preference: In a real-world study with grade schoolers, students didn't just find the AI problems solvable; they consistently preferred them over human-written ones because the AI could seamlessly weave in their specific interests (like Superman or Pokémon) without breaking the math logic.

Key Results

  • MaC Performance: EDUMATH 30B achieved a 94.6% MaC rate, outperforming GPT-4o (92.8%) and GPT-4.5 (92.0%).
  • Topic Mastery: EDUMATH 30B maintained a performance level above 90% across all eight tested math topics (e.g., fractions, decimals, perimeter), whereas other models showed significant "weak spots."
  • Classroom Validation: In a study involving 4th and 5th graders, students solved LLM-generated problems at a similar rate to human-written ones but showed a massive preference for the customized AI problems (up to 94.7% preference in one school setting).

Limitations and Future Work

  • Grade Range: The study was limited to 3rd-5th grade math. Expanding to middle and high school (algebra, geometry) remains a future challenge.
  • Modality: The current models are text-only. Many elementary math problems require visual aids like charts, graphs, or geometric shapes, which would require multi-modal LLM integration.
  • Standard Specificity: While the models use Virginia standards, the authors provide a mapping to Common Core, but more work is needed to ensure global applicability.
  • Cost of Expertise: High-quality teacher annotation is expensive and slow, highlighting the need for better "automated teacher" reward models.

Summary updated

BibTeX
@inproceedings{christ2026edumath,
  author = {Bryan R. Christ and Penelope Molitz and Beau LeBlond and Zachary Gottesman and Jonathan Kropko and Thomas Hartvigsen},
  title = {{EDUMATH: Generating Standards-aligned Educational Math Word Problems}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.acl-long.1973},
}
Figure