DrawEduMath: Evaluating Vision Language Models with Expert-Annotated Students' Hand-Drawn Math Images

Sami Baral, Li Lucy, Ryan Knight, Alice Ng, Luca Soldaini, Neil T. Heffernan, Kyle Lo

Introduction

The integration of Vision Language Models (VLMs) into educational technology promises a future of personalized, automated feedback for students. However, most existing benchmarks for mathematical reasoning, such as GSM8k or MATH, rely on standardized, typed text. In actual K-12 classrooms, student work is predominantly handwritten and often includes visual representations like double number lines, tape diagrams, or geometric sketches. These "messy" real-world artifacts present a significant challenge for AI.

To bridge this gap, the DrawEduMath benchmark was designed to evaluate how well VLMs can interpret the nuances of student-generated math work. The goal is to move beyond simple Optical Character Recognition (OCR) toward "pedagogical reasoning"—the ability to understand not just what a student wrote, but the strategy they employed and the misconceptions they might hold.

The DrawEduMath Benchmark

DrawEduMath consists of 2,030 expert-annotated images representing real student responses to 188 distinct math problems. These problems span Grade 2 through High School and are sourced from the ASSISTments platform, utilizing Open Educational Resources (OER) such as Eureka Math and Illustrative Math. Each image is mapped to Common Core State Standards (CCSS) and categorized by grade level and topic.

Methodology: A Multi-Stage Pipeline

Creating a high-quality benchmark for handwritten math requires balancing expert precision with scalable data generation. The researchers developed a four-stage pipeline:

  1. Expert Annotation: Experienced math teachers provided detailed descriptions of student work (via text or audio) and authored specific question-answer (QA) pairs.
  2. Atomic Deconstruction: To scale the dataset, LLMs (GPT-4o and Claude 3.5) were used to break down long-form teacher descriptions into "facets"—individual, atomic facts about the image.
  3. Synthetic QA Generation: These facets were transformed into 44,362 synthetic QA pairs, supplementing the 11,661 teacher-written pairs.
  4. Taxonomy Building: Questions were categorized into seven types, ranging from low-level visual identification (e.g., "Is this on graph paper?") to high-level pedagogical analysis (e.g., "What error did the student make?").

Evaluation and Key Results

The study evaluated four prominent VLMs: GPT-4o, Claude 3.5 Sonnet, Gemini 1.5 Pro, and Llama 3.2-11B. Performance was measured using automated metrics (BERTScore, ROUGE-L) and an LLM-as-a-judge (Mixtral 8x22B), which showed a high correlation with human judgment (Spearman’s $\rho = 0.801$).

The "Correctness" Hurdle

While top-tier models like Claude 3.5 Sonnet and GPT-4o performed well on "superficial" tasks—such as identifying the writing medium or counting objects (scoring ~0.77)—their performance dropped significantly when judging the correctness of student work or identifying specific misconceptions (averaging ~0.47 across models).

OCR is Not Enough

A critical finding is that even when models correctly identified the numbers and text within an image, they often failed to interpret the student's underlying strategy. This suggests a disconnect between visual perception and mathematical reasoning. For example, models often struggled to link the spatial placement of numbers on a hand-drawn number line to their mathematical value.

Synthetic Data as a Proxy

Interestingly, the study found that synthetic QA pairs, despite being noisier than teacher-written ones, yielded nearly identical model rankings. This validates the use of LM-driven scaling for evaluating complex visual tasks in specialized domains.

Discussion and Limitations

The performance gap between closed-source models and smaller open-source models (like Llama 3.2-11B) remains substantial. Furthermore, models still struggle with the environmental noise common in classroom settings, such as low-light or blurry photography.

The dataset is currently centered on U.S. Common Core standards, which may limit its immediate applicability to different international curricula. Additionally, some synthetic questions were found to be "unanswerable" when the generation process stripped away necessary context from the original teacher descriptions.

Conclusion

DrawEduMath highlights that while VLMs are becoming proficient at describing visual scenes, they are still far from achieving the pedagogical depth required to assist teachers effectively. Future work must focus on improving the alignment between visual perception and mathematical logic to support the complex, non-linear ways students express their thinking on paper.

Summary updated

BibTeX
@inproceedings{baral2025drawedumath,
  author = {Sami Baral and Li Lucy and Ryan Knight and Alice Ng and Luca Soldaini and Neil T. Heffernan and Kyle Lo},
  title = {{DrawEduMath: Evaluating Vision Language Models with Expert-Annotated Students' Hand-Drawn Math Images}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.naacl-long.352},
}
Figure