---
license: apache-2.0
language:
- en
size_categories:
- 10K
## Main Results
## Usage
```python
from datasets import load_dataset
d2cp = load_dataset("AIGrounding/Diagram-MMU", "d2c-p", split="test") # parsing
dqa = load_dataset("AIGrounding/Diagram-MMU", "dqa", split="testmini") # QA, dev subset
diagrams = load_dataset("AIGrounding/Diagram-MMU", "diagrams", split="test")
ex = d2cp[0]
ex["image"] # PIL.Image (decoded automatically)
ex["code"] # ground-truth source
```
## Evaluation
All ground truth is public, so evaluation runs locally โ no submission. The official evaluation code (object / code / image metrics for **D2C-P** & **D2C-E**, and the rule-based + LLM-as-judge pipeline for **DQA**) will be released separately:
- **Evaluation repository:** [github.com/AIGrounding/Diagram-MMU](https://github.com/AIGrounding/Diagram-MMU)
## License & Citation
Released under the **Apache License 2.0**. Source code is collected from official package handbooks (PGFPlots, CircuiTikZ, TKZ-Euclide, ChemFig, TikZ-Network) and community resources (`texample.net`, TeX Stack Exchange, GitHub `tikz_favorites`); upstream sources may carry their own terms. All annotations are original to this work.
```bibtex
@article{bo2026diagrammmu,
title = {Diagram-MMU: A Multi-Modal Benchmark for Scientific Diagrams},
author = {Bo, Weihao and Zhang, Shan and Sun, Yanpeng and Liu, Jie and Yao, Yongke and Du, Jinhao and He, Wei and Zou, Kai and Li, Zechao and Wang, Jingdong},
journal = {arXiv preprint arXiv:TODO},
year = {2026}
}
```