File size: 5,813 Bytes
2b98ca4 91da78d 2b98ca4 3503af9 2b98ca4 3503af9 91da78d 3503af9 7e91f38 3503af9 2b98ca4 3503af9 2b98ca4 3503af9 2b98ca4 3503af9 2b98ca4 3503af9 2b98ca4 3503af9 2b98ca4 3503af9 2b98ca4 3503af9 2b98ca4 3503af9 2b98ca4 3503af9 2b98ca4 3503af9 2b98ca4 3503af9 2b98ca4 3503af9 2b98ca4 91da78d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | ---
license: cc-by-nc-sa-4.0
task_categories:
- visual-question-answering
- image-classification
- text-generation
language:
- zh
tags:
- education
- math
- error-analysis
- handwritten
- multimodal
- scratchwork
pretty_name: ScratchMath
size_categories:
- 1K<n<10K
configs:
- config_name: primary
data_files: "primary/data-*.parquet"
- config_name: middle
data_files: "middle/data-*.parquet"
dataset_info:
- config_name: primary
features:
- name: question_id
dtype: string
- name: question
dtype: string
- name: answer
dtype: string
- name: solution
dtype: string
- name: student_answer
dtype: string
- name: student_scratchwork
dtype: image
- name: error_category
dtype:
class_label:
names:
0: 计算错误
1: 题目理解错误
2: 知识点错误
3: 答题技巧错误
4: 手写誊抄错误
5: 逻辑推理错误
6: 注意力与细节错误
- name: error_explanation
dtype: string
splits:
- name: train
num_examples: 1479
- config_name: middle
features:
- name: question_id
dtype: string
- name: question
dtype: string
- name: answer
dtype: string
- name: solution
dtype: string
- name: student_answer
dtype: string
- name: student_scratchwork
dtype: image
- name: error_category
dtype:
class_label:
names:
0: 计算错误
1: 题目理解错误
2: 知识点错误
3: 答题技巧错误
4: 手写誊抄错误
5: 逻辑推理错误
6: 注意力与细节错误
- name: error_explanation
dtype: string
splits:
- name: train
num_examples: 241
---
<div align="center">
# ScratchMath
### *Can MLLMs Read Students' Minds?* Unpacking Multimodal Error Analysis in Handwritten Math
**AIED 2026** — 27th International Conference on Artificial Intelligence in Education
[](https://bbsngg.github.io/ScratchMath/)
[](https://bbsngg.github.io/ScratchMath/paper/ScratchMath_AIED2026.pdf)
[](https://github.com/ai-for-edu/ScratchMath)
[](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** — 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
| Subset | Grade Level | Samples |
|:------:|:-----------:|:-------:|
| `primary` | Grades 1–6 | 1,479 |
| `middle` | Grades 7–9 | 241 |
### Error Categories
| Category (zh) | Category (en) | Primary | Middle |
|:-:|:-:|:-:|:-:|
| 计算错误 | Calculation Error | 453 | 113 |
| 题目理解错误 | Problem Comprehension Error | 499 | 20 |
| 知识点错误 | Conceptual Knowledge Error | 174 | 45 |
| 答题技巧错误 | Procedural Error | 118 | 17 |
| 手写誊抄错误 | Transcription Error | 95 | 29 |
| 逻辑推理错误 | Logical Reasoning Error | 73 | 2 |
| 注意力与细节错误 | Attention & Detail Error | 67 | 15 |
### Fields
| Field | Type | Description |
|:------|:----:|:------------|
| `question_id` | string | Unique identifier |
| `question` | string | Math problem text (may contain LaTeX) |
| `answer` | string | Correct answer |
| `solution` | string | Step-by-step reference solution |
| `student_answer` | string | Student's incorrect answer |
| `student_scratchwork` | image | Photo of handwritten work |
| `error_category` | ClassLabel | One of 7 error types |
| `error_explanation` | string | Expert 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](https://creativecommons.org/licenses/by-nc-sa/4.0/) license.
|