Official toolkit and release artifacts for WRBench, a diagnostic benchmark for testing whether video world models preserve world state across camera motion.
WRBench provides three composable pieces:
- Compile: turn a camera instruction into a model-native payload and auditable sidecars. No GPU is required.
- Generate (optional): execute that payload through a configured model backend or command template.
- Evaluate: score existing videos with the separable D1–D6 diagnostic contract.
The repository also bundles Natural-25 prompts and first frames, the frozen 23-model paper table, and the versioned paper reproducibility contract.
The Hugging Face Collection brings together the paper, datasets, and interactive leaderboard.
| Resource | What you'll find |
|---|---|
| Paper | Benchmark design, evaluation protocol, and reported results |
| Natural-25 inputs | Test prompts, first frames, and camera specifications |
| Results and addenda | Frozen paper tables and separately versioned rolling results |
| Generated videos and scores | Model outputs, video index, and per-video scores |
| Human annotations | Released human judgments and annotation metadata |
| Leaderboard | Interactive comparison of released model results |
For the paper snapshot, use the frozen input release and the bundled 23-model results, which cover 9,600 videos. The input release documents the exact prompts, first frames, camera scopes, and source mappings. Rolling updates are versioned separately on Hugging Face.
Python 3.10 or newer is required.
git clone https://github.com/JinPLu/WRBench.git
cd WRBench
pip install -e .Install optional prompt, first-frame, and development dependencies with pip install -e ".[all]". Model weights and GPU frameworks are intentionally not package dependencies.
List the available models and camera presets:
wrbench models
wrbench presetsCompile a go-and-return yaw request with a bundled Natural-25 first frame:
IMAGE="$(python - <<'PY'
from wrbench.datasets import natural25_first_frame_path
print(natural25_first_frame_path("bedroom_cat_bed_jump"))
PY
)"
wrbench generate \
--model wan22-fun-5b-cam \
--camera preset:yaw_LR \
--image "$IMAGE" \
--prompt "A house cat waits on the bedroom floor, facing the bed." \
--out out.mp4wrbench generate is compile-only by default: it writes the target trajectory, native payload, and metadata without loading a model. Add --runtime-config wrbench.runtime.json --no-dry-run to run real generation through a configured backend. Use wrbench actions --camera "yaw:left:37@49" --fps 16 to inspect a custom camera script. See the camera-control reference, generation backends, and more compile examples.
First inspect the metric contract; this requires no model configuration:
wrbench eval contractFor D1–D6 scoring, copy wrbench.runtime.example.json to an untracked wrbench.runtime.json and set your local scorer interpreter, repository, and checkpoint paths (canonical paper defaults for VGGT-Omega, DINOv2, and Qwen D3–D6 are applied automatically). Check scorer readiness, validate the manifest, and run the pipeline:
wrbench doctor --eval --runtime-config wrbench.runtime.json
wrbench eval validate --manifest videos.json
wrbench eval --runtime-config wrbench.runtime.json run \
--manifest videos.json \
--out-dir eval_out \
--target-mode requested_profileScorer requirements, individual stage commands, and custom evaluator hooks are documented in the evaluation guide. D1–D6 remain separate diagnostics; WRBench does not collapse them into one quality score.
WRBench supports three integration levels without modifying WRBench source files:
- Evaluate existing videos: export standardized Natural-25 tasks with
wrbench tasks export, generate MP4s in your own pipeline, verify the manifest withwrbench eval validate, and score withwrbench eval run. - Declarative model spec + command template: pass an external JSON spec (
--model-specor top-levelmodel_spec_filesinwrbench.runtime.json) using a built-in declarative adapter (declarative_pose,declarative_action, orprompt_camera), and run inference via"backend": "command_template". - Python plugins: register custom adapters, generation backends, launchers, or evaluators (
pose,d2,vlm, and segment policies) viamodule:callablereferences orpyproject.tomlentry points (wrbench.plugins,wrbench.eval_plugins). Inspect loaded extensions withwrbench plugins.
See Integrating models and evaluators for templates and examples, or Adding a built-in model when contributing a model directly to this repository.
| Dimension | What it measures | Applies when |
|---|---|---|
| D1-CamPrec | Requested-camera trajectory precision | An explicit target trajectory exists |
| D1-CamAlign | Prompt-camera intent alignment | Camera control is prompt/API based |
| D2 | Visual integrity | All videos |
| D3 | Visible spatial consistency | All videos |
| D4 | Visible state consistency | All videos |
| D5 | Re-observation spatial consistency | The relevant content returns into view |
| D6 | Re-observation event-state consistency | The relevant content returns into view |
Rows without re-observation support are excluded from D5/D6 rather than counted as failures. The exact contract lives in src/wrbench/eval/contract/.
- Integrating models and evaluators
- Camera-control grammar
- Evaluation and scorer configuration
- Generation backends
- Adding a built-in model
- Prompt generation
- First-frame generation
- Generation resource profiling
@article{wrbench2026,
title = {Current World Models Lack a Persistent State Core},
author = {Jinpeng Lu and Dexu Zhu and Haoyuan Shi and Linghan Cai and Guo Tang and Yinda Chen and Jie Cao and Duyu Tang and Yi Zhang and Yong Dai and Xiaozhu Ju},
journal = {arXiv preprint arXiv:2606.20545},
year = {2026},
url = {https://arxiv.org/abs/2606.20545},
}Apache 2.0 — see LICENSE.
