TL;DR
Standard text-to-video (T2V) diffusion models are trained on short, single-action clips and struggle to generate coherent multi-scene narratives. TALC (Time-Aligned Captions) solves this by temporally partitioning the text cross-attention layers so that specific frame segments attend only to their corresponding scene descriptions, while temporal attention layers maintain cross-scene visual consistency. Paired with a synthetic multi-scene dataset pipeline, fine-tuning with TALC yields a 29% relative improvement in human-evaluated overall quality over prior methods.
What Problem Does This Paper Address?
Real-world storytelling requires sequential events (e.g., “a red panda climbs a tree” followed by “the red panda sleeps on the tree”). However, most open-source T2V diffusion models (such as ModelScope and VideoCrafter) are pretrained on short, single-event video-caption pairs.
When prompted for multi-scene videos, existing workarounds fail:
- Merging captions into a single prompt causes the model to lose track of temporal boundaries—all frames attend to all actions simultaneously.
- Generating clips separately and concatenating them nails prompt adherence for each scene, but produces jarring discontinuities in lighting, backgrounds, and character appearance.
- Complex motion-injection techniques (such as FreeNoise) are brittle, require heavy hyperparameter tuning, and frequently collapse into static scenes.
Methods
TALC introduces a lightweight modification to the standard cross-attention mechanism in video diffusion models, applicable both zero-shot at inference and during fine-tuning:
[ Video Latents: z_1 (Scene 1) | z_2 (Scene 2) ]
│ │
Cross-Attention Cross-Attention
│ │
[ Text Embeddings: r_y1 r_y2 ]
▲ ▲
"Cat leaps..." "Dog leaps..."
- Time-Aligned Text Conditioning: Instead of repeating the entire prompt embedding uniformly across all $L$ frames, TALC divides the video into $n$ scene segments of $L/n$ frames. Spatial cross-attention in segment $j$ is conditioned strictly on the text embeddings of scene description $y_j$.
- Preserving Visual Continuity: Because the model's temporal self-attention and 1D temporal convolution blocks remain untouched across the full sequence of frames, information flows across scene boundaries to keep characters and backgrounds consistent.
- Multi-Scene Data Curation & Fine-Tuning: Since off-the-shelf models have never seen sequential scene descriptions, the authors built an automated data engine:
- Detect natural scene transitions in existing datasets (MSR-VTT, VaTeX) using
PySceneDetect. - Extract keyframes from each scene.
- Prompt Gemini-Pro-Vision with the sequence of keyframes and the global video title to generate temporally aligned, narrative-consistent captions for each scene.
- Fine-tune the diffusion model using TALC conditioning on this curated data.
Datasets
- Curated Multi-Scene Training Data: 7,107 videos derived from MSR-VTT and VaTeX yielding 20,177 scene–caption pairs (27.3% single-scene, 25.4% two-scene, 31.3% three-scene, and 16.0% four-scene).
- Evaluation Benchmarks:
- S1 (Single character, multiple contexts): Four-scene animal narratives generated via GPT-4.
- S2 (Different characters, fixed context): Animals changing while performing identical actions in the same setting.
- S3 (Real-video multi-scene captions): 100 test prompts derived from held-out real-world videos.
- VBench: Standard single-scene video benchmark to test for catastrophic forgetting.
Key Insights and Ideas
- Decouple Spatial and Temporal Conditioning: Spatial cross-attention governs what appears in a specific frame window, whereas temporal self-attention governs consistency across frames. Restricting spatial cross-attention to time-aligned prompt segments gives granular temporal control without breaking cross-frame continuity.
- Naive Fine-Tuning Backfires: Fine-tuning on multi-scene videos by naively concatenating text drops visual consistency drastically (down 14 points in automatic evaluations) and generates visual artifacts. Proper alignment during fine-tuning is critical.
- Multi-Scene Training Boosts Single-Scene Quality: Fine-tuning on multi-scene narratives achieved a VBench score of 0.59—substantially outperforming models fine-tuned solely on single-scene clips (0.48)—suggesting multi-scene data enriches the model's broader spatial-temporal representations.
Key Results
- Human Evaluation (ModelScope):
- TALC (Zero-shot / Base Model): Achieved an overall score of 72.4% (averaging visual consistency and text adherence), a 21% relative gain over FreeNoise (59.7%).
- TALC (Fine-tuned): Reached 76.8% overall (+29% relative gain over FreeNoise), striking the best balance between text adherence (67.2%) and visual consistency (86.4%).
- Model Agnosticism: On Google’s space-time diffusion model Lumiere, TALC improved overall automatic evaluation from 64.4% (merged captions) to 69.0% (+7.1% relative) without retraining.
- Evaluation Agreement: Automated multi-frame scoring using GPT-4-Vision demonstrated a 77% agreement rate with human annotators.
Limitations and Future Work
- Sequence Length Constraints: Current experiments were limited to a maximum of 4 scenes and 16 frames per scene for ModelScope (80 frames per scene for Lumiere) due to memory constraints.
- Pretraining vs. Fine-tuning: TALC was applied as an inference modification and a fine-tuning stage. The authors note that baking TALC directly into large-scale pretraining could unlock even longer and more fluid narrative video generation.
Summary updated