Lux1997 commited on
Commit
4a5560b
Β·
verified Β·
1 Parent(s): fa4764a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +227 -48
README.md CHANGED
@@ -15,80 +15,212 @@ tags:
15
  - visual-document
16
  - agent
17
  pretty_name: MMEB-V3
 
18
  ---
19
 
20
- # MMEB-V3
21
 
22
- MMEB-V3 is an omni-modality embedding benchmark for evaluating retrieval and representation models across text, image, video, audio, visual document, and agent-centric tasks. It extends MMEB-V1/V2 and provides a unified local layout for running the evaluation code in [VLM2Vec](https://github.com/TIGER-AI-Lab/VLM2Vec).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
  ## Download
25
 
 
 
 
 
 
 
 
 
26
  ```bash
27
  export MMEB_V3_ROOT=/path/to/MMEB-V3
 
28
  hf download VLM2Vec/MMEB-V3 \
29
  --repo-type dataset \
30
- --local-dir $MMEB_V3_ROOT
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  ```
32
 
33
- ## Prepare Data
 
 
 
 
 
34
 
35
- The uploaded files keep compressed raw assets under `_tasks` directories. Run the setup script in the VLM2Vec repo to materialize the evaluation-ready `-tasks` directories:
36
 
37
  ```bash
38
- python experiments/public/data/dataset_setup_v3.py --root $MMEB_V3_ROOT
39
- python experiments/public/data/dataset_setup_v3.py --root $MMEB_V3_ROOT --check-only
 
40
  ```
41
 
42
- Raw archive layout:
 
 
 
 
43
 
44
  ```text
45
  MMEB-V3/
46
- image_tasks/
47
- audio_tasks/
48
- video_tasks/
49
- visdoc_tasks/
50
- gui_tasks/
51
- memory_tasks/
52
- text_tasks/
53
- tool_tasks/
54
- omniset.tar.gz
 
 
 
 
 
 
 
 
 
 
 
55
  ```
56
 
57
- Expected evaluation-ready layout after setup:
 
 
 
 
58
 
59
  ```text
60
  MMEB-V3/
61
- image-tasks/
62
- MMEB/
63
- MCMR/
64
- image-query/
65
- audio-tasks/
66
- video-tasks/
67
- data/
68
- frames/
69
- video_cls/
70
- video_ret/
71
- video_mret/
72
- video_qa/
73
- visdoc-tasks/
74
- data/
75
- images/
76
- text-tasks/
77
- tool-tasks/
78
- memory-tasks/
79
- gui-tasks/
80
- omniset/
81
- omniset.jsonl
82
- catalog.jsonl
83
- val2014/
84
- videos/
85
- audios/
86
- frames_omni/
87
  ```
88
 
 
 
89
  ## Evaluation
90
 
91
- For standard MMEB-V3 tasks, pass the dataset root to `--data_basedir`:
 
 
 
 
92
 
93
  ```bash
94
  CUDA_VISIBLE_DEVICES=0 python eval.py \
@@ -100,18 +232,65 @@ CUDA_VISIBLE_DEVICES=0 python eval.py \
100
  --model_name /path/to/model \
101
  --dataset_config experiments/public/eval/image.yaml \
102
  --encode_output_path exps/vlm2vec/model/image \
103
- --data_basedir $MMEB_V3_ROOT
 
 
 
 
 
 
 
 
104
  ```
105
 
106
- For OmniSET:
 
 
107
 
108
  ```bash
109
  CUDA_VISIBLE_DEVICES=0 \
110
  MODEL_PATH=/path/to/model \
111
  MODEL_BACKBONE=nvomniembed \
112
- DATA_BASEDIR=$MMEB_V3_ROOT/omniset \
113
  OUTPUT_PATH=exps/vlm2vec/model/omniset \
114
  PER_DEVICE_EVAL_BATCH_SIZE=8 \
115
  bash experiments/public/eval/eval_omniset.sh
116
  ```
117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  - visual-document
16
  - agent
17
  pretty_name: MMEB-V3
18
+ viewer: false
19
  ---
20
 
21
+ # MMEB-V3: Measuring the Performance Gaps of Omni-Modality Embedding Models
22
 
23
+ [**🌐 Website**](https://tiger-ai-lab.github.io/VLM2Vec/) |
24
+ [**GitHub**](https://github.com/TIGER-AI-Lab/VLM2Vec) |
25
+ [**πŸ† Leaderboard**](https://huggingface.co/spaces/TIGER-Lab/MMEB-Leaderboard) |
26
+ [**πŸ“– MMEB-V3 Paper**](https://arxiv.org/abs/2604.23321) |
27
+ [**πŸ“– MMEB-V2 Paper**](https://arxiv.org/abs/2507.04590) |
28
+ [**πŸ“– MMEB-V1 Paper**](https://arxiv.org/abs/2410.05160) |
29
+ [**πŸ€— Models**](https://huggingface.co/VLM2Vec)
30
+
31
+ ## Introduction
32
+
33
+ **MMEB-V3** is a comprehensive benchmark for evaluating **omni-modality embedding models** across text, image, video, audio, visual-document, and agent-centric retrieval scenarios.
34
+
35
+ Building upon [MMEB-V1](https://arxiv.org/abs/2410.05160) and [MMEB-V2](https://arxiv.org/abs/2507.04590), MMEB-V3 adds **111 new tasks**, resulting in **190 evaluation tasks** in total.
36
+
37
+ MMEB-V3 introduces three major evaluation categories:
38
+
39
+ - **Audio Tasks**: audio classification, cross-modal audio retrieval, and audio temporal grounding.
40
+ - **Text Retrieval Tasks**: instruction-following retrieval, reasoning retrieval, long-context retrieval, multi-condition retrieval, and general text retrieval.
41
+ - **Agent Tasks**: tool retrieval, GUI control, and agent memory retrieval.
42
+
43
+ MMEB-V3 also introduces **OmniSET** (*Omni-modality Semantic Equivalence Tuples*), a diagnostic evaluation set containing semantically equivalent instances across text, image, video, and audio. OmniSET enables controlled analysis of modality effects and instruction-conditioned cross-modal retrieval behavior.
44
+
45
+ The benchmark is designed to measure whether embedding models can reliably follow modality-specific instructions, such as retrieving an image, video, audio clip, visual document, tool, GUI element, or memory item under explicit task constraints.
46
+
47
+ **This Hugging Face repository contains the compressed assets and metadata required to prepare the MMEB-V3 evaluation data.**
48
+
49
+ ## πŸš€ What's New
50
+
51
+ - **[2026.04]** Released the [MMEB-V3 paper](https://arxiv.org/abs/2604.23321).
52
+ - Added **111 new tasks**, expanding MMEB to **190 tasks** in total.
53
+ - Added evaluation support for **audio**, **text retrieval**, and **agent-centric** tasks.
54
+ - Added **OmniSET** for controlled omni-modality analysis.
55
+ - Unified MMEB-V1, MMEB-V2, and MMEB-V3 assets under a single evaluation data root.
56
+ - Added automated dataset preparation and integrity checking through `dataset_setup_v3.py`.
57
+
58
+ ## Benchmark Scope
59
+
60
+ | Category | Example task families |
61
+ |---|---|
62
+ | Image | Image retrieval, image classification, and visual question answering |
63
+ | Video | Video retrieval, moment retrieval, video classification, and video question answering |
64
+ | Audio | Audio classification, audio retrieval, and audio temporal grounding |
65
+ | Visual Document | Visual document retrieval |
66
+ | Text | General, reasoning, long-context, instruction-following, and multi-condition retrieval |
67
+ | Tool | Tool retrieval |
68
+ | GUI | GUI element retrieval and control |
69
+ | Memory | Agent memory retrieval |
70
+ | OmniSET | Cross-modal semantic-equivalence retrieval across text, image, video, and audio |
71
+
72
+ ## Guide to MMEB-V3 Data
73
+
74
+ Please review this section before running evaluation.
75
+
76
+ - **Dataset assets** are downloaded from this Hugging Face repository.
77
+ - **Evaluation metadata and task configurations** are provided through the [VLM2Vec repository](https://github.com/TIGER-AI-Lab/VLM2Vec).
78
+ - **Compressed raw assets** are stored under directories using underscores, such as `video_tasks` and `audio_tasks`.
79
+ - **Evaluation-ready directories** use hyphens, such as `video-tasks` and `audio-tasks`.
80
+ - The preparation script extracts and reorganizes downloaded assets into the directory structure expected by the evaluation code.
81
+ - MMEB-V1, MMEB-V2, and MMEB-V3 evaluation assets should be placed under one common MMEB-V3 root directory.
82
+ - For video evaluation, the provided sampled frames are sufficient for the standard evaluation pipeline.
83
+
84
+ ## Dataset Overview
85
+
86
+ <p align="center">
87
+ <img width="900" alt="MMEB-V3 Overview" src="https://raw.githubusercontent.com/TIGER-AI-Lab/VLM2Vec/main/assets/mmeb_v3.png">
88
+ </p>
89
 
90
  ## Download
91
 
92
+ Install the Hugging Face CLI if needed:
93
+
94
+ ```bash
95
+ pip install -U "huggingface_hub[cli]"
96
+ ```
97
+
98
+ Download MMEB-V3:
99
+
100
  ```bash
101
  export MMEB_V3_ROOT=/path/to/MMEB-V3
102
+
103
  hf download VLM2Vec/MMEB-V3 \
104
  --repo-type dataset \
105
+ --local-dir "$MMEB_V3_ROOT"
106
+ ```
107
+
108
+ The downloaded dataset contains compressed assets and lightweight metadata.
109
+
110
+ ## Prepare the Evaluation Data
111
+
112
+ Clone the VLM2Vec repository:
113
+
114
+ ```bash
115
+ git clone https://github.com/TIGER-AI-Lab/VLM2Vec.git
116
+ cd VLM2Vec
117
+ ```
118
+
119
+ Run the MMEB-V3 setup script:
120
+
121
+ ```bash
122
+ python experiments/public/data/dataset_setup_v3.py \
123
+ --root "$MMEB_V3_ROOT"
124
+ ```
125
+
126
+ Verify that the expected files and directories were prepared correctly:
127
+
128
+ ```bash
129
+ python experiments/public/data/dataset_setup_v3.py \
130
+ --root "$MMEB_V3_ROOT" \
131
+ --check-only
132
  ```
133
 
134
+ The setup script is idempotent:
135
+
136
+ - It skips completed directories marked with `.done`.
137
+ - It safely extracts TAR and ZIP archives.
138
+ - It materializes the directory layout consumed by the evaluation code.
139
+ - It checks whether the expected output files and directories exist.
140
 
141
+ If `image-query` is not included in the local dataset download, provide an existing copy explicitly:
142
 
143
  ```bash
144
+ python experiments/public/data/dataset_setup_v3.py \
145
+ --root "$MMEB_V3_ROOT" \
146
+ --image-query-source /path/to/image-query
147
  ```
148
 
149
+ No additional argument is required when `image-query` is already available under the MMEB-V3 root.
150
+
151
+ ## Raw Archive Structure
152
+
153
+ Before running the setup script, the downloaded repository is organized approximately as follows:
154
 
155
  ```text
156
  MMEB-V3/
157
+ β”œβ”€β”€ image_tasks/
158
+ β”‚ β”œβ”€β”€ mmeb_v1.tar.gz
159
+ β”‚ └── MCMR.tar.gz
160
+ β”œβ”€β”€ audio_tasks/
161
+ β”‚ └── *.tar
162
+ β”œβ”€β”€ video_tasks/
163
+ β”‚ β”œβ”€β”€ data/
164
+ β”‚ └── frames/
165
+ β”‚ β”œβ”€β”€ video_cls.tar.gz
166
+ β”‚ β”œβ”€β”€ video_ret.tar.gz
167
+ β”‚ β”œβ”€β”€ video_mret.tar.gz-*
168
+ β”‚ └── video_qa.tar.gz-*
169
+ β”œβ”€β”€ visdoc_tasks/
170
+ β”‚ β”œβ”€β”€ visdoc-tasks.data.tar.gz
171
+ β”‚ └── visdoc-tasks.images.tar.gz
172
+ β”œβ”€β”€ text_tasks/
173
+ β”œβ”€β”€ tool_tasks/
174
+ β”œβ”€β”€ memory_tasks/
175
+ β”œβ”€β”€ gui_tasks/
176
+ └── omniset.tar.gz
177
  ```
178
 
179
+ Directories ending in `_tasks` contain the downloaded compressed assets. The setup script converts them into the corresponding evaluation-ready `-tasks` directories.
180
+
181
+ ## Evaluation-Ready Structure
182
+
183
+ After running `dataset_setup_v3.py`, the expected local directory structure is:
184
 
185
  ```text
186
  MMEB-V3/
187
+ β”œβ”€β”€ image-tasks/
188
+ β”‚ β”œβ”€β”€ MMEB/
189
+ β”‚ └── MCMR/
190
+ β”œβ”€β”€ image-query/
191
+ β”œβ”€β”€ audio-tasks/
192
+ β”œβ”€β”€ video-tasks/
193
+ β”‚ β”œβ”€β”€ data/
194
+ β”‚ └── frames/
195
+ β”‚ β”œβ”€β”€ video_cls/
196
+ β”‚ β”œβ”€β”€ video_ret/
197
+ β”‚ β”œβ”€β”€ video_mret/
198
+ β”‚ └── video_qa/
199
+ β”œβ”€β”€ visdoc-tasks/
200
+ β”‚ β”œβ”€β”€ data/
201
+ β”‚ └── images/
202
+ β”œβ”€β”€ text-tasks/
203
+ β”œβ”€β”€ tool-tasks/
204
+ β”œβ”€β”€ memory-tasks/
205
+ β”œβ”€β”€ gui-tasks/
206
+ └── omniset/
207
+ β”œβ”€β”€ omniset.jsonl
208
+ β”œβ”€β”€ catalog.jsonl
209
+ β”œβ”€β”€ val2014/
210
+ β”œβ”€β”€ videos/
211
+ β”œβ”€β”€ audios/
212
+ └── frames_omni/
213
  ```
214
 
215
+ The same root directory can then be passed to the evaluation scripts using `--data_basedir`.
216
+
217
  ## Evaluation
218
 
219
+ Evaluation code and task configuration files are available in the [VLM2Vec repository](https://github.com/TIGER-AI-Lab/VLM2Vec).
220
+
221
+ ### Standard MMEB-V3 Tasks
222
+
223
+ The following example evaluates an image-task configuration:
224
 
225
  ```bash
226
  CUDA_VISIBLE_DEVICES=0 python eval.py \
 
232
  --model_name /path/to/model \
233
  --dataset_config experiments/public/eval/image.yaml \
234
  --encode_output_path exps/vlm2vec/model/image \
235
+ --data_basedir "$MMEB_V3_ROOT"
236
+ ```
237
+
238
+ Replace the model backbone, model path, dataset configuration, output path, and batch size according to your evaluation setup.
239
+
240
+ The important data argument is:
241
+
242
+ ```bash
243
+ --data_basedir "$MMEB_V3_ROOT"
244
  ```
245
 
246
+ ### OmniSET
247
+
248
+ Run OmniSET evaluation with:
249
 
250
  ```bash
251
  CUDA_VISIBLE_DEVICES=0 \
252
  MODEL_PATH=/path/to/model \
253
  MODEL_BACKBONE=nvomniembed \
254
+ DATA_BASEDIR="$MMEB_V3_ROOT/omniset" \
255
  OUTPUT_PATH=exps/vlm2vec/model/omniset \
256
  PER_DEVICE_EVAL_BATCH_SIZE=8 \
257
  bash experiments/public/eval/eval_omniset.sh
258
  ```
259
 
260
+ ## Leaderboard
261
+
262
+ Model results on MMEB can be found on the official leaderboard:
263
+
264
+ [**πŸ† MMEB Leaderboard**](https://huggingface.co/spaces/TIGER-Lab/MMEB-Leaderboard)
265
+
266
+ Please follow the submission instructions on the leaderboard page when submitting a new model result.
267
+
268
+ ## Related Resources
269
+
270
+ - [MMEB-V3 Dataset](https://huggingface.co/datasets/VLM2Vec/MMEB-V3)
271
+ - [MMEB-V2 Dataset](https://huggingface.co/datasets/TIGER-Lab/MMEB-V2)
272
+ - [MMEB-V1 Dataset](https://huggingface.co/datasets/TIGER-Lab/MMEB-eval)
273
+ - [VLM2Vec GitHub Repository](https://github.com/TIGER-AI-Lab/VLM2Vec)
274
+ - [VLM2Vec Project Website](https://tiger-ai-lab.github.io/VLM2Vec/)
275
+ - [VLM2Vec Models](https://huggingface.co/VLM2Vec)
276
+ - [MMEB Leaderboard](https://huggingface.co/spaces/TIGER-Lab/MMEB-Leaderboard)
277
+
278
+ ## Citation
279
+
280
+ If you find MMEB-V3 useful in your research, please cite:
281
+
282
+ ```bibtex
283
+ @article{huang2026mmeb,
284
+ title={MMEB-V3: Measuring the Performance Gaps of Omni-Modality Embedding Models},
285
+ author={Huang, Haohang and Lu, Xuan and Su, Mingyi and Zhang, Xuan and Jiang, Ziyan and Nie, Ping and Zou, Kai and Pfister, Tomas and Chen, Wenhu and Zhang, Wei and others},
286
+ journal={arXiv preprint arXiv:2604.23321},
287
+ year={2026}
288
+ }
289
+ ```
290
+
291
+ ## License
292
+
293
+ The MMEB-V3 dataset repository is released under the **MIT License**.
294
+
295
+ Individual source datasets included or referenced by MMEB-V3 may be subject to their own licenses and terms of use. Users are responsible for complying with the licenses of the corresponding source datasets.
296
+