scikkk CaraJ commited on
Commit
1a098a5
·
0 Parent(s):

Duplicate from AI4Math/MathVerse

Browse files

Co-authored-by: Dongzhi Jiang <CaraJ@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,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ task_categories:
3
+ - multiple-choice
4
+ - question-answering
5
+ - visual-question-answering
6
+ language:
7
+ - en
8
+ size_categories:
9
+ - 1K<n<10K
10
+ configs:
11
+ - config_name: testmini
12
+ data_files:
13
+ - split: testmini
14
+ path: testmini.parquet
15
+ - config_name: testmini_text_only
16
+ data_files:
17
+ - split: testmini_text_only
18
+ path: testmini_text_only.parquet
19
+ dataset_info:
20
+ - config_name: testmini
21
+ features:
22
+ - name: sample_index
23
+ dtype: string
24
+ - name: problem_index
25
+ dtype: string
26
+ - name: problem_version
27
+ dtype: string
28
+ - name: question
29
+ dtype: string
30
+ - name: image
31
+ dtype: image
32
+ - name: answer
33
+ dtype: string
34
+ - name: question_type
35
+ dtype: string
36
+ - name: metadata
37
+ struct:
38
+ - name: split
39
+ dtype: string
40
+ - name: source
41
+ dtype: string
42
+ - name: subject
43
+ dtype: string
44
+ - name: subfield
45
+ dtype: string
46
+ - name: query_wo
47
+ dtype: string
48
+ - name: query_cot
49
+ dtype: string
50
+ - name: question_for_eval
51
+ dtype: string
52
+ splits:
53
+ - name: testmini
54
+ num_bytes: 166789963
55
+ num_examples: 3940
56
+ - config_name: testmini_text_only
57
+ features:
58
+ - name: sample_index
59
+ dtype: string
60
+ - name: problem_index
61
+ dtype: string
62
+ - name: problem_version
63
+ dtype: string
64
+ - name: question
65
+ dtype: string
66
+ - name: image
67
+ dtype: string
68
+ - name: answer
69
+ dtype: string
70
+ - name: question_type
71
+ dtype: string
72
+ - name: metadata
73
+ struct:
74
+ - name: split
75
+ dtype: string
76
+ - name: source
77
+ dtype: string
78
+ - name: subject
79
+ dtype: string
80
+ - name: subfield
81
+ dtype: string
82
+ - name: query_wo
83
+ dtype: string
84
+ - name: query_cot
85
+ dtype: string
86
+ - name: question_for_eval
87
+ dtype: string
88
+ splits:
89
+ - name: testmini_text_only
90
+ num_bytes: 250959
91
+ num_examples: 788
92
+ license: mit
93
+ ---
94
+ # Dataset Card for MathVerse
95
+
96
+ - [Dataset Description](https://huggingface.co/datasets/AI4Math/MathVerse/blob/main/README.md#dataset-description)
97
+ - [Paper Information](https://huggingface.co/datasets/AI4Math/MathVerse/blob/main/README.md#paper-information)
98
+ - [Dataset Examples](https://huggingface.co/datasets/AI4Math/MathVerse/blob/main/README.md#dataset-examples)
99
+ - [Leaderboard](https://huggingface.co/datasets/AI4Math/MathVerse/blob/main/README.md#leaderboard)
100
+ - [Citation](https://huggingface.co/datasets/AI4Math/MathVerse/blob/main/README.md#citation)
101
+
102
+ ## Dataset Description
103
+ The capabilities of **Multi-modal Large Language Models (MLLMs)** in **visual math problem-solving** remain insufficiently evaluated and understood. We investigate current benchmarks to incorporate excessive visual content within textual questions, which potentially assist MLLMs in deducing answers without truly interpreting the input diagrams.
104
+
105
+ <p align="center">
106
+ <img src="https://raw.githubusercontent.com/ZrrSkywalker/MathVerse/main/figs/fig1.png" width="90%"> <br>
107
+ </p>
108
+
109
+ To this end, we introduce **MathVerse**, an all-around visual math benchmark designed for an equitable and in-depth evaluation of MLLMs. We meticulously collect 2,612 high-quality, multi-subject math problems with diagrams from publicly available sources. Each problem is then transformed by human annotators into **six distinct versions**, each offering varying degrees of information content in multi-modality, contributing to **15K** test samples in total. This approach allows MathVerse to comprehensively assess ***whether and how much MLLMs can truly understand the visual diagrams for mathematical reasoning.***
110
+
111
+ <p align="center">
112
+ <img src="https://raw.githubusercontent.com/ZrrSkywalker/MathVerse/main/figs/fig2.png" width="90%"> <br>
113
+ Six different versions of each problem in <b>MathVerse</b> transformed by expert annotators.
114
+ </p>
115
+
116
+ In addition, we propose a **Chain-of-Thought (CoT) Evaluation strategy** for a fine-grained assessment of the output answers. Rather than naively judging True or False, we employ GPT-4(V) to adaptively extract crucial reasoning steps, and then score each step with detailed error analysis, which can reveal the intermediate CoT reasoning quality by MLLMs.
117
+
118
+ <p align="center">
119
+ <img src="https://raw.githubusercontent.com/ZrrSkywalker/MathVerse/main/figs/fig3.png" width="90%"> <br>
120
+ The two phases of the CoT evaluation strategy.
121
+ </p>
122
+
123
+ ## Paper Information
124
+ - Code: https://github.com/ZrrSkywalker/MathVerse
125
+ - Project: https://mathverse-cuhk.github.io/
126
+ - Visualization: https://mathverse-cuhk.github.io/#visualization
127
+ - Leaderboard: https://mathverse-cuhk.github.io/#leaderboard
128
+ - Paper: https://arxiv.org/abs/2403.14624
129
+
130
+ ## Dataset Examples
131
+ 🖱 Click to expand the examples for six problems versions within three subjects</summary>
132
+
133
+ <details>
134
+ <summary>🔍 Plane Geometry</summary>
135
+
136
+ <p align="center">
137
+ <img src="https://raw.githubusercontent.com/ZrrSkywalker/MathVerse/main/figs/ver1.png" width="50%"> <br>
138
+ </p>
139
+ </details>
140
+
141
+ <details>
142
+ <summary>🔍 Solid Geometry</summary>
143
+
144
+ <p align="center">
145
+ <img src="https://raw.githubusercontent.com/ZrrSkywalker/MathVerse/main/figs/ver2.png" width="50%"> <br>
146
+ </p>
147
+ </details>
148
+
149
+ <details>
150
+ <summary>🔍 Functions</summary>
151
+
152
+ <p align="center">
153
+ <img src="https://raw.githubusercontent.com/ZrrSkywalker/MathVerse/main/figs/ver3.png" width="50%"> <br>
154
+ </p>
155
+ </details>
156
+
157
+ ## Leaderboard
158
+ ### Contributing to the Leaderboard
159
+
160
+ 🚨 The [Leaderboard](https://mathverse-cuhk.github.io/#leaderboard) is continuously being updated.
161
+
162
+ The evaluation instructions and tools will be released soon. For now, please send your results on the ***testmini*** set to this email: 1700012927@pku.edu.cn. Please refer to the following template to prepare your result json file.
163
+
164
+ - [output_testmini_template.json]()
165
+
166
+ ## License
167
+ This project is released under the MIT license.
168
+
169
+ ## Citation
170
+
171
+ If you find **MathVerse** useful for your research and applications, please kindly cite using this BibTeX:
172
+
173
+ ```latex
174
+ @inproceedings{zhang2024mathverse,
175
+ title={MathVerse: Does Your Multi-modal LLM Truly See the Diagrams in Visual Math Problems?},
176
+ author={Renrui Zhang, Dongzhi Jiang, Yichi Zhang, Haokun Lin, Ziyu Guo, Pengshuo Qiu, Aojun Zhou, Pan Lu, Kai-Wei Chang, Peng Gao, Hongsheng Li},
177
+ booktitle={arXiv},
178
+ year={2024}
179
+ }
180
+ ```
images.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40de79d29048e7a8d37e3307cd2ca0f2e94001167e3a395167c4ee4f6fb58f92
3
+ size 136055983
testmini.json ADDED
The diff for this file is too large to render. See raw diff
 
testmini.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c159e547d9fd076447d84cd6dd1a962f94e4c4d470bd93ff9ceb8f04b21dde4d
3
+ size 166892640
testmini_text_only.json ADDED
The diff for this file is too large to render. See raw diff
 
testmini_text_only.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19926acbcbb4209b1f23fe5d8f9ea2a163e726b918d19dd853da0cac83475726
3
+ size 322846