File size: 4,224 Bytes
4180461 8679c68 4180461 c04738f 4180461 4b24456 4180461 57f9c31 4180461 57f9c31 c04738f 53a65ac 57f9c31 4b24456 57f9c31 53a65ac 57f9c31 4b24456 57f9c31 53a65ac 57f9c31 4b24456 4180461 4b24456 4180461 4b24456 4180461 4b24456 4180461 4b24456 4180461 53a65ac | 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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | ---
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
[](https://benf22.github.io/will-it-render/)
[](https://arxiv.org/abs/2611.40949)
[](https://github.com/benf22/will-it-render-code)
[](https://github.com/benf22/will-it-render-code/tree/main/data/WIR_testset)
> **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](https://github.com/benf22/will-it-render-code): 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:
<img src="docs/fig_training.png" width="480">
**Inference** — backpropagate the AttnSteer loss into the latent to make the object render:
<img src="docs/fig_inference.png" width="480">
## How can I use this repo?
Four independent uses — each standalone with its own README in the [code repo](https://github.com/benf22/will-it-render-code):
1. **Run inference** — steer generation with our final algorithm so requested objects render.
2. **Train your own AttnSteer** — extract a backbone's cross-attention features and train a steering model.
3. **Use our dataset** — the [473-prompt WIR test set](https://github.com/benf22/will-it-render-code/tree/main/data/WIR_testset) (+ seeds).
4. **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
```bash
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
|