VideoMemBench commited on
Commit
1bfe1db
·
verified ·
1 Parent(s): cbb7109

Improve dataset card with benchmark overview, links, and leaderboard

Browse files
Files changed (1) hide show
  1. README.md +264 -26
README.md CHANGED
@@ -22,41 +22,279 @@ configs:
22
 
23
  # VideoMemBench
24
 
25
- <p>
26
- <img src="https://raw.githubusercontent.com/Oliiveralien/VideoMemBench/main/assets/readme-banner.svg" width="100%" style="display: block; width: 100%; height: auto;" alt="VideoMemBench: How Well Do MLLMs Remember in Video Conversations?" />
27
  </p>
28
 
29
- VideoMemBench is a benchmark of multi-turn video dialogues in which later questions can only be answered
30
- by remembering what earlier turns established. Each dialogue is grounded in one video. A dependent turn
31
- refers back to earlier turns either through a scene or entity they established (episodic dependency) or
32
- through their answers (answer dependency).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
- [Paper](https://arxiv.org/abs/2610.40131v1) · [Project](https://videomembench.github.io) · [GitHub](https://github.com/Oliiveralien/VideoMemBench)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
  ## Data format
37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  ```json
39
- {"video_id": "videomembench-1", "video_name": "videomembench-1.mp4", "video_path": "videos/videomembench-1.mp4",
40
- "dialogue": [
41
- {"turn_id": "T1", "type": "open_structured", "dependency": null,
42
- "question": "...", "options": null, "answer": "..."},
43
- {"turn_id": "T2", "type": "multi_choice_question",
44
- "dependency": {"depends_on": ["T1"], "dep_type": {"T1": "episodic"}},
45
- "question": "...", "options": {"A": "...", "B": "...", "C": "...", "D": "..."}, "answer": "C"}
46
- ]}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  ```
48
 
49
- | Field | Description |
50
- |---|---|
51
- | `turn_id` | Turn index within the dialogue (`T1`, `T2`, ...) |
52
- | `type` | `multi_choice_question`, `true_or_false_question` or `open_structured` |
53
- | `dependency` | `null` for an independent turn; otherwise `depends_on` lists the parent turns and `dep_type` maps each parent to `episodic` or `answer` |
54
- | `question` | Question text |
55
- | `options` | Four to eight lettered options for multiple-choice turns; `null` otherwise |
56
- | `answer` | Option letter, `True` / `False`, or a free-form reference answer |
57
-
58
- An `answer` dependency means the turn needs the parent turn's correct answer. An `episodic` dependency
59
- means the turn returns to a scene or entity established in the parent turn.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
 
61
  ## License and terms of use
62
 
 
22
 
23
  # VideoMemBench
24
 
25
+ <p align="center">
26
+ <img src="https://raw.githubusercontent.com/Oliiveralien/VideoMemBench/main/assets/readme-banner.svg" width="100%" alt="VideoMemBench: How Well Do MLLMs Remember in Video Conversations?" />
27
  </p>
28
 
29
+ <p align="center">
30
+ <a href="https://videomembench.github.io/"><img src="https://img.shields.io/badge/%F0%9F%8D%8E%20Project-VideoMemBench-e58ab5?style=flat-square" alt="🍎 Project: VideoMemBench" height="26" /></a>
31
+ <a href="https://arxiv.org/abs/2610.40131"><img src="https://img.shields.io/badge/cs.CV-arXiv%3A2610.40131-b31b1b?style=flat-square&logo=arxiv&logoColor=white" alt="cs.CV: arXiv:2610.40131" height="26" /></a>
32
+ <a href="https://github.com/Oliiveralien/VideoMemBench"><img src="https://img.shields.io/badge/GitHub-VideoMemBench-2855d9?style=flat-square&logo=github&logoColor=white" alt="GitHub: VideoMemBench" height="26" /></a>
33
+ <a href="https://videomembench.github.io/#results"><img src="https://img.shields.io/badge/%F0%9F%8F%86%20Leaderboard-Rank-e6b000?style=flat-square" alt="🏆 Leaderboard: Rank" height="26" /></a>
34
+ </p>
35
+
36
+ **Zhengdong Hu\*, Chao Wang\*, Kaituo Feng, Huanjin Yao, Mingfei Lu, Hehe Fan, Yi Yang†**
37
+ \* Equal contribution. † Corresponding author.
38
+
39
+ ## Benchmark
40
+
41
+ VideoMemBench evaluates **in-context video memory**: the ability to retrieve and reuse information established earlier in a multi-turn conversation about a video. Each sample pairs one video with an ordered dialogue, reference answers, and typed dependencies between turns.
42
+
43
+ - **Episodic dependency:** a later question revisits a visual episode, entity, or event established in an earlier turn.
44
+ - **Answer dependency:** a later question builds on an earlier answer, requiring information carried through the conversation.
45
+
46
+ Dependencies are checked for necessity and non-leakage, and answers must be visually grounded. A planner, generator, and judger construct and check dialogues, followed by human expert review. Videos are drawn from Video-MME, VSI-Bench, Video-MMMU, LongVideoBench, EgoLife, and YouTube. See the [paper](https://arxiv.org/html/2610.40131v1) for construction and collection details.
47
+
48
+ <p align="center">
49
+ <img src="https://raw.githubusercontent.com/Oliiveralien/VideoMemBench/main/assets/hero.svg" width="100%" alt="VideoMemBench benchmark overview: multi-turn video conversations with episodic and answer dependencies" />
50
+ </p>
51
+
52
+ | Property | Value |
53
+ | --- | ---: |
54
+ | Videos / dialogues | 326 / 326 |
55
+ | QA turns | 2,476 |
56
+ | Independent / dependent turns | 1,089 / 1,387 |
57
+ | Episodic / Answer dependency edges | 1,200 / 594 |
58
+ | Turns with multiple parents | 348 |
59
+ | Open / multiple-choice / true-or-false questions | 1,709 / 603 / 164 |
60
+ | Turns per dialogue | 4–21; mean 7.6 |
61
+ | Semantic domains / broad categories | 31 / 4 |
62
+
63
+ The four broad categories are Lifestyle & Entertainment (130 videos), Knowledge & Education (80), Art & Literature (66), and Sports & Competition (50). A turn may have multiple parents and both dependency types. Each annotation record maps to one video in `videos/`.
64
+
65
+ ## Leaderboard
66
+
67
+ The main evaluation uses **128 fixed, timestamped frames per video** and **sequential self-rollout**: each model answers in dialogue order and retains its own earlier responses. Scores are percentages; higher is better. Rows follow the official ranking by **Overall**, the mean of TurnAcc, EpiDepAcc, and AnsDepAcc.
68
+
69
+ Results below are copied from the [official project leaderboard](https://videomembench.github.io/#results), checked on **2026-11-01**.
70
+
71
+ ### Main results · 128 frames
72
+
73
+ | Rank | Model | TurnAcc | EpiDepAcc | AnsDepAcc | Overall ↑ |
74
+ | ---: | --- | ---: | ---: | ---: | ---: |
75
+ | 1 | Claude Opus 5 | 52.3 | 49.1 | 35.7 | 45.7 |
76
+ | 2 | Gemini 3.8 Flash | 50.4 | 46.6 | 30.3 | 42.4 |
77
+ | 3 | Kimi K3 | 50.5 | 49.0 | 27.1 | 42.2 |
78
+ | 4 | GPT-5.6-sol | 50.0 | 47.8 | 27.1 | 41.7 |
79
+ | 5 | Gemini 3.5 Flash | 49.6 | 45.5 | 29.7 | 41.6 |
80
+ | 6 | GPT-5.5 | 48.0 | 46.5 | 27.0 | 40.5 |
81
+ | 7 | Claude Sonnet 5 | 47.8 | 45.3 | 27.3 | 40.2 |
82
+ | 8 | Gemini 3.1 Pro Preview | 45.7 | 44.8 | 27.0 | 39.1 |
83
+ | 9 | GPT-5.4 | 44.4 | 42.6 | 21.9 | 36.3 |
84
+ | 10 | Qwen3-VL-235B-A22B | 43.1 | 41.6 | 18.6 | 34.4 |
85
+ | 11 | Qwen3.5-27B | 42.2 | 39.8 | 20.9 | 34.3 |
86
+ | 12 | Qwen3.5-397B-A17B | 42.3 | 40.1 | 20.3 | 34.2 |
87
+ | 13 | Qwen3.5-122B-A10B | 42.4 | 39.5 | 19.9 | 33.9 |
88
+ | 14 | Qwen3.5-35B-A3B | 38.2 | 36.3 | 18.0 | 30.8 |
89
+ | 15 | Qwen3-VL-32B | 39.3 | 35.9 | 17.2 | 30.8 |
90
+ | 16 | Qwen3-VL-30B-A3B | 36.4 | 35.1 | 15.8 | 29.1 |
91
+ | 17 | Qwen3.5-9B | 34.6 | 33.4 | 12.9 | 27.0 |
92
+ | 18 | Qwen3-VL-8B | 34.8 | 32.1 | 12.3 | 26.4 |
93
+ | 19 | Qwen3.5-4B | 33.8 | 32.6 | 12.5 | 26.3 |
94
+ | 20 | Qwen3-VL-4B | 32.4 | 29.4 | 12.9 | 24.9 |
95
+ | 21 | Qwen2.5-VL-32B | 31.7 | 32.6 | 9.6 | 24.6 |
96
+ | 22 | Qwen2.5-VL-7B | 26.2 | 24.9 | 8.4 | 19.8 |
97
+ | 23 | Keye-VL-1.5-8B | 25.4 | 24.5 | 8.2 | 19.4 |
98
+ | 24 | Qwen2.5-VL-3B | 23.5 | 24.4 | 5.7 | 17.9 |
99
+ | 25 | Qwen3.5-0.8B | 21.6 | 21.3 | 5.7 | 16.2 |
100
+
101
+ - **TurnAcc:** accuracy across all turns.
102
+ - **EpiDepAcc:** accuracy on turns with at least one Episodic Dependency, independent of parent correctness.
103
+ - **AnsDepAcc:** credit requires both the current response and every recursive Answer Dependency ancestor to be correct; Episodic Dependency edges are excluded from ancestor traversal.
104
+
105
+ ### Frame-count comparison
106
+
107
+ The [official frame-count comparison](https://videomembench.github.io/#frame-results) evaluates 13 open-weight models with 64 or 32 uniformly sampled frames, using the same self-rollout protocol and scoring rules.
108
+
109
+ <details>
110
+ <summary><strong>64 frames · 13 models</strong></summary>
111
+
112
+ | Rank | Model | TurnAcc | EpiDepAcc | AnsDepAcc | Overall ↑ |
113
+ | ---: | --- | ---: | ---: | ---: | ---: |
114
+ | 1 | Qwen3-VL-235B-A22B | 40.3 | 39.3 | 15.6 | 31.7 |
115
+ | 2 | Qwen3.5-122B-A10B | 37.8 | 36.5 | 15.2 | 29.8 |
116
+ | 3 | Qwen3.5-27B | 37.9 | 36.7 | 14.8 | 29.8 |
117
+ | 4 | Qwen3-VL-32B | 37.8 | 36.1 | 14.5 | 29.5 |
118
+ | 5 | Qwen3.5-35B-A3B | 37.0 | 36.7 | 13.5 | 29.1 |
119
+ | 6 | Qwen3-VL-30B-A3B | 33.6 | 32.9 | 11.5 | 26.0 |
120
+ | 7 | Qwen3-VL-8B | 32.7 | 32.0 | 11.9 | 25.5 |
121
+ | 8 | Qwen3.5-9B | 33.4 | 33.2 | 9.6 | 25.4 |
122
+ | 9 | Qwen3-VL-4B | 31.3 | 30.3 | 12.1 | 24.5 |
123
+ | 10 | Keye-VL-1.5-8B | 24.5 | 24.9 | 6.3 | 18.5 |
124
+ | 11 | Qwen2.5-VL-7B | 24.1 | 22.7 | 6.4 | 17.7 |
125
+ | 12 | Qwen2.5-VL-3B | 22.5 | 22.5 | 5.1 | 16.7 |
126
+ | 13 | Qwen3.5-0.8B | 21.0 | 21.1 | 4.7 | 15.6 |
127
+
128
+ </details>
129
+
130
+ <details>
131
+ <summary><strong>32 frames · 13 models</strong></summary>
132
+
133
+ | Rank | Model | TurnAcc | EpiDepAcc | AnsDepAcc | Overall ↑ |
134
+ | ---: | --- | ---: | ---: | ---: | ---: |
135
+ | 1 | Qwen3-VL-235B-A22B | 36.3 | 37.8 | 14.5 | 29.5 |
136
+ | 2 | Qwen3.5-122B-A10B | 35.0 | 35.2 | 10.7 | 27.0 |
137
+ | 3 | Qwen3.5-35B-A3B | 34.5 | 34.1 | 12.3 | 27.0 |
138
+ | 4 | Qwen3.5-27B | 34.9 | 34.2 | 11.7 | 26.9 |
139
+ | 5 | Qwen3-VL-32B | 34.1 | 32.6 | 13.1 | 26.6 |
140
+ | 6 | Qwen3-VL-30B-A3B | 32.1 | 32.5 | 8.0 | 24.2 |
141
+ | 7 | Qwen3.5-9B | 29.8 | 30.4 | 8.6 | 22.9 |
142
+ | 8 | Qwen3-VL-8B | 29.4 | 29.4 | 9.2 | 22.7 |
143
+ | 9 | Qwen3-VL-4B | 29.0 | 29.0 | 8.8 | 22.3 |
144
+ | 10 | Qwen2.5-VL-7B | 23.2 | 23.7 | 4.9 | 17.3 |
145
+ | 11 | Keye-VL-1.5-8B | 23.3 | 23.1 | 5.1 | 17.2 |
146
+ | 12 | Qwen2.5-VL-3B | 22.6 | 23.4 | 4.7 | 16.9 |
147
+ | 13 | Qwen3.5-0.8B | 20.1 | 21.8 | 4.7 | 15.5 |
148
+
149
+ </details>
150
+
151
+ ## Download and load
152
+
153
+ The repository contains one evaluation split, `test`:
154
+
155
+ ```text
156
+ annotations.jsonl # 326 video-level dialogue records
157
+ videos/
158
+ videomembench-1.mp4
159
+ ...
160
+ videomembench-326.mp4
161
+ ```
162
+
163
+ ### Load annotations
164
+
165
+ ```bash
166
+ pip install huggingface_hub
167
+ ```
168
 
169
+ ```python
170
+ import json
171
+ from huggingface_hub import hf_hub_download
172
+
173
+ annotation_path = hf_hub_download(
174
+ repo_id="VideoMemBench/data",
175
+ repo_type="dataset",
176
+ filename="annotations.jsonl",
177
+ )
178
+ with open(annotation_path, encoding="utf-8") as source:
179
+ dialogues = [json.loads(line) for line in source if line.strip()]
180
+
181
+ print(len(dialogues)) # 326
182
+ print(dialogues[0]["video_path"])
183
+ print(dialogues[0]["dialogue"][0]["question"])
184
+ ```
185
+
186
+ ### Download videos for evaluation
187
+
188
+ The full video collection is approximately **146.5 GB** (136.4 GiB). The following downloads the annotations and videos together:
189
+
190
+ ```python
191
+ from huggingface_hub import snapshot_download
192
+
193
+ data_dir = snapshot_download(
194
+ repo_id="VideoMemBench/data",
195
+ repo_type="dataset",
196
+ local_dir="data",
197
+ allow_patterns=["annotations.jsonl", "videos/*.mp4"],
198
+ )
199
+ ```
200
+
201
+ Downloads use your local Hugging Face authentication when access is required.
202
 
203
  ## Data format
204
 
205
+ `annotations.jsonl` is UTF-8 JSONL: each line contains one video and its ordered dialogue.
206
+
207
+ | Field | Description |
208
+ | --- | --- |
209
+ | `video_id` | Unique video identifier, such as `videomembench-1`. |
210
+ | `video_name` | Video filename, such as `videomembench-1.mp4`. |
211
+ | `video_path` | Path relative to the repository root, such as `videos/videomembench-1.mp4`. |
212
+ | `dialogue` | Questions in their original conversation order. |
213
+ | `dialogue[].turn_id` | Turn identifier within the dialogue (`T1`, `T2`, ...). |
214
+ | `dialogue[].type` | `open_structured`, `multi_choice_question`, or `true_or_false_question`. |
215
+ | `dialogue[].question` | Question text. |
216
+ | `dialogue[].options` | Lettered options for multiple-choice questions; `null` otherwise. |
217
+ | `dialogue[].answer` | Option key, a True/False reference, or a free-form reference answer. |
218
+ | `dialogue[].dependency` | `null` for an independent turn; otherwise the parent IDs and dependency types. |
219
+
220
+ A dependency object contains `depends_on`, a list of earlier turn IDs, and `dep_type`, which maps each parent ID to `episodic` or `answer`. Preserve turn order during evaluation. Reference answers and dependency labels are evaluation metadata and must not be supplied to the answering model.
221
+
222
+ <details>
223
+ <summary><strong>Example record structure</strong></summary>
224
+
225
+ The placeholder text below illustrates the structure and is not a benchmark question. JSONL stores each record on one line; it is expanded here for readability.
226
+
227
  ```json
228
+ {
229
+ "video_id": "videomembench-1",
230
+ "video_name": "videomembench-1.mp4",
231
+ "video_path": "videos/videomembench-1.mp4",
232
+ "dialogue": [
233
+ {
234
+ "turn_id": "T1",
235
+ "type": "open_structured",
236
+ "dependency": null,
237
+ "question": "<independent question>",
238
+ "options": null,
239
+ "answer": "<reference answer>"
240
+ },
241
+ {
242
+ "turn_id": "T2",
243
+ "type": "multi_choice_question",
244
+ "dependency": {
245
+ "depends_on": ["T1"],
246
+ "dep_type": {"T1": "episodic"}
247
+ },
248
+ "question": "<dependent question>",
249
+ "options": {"A": "<option A>", "B": "<option B>", "C": "<option C>", "D": "<option D>"},
250
+ "answer": "C"
251
+ }
252
+ ]
253
+ }
254
  ```
255
 
256
+ </details>
257
+
258
+ ## Evaluation
259
+
260
+ Use the [official evaluation code](https://github.com/Oliiveralien/VideoMemBench) with Python 3.11 or newer:
261
+
262
+ ```bash
263
+ git clone https://github.com/Oliiveralien/VideoMemBench.git
264
+ cd VideoMemBench
265
+ pip install -e .
266
+ ```
267
+
268
+ Place the downloaded files under `data/`. The Hub records include `video_path` for locating video files. The evaluation code resolves files from `video_name` and `--video-root`, and its strict validator does not accept the extra `video_path` field. Create an evaluation copy as follows:
269
+
270
+ ```python
271
+ import json
272
+ from pathlib import Path
273
+
274
+ data_dir = Path("data")
275
+ with (data_dir / "annotations.jsonl").open(encoding="utf-8") as source, \
276
+ (data_dir / "annotations.eval.jsonl").open("w", encoding="utf-8") as target:
277
+ for line in source:
278
+ if not line.strip():
279
+ continue
280
+ record = json.loads(line)
281
+ record.pop("video_path", None)
282
+ target.write(json.dumps(record, ensure_ascii=False) + "\n")
283
+ ```
284
+
285
+ Validate the evaluation copy and prepare the shared 128-frame cache:
286
+
287
+ ```bash
288
+ python -m videomembench.data data/annotations.eval.jsonl
289
+ python -m videomembench.video \
290
+ --annotations data/annotations.eval.jsonl \
291
+ --video-root data/videos \
292
+ --frame-cache cache/f128
293
+ ```
294
+
295
+ Set the annotation path to `data/annotations.eval.jsonl`, configure the model and judge endpoints in [`configs/evaluation.toml`](https://github.com/Oliiveralien/VideoMemBench/blob/main/configs/evaluation.toml), and follow the repository's inference and scoring instructions.
296
+
297
+ The main evaluation uses 128 uniformly sampled, timestamped frames with a maximum side length of 512 pixels. Models answer turns sequentially while retaining their own full response history. Reference answers, dependencies, audio, and subtitles are not provided to the answering model. Open answers are graded by GPT-5.4 mini. See the [evaluation protocol](https://github.com/Oliiveralien/VideoMemBench/blob/main/docs/PROTOCOL.md) for complete details.
298
 
299
  ## License and terms of use
300