Large Language Models are Frame-Level Directors for Zero-Shot Text-to-Video Generation

Susung Hong, Junyoung Seo, Heeseong Shin, Sunghwan Hong, Seungryong Kim

TL;DR

DirecT2V turns an instruction-tuned LLM (like GPT-4) into a frame-by-frame "director" that expands a single abstract user prompt into a sequential, time-evolving narrative. By pairing these per-frame descriptions with a modified self-attention mechanism in off-the-shelf text-to-image (T2I) diffusion models—namely Rotational Value Mapping and Dual-Softmax Filtering—DirecT2V generates temporally coherent, story-driven videos in a zero-shot, tuning-free manner.

What Problem Does This Paper Address?

Existing methods for zero-shot text-to-video (T2V) generation typically take a pre-trained 2D image diffusion model (such as Stable Diffusion) and modify its attention layers to enforce temporal consistency without expensive retraining. However, almost all of these frameworks condition every single frame on the exact same abstract prompt (e.g., "A corgi is running and another corgi joins later").

Because videos naturally feature time-varying actions, dynamic scene transitions, and objects entering or leaving, a single static prompt cannot effectively guide the visual storyline. Furthermore, prior approaches like Text2Video-Zero anchor attention values to the very first frame, locking scene composition in place and preventing narrative progression.

Methods

DirecT2V solves this two-sided challenge: generating time-evolving prompts and maintaining visual coherence across changing frames.

User Prompt ──► [ LLM Director (GPT-4) ] ──► Frame-by-Frame Prompts
                                                      │
                       ┌──────────────────────────────┴──────────────────────────────┐
                       ▼                                                             ▼
     [ Rotational Value Mapping (RVM) ]                             [ Dual-Softmax Filtering (DSF) ]
Rotates reference frames across diffusion steps               Calculates bidirectional correspondence confidence;
 to share visual context bidirectionally.                      falls back to local frame values if matching fails.
                       │                                                             │
                       └──────────────────────────────┬──────────────────────────────┘
                                                      ▼
                                [ Coherent, Story-Driven Video ]
  1. LLM as Frame-Wise Director: An instruction-tuned LLM decomposes an overall scene prompt into distinct, chronologically continuous, frame-by-frame text descriptions (specifying actions, objects, background context, and camera angles). The director can also double the frame count iteratively to adapt video frame rates.

  2. Rotational Value Mapping (RVM): Standard zero-shot models copy keys and values ($K, V$) solely from the first frame to all subsequent frames. DirecT2V instead cycles the reference frame index $r(t')$ periodically as diffusion timesteps evolve: $$r(t') = \operatorname{Mod}(\lfloor t' / m \rfloor, F) + 1$$ This enables a bidirectional flow of contextual information, preventing the output from freezing into frame 1's composition.

  3. Dual-Softmax Filtering (DSF): When drastic transitions occur (e.g., an object enters the frame), forcing cross-frame attention causes severe artifacts because the new object has no matching counterpart in the reference frame. DirecT2V computes mutual correspondence confidence via a dual-softmax operation between the query and key maps. If confidence falls below a quantile threshold $\phi$, it masks out the cross-frame value and falls back to the target frame's local self-attention.

Datasets

  • Training Datasets: None. DirecT2V is entirely training-free and relies on frozen models: GPT-4 for text generation and pre-trained Stable Diffusion / Text2Video-Zero pipelines for visual synthesis.
  • Evaluation: Tested across diverse open-domain text prompts featuring dynamic actions (e.g., animals sprinting, weather changing, dolphins jumping). Quantitative fidelity was evaluated using per-frame CLIP similarity and frame-to-frame $L_1$ pixel distances. Qualitative preference was evaluated via a human user study with 52 participants across 416 evaluation points. No specific pre-existing benchmark dataset was used.

Key Insights and Ideas

  • Directing vs. Synthesizing: Separating high-level temporal narrative planning (handled by LLMs) from low-level visual generation (handled by diffusion models) resolves the narrative bottleneck of zero-shot video generation without retraining neural networks.
  • Avoiding Frame-1 Tyranny: Hard-anchoring attention to the first frame destroys storyline progression. Rotating reference frames dynamically allows visual concepts to migrate forward and backward throughout the clip.
  • Knowing When Not to Match: Dual-softmax matching acts as an automated "gatekeeper." If a visual concept in Frame 6 has no counterpart in Frame 1, the model refrains from forcing cross-attention, letting new objects emerge cleanly.

Key Results

  • Human Evaluation: In a blind user study comparing DirecT2V against Text2Video-Zero (T2V-Z), DirecT2V drastically outperformed the baseline:
  • Faithfulness to Text: 78.61% vs. 21.39%
  • Visual Realism: 80.53% vs. 19.47%
  • Narrative Consistency: 79.33% vs. 20.67%
  • Faithfulness Across Frames: CLIP score curves across video sequences show that baseline zero-shot models rapidly diverge from downstream prompt instructions, whereas DirecT2V maintains high prompt faithfulness for every frame.
  • Ablation Findings: Removing RVM causes the model to ignore frame-wise text updates, while omitting DSF creates severe ghosting artifacts (e.g., mapping open-eye textures onto closed eyes).

Limitations and Future Work

  • LLM Sensitivity: Generated video quality is tied to the LLM's prompt decomposition quality. Ambiguous or overly descriptive text from weaker language models can degrade video continuity.
  • T2I Model Hallucinations: Spatial positioning, correct object counts, and fine-grained spatial manipulation remain bounded by the limitations of the underlying 2D image diffusion backbone.
  • Future Directions: Incorporating stronger vision-language encoders to guide spatial placement, as well as extending the "LLM director" paradigm to other generative tasks like zero-shot text-to-3D.

Summary updated

BibTeX
@inproceedings{hong2024large,
  author = {Susung Hong and Junyoung Seo and Heeseong Shin and Sunghwan Hong and Seungryong Kim},
  title = {{Large Language Models are Frame-Level Directors for Zero-Shot Text-to-Video Generation}},
  booktitle = {CVG @ ICML},
  year = {2024},
  url = {https://openreview.net/forum?id=VmOO0GsG0K},
}

Loading related content...

Figure