benf22 commited on
Commit
57f9c31
·
verified ·
1 Parent(s): 4180461

Model card: button links (project/arXiv/GitHub/dataset) + method figures + how-to section

Browse files
Files changed (4) hide show
  1. .gitattributes +2 -0
  2. README.md +34 -7
  3. docs/fig_inference.png +3 -0
  4. docs/fig_training.png +3 -0
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ docs/fig_inference.png filter=lfs diff=lfs merge=lfs -text
37
+ docs/fig_training.png filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -9,12 +9,41 @@ tags:
9
 
10
  # Will It Render? — AttnSteer bundles
11
 
12
- **[Project page](https://benf22.github.io/will-it-render/)** · **[Code (GitHub)](https://github.com/benf22/will-it-render)**
13
 
14
- Trained **AttnSteer** steering models for [will-it-render](https://benf22.github.io/will-it-render/)
15
- (*Will It Render? Learned Attention Steering for Object Presence in Text-to-Video*, Fishman,
16
- Samuel, Chechik, Schwartz). Each **bundle** is everything `wir-run` needs to steer one backbone:
17
- per-step AttnSteer checkpoints + the extraction geometry + the steering recipe + a demo seed latent.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
  | Bundle | Backbone | Task | Paper recipe |
20
  |--------|----------|------|--------------|
@@ -23,8 +52,6 @@ per-step AttnSteer checkpoints + the extraction geometry + the steering recipe +
23
  | `cogvideox/` | CogVideoX-5B | per-clip object induction | CogVideoX_ours_mutualFix |
24
  | `ltx_timeline/` | LTX-2 | per-frame temporal control | LTX_perframe_v3 |
25
 
26
- ## Bundle layout
27
-
28
  ```
29
  <bundle>/
30
  steering.yaml # the steering recipe (= configs/steering/<backbone>.yaml)
 
9
 
10
  # Will It Render? — AttnSteer bundles
11
 
12
+ Ben Fishman¹ · Dvir Samuel² · Gal Chechik¹² · Idan Schwartz¹ — ¹Bar-Ilan University, ²NVIDIA
13
 
14
+ [![Project Page](https://img.shields.io/badge/Project-Page-1f72b8?logo=googlechrome&logoColor=white)](https://benf22.github.io/will-it-render/)
15
+ [![arXiv](https://img.shields.io/badge/arXiv-coming%20soon-b31b1b?logo=arxiv&logoColor=white)](https://benf22.github.io/will-it-render/)
16
+ [![Code](https://img.shields.io/badge/GitHub-Code-181717?logo=github&logoColor=white)](https://github.com/benf22/will-it-render)
17
+ [![Dataset](https://img.shields.io/badge/Dataset-WIR%20testset-2ea44f?logo=databricks&logoColor=white)](https://github.com/benf22/will-it-render/tree/main/data/WIR_testset)
18
+
19
+ > **TL;DR** — **The problem:** not all requested objects are rendered by text-to-video models.
20
+ > **Our solution:** train a tiny model (37k parameters) on the generator's attention maps that
21
+ > predicts whether each requested object will render; then use it as a differentiable steering
22
+ > signal at inference time — no model retraining, no hand-crafted objectives needed.
23
+
24
+ These are the trained **AttnSteer** steering models. Each **bundle** is everything `wir-run` needs
25
+ to steer one backbone: per-step checkpoints + extraction geometry + steering recipe + a demo seed latent.
26
+
27
+ ## How it works
28
+
29
+ **Training** — one AttnSteer model per denoising step, on cross-attention maps toward each word:
30
+
31
+ <img src="docs/fig_training.png" width="480">
32
+
33
+ **Inference** — backpropagate the AttnSteer loss into the latent to make the object render:
34
+
35
+ <img src="docs/fig_inference.png" width="480">
36
+
37
+ ## How can I use this repo?
38
+
39
+ Four independent uses — each standalone with its own README in the [code repo](https://github.com/benf22/will-it-render):
40
+
41
+ 1. **Run inference** — steer generation with our final algorithm so requested objects render (these bundles).
42
+ 2. **Train your own AttnSteer** — extract a backbone's cross-attention features and train a steering model.
43
+ 3. **Use our dataset** — the [473-prompt WIR test set](https://github.com/benf22/will-it-render/tree/main/data/WIR_testset) (+ seeds).
44
+ 4. **Use our evaluation** — det-all / det-ratio object-presence metrics on **any** model's videos.
45
+
46
+ ## Bundles
47
 
48
  | Bundle | Backbone | Task | Paper recipe |
49
  |--------|----------|------|--------------|
 
52
  | `cogvideox/` | CogVideoX-5B | per-clip object induction | CogVideoX_ours_mutualFix |
53
  | `ltx_timeline/` | LTX-2 | per-frame temporal control | LTX_perframe_v3 |
54
 
 
 
55
  ```
56
  <bundle>/
57
  steering.yaml # the steering recipe (= configs/steering/<backbone>.yaml)
docs/fig_inference.png ADDED

Git LFS Details

  • SHA256: 465ecf6eec9667129ba889a161343f94af0cc38ed8eec39d28631d6930249771
  • Pointer size: 132 Bytes
  • Size of remote file: 1.18 MB
docs/fig_training.png ADDED

Git LFS Details

  • SHA256: 5ff4309c965846fd088589793d4012f7f6456279ed9b3d5ca7189a7e6afa0909
  • Pointer size: 131 Bytes
  • Size of remote file: 260 kB