Datasets:
Tasks:
Text-to-Video
Size:
< 1K
Tags:
benchmark
multi-reference
counterfactual
subject-consistency
identity-preservation
reference-to-video
License:
File size: 1,872 Bytes
21ba8ee 1789950 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | # AddressBench scoring pipeline
Run the benchmark on your own model's generations in four steps. All steps resume from their progress files; rerunning the same command continues where it stopped.
## Layout
- `judge_cf.py` — the judged probes (SBA / CSLR / SOR / EC / AC) over the counterfactual variants, one MLLM judge under a fixed scaffold (protocol: `bindbench/spec/counterfactual_protocol.md`).
- `score_identity_seq.py` — FIS/TIS from ArcFace identity sequences (buffalo_l, 48 frames per video, per-frame one-to-one assignment; absent frames score zero in the TIS window).
- `run_ms_amt.py` — MS from the AMT-based motion-smoothness implementation (numerically equivalent to VBench's to 1e-6).
- `score_counterfactual.py` — aggregates the three into the eight table columns with per-column denominators and case-grouped bootstrap CIs.
## Usage
```bash
# 1. judged probes (MLM judge; set your endpoint in the environment)
python3 -I judge_cf.py --model kimi-k3 --arm <your_arm_outputs_dir>
# 2. identity sequences and motion
python3 -I score_identity_seq.py --videos <your_arm_outputs_dir>
python3 -I run_ms_amt.py --videos <your_arm_outputs_dir>
# 3. aggregate to the eight columns
python3 -I score_counterfactual.py \
--judge judge_cf_<arm>.jsonl --identity identity_seq_<arm>.jsonl --ms ms_amt_<arm>.jsonl \
--tasks bindbench_pool_tasks.jsonl --variant-tasks bindbench_pool_variant_tasks.jsonl \
--out counterfactual_<arm>.json --tex
```
Outputs land next to the videos by default. Failure taxonomy (unsupported input / generation failure / wrong answer) is reported separately and never mixed into the scores.
## Requirements
Python 3.10+, PyTorch, and for the identity path an InsightFace/ArcFace runtime; the motion path uses AMT. The judged probes need an MLLM endpoint (any OpenAI-compatible chat API; the reference run used kimi-k3).
|