CoolFace
Datasetpublic

songdj/ScratchMath

ScratchMath Can MLLMs Read Students' Minds? Unpacking Multimodal Error Analysis in Handwritten Math AIED 2026 — 27th International Conference on Artificial Intelligence in Education Overview ScratchMath is a multimodal benchmark for evaluating whether MLLMs can analyze handwritten mathematical scratchwork produced by real students. Unlike existing math benchmarks that focus on problem-solving accuracy, ScratchMath targets error diagnosis —… See the full description on the dataset page: https://huggingface.co/datasets/songdj/ScratchMath.

sourceHugging Facecc-by-nc-sa-4.0updated 6mo agoView on Hugging Face
2likes177downloads
Dataset Card

<div align="center">

ScratchMath

Can MLLMs Read Students' Minds? Unpacking Multimodal Error Analysis in Handwritten Math

AIED 2026 &mdash; 27th International Conference on Artificial Intelligence in Education

![Project Page](https://bbsngg.github.io/ScratchMath/) ![Paper](https://bbsngg.github.io/ScratchMath/paper/ScratchMathAIED2026.pdf) [![Code](https://img.shields.io/badge/Code-GitHub-black?style=for-the-badge&logo=github&logoColor=white)](https://github.com/ai-for-edu/ScratchMath) [![License](https://img.shields.io/badge/License-CCBY--NC--SA_4.0-green?style=for-the-badge)](https://creativecommons.org/licenses/by-nc-sa/4.0/)

</div>


Overview

ScratchMath is a multimodal benchmark for evaluating whether MLLMs can analyze handwritten mathematical scratchwork produced by real students. Unlike existing math benchmarks that focus on problem-solving accuracy, ScratchMath targets error diagnosis &mdash; identifying what type of mistake a student made and explaining why.

  • 1,720 authentic student scratchwork samples from Chinese primary & middle schools
  • 7 expert-defined error categories with detailed explanations
  • 2 complementary tasks: Error Cause Explanation (ECE) & Error Cause Classification (ECC)
  • 16 leading MLLMs benchmarked; best model reaches 57.2% vs. human experts at 83.9%

Dataset Structure

Subsets

SubsetGrade LevelSamples
primaryGrades 1&ndash;61,479
middleGrades 7&ndash;9241

Error Categories

Category (zh)Category (en)PrimaryMiddle
计算错误Calculation Error453113
题目理解错误Problem Comprehension Error49920
知识点错误Conceptual Knowledge Error17445
答题技巧错误Procedural Error11817
手写誊抄错误Transcription Error9529
逻辑推理错误Logical Reasoning Error732
注意力与细节错误Attention & Detail Error6715

Fields

FieldTypeDescription
question_idstringUnique identifier
questionstringMath problem text (may contain LaTeX)
answerstringCorrect answer
solutionstringStep-by-step reference solution
student_answerstringStudent's incorrect answer
student_scratchworkimagePhoto of handwritten work
error_categoryClassLabelOne of 7 error types
error_explanationstringExpert explanation of the error

Quick Start

python
from datasets import load_dataset

# Load primary school subset
ds_primary = load_dataset("songdj/ScratchMath", "primary")

# Load middle school subset
ds_middle = load_dataset("songdj/ScratchMath", "middle")

# Access a sample
sample = ds_primary["train"][0]
print(sample["question"])
print(sample["error_category"])
sample["student_scratchwork"].show()

Citation

If you use this dataset, please cite:

bibtex
@inproceedings{song2026scratchmath,
  title     = {Can MLLMs Read Students' Minds? Unpacking Multimodal Error Analysis in Handwritten Math},
  author    = {Song, Dingjie and Xu, Tianlong and Zhang, Yi-Fan and Li, Hang and Yan, Zhiling and Fan, Xing and Li, Haoyang and Sun, Lichao and Wen, Qingsong},
  booktitle = {Proceedings of the 27th International Conference on Artificial Intelligence in Education (AIED)},
  year      = {2026}
}

License

This dataset is released under the CC BY-NC-SA 4.0 license.