TL;DR
Ask a modern text-to-video model for "a dog to the right of a bench and below a kite," and it will likely put the dog on the wrong side or forget an object entirely. Existing fixes force you to pre-plan rigid bounding-box layouts before generating a single pixel, which often clashes with the model's natural intuition. GraphSteer ditches layouts altogether, steering frozen video models on the fly using lightweight scene graphs—and a single trained steering module transfers zero-shot across completely different video architectures.
What Problem Does This Paper Address?
Text-to-video (T2V) diffusion models create stunningly sharp clips, yet struggle with basic spatial choreography—especially when one object has to satisfy multiple spatial relationships at once.
Right now, the standard fix is a two-stage "director" approach: an external planner (usually an LLM) reads the prompt and draws rigid 2D bounding boxes across time, which the video generator is then forced to color inside. The catch? That external planner is flying blind. It never sees what the video model actually wants to generate. Converting fluid, relative ideas like "in front of" or "to the right of" into fixed absolute coordinates often fights against the generator’s learned priors, leading to visual artifacts, missing objects, or broken physics. Furthermore, constraining objects box-by-box doesn't guarantee that all relationships actually hold together.
Methods
Instead of dictating where objects must go with boxes, GraphSteer evaluates how objects relate to one another while the video is taking shape, keeping the video generator completely frozen.
- Prompt to Scene Graph: An open-source LLM parses the text prompt into a directed graph. Nodes are objects (dog, bench, kite), and edges are relative spatial targets mapped onto three axes: horizontal (left/right), vertical (above/below), and depth (in front/behind).
- Reading the Model's Mind (Attention Extraction): During diffusion, cross-attention maps naturally reveal where text concepts are forming in the video grid. To make their method architecture-agnostic, the authors resample these 3D spatio-temporal attention maps onto a fixed $8 \times 16 \times 16$ grid, normalize them, and process attention heads as an unordered set.
- Graph Scorer Module (The Novel Core): A lightweight, trained Graph Neural Network (GNN) takes those normalized attention features, passes messages between connected objects, and predicts the probability that each spatial relation is currently satisfied.
- Joint Guidance: During just the first 8 (out of 50) denoising steps, GraphSteer computes a single joint loss across all edges in the graph and nudges the noisy video latent along the gradient. Because attention maps are normalized, the model could "cheat" the loss by erasing an object entirely—so the authors add a clever presence loss that penalizes big drops in an entity's raw attention mass.
Datasets
- Training the Scorer: Uses real-world video scene-graph datasets (VidOR and ImageNet-VidVRD) alongside ~600 synthetic clips annotated via GroundingDINO bounding boxes.
- Standard Evaluation: Tested on T2V-CompBench (compositional generation) and VBench (overall video quality).
- New Multi-Relation Benchmark: Because T2V-CompBench only tests one spatial relation per prompt, the authors introduce a 120-scene benchmark where three objects share multiple simultaneous relations, paired with a VLM-based Global Preference metric (using Qwen2.5-VL-7B in swapped presentation orders to eliminate position bias).
Key Insights and Ideas
- Early nudges stick: GraphSteer only guides the first 8 denoising steps and turns off for the remaining 42. Once spatial arrangements lock in during the chaotic early stages of diffusion, the frozen generator naturally carries them through to the final clip.
- Good plans don't guarantee good videos: On the multi-relation benchmark, a popular baseline (VideoTetris) planned bounding boxes that satisfied 98.3% of prompt relations—yet only 30.7% of those relations actually survived into the generated video. Steering attention directly avoids this translation gap.
- True zero-shot transfer across backbones: Because the Graph Scorer reads resampled, resolution-free attention grids and treats attention heads as a set, a scorer trained exclusively on CogVideoX-5b attention maps plugs directly into Wan2.1, Wan2.2, and HunyuanVideo without retraining—changing only the layer name it hooks into.
Key Results
- Single-Relation Spatial Accuracy (T2V-CompBench): On CogVideoX-5b, GraphSteer boosts spatial accuracy from 0.545 to 0.631, beating box-guided baselines while requiring zero layouts. Transferred zero-shot to HunyuanVideo, it jumps spatial scores from 0.610 to 0.715.
- Multi-Relation Mastery & Speed: On CogVideoX-5b, GraphSteer boosts per-edge accuracy from 0.225 to 0.392 and nearly triples the rate at which all relations hold simultaneously (0.058 to 0.150). It takes 5.3 GPU-minutes per clip—roughly 9× faster than LoRA-based competitor TTOM (47 GPU-minutes) and faster than layout planners like LVD (11.7 GPU-minutes).
- Visual Quality: VBench total scores slightly increase (77.63 to 78.25), avoiding the severe visual artifacts (like flat, wiped-out backgrounds) seen in rigid latent-guidance methods.
Limitations and Future Work
Zero-shot transfer is impressive, though still partial. When ported to models like Wan2.2-A14B, Wan2.1, and HunyuanVideo without retraining, spatial scores and simultaneous-relation rates climb, but object counts dip slightly compared to the unsteered base models (e.g., from 0.758 to 0.707 on Wan2.2), and box-heavy methods like LVD can still edge out zero-shot GraphSteer on certain architectures. The paper does not explicitly lay out future work directions beyond these transfer observations.
Summary updated