Download README.md from benf22/will-it-render: direct link, hf CLI and curl.
- Browser
- Download file 4.22 kB
-
https://huggingface.co/benf22/will-it-render/resolve/main/README.md
- Command line
-
hf download hf://benf22/will-it-render/README.md
-
curl -L -o README.md https://huggingface.co/benf22/will-it-render/resolve/main/README.md
license: mit
arxiv: 2611.40949
tags:
- text-to-video
- diffusion
- attention-steering
- will-it-render
- arxiv:2611.40949
Will It Render? — AttnSteer artifacts
Ben Fishman¹ · Dvir Samuel² · Gal Chechik¹² · Idan Schwartz¹ — ¹Bar-Ilan University, ²NVIDIA
TL;DR — The problem: not all requested objects are rendered by text-to-video models. Our solution: train a tiny model (37k parameters) on the generator's attention maps that predicts whether each requested object will render; then use it as a differentiable steering signal at inference time — no model retraining, no hand-crafted objectives needed.
This repo hosts the trained AttnSteer artifacts for the code
repo: per-backbone probe checkpoints and seed
latents, plus the evaluation labels and training data. The steering recipe is not here — it is
the code repo's configs/steering/<backbone>.yaml; download_artifacts fetches the artifacts and
assembles the bundle wir-run consumes.
How it works
Training — one AttnSteer model per denoising step, on cross-attention maps toward each word:
Inference — backpropagate the AttnSteer loss into the latent to make the object render:
How can I use this repo?
Four independent uses — each standalone with its own README in the code repo:
- Run inference — steer generation with our final algorithm so requested objects render.
- Train your own AttnSteer — extract a backbone's cross-attention features and train a steering model.
- Use our dataset — the 473-prompt WIR test set (+ seeds).
- Use our evaluation — det-all / det-ratio object-presence metrics on any model's videos.
What's here
| Path | What |
|---|---|
checkpoints/<backbone>/ |
per-step AttnSteer weights (probe_step_NNN.pt, ~3 MB total) + extraction_config.yaml (the capture geometry the probe was trained on) |
seed_latents/<backbone>/ |
precomputed per-seed initial latents — the demo seed (seed_00042) plus the project-page carousel seeds |
paper_eval/ |
detector labels that reproduce the paper's det-all / det-ratio table with no GPU (will_it_render.evaluation.paper_table) |
datasets/training/ |
per-backbone training sets (wan.csv, ltx.csv, cogvideox.csv): prompt + seed + train/val split + label, to retrain AttnSteer |
docs/ |
method figures |
Backbones: wan (Wan2.1-T2V-1.3B), ltx (LTX-2), cogvideox (CogVideoX-5B), ltx_timeline
(LTX-2, per-frame temporal control). The seed latents live under
seed_latents/<backbone>/<model>/<resolution>/seed_<N>__<gpu-tag>.pt.
Use
pip install -e . # the will-it-render code repo
export VP_WAN_ROOT=/path/to/Wan2.1 # the engine checkout (see code README)
# fetch checkpoints/<bb> + seed_latents/<bb> and assemble the bundle wir-run consumes:
bundle=$(python -m scripts.download_artifacts --backbone wan --quiet)
wir-run --bundle "$bundle" --prompt "a kite and a baseball bat" \
--target-words "kite,baseball bat" --seed 1892721232
A bundled seed latent reproduces exactly only on the GPU type it was tagged for
(__h100 / __ctxa100 / __a100); other seeds regenerate noise on the fly (reproducible only
within one GPU architecture). Code + full docs: https://github.com/benf22/will-it-render-code