Lingfengtingyumian commited on
Commit
facceb8
·
verified ·
1 Parent(s): d898c64

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +132 -1
README.md CHANGED
@@ -1 +1,132 @@
1
- # Can MLLMs Reason Beyond Language? VisReason: A Comprehensive Benchmark for Vision-Centric Reasoning
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: VisReason
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - visual-question-answering
7
+ - image-to-text
8
+ tags:
9
+ - multimodal
10
+ - visual-reasoning
11
+ - mllm
12
+ - benchmark
13
+ size_categories:
14
+ - 1K<n<10K
15
+ ---
16
+
17
+ # VisReason
18
+
19
+ VisReason is a benchmark for evaluating vision-centric reasoning in everyday scenarios where perception and inference are tightly coupled. It is designed to test whether multimodal large language models can reason directly from visual evidence rather than relying mainly on language-mediated abstractions.
20
+
21
+ The dataset contains **1,505** carefully curated questions across **10 reasoning categories**, covering perceptual, structural, and conceptual reasoning tasks.
22
+
23
+ ## Download
24
+
25
+ You can download the dataset with the Hugging Face CLI:
26
+
27
+ ```bash
28
+ hf download <repo_id> --repo-type dataset --local-dir ./data
29
+ ```
30
+
31
+ The official evaluation scripts expect the dataset to be available under `./data` in the project root.
32
+
33
+ ## Dataset Structure
34
+
35
+ ```text
36
+ data/
37
+ img_<class_number>/
38
+ datajson_label.<ext>
39
+ class_1.jsonl
40
+ class_2.jsonl
41
+ ...
42
+ class_10.jsonl
43
+ datasets.json
44
+ ```
45
+
46
+ `datasets.json` is the dataset index used by the evaluation scripts. Modify this file to select or adjust the classes to evaluate.
47
+
48
+ Images are stored under the corresponding `img_<class_number>` folders. Each image file is named with the source dataset key and sample label:
49
+
50
+ ```text
51
+ datajson_label.<ext>
52
+ ```
53
+
54
+ ## Data Files
55
+
56
+ | Class | Data file | Samples | Image folder |
57
+ | --- | --- | ---: | --- |
58
+ | `class_1` | `class_1.jsonl` | 40 | `img_1/` |
59
+ | `class_2` | `class_2.jsonl` | 100 | `img_2/` |
60
+ | `class_3` | `class_3.jsonl` | 46 | `img_3/` |
61
+ | `class_4` | `class_4.jsonl` | 130 | `img_4/` |
62
+ | `class_5` | `class_5.jsonl` | 200 | `img_5/` |
63
+ | `class_6` | `class_6.jsonl` | 135 | `img_6/` |
64
+ | `class_7` | `class_7.jsonl` | 200 | `img_7/` |
65
+ | `class_8` | `class_8.jsonl` | 111 | `img_8/` |
66
+ | `class_9` | `class_9.jsonl` | 275 | `img_9/` |
67
+ | `class_10` | `class_10.jsonl` | 268 | `img_10/` |
68
+
69
+ ## Data Format
70
+
71
+ Each `class_*.jsonl` file contains one JSON object per line. A sample has the following fields:
72
+
73
+ | Field | Description |
74
+ | --- | --- |
75
+ | `class` | Class identifier. |
76
+ | `label` | Sample identifier within the source data. |
77
+ | `question type` | Question format used by the prompt and evaluator. |
78
+ | `question` | Natural-language question. |
79
+ | `answer` | Ground-truth answer. For localization tasks, this contains bounding boxes. |
80
+ | `images` | Image paths associated with the question. |
81
+ | `datajson` | Source dataset or source group key. |
82
+ | `Height` | Image height when available. |
83
+ | `Weight` | Image width field used by the released files. |
84
+ | `url` | Original source URL when available. |
85
+
86
+ Question types:
87
+
88
+ | Type | Task |
89
+ | --- | --- |
90
+ | `1` | Multiple-choice question. |
91
+ | `2` | Short-answer question. |
92
+ | `3` | Open-ended question. |
93
+ | `4` | Bounding-box localization question. |
94
+
95
+ ## Evaluation
96
+
97
+ The evaluation code is available in the GitHub repository:
98
+
99
+ ```text
100
+ https://github.com/CASIA-IVA-Lab/VisReason
101
+ ```
102
+
103
+ Inference results are expected to be saved as:
104
+
105
+ ```text
106
+ results/<model>/class_X_results.json
107
+ results/<model>_cot/class_X_results.json
108
+ ```
109
+
110
+ The evaluator writes per-class judging files and a final summary:
111
+
112
+ ```text
113
+ results/<model>/class_X_judge.json
114
+ results/<model>/summary.json
115
+ ```
116
+
117
+ For `class_1` and `class_2`, bounding-box predictions are evaluated with IoU at threshold 0.5. Other classes are evaluated by an LLM-based judge. The final score is the unweighted mean over all class accuracies.
118
+
119
+ ## License
120
+
121
+
122
+ ## Citation
123
+
124
+ ```bibtex
125
+
126
+ ```
127
+
128
+ ## Contact
129
+
130
+ If you have any questions, please reach out to:
131
+
132
+ * Yifan Wang - wangyifan2026@ia.ac.cn