Jun-Yang commited on
Commit
aeafd93
·
verified ·
1 Parent(s): f216c1d

Upload dataset/HRbench/README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. dataset/HRbench/README.md +105 -0
dataset/HRbench/README.md ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: other
4
+ license_link: LICENSE
5
+ task_categories:
6
+ - visual-question-answering
7
+ language:
8
+ - en
9
+ size_categories:
10
+ - n<1K
11
+ splits:
12
+ - name: val
13
+ configs:
14
+ - config_name: hrbench_version_split
15
+ data_files:
16
+ - split: hrbench_4k
17
+ path: "hr_bench_4k.parquet"
18
+ - split: hrbench_8k
19
+ path: "hr_bench_8k.parquet"
20
+ dataset_info:
21
+ - config_name: hrbench_version_split
22
+ features:
23
+ - name: index
24
+ dtype: int64
25
+ - name: question
26
+ dtype: string
27
+ - name: answer
28
+ dtype: string
29
+ - name: category
30
+ dtype: string
31
+ - name: A
32
+ dtype: string
33
+ - name: B
34
+ dtype: string
35
+ - name: C
36
+ dtype: string
37
+ - name: D
38
+ dtype: string
39
+ - name: cycle_category
40
+ dtype: string
41
+ - name: image
42
+ dtype: string
43
+ splits:
44
+ - name: hrbench_4k
45
+ num_examples: 800
46
+ - name: hrbench_8k
47
+ num_examples: 800
48
+ ---
49
+
50
+ # Divide, Conquer and Combine: A Training-Free Framework for High-Resolution Image Perception in Multimodal Large Language Models
51
+
52
+ [**🌐Homepage**](https://github.com/DreamMr/HR-Bench) | [**📖 Paper**](http://arxiv.org/abs/2408.15556)
53
+
54
+ ## 📊 HR-Bench
55
+
56
+ We find that the highest resolution in existing multimodal benchmarks is only 2K. To address the current lack of high-resolution multimodal benchmarks, we construct **_HR-Bench_**. **_HR-Bench_** consists two sub-tasks: **_Fine-grained Single-instance Perception (FSP)_** and **_Fine-grained Cross-instance Perception (FCP)_**. The **_FSP_** task includes 100 samples, which includes tasks such as attribute recognition, OCR, visual prompting. The **_FCP_** task also comprises 100 samples which encompasses map analysis, chart analysis and spatial relationship assessment. As shown in the figure below, we visualize examples of our **_HR-Bench_**.
57
+
58
+ <p align="center">
59
+ <img src="https://raw.githubusercontent.com/DreamMr/HR-Bench/main/resources/case_study_dataset_13.png" width="50%"> <br>
60
+ </p>
61
+
62
+
63
+ **_HR-Bench_** is available in two versions: **_HR-Bench 8K_** and **_HR-Bench 4K_**. The **_HR-Bench 8K_** includes images with an average resolution of 8K. Additionally, we manually annotate the coordinates of objects relevant to the questions within the 8K image and crop these image to 4K resolution.
64
+
65
+ ## 👨‍💻Divide, Conquer and Combine
66
+
67
+ We observe that most current MLLMs (e.g., LLaVA-v1.5) perceive images in a fixed resolution (e.g., 336x336). This simplification often leads to greater visual information loss. Based on this finding, we propose a novel training-free framework —— **D**ivide, **C**onquer and **C**ombine (**$DC^2$**). We first recursively split an image into image patches until they reach the resolution defined by the pretrained vision encoder (e.g., 336x336), merging similar patches for efficiency (**Divide**). Next, we utilize MLLM to generate text description for each image patch and extract objects mentioned in the text descriptions (**Conquer**). Finally, we filter out hallucinated objects resulting from image division and store the coordinates of the image patches which objects appear (**Combine**). During the inference stage, we retrieve the related image patches according to the user prompt to provide accurate text descriptions.
68
+
69
+ ## 🏆 Mini-Leaderboard
70
+
71
+ We show a mini-leaderboard here and please find more information in our paper.
72
+
73
+ | Model | **_HR-Bench 4K_** (**_Acc._**) | **_HR-Bench 8K_** (**_Acc._**) | **_Avg._** |
74
+ |-------|:--------:|:--------:|:-------:|
75
+ |Human Baseline 🥇 | **82.0** | **86.8** | **84.4** |
76
+ |InternVL-2-llama3-76B w/ our $DC^2$ 🥈 | 70.4 | 63.3 | 66.9 |
77
+ |Qwen2VL-7B 🥉 | 66.8 | 66.5 | 66.6 |
78
+ |InternVL-2-llama3-76B | 71.0 | 61.4 | 66.2 |
79
+ |Gemini 1.5 Flash | 66.8 | 62.8 | 64.8 |
80
+ |InternVL-1.5-26B w/ $DC^2$ | 63.4 | 61.3 | 62.3 |
81
+ |Qwen2VL-2B | 64.0 | 58.6 | 61.3 |
82
+ |InternVL-1.5-26B | 60.6 | 57.9 | 59.3 |
83
+ |GPT4o | 59.0 | 55.5 | 57.3 |
84
+ |QWen-VL-max | 58.5 | 52.5 | 55.5 |
85
+ |Xcomposer2-4kHD-7B | 57.8 | 51.3 | 54.6 |
86
+ |LLaVA-HR-X-13B | 53.6 | 46.9 | 50.3 |
87
+ |LLaVA-1.6-34B | 52.9 | 47.4 | 50.2 |
88
+ |QWen-VL-plus | 53.0 | 46.5 | 49.8 |
89
+ |LLaVA-HR-X-7B | 52.0 | 41.6 | 46.8 |
90
+
91
+
92
+ # 📧 Contact
93
+ - Wenbin Wang: wangwenbin97@whu.edu.cn
94
+
95
+ # ✒️ Citation
96
+ ```
97
+ @article{hrbench,
98
+ title={Divide, Conquer and Combine: A Training-Free Framework for High-Resolution Image Perception in Multimodal Large Language Models},
99
+ author={Wenbin Wang and Liang Ding and Minyan Zeng and Xiabin Zhou and Li Shen and Yong Luo and Dacheng Tao},
100
+ year={2024},
101
+ journal={arXiv preprint},
102
+ url={https://arxiv.org/abs/2408.15556},
103
+ }
104
+ ```
105
+