EviCe / README.md
sy1998's picture
Add files using upload-large-folder tool
cd0727f verified
|
Raw History Blame Contribute Delete
3.94 kB
---
license: other
license_name: research-only
task_categories:
- video-text-to-text
language:
- en
size_categories:
- 10K<n<100K
pretty_name: EviCe
tags:
- video-understanding
- temporal-grounding
- grounded-reasoning
---
# EviCe: evidence-certified grounded VideoQA
EviCe is the training set of *When Does Temporal Grounding Help Video Reasoning?*. It contains **20,624** multiple-choice
questions over **17,321** videos, each annotated with the time span(s) that hold the evidence for the answer. Every sample
passed *evidence certification*: two multimodal judges from different model families answer correctly from the annotated span
alone, and fail once the span is deleted from the video. Models fine-tuned on EviCe rely on the spans they predict
(higher ReGAP) and answer more accurately; see the paper and the code at [TGR-Reliance](https://github.com/shuyansy/TGR-Reliance).
## Files
| File | Content |
|---|---|
| `EviCe.json` | the 20,624 samples (LLaMA-Factory ShareGPT format) |
| `videos/00/evice_00001.mp4` ... `videos/17/evice_17321.mp4` | the 17,321 videos (about 183 GB), 1,000 per folder: video number *n* is in folder `(n - 1) // 1000`, written with two digits |
| `video_sources.json` | source dataset and original path of every video |
## Download
```bash
pip install -U huggingface_hub
hf download sy1998/EviCe --repo-type dataset --local-dir EviCe # everything (about 183 GB)
hf download sy1998/EviCe EviCe.json video_sources.json --repo-type dataset --local-dir EviCe # annotations only
```
## Format
```json
{
"id": "evice_00001",
"source": "LLaVA-Video-178K",
"videos": ["videos/00/evice_00001.mp4"],
"messages": [
{"role": "system", "content": "You are given a video and a multiple-choice question. First identify ..."},
{"role": "user", "content": "<video>Question: ...\nOptions:\nA. ...\nB. ...\nReturn the relevant time segment(s) in <think></think> and the correct option letter in <answer></answer>."},
{"role": "assistant", "content": "<think>[19.03, 23.79]</think><answer>A</answer>"}
],
"answer": "A",
"evidence_spans": [[19.03, 23.79]],
"crop": null
}
```
Spans are in seconds from the start of the video; 30.7% of the samples have more than one evidence span. `videos` is relative
to the dataset folder (`media_dir` in LLaMA-Factory). Sample ids and video numbers are separate numberings: several samples can
share a video. For `EgoTimeQA-crops`, the video is a crop of an Ego4D video: `crop = {"ego4d_video_uid", "start", "end"}` (seconds).
`video_sources.json` maps every video file name to its source, e.g.
`"evice_00001.mp4": {"source": "LLaVA-Video-178K", "original_path": "30_60_s_youtube_v0_1/liwei_youtube_videos/videos/youtube_video_2024/ytb_knY8HRE1yJk.mp4"}`
(path inside the source dataset; crops also carry `crop`).
## Video sources
| `source` | Samples | Videos | Videos from |
|---|---|---|---|
| LLaVA-Video-178K | 10,734 | 9,392 | LLaVA-Video-178K |
| TimeLens-100K | 4,775 | 3,753 | TimeLens-100K |
| Charades | 1,524 | 936 | Charades (STAR questions) |
| ET-Instruct-164K | 789 | 789 | E.T. Instruct 164K |
| QVHighlights | 651 | 618 | QVHighlights |
| VSI-590K | 624 | 442 | VSI-590K (ARKitScenes 353 / ScanNet 89) |
| V1-33K | 582 | 491 | V1-33K (ActivityNet) |
| LongVideo-Reason | 519 | 490 | LongVideo-Reason |
| FineVideo | 267 | 257 | FineVideo |
| EgoTimeQA-crops | 146 | 140 | Ego4D (crops) |
| Ego4D | 13 | 13 | Ego4D |
Video durations: mean 94.4 s, median 80.7 s (10th-90th percentile 30.1-162.7 s).
## License
The annotations are released for research purposes only. The videos, and the questions taken from the source datasets,
remain subject to the licenses and terms of use of their original datasets. In particular, the Ego4D videos (including the
EgoTimeQA crops) are covered by the Ego4D license agreement, and the VSI-590K videos by the ScanNet and ARKitScenes terms of use.