gordonhubackup
commited on
Commit
•
13db956
1
Parent(s):
68b970f
release
Browse files- README.md +120 -0
- data/test-00000-of-000028.parquet +3 -0
- data/test-00001-of-000028.parquet +3 -0
- data/test-000010-of-000028.parquet +3 -0
- data/test-000011-of-000028.parquet +3 -0
- data/test-000012-of-000028.parquet +3 -0
- data/test-000013-of-000028.parquet +3 -0
- data/test-000014-of-000028.parquet +3 -0
- data/test-000015-of-000028.parquet +3 -0
- data/test-000016-of-000028.parquet +3 -0
- data/test-000017-of-000028.parquet +3 -0
- data/test-000018-of-000028.parquet +3 -0
- data/test-000019-of-000028.parquet +3 -0
- data/test-00002-of-000028.parquet +3 -0
- data/test-000020-of-000028.parquet +3 -0
- data/test-000021-of-000028.parquet +3 -0
- data/test-000022-of-000028.parquet +3 -0
- data/test-000023-of-000028.parquet +3 -0
- data/test-000024-of-000028.parquet +3 -0
- data/test-000025-of-000028.parquet +3 -0
- data/test-000026-of-000028.parquet +3 -0
- data/test-000027-of-000028.parquet +3 -0
- data/test-00003-of-000028.parquet +3 -0
- data/test-00004-of-000028.parquet +3 -0
- data/test-00005-of-000028.parquet +3 -0
- data/test-00006-of-000028.parquet +3 -0
- data/test-00007-of-000028.parquet +3 -0
- data/test-00008-of-000028.parquet +3 -0
- data/test-00009-of-000028.parquet +3 -0
README.md
ADDED
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: cc-by-4.0
|
5 |
+
size_categories:
|
6 |
+
- 1K<n<10K
|
7 |
+
task_categories:
|
8 |
+
- question-answering
|
9 |
+
- visual-question-answering
|
10 |
+
- multiple-choice
|
11 |
+
pretty_name: MRAG-Bench
|
12 |
+
dataset_info:
|
13 |
+
features:
|
14 |
+
- name: id
|
15 |
+
dtype: string
|
16 |
+
- name: aspect
|
17 |
+
dtype: string
|
18 |
+
- name: scenario
|
19 |
+
dtype: string
|
20 |
+
- name: image
|
21 |
+
dtype: image
|
22 |
+
- name: gt_images
|
23 |
+
sequence: image
|
24 |
+
- name: question
|
25 |
+
dtype: string
|
26 |
+
- name: A
|
27 |
+
dtype: string
|
28 |
+
- name: B
|
29 |
+
dtype: string
|
30 |
+
- name: C
|
31 |
+
dtype: string
|
32 |
+
- name: D
|
33 |
+
dtype: string
|
34 |
+
- name: answer_choice
|
35 |
+
dtype: string
|
36 |
+
- name: answer
|
37 |
+
dtype: string
|
38 |
+
- name: image_type
|
39 |
+
dtype: string
|
40 |
+
- name: source
|
41 |
+
dtype: string
|
42 |
+
- name: retrieved_images
|
43 |
+
sequence: image
|
44 |
+
splits:
|
45 |
+
- name: test
|
46 |
+
|
47 |
+
configs:
|
48 |
+
- config_name: default
|
49 |
+
data_files:
|
50 |
+
- split: test
|
51 |
+
path: data/test-*
|
52 |
+
---
|
53 |
+
|
54 |
+
|
55 |
+
# MRAG-Bench: Vision-Centric Evaluation for Retrieval-Augmented Multimodal Models
|
56 |
+
|
57 |
+
[**🌐 Homepage**](https://mragbench.github.io/) | [**📖 Paper**](https://arxiv.org/abs/) | [**💻 Evaluation**](https://github.com/mragbench/MRAG-Bench)
|
58 |
+
|
59 |
+
|
60 |
+
## Intro
|
61 |
+
|
62 |
+
MRAG-Bench consists of 16,130 images and 1,353 human-annotated multiple-choice questions across 9 distinct scenarios, providing a robust and systematic evaluation of Large Vision Language Model (LVLM)’s vision-centric multimodal retrieval-augmented generation (RAG) abilities.
|
63 |
+
|
64 |
+
<img src="https://gordonhu608.github.io/images/mragbench_teaser.png" width="1000" />
|
65 |
+
|
66 |
+
|
67 |
+
## Results
|
68 |
+
|
69 |
+
Evaluated upon 10 open-source and 4 proprietary LVLMs, our results show that all LVLMs exhibit greater improvements when augmented with images compared to textual knowledge. Notably, the top-performing model, GPT-4o, faces challenges in effectively leveraging retrieved knowledge, achieving only a 5.82% improvement with ground-truth information, in contrast to a 33.16% improvement observed in human participants. These findings highlight the importance of MRAG-Bench in encouraging the community to enhance LVLMs' ability to utilize retrieved visual knowledge more effectively.
|
70 |
+
|
71 |
+
<img src="https://gordonhu608.github.io/images/mragbench_qual.png" width="800" />
|
72 |
+
|
73 |
+
|
74 |
+
## Load Dataset
|
75 |
+
The `data/` directory contains the full dataset annotations and images pre-loaded for processing with HF Datasets. It can be loaded as follows:
|
76 |
+
|
77 |
+
```python
|
78 |
+
from datasets import load_dataset
|
79 |
+
mrag_bench = load_dataset("uclanlp/MRAG-Bench")
|
80 |
+
```
|
81 |
+
|
82 |
+
|
83 |
+
## Dataset Description
|
84 |
+
|
85 |
+
The dataset contains the following fields:
|
86 |
+
|
87 |
+
| Field Name | Description |
|
88 |
+
| :--------- | :---------- |
|
89 |
+
| `id` | Unique identifier for the example |
|
90 |
+
| `aspect`| Aspect type for the example |
|
91 |
+
| `scenario` | The type of scenario associated with the entry |
|
92 |
+
| `image`| Contains image data in byte format |
|
93 |
+
| `gt_images`| A list of top 5 ground-truth images information |
|
94 |
+
| `question` | Question asked about the image |
|
95 |
+
| `A` | Choice A for the question |
|
96 |
+
| `B` | Choice B for the question |
|
97 |
+
| `C` | Choice C for the question |
|
98 |
+
| `D` | Choice D for the question |
|
99 |
+
|`answer_choice`| Correct choice identifier |
|
100 |
+
| `answer` | Correct answer to the question |
|
101 |
+
| `image_type`| Type of image object |
|
102 |
+
| `source`| Source of the image |
|
103 |
+
| `retrieved_images`| A list of top 5 retrieved images information by CLIP |
|
104 |
+
|
105 |
+
|
106 |
+
<br>
|
107 |
+
|
108 |
+
## Contact
|
109 |
+
|
110 |
+
* Wenbo Hu: whu@cs.ucla.edu
|
111 |
+
|
112 |
+
## Citation
|
113 |
+
```
|
114 |
+
@article{hu2024mragbench,
|
115 |
+
title={MRAG-Bench: Vision-Centric Evaluation for Retrieval-Augmented Multimodal Models},
|
116 |
+
author={Hu, Wenbo and Gu, Jia-Chen and Dou, Zi-Yi and Fayyaz, Mohsen and Lu, Pan and Chang, Kai-Wei and Peng, Nanyun},
|
117 |
+
journal={arXiv preprint arXiv:24},
|
118 |
+
year={2024}
|
119 |
+
}
|
120 |
+
```
|
data/test-00000-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dff47e4c18e839ca4dafa6e2f39f736c4061465699374c20075448e7838c1e4b
|
3 |
+
size 137014325
|
data/test-00001-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7be7a6e64edaa65b7ce8fa258d229ca5fd884d8402bb910a710394211d3fc6bd
|
3 |
+
size 159574530
|
data/test-000010-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60ccd9276cd5d5e23944196c6c7a78e9536337eb8996ade06fc41da2ba1c43bd
|
3 |
+
size 136556833
|
data/test-000011-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7effad84947bdd97d70de60e3266f90e021bf2d7459a093498380f10c323feea
|
3 |
+
size 113221781
|
data/test-000012-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b3e965bdd075b193d44f00bc88d83cfac7ecdee7bd6a89d37bff88b77c3c3e54
|
3 |
+
size 167096004
|
data/test-000013-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:24e89e40612bacbe285f6bdf46abb1b8e84aa1cf2d222f1d9afe196fd088264b
|
3 |
+
size 146159458
|
data/test-000014-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ee886608e7282ab242673a91f5f1ab75d7aeaf6ae063b213df63611a079aadc3
|
3 |
+
size 142430686
|
data/test-000015-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9bceac543481c006475b9e499e1f5d32dbfcdaa6907796099bb0b3ee09b4ff8f
|
3 |
+
size 185078623
|
data/test-000016-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cf5565db46f5f0a5bf2336f2ef94b30d97e6330d417692af7d8dec0ff762da25
|
3 |
+
size 161567602
|
data/test-000017-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:07be4b93ae09e669f640fff4c63af8ffc27ec1a72bde6d731f8827b8e3fcb149
|
3 |
+
size 147981212
|
data/test-000018-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4360f1915b2bdcc5412db4bd70c77c39109df4e21895711951dbd236aca37ba9
|
3 |
+
size 134541313
|
data/test-000019-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f12593fc8d215d17a11496c68be08ea6b4316f1154739e2a65b4d936a42088e0
|
3 |
+
size 138372954
|
data/test-00002-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb83397cd7962cb4a21f39693fb18b50b6b72205fd4a17c63097824460c07700
|
3 |
+
size 212527046
|
data/test-000020-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cf95f13c540a6bcbd46b6dfe28e0f0e6237154bc135d3739d1bb450f517828c7
|
3 |
+
size 144484594
|
data/test-000021-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a34ee207a3e07348b2a4dbdbdeb02008c0ac4bc363d457cc2c5c7540daaadf41
|
3 |
+
size 139132377
|
data/test-000022-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d3e97e4bb631fc696c2cd8c48ba95a74d65b6c119b9710194306122f72bb13b3
|
3 |
+
size 157053526
|
data/test-000023-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:086671efa7ebd0d5a7e889812ca38ab81c068f4ff6caa59eb6e5e96368f18346
|
3 |
+
size 170195159
|
data/test-000024-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e66500e7e22c7bed72f31e6fa8f8a3243a72725eacf33a0db4e6c3aec39c45e0
|
3 |
+
size 199787084
|
data/test-000025-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e53ad7c9d589e632021ed157bb34cf208860225dbe332ac8275e9420e3a8035
|
3 |
+
size 174753786
|
data/test-000026-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dcfdf0168fa50ce7170b71b87a4ebbadf7782c17d60eb0e145def3654c270744
|
3 |
+
size 149468188
|
data/test-000027-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5189a5f6dc9d2a98ad2b11ec25568d95c4a109774e38982d547cf3bacd15a01d
|
3 |
+
size 14874421
|
data/test-00003-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aad2de90e53a377955aa0d8027e448e47e5ba9c04d0333aeedf8c1939424fa65
|
3 |
+
size 210614331
|
data/test-00004-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b78007363edebeb1fa04b72e45c1205ee5610792ba613f2312fd340c764c0d4d
|
3 |
+
size 109428054
|
data/test-00005-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:25de9c71c9d9ea92117eb0fce40278769d18b4145b147e8067df3c5b9abd9efa
|
3 |
+
size 155364966
|
data/test-00006-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de5e34e12052b442b53f66c5c4beb41b0fb12da792dcdcd230cc86d64b48ded5
|
3 |
+
size 161904625
|
data/test-00007-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ae2ac69532ba2e34b3db87a85f07ff88151c9094520b26622f6aad63359d093b
|
3 |
+
size 156996419
|
data/test-00008-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9054f341e25f6b69dd7c7081f254bc02de2149e3ea1e110166c69201776fa329
|
3 |
+
size 210011432
|
data/test-00009-of-000028.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:73727e0e5284059056bdb3c07665ad688c99130e10abe15b1758c753bcb53ac0
|
3 |
+
size 159411463
|