Add dataset card, paper link, and evaluation instructions

#2
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +63 -3
README.md CHANGED
@@ -1,3 +1,63 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - video-text-to-text
5
+ tags:
6
+ - video-understanding
7
+ - temporal-consistency
8
+ - benchmark
9
+ ---
10
+
11
+ # TOC-Bench: A Temporal Object Consistency Benchmark for Video Large Language Models
12
+
13
+ [Paper](https://huggingface.co/papers/2605.09904) | [GitHub Repository](https://github.com/cjzcjz666/toc_bench)
14
+
15
+ TOC-Bench is a diagnostic benchmark designed to evaluate **temporal object consistency** in Video Large Language Models (Video-LLMs). While models often excel at general video understanding, TOC-Bench specifically tests their ability to maintain the identity, state, and continuity of objects across challenges such as occlusion, disappearance, reappearance, and state transitions.
16
+
17
+ ## Benchmark Details
18
+
19
+ - **Size**: 2,323 high-quality, human-verified QA pairs over 1,951 videos.
20
+ - **Grounded reasoning**: Each item is object-track grounded, linking subjects to per-frame trajectories and structured temporal event timelines.
21
+ - **Dimensions**: Covers 10 diagnostic dimensions, including event counting, event ordering, identity-sensitive reasoning, and hallucination-aware verification.
22
+ - **Filtering**: Employs a three-layer temporal-necessity filtering protocol to ensure that questions require temporal visual evidence rather than language priors or single-frame shortcuts.
23
+
24
+ ## Evaluation
25
+
26
+ The official repository provides a standardized evaluation harness to score model predictions.
27
+
28
+ ### Running Inference
29
+ To run a model on the benchmark using `eval_runner.py`:
30
+
31
+ ```bash
32
+ python eval_runner.py \
33
+ --bench <REPAIRED_BENCHMARK_JSON> \
34
+ --videos-root <VIDEO_ROOT> \
35
+ --video-registry <VIDEO_REGISTRY_JSON> \
36
+ --model <MODEL_KEY> \
37
+ --frames 16 \
38
+ --concurrency 4 \
39
+ --out predictions.jsonl
40
+ ```
41
+
42
+ ### Computing Metrics
43
+ After generating predictions, you can compute accuracy and diagnostic metrics using:
44
+
45
+ ```bash
46
+ python compute_metrics.py \
47
+ --bench <REPAIRED_BENCHMARK_JSON> \
48
+ --preds predictions.jsonl \
49
+ --save-summary summary.json
50
+ ```
51
+
52
+ ## Citation
53
+
54
+ If you find this benchmark useful in your research, please cite the following paper:
55
+
56
+ ```bibtex
57
+ @article{tocbench2024,
58
+ title={TOC-Bench: A Temporal Object Consistency Benchmark for Video Large Language Models},
59
+ author={...},
60
+ journal={arXiv preprint arXiv:2605.09904},
61
+ year={2024}
62
+ }
63
+ ```