dbrown1981 mathvision commited on
Commit
4facb44
·
0 Parent(s):

Duplicate from MathLLMs/MathVision

Browse files

Co-authored-by: MathVision <mathvision@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
13
+ *.model filter=lfs diff=lfs merge=lfs -text
14
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
15
+ *.npy filter=lfs diff=lfs merge=lfs -text
16
+ *.npz filter=lfs diff=lfs merge=lfs -text
17
+ *.onnx filter=lfs diff=lfs merge=lfs -text
18
+ *.ot filter=lfs diff=lfs merge=lfs -text
19
+ *.parquet filter=lfs diff=lfs merge=lfs -text
20
+ *.pb filter=lfs diff=lfs merge=lfs -text
21
+ *.pickle filter=lfs diff=lfs merge=lfs -text
22
+ *.pkl filter=lfs diff=lfs merge=lfs -text
23
+ *.pt filter=lfs diff=lfs merge=lfs -text
24
+ *.pth filter=lfs diff=lfs merge=lfs -text
25
+ *.rar filter=lfs diff=lfs merge=lfs -text
26
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
27
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar filter=lfs diff=lfs merge=lfs -text
30
+ *.tflite filter=lfs diff=lfs merge=lfs -text
31
+ *.tgz filter=lfs diff=lfs merge=lfs -text
32
+ *.wasm filter=lfs diff=lfs merge=lfs -text
33
+ *.xz filter=lfs diff=lfs merge=lfs -text
34
+ *.zip filter=lfs diff=lfs merge=lfs -text
35
+ *.zst filter=lfs diff=lfs merge=lfs -text
36
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
37
+ # Audio files - uncompressed
38
+ *.pcm filter=lfs diff=lfs merge=lfs -text
39
+ *.sam filter=lfs diff=lfs merge=lfs -text
40
+ *.raw filter=lfs diff=lfs merge=lfs -text
41
+ # Audio files - compressed
42
+ *.aac filter=lfs diff=lfs merge=lfs -text
43
+ *.flac filter=lfs diff=lfs merge=lfs -text
44
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
45
+ *.ogg filter=lfs diff=lfs merge=lfs -text
46
+ *.wav filter=lfs diff=lfs merge=lfs -text
47
+ # Image files - uncompressed
48
+ *.bmp filter=lfs diff=lfs merge=lfs -text
49
+ *.gif filter=lfs diff=lfs merge=lfs -text
50
+ *.png filter=lfs diff=lfs merge=lfs -text
51
+ *.tiff filter=lfs diff=lfs merge=lfs -text
52
+ # Image files - compressed
53
+ *.jpg filter=lfs diff=lfs merge=lfs -text
54
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
55
+ *.webp filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,223 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ annotations_creators:
4
+ - expert-generated
5
+ - found
6
+ language_creators:
7
+ - expert-generated
8
+ - found
9
+ task_categories:
10
+ - question-answering
11
+ - multiple-choice
12
+ - visual-question-answering
13
+ - text-generation
14
+ - image-to-text
15
+ - image-text-to-text
16
+ language:
17
+ - en
18
+ tags:
19
+ - mathematics
20
+ - reasoning
21
+ - multi-modal-qa
22
+ - math-qa
23
+ - figure-qa
24
+ - geometry-qa
25
+ - math-word-problem
26
+ - textbook-qa
27
+ - vqa
28
+ - geometry-diagram
29
+ - synthetic-scene
30
+ - chart
31
+ - plot
32
+ - scientific-figure
33
+ - table
34
+ - function-plot
35
+ - abstract-scene
36
+ - puzzle-test
37
+ - document-image
38
+ - science
39
+ dataset_info:
40
+ features:
41
+ - name: id
42
+ dtype: string
43
+ - name: question
44
+ dtype: string
45
+ - name: options
46
+ sequence: string
47
+ - name: image
48
+ dtype: string
49
+ - name: decoded_image
50
+ dtype: image
51
+ - name: answer
52
+ dtype: string
53
+ - name: solution
54
+ dtype: string
55
+ - name: level
56
+ dtype: int64
57
+ - name: subject
58
+ dtype: string
59
+ splits:
60
+ - name: test
61
+ num_examples: 3040
62
+ - name: testmini
63
+ num_examples: 304
64
+ configs:
65
+ - config_name: default
66
+ data_files:
67
+ - split: test
68
+ path: data/test-*
69
+ - split: testmini
70
+ path: data/testmini-*
71
+ pretty_name: MATH-V
72
+ size_categories:
73
+ - 1K<n<10K
74
+ ---
75
+ # Measuring Multimodal Mathematical Reasoning with the MATH-Vision Dataset
76
+
77
+ [[💻 Github](https://github.com/mathllm/MATH-V/)] [[🌐 Homepage](https://mathllm.github.io/mathvision/)] [[📊 Main Leaderboard ](https://mathllm.github.io/mathvision/#leaderboard)] [[📊 Open Source Leaderboard ](https://mathllm.github.io/mathvision/#openleaderboard)] [[🌿 Wild Leaderboard ](https://mathllm.github.io/mathvision/#wildleaderboard)] [[🔍 Visualization](https://mathllm.github.io/mathvision/#visualization)] [[📖 Paper](https://proceedings.neurips.cc/paper_files/paper/2024/file/ad0edc7d5fa1a783f063646968b7315b-Paper-Datasets_and_Benchmarks_Track.pdf)]
78
+
79
+ ---
80
+
81
+ ## 🌿 NEW: MATH-Vision-Wild
82
+
83
+ **MATH-Vision-Wild** is a photographic, real-world variant of MATH-Vision. The same testmini problems are **physically captured** on printed paper, iPads, laptops, and projectors under varying lighting and angles — the conditions VLMs actually face when a user holds up a phone to a math problem.
84
+
85
+ 📦 **Dataset**: [MathLLMs/MathVision-Wild](https://huggingface.co/datasets/MathLLMs/MathVision-Wild) · 🏆 **Leaderboard**: [mathllm.github.io/mathvision/#wildleaderboard](https://mathllm.github.io/mathvision/#wildleaderboard)
86
+
87
+ **Key finding — almost every model *regresses* in the wild:**
88
+
89
+ | Model | MATH-Vision (testmini) | MATH-Vision-Wild | Δ |
90
+ |---|---:|---:|---:|
91
+ | **o4-mini** 🥇 | 55.9 | **57.2** | **+2.33%** (only model to improve) |
92
+ | Gemini 2.5 Pro Preview 05-06 (thinking) | 63.8 | 49.0 | **−23.20%** |
93
+ | Gemini 2.5 Flash Preview 05-20 | 57.9 | 48.0 | −17.10% |
94
+ | Doubao-1.5-thinking-vision-pro | 57.9 | 45.7 | −21.07% |
95
+ | Gemini 2.5 Pro Preview 05-06 | 61.8 | 42.8 | −30.74% |
96
+ | GPT-4.1 | 40.5 | 35.5 | −12.35% |
97
+ | Qwen2.5-VL-72B-Instruct | 36.2 | 24.0 | −33.70% |
98
+ | Gemini 2.0 Flash | 48.0 | 23.0 | −52.08% |
99
+ | Gemini 1.5 Pro | 38.8 | 18.4 | −52.58% |
100
+
101
+ Only **o4-mini** improves when problems are photographed; long-reasoning models degrade less than fast/non-thinking models. A full 25-model comparison with MATH-Vision-Screenshot and Δ% columns is on the [Wild Leaderboard](https://mathllm.github.io/mathvision/#wildleaderboard).
102
+
103
+ ```python
104
+ from datasets import load_dataset
105
+
106
+ wild = load_dataset("MathLLMs/MathVision-Wild", split="testmini_photo")
107
+ screenshot = load_dataset("MathLLMs/MathVision-Wild", split="testmini_screenshot")
108
+ photo_full = load_dataset("MathLLMs/MathVision-Wild", split="test_photo") # 3,040 photos
109
+ ```
110
+
111
+ ---
112
+
113
+ ## 🚀 Data Usage
114
+
115
+
116
+
117
+ <!-- **We have observed that some studies have used our MATH-Vision dataset as a training set.**
118
+ ⚠️ **As clearly stated in our paper: *"The MATH-V dataset is not supposed, though the risk exists, to be used to train models for cheating. We intend for researchers to use this dataset to better evaluate LMMs’ mathematical reasoning capabilities and consequently facilitate future studies in this area."***
119
+
120
+ ⚠️⚠️⚠️ **In the very rare situation that there is a compelling reason to include MATH-V in your training set, we strongly urge that the ***testmini*** subset be excluded from the training process!**
121
+ -->
122
+
123
+ ```python
124
+ from datasets import load_dataset
125
+
126
+ dataset = load_dataset("MathLLMs/MathVision")
127
+ print(dataset)
128
+ ```
129
+
130
+
131
+
132
+ ## 🙏 Acknowledgments
133
+
134
+ We would like to thank the following contributors for helping improve the dataset quality:
135
+
136
+ - [@Zhiqi Huang](https://huggingface.co/googlebrain) for correcting answers for ID 21, ID 691, ID 2522 and ID 2524
137
+ - [@Big-Brother-Pikachu](https://github.com/Big-Brother-Pikachu) for correcting answers for ID 338 and ID 1826
138
+
139
+ ## 💥 News
140
+ - **[2026.04.24]** 🌿🔥🔥 **MATH-Vision-Wild released!** A photographic variant that re-captures MATH-Vision problems on printed paper, iPads, laptops, and projectors. **o4-mini** is the **only** model whose accuracy *improves* in the wild (**57.2%**, +2.33% vs baseline); every other VLM — including Gemini 2.5 Pro, GPT-4.1, and Qwen2.5-VL-72B — regresses, often by 20-50%. Dataset: [MathLLMs/MathVision-Wild](https://huggingface.co/datasets/MathLLMs/MathVision-Wild) · Leaderboard: [#wildleaderboard](https://mathllm.github.io/mathvision/#wildleaderboard)
141
+ - **[2025.05.16]** 💥 We now support the official open-source leaderboard! 🔥🔥🔥 [**Skywork-R1V2-38B**](https://github.com/SkyworkAI/Skywork-R1V) is the best open-source model, scoring **49.7%** on MATH-Vision. 🔥🔥🔥 [**MathCoder-VL-2B**](https://huggingface.co/MathLLMs/MathCoder-VL-2B) is the best small model on MATH-Vision, scoring **21.7%**. See the full [open-source leaderboard](https://mathllm.github.io/mathvision/#openleaderboard).
142
+ - **[2025.05.16]** 🤗 [MathCoder-VL-2B](https://huggingface.co/MathLLMs/MathCoder-VL-2B), [MathCoder-VL-8B](https://huggingface.co/MathLLMs/MathCoder-VL-8B) and [FigCodifier-8B](https://huggingface.co/MathLLMs/FigCodifier) is available now! 🔥🔥🔥
143
+ - **[2025.05.16]** Our MathCoder-VL is accepted to ACL 2025. 🔥🔥🔥
144
+ - **[2025.05.13]** 🔥🔥🔥 **[Seed1.5-VL](https://github.com/ByteDance-Seed/Seed1.5-VL)** achieves **68.7%** on MATH-Vision! 🎉 Congratulations!
145
+ - **[2025.04.11]** 💥 **Kimi-VL-A3B-Thinking achieves strong multimodal reasoning with just 2.8B LLM activated parameters!** Congratulations! See the full [leaderboard](https://mathllm.github.io/mathvision/#leaderboard).
146
+ - **[2025.04.10]** 🔥 **SenseNova V6 Reasoner** achieves **55.39%** on MATH-Vision! 🎉 Congratulations!
147
+ - **[2025.04.05]** 💥 **Step R1-V-Mini 🥇 Sets New SOTA on MATH-V with 56.6%!** See the full [leaderboard](https://mathllm.github.io/mathvision/#leaderboard).
148
+ - **[2025.03.10]** 💥 **Kimi k1.6 Preview Sets New SOTA on MATH-V with 53.29%!** See the full [leaderboard](https://mathllm.github.io/mathvision/#leaderboard).
149
+ - **[2025.02.28]** 💥 **Doubao-1.5-pro Sets New SOTA on MATH-V with 48.62%!** Read more on the [Doubao blog](https://team.doubao.com/zh/special/doubao_1_5_pro).
150
+ - **[2025.01.26]** 🚀 [Qwen2.5-VL-72B](http://qwenlm.github.io/blog/qwen2.5-vl/) achieves **38.1%**, establishing itself as the best-performing one in open-sourced models. 🎉 Congratulations!
151
+ - **[2025.01.22]** 💥 **Kimi k1.5 achieves new SOTA** on MATH-Vision with **38.6%**! Learn more at the [Kimi k1.5 report](https://arxiv.org/pdf/2501.12599).
152
+ - **[2024-09-27]** **MATH-V** is accepted by NeurIPS DB Track, 2024! 🎉🎉🎉
153
+ - **[2024-08-29]** 🔥 Qwen2-VL-72B achieves new open-sourced SOTA on MATH-Vision with 25.9! 🎉 Congratulations! Learn more at the [Qwen2-VL blog](https://qwenlm.github.io/blog/qwen2-vl/).
154
+ - **[2024-07-19]** [open-compass/VLMEvalKit](https://github.com/open-compass/VLMEvalKit) now supports **MATH-V**, utilizing LLMs for more accurate answer extraction!🔥
155
+ - **[2024-05-19]** OpenAI's **GPT-4o** scores **30.39%** on **MATH-V**, considerable advancement in short time! 💥
156
+ - **[2024-03-01]** **InternVL-Chat-V1-2-Plus** achieves **16.97%**, establishing itself as the new best-performing open-sourced model. 🎉 Congratulations!
157
+ - **[2024-02-23]** Our dataset is now accessible at [huggingface](https://huggingface.co/datasets/MathLLMs/MathVision).
158
+ - **[2024-02-22]** The top-performing model, **GPT-4V** only scores **23.98%** on **MATH-V**, while human performance is around **70%**.
159
+ - **[2024-02-22]** Our paper is now accessible at [ArXiv Paper](https://arxiv.org/abs/2402.14804).
160
+
161
+ ## 👀 Introduction
162
+
163
+ Recent advancements in Large Multimodal Models (LMMs) have shown promising results in mathematical reasoning within visual contexts, with models approaching human-level performance on existing benchmarks such as MathVista. However, we observe significant limitations in the diversity of questions and breadth of subjects covered by these benchmarks. To address this issue, we present the MATH-Vision (MATH-V) dataset, a meticulously curated collection of 3,040 high-quality mathematical problems with visual contexts sourced from real math competitions. Spanning 16 distinct mathematical disciplines and graded across 5 levels of difficulty, our dataset provides a comprehensive and diverse set of challenges for evaluating the mathematical reasoning abilities of LMMs.
164
+
165
+
166
+ <p align="center">
167
+ <img src="https://raw.githubusercontent.com/mathvision-cuhk/MathVision/main/assets/figures/figure1_new.png" width="66%"> The accuracies of four prominent Large Multimodal Models (LMMs), random chance, and human <br>
168
+ performance are evaluated on our proposed <b>MATH-Vision (MATH-V)</b> across 16 subjects.
169
+ </p>
170
+ <br>
171
+ Through extensive experimentation, we unveil a notable performance gap between current LMMs and human performance on MATH-V, underscoring the imperative for further advancements in LMMs.
172
+
173
+ You can refer to the [project homepage](https://mathvision-cuhk.github.io/) for more details.
174
+
175
+ ## 🏆 Leaderboard
176
+
177
+ The leaderboard is available [here](https://mathvision-cuhk.github.io/#leaderboard).
178
+
179
+ We are commmitted to maintain this dataset and leaderboard in the long run to ensure its quality!
180
+ 🔔 If you find any mistakes, please paste the question_id to the issue page, we will modify it accordingly.
181
+
182
+ ## 📐 Dataset Examples
183
+
184
+ Some examples of MATH-V on three subjects: analytic geometry, topology, and graph theory.
185
+
186
+ <details>
187
+ <summary>Analytic geometry</summary><p align="center">
188
+ <img src="https://raw.githubusercontent.com/mathvision-cuhk/MathVision/main/assets/examples/exam_analytic_geo.png" width="60%"> <br>
189
+ </p></details>
190
+
191
+ <details>
192
+ <summary>Topology</summary><p align="center">
193
+ <img src="https://raw.githubusercontent.com/mathvision-cuhk/MathVision/main/assets/examples/exam_topology.png" width="60%"> <br>
194
+ </p></details>
195
+
196
+ <details>
197
+ <summary>Graph Geometry</summary><p align="center">
198
+ <img src="https://raw.githubusercontent.com/mathvision-cuhk/MathVision/main/assets/examples/exam_graph.png" width="60%"> <br>
199
+ </p></details>
200
+
201
+ ## 📑 Citation
202
+
203
+ If you find this benchmark useful in your research, please consider citing this BibTex:
204
+
205
+ ```
206
+ @inproceedings{
207
+ wang2024measuring,
208
+ title={Measuring Multimodal Mathematical Reasoning with MATH-Vision Dataset},
209
+ author={Ke Wang and Junting Pan and Weikang Shi and Zimu Lu and Houxing Ren and Aojun Zhou and Mingjie Zhan and Hongsheng Li},
210
+ booktitle={The Thirty-eight Conference on Neural Information Processing Systems Datasets and Benchmarks Track},
211
+ year={2024},
212
+ url={https://openreview.net/forum?id=QWTCcxMpPA}
213
+ }
214
+
215
+ @inproceedings{
216
+ wang2025mathcodervl,
217
+ title={MathCoder-{VL}: Bridging Vision and Code for Enhanced Multimodal Mathematical Reasoning},
218
+ author={Ke Wang and Junting Pan and Linda Wei and Aojun Zhou and Weikang Shi and Zimu Lu and Han Xiao and Yunqiao Yang and Houxing Ren and Mingjie Zhan and Hongsheng Li},
219
+ booktitle={The 63rd Annual Meeting of the Association for Computational Linguistics},
220
+ year={2025},
221
+ url={https://openreview.net/forum?id=nuvtX1imAb}
222
+ }
223
+ ```
data/test-00000-of-00001-3532b8d3f1b4047a.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcb3078a77bd6ee0e4e22135d53b9a48604fcd1b62dec69e279e812ba4dd7d37
3
+ size 56906090
data/testmini-00000-of-00001-f8ff70fcb2f29b1d.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:303b551466029f694b201ed61d9115bc9cff370006e8908cbe85c0495e79e76d
3
+ size 6987282
eval.yaml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: MATH-Vision
2
+ description: >
3
+ MATH-Vision (MATH-V) is a meticulously curated collection of 3,040
4
+ high-quality mathematical problems with visual contexts sourced from real
5
+ math competitions. Spanning 16 distinct mathematical disciplines and graded
6
+ across 5 levels of difficulty, it evaluates the multimodal mathematical
7
+ reasoning abilities of Large Multimodal Models (LMMs).
8
+ evaluation_framework: "inspect-ai"
9
+
10
+ tasks:
11
+ - id: mathvision
12
+ config: default
13
+ split: test
14
+
15
+ field_spec:
16
+ input: question
17
+ input_image: decoded_image
18
+ target: answer
19
+ choices: options
20
+
21
+ solvers:
22
+ - name: system_message
23
+ args:
24
+ template: |
25
+ Solve the following mathematics problem, analyzing the accompanying
26
+ image. If answer options are provided, choose the single best one.
27
+ Reason step by step, then on the final line output ONLY your answer
28
+ in the form:
29
+ ANSWER: <your final answer>
30
+ - name: generate
31
+
32
+ scorers:
33
+ - name: match
34
+ args:
35
+ location: end
36
+
37
+ - id: mathvision_testmini
38
+ config: default
39
+ split: testmini
40
+
41
+ field_spec:
42
+ input: question
43
+ input_image: decoded_image
44
+ target: answer
45
+ choices: options
46
+
47
+ solvers:
48
+ - name: system_message
49
+ args:
50
+ template: |
51
+ Solve the following mathematics problem, analyzing the accompanying
52
+ image. If answer options are provided, choose the single best one.
53
+ Reason step by step, then on the final line output ONLY your answer
54
+ in the form:
55
+ ANSWER: <your final answer>
56
+ - name: generate
57
+
58
+ scorers:
59
+ - name: match
60
+ args:
61
+ location: end
images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d571d5178c14e7a713c52c0131aa7be9e20bf6498e7fb3dbd400abb673c07e1f
3
+ size 52394949