Add metadata and improve dataset card

#3
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +30 -62
README.md CHANGED
@@ -1,23 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # MotionBench: Benchmarking and Improving Fine-grained Video Motion Understanding for Vision Language Models
2
 
3
  ![VideoQA](https://img.shields.io/badge/Task-VideoQA-red)
4
  ![Multi-Modal](https://img.shields.io/badge/Task-Multi--Modal-red)
5
  ![MotionBench](https://img.shields.io/badge/Dataset-MotionBench-blue)
6
 
7
- <font size=5><div align='center' > [[🍎 Project Page](https://motion-bench.github.io/)] [[πŸ“– arXiv Paper](https://arxiv.org/abs/2501.02955)] [[πŸ“Š Dataset](https://huggingface.co/datasets/THUDM/MotionBench)][[πŸ† Leaderboard](https://motion-bench.github.io/#leaderboard)][[πŸ† Huggingface Leaderboard](https://huggingface.co/spaces/THUDM/MotionBench)] </div></font>
8
 
9
  <p align="center">
10
- <img src="./docs/image1.png" width="96%" height="50%">
11
  </p>
12
 
13
-
14
- MotionBench aims to guide and motivate the development of more capable video understanding models, emphasizing the importance of fine-grained motion comprehension.
15
 
16
  ---
17
 
18
  ## πŸ”₯ News
19
 
20
- * **`2025.01.06`** 🌟 We released MotionBench, a new benchmark for fine-grained motion comprehension!
 
21
 
22
  ## Introduction
23
 
@@ -26,59 +39,37 @@ In recent years, vision language models (VLMs) have made significant advancement
26
  ### Features
27
 
28
  1. **Core Capabilities**: Six core capabilities for fine-grained motion understanding, enabling the evaluation of motion-level perception.
29
- 2. **Diverse Data**: MotionBench collects diverse video from the web, public datasets, and self-synthetic videos generated via Unity3, capturing a broad distribution of real-world
30
- application.
31
  3. **High-Quality Annotations**: Reliable benchmark with meticulous human annotation and multi-stage quality control processes.
32
 
33
  <p align="center">
34
- <img src="./docs/image2.png" width="50%" height="20%">
35
  </p>
36
 
37
  ## Dataset
38
 
39
  ### License
40
 
41
- Our dataset is under the CC-BY-NC-SA-4.0 license.
42
 
43
- LVBench is only used for academic research. Commercial use in any form is prohibited. We do not own the copyright of any raw video files.
44
 
45
- If there is any infringement in MotionBench, please contact shiyu.huang@aminer.cn or directly raise an issue, and we will remove it immediately.
46
 
47
- ### Download
48
 
49
- Install video2dataset first:
50
 
51
  ```shell
52
  pip install video2dataset
53
  pip uninstall transformer-engine
54
  ```
55
 
56
- Then you should download `video_info.meta.jsonl` from [Huggingface](https://huggingface.co/datasets/THUDM/MotionBench) and
57
- put it in the `data` directory.
58
-
59
- Each entry in the `video_info.meta.jsonl` file contains a video sample. Some of the dataset has the ground truth answer (the DEV set) and some not (the TEST set). You could use the DEV set to optimize your dataset and upload the answer file to our [leaderboard](https://huggingface.co/spaces/THUDM/MotionBench) to see your model's performance.
60
-
61
  #### Caption dataset
62
- Part of our dataset are derived from our self-annotated detailed video caption. we additionally release a dataset of 5,000 videos with manually annotated fine-grained motion descriptions, which are annotated and double-checked together with the benchmark annotation process. Each video includes dynamic information descriptions with annotation density reaching 12.63 words per second, providing researchers with resources for further development and training to enhance video models’ motion-level comprehension capabilities.
63
-
64
- #### Self-collected dataset
65
- We provide the download link for all self-collected data.
66
-
67
 
68
  #### Publically available dataset
69
- For publically available data. we do not provide the orginal video files. You could download them from the original repo:
70
- ```
71
- 1. MedVid: https://github.com/deepaknlp/MedVidQACL
72
- 2. SportsSloMo: https://cvlab.cse.msu.edu/project-svw.html
73
- 3. HA-ViD: https://iai-hrc.github.io/ha-vid
74
- ```
75
- After downloading the above mentioned dataset, find the mapping from the downloaded names to the filenames in our benchmark with the mapping file:
76
- ```
77
- data/mapping.json
78
- ```
79
- Then, cut the video to clips using the last two integers separated by `_`.
80
-
81
- e.g., the video file `S10A13I22S1.mp4` is mapped to file `ef476626-3499-40c2-bbd6-5004223d1ada` according to the mapping file. To obtain the final test case `ef476626-3499-40c2-bbd6-5004223d1ada_58_59` in `video_info.meta.jsonl`, you should cut the video clip from `58` second to `59` second, yielding the final video sample for benchmarking.
82
 
83
  ## Install MotionBench
84
 
@@ -86,39 +77,16 @@ e.g., the video file `S10A13I22S1.mp4` is mapped to file `ef476626-3499-40c2-bbd
86
  pip install -e .
87
  ```
88
 
89
- ## Get Evaluation Results and Submit to Leaderboard
90
 
91
- (Note: if you want to try the evaluation quickly, you can use the `scripts/construct_random_answers.py` to prepare a
92
- random answer file.)
93
 
94
  ```shell
95
  cd scripts
96
  python test_acc.py
97
  ```
98
 
99
- After the execution, you will get an evaluation results file `random_answers.json` in the `scripts` directory. You can submit the
100
- results to the [leaderboard](https://huggingface.co/spaces/THUDM/MotionBench).
101
-
102
- ## πŸ“ˆ Results
103
-
104
- - **Model Comparision:**
105
-
106
- <p align="center">
107
- <img src="./docs/tab3.png" width="96%" height="50%">
108
- </p>
109
-
110
- - **Benchmark Comparison:**
111
-
112
- <p align="center">
113
- <img src="./docs/image3.png" width="96%" height="50%">
114
- </p>
115
-
116
-
117
- - **Answer Distribution:**
118
-
119
- <p align="center">
120
- <img src="./docs/image5.png" width="96%" height="50%">
121
- </p>
122
 
123
  ## Citation
124
 
 
1
+ ---
2
+ license: cc-by-nc-sa-4.0
3
+ task_categories:
4
+ - video-text-to-text
5
+ language:
6
+ - en
7
+ tags:
8
+ - video-understanding
9
+ - motion-understanding
10
+ - benchmarking
11
+ - video-qa
12
+ ---
13
+
14
  # MotionBench: Benchmarking and Improving Fine-grained Video Motion Understanding for Vision Language Models
15
 
16
  ![VideoQA](https://img.shields.io/badge/Task-VideoQA-red)
17
  ![Multi-Modal](https://img.shields.io/badge/Task-Multi--Modal-red)
18
  ![MotionBench](https://img.shields.io/badge/Dataset-MotionBench-blue)
19
 
20
+ <font size=5><div align='center' > [[🍎 Project Page](https://motion-bench.github.io/)] [[πŸ“– arXiv Paper](https://arxiv.org/abs/2501.02955)] [[πŸ“Š Dataset](https://huggingface.co/datasets/THUDM/MotionBench)] [[πŸ’» GitHub](https://github.com/THUDM/MotionBench)] [[πŸ† Leaderboard](https://motion-bench.github.io/#leaderboard)] [[πŸ† HF Leaderboard](https://huggingface.co/spaces/THUDM/MotionBench)] </div></font>
21
 
22
  <p align="center">
23
+ <img src="https://raw.githubusercontent.com/THUDM/MotionBench/main/docs/image1.png" width="96%" height="50%">
24
  </p>
25
 
26
+ MotionBench is a comprehensive evaluation benchmark designed to assess the fine-grained motion comprehension of video understanding models. It evaluates models' motion-level perception through six primary categories of motion-oriented question types and includes data collected from diverse sources, ensuring a broad representation of real-world video content.
 
27
 
28
  ---
29
 
30
  ## πŸ”₯ News
31
 
32
+ * **`2025.02.27`** πŸŽ‰πŸŽ‰πŸŽ‰ MotionBench is accepted by CVPR 2025!!
33
+ * **`2025.01.06`** 🌟🌟🌟 We released MotionBench, a new benchmark for fine-grained motion comprehension!
34
 
35
  ## Introduction
36
 
 
39
  ### Features
40
 
41
  1. **Core Capabilities**: Six core capabilities for fine-grained motion understanding, enabling the evaluation of motion-level perception.
42
+ 2. **Diverse Data**: MotionBench collects diverse video from the web, public datasets, and self-synthetic videos generated via Unity3, capturing a broad distribution of real-world application.
 
43
  3. **High-Quality Annotations**: Reliable benchmark with meticulous human annotation and multi-stage quality control processes.
44
 
45
  <p align="center">
46
+ <img src="https://raw.githubusercontent.com/THUDM/MotionBench/main/docs/image2.png" width="50%" height="20%">
47
  </p>
48
 
49
  ## Dataset
50
 
51
  ### License
52
 
53
+ Our dataset is under the **CC-BY-NC-SA-4.0** license.
54
 
55
+ MotionBench is only used for academic research. Commercial use in any form is prohibited. We do not own the copyright of any raw video files. If there is any infringement in MotionBench, please contact shiyu.huang@aminer.cn or directly raise an issue, and we will remove it immediately.
56
 
57
+ ### Download and Usage
58
 
59
+ To use the benchmark, you should download `video_info.meta.jsonl` from this repository.
60
 
61
+ Install `video2dataset` first:
62
 
63
  ```shell
64
  pip install video2dataset
65
  pip uninstall transformer-engine
66
  ```
67
 
 
 
 
 
 
68
  #### Caption dataset
69
+ We release a dataset of 5,000 videos with manually annotated fine-grained motion descriptions, which are annotated and double-checked together with the benchmark annotation process. Each video includes dynamic information descriptions with annotation density reaching 12.63 words per second.
 
 
 
 
70
 
71
  #### Publically available dataset
72
+ For publically available data (MedVid, SportsSloMo, HA-ViD), we do not provide the original video files. Please refer to the [GitHub repository](https://github.com/THUDM/MotionBench) for the mapping files and instructions on how to prepare the video clips.
 
 
 
 
 
 
 
 
 
 
 
 
73
 
74
  ## Install MotionBench
75
 
 
77
  pip install -e .
78
  ```
79
 
80
+ ## Evaluation and Submission
81
 
82
+ To prepare evaluation results and submit to the leaderboard:
 
83
 
84
  ```shell
85
  cd scripts
86
  python test_acc.py
87
  ```
88
 
89
+ After execution, you will get an evaluation results file `random_answers.json` in the `scripts` directory. You can submit the results to the [leaderboard](https://huggingface.co/spaces/THUDM/MotionBench).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
 
91
  ## Citation
92