TALC: Time-Aligned Captions for Multi-Scene Text-to-Video Generation

Hritik Bansal, Yonatan Bitton, Michal Yarom, Idan Szpektor, Aditya Grover, Kai-Wei Chang · OpenReview

Abstract

Recent advances in diffusion-based generative modeling have led to the development of text-to-video (T2V) models that can generate high-quality videos conditioned on a text prompt. Most of these T2V models often produce single-scene video clips that depict an entity performing a particular action. However, it is pertinent to generate multi-scene videos since they are ubiquitous in the real-world. To generate multi-scene videos from a pretrained T2V model, we introduce the Time-Aligned Captions (TALC) framework. Specifically, we enhance the text-conditioning mechanism in the T2V architecture to recognize the temporal alignment between the video scenes and scene descriptions. As a result, we show that the pretrained T2V model can generate multi-scene videos that adhere to the multi-scene text descriptions and remain visually consistent. Our TALC-finetuned model outperforms baseline methods on multi-scene video-text data by 15.5 points on aggregated score, averaging visual consistency and text adherence using human evaluation.

Introduction: The Multi-Scene Challenge

Most current text-to-video models, such as ModelScope or Lumiere, are effectively "one-hit wonders." They excel at generating a single, short clip of an entity performing one action (e.g., "a panda climbing a tree"). However, real-world storytelling is inherently multi-scene: "a panda climbs a tree, then it sleeps on a branch."

When existing models are given multi-scene prompts, they typically fail in two distinct ways:

  1. Low Text Adherence: They often ignore the later parts of the prompt entirely, focusing only on the initial instruction.
  2. Visual Inconsistency: If they do attempt to transition scenes, the "identity" of the objects or the background shifts jarringly. For instance, a panda might suddenly transform into a different bear, or a forest background might abruptly turn into a park.

This failure stems from a lack of multi-scene training data and a text-conditioning mechanism that applies the entire prompt globally to every single frame of the video, leading to temporal confusion.

The TALC Framework

The core innovation of TALC is temporal alignment. Instead of treating a multi-scene prompt as a single, monolithic block of text, TALC decomposes it into time-specific segments.

Modified Cross-Attention

In standard T2V architectures, the text embedding is repeated for every frame. TALC modifies this cross-attention mechanism so that visual features are conditioned only on the relevant scene's description. For example, the visual features of the first half of the video are conditioned on the first scene's description, while the second half is conditioned on the second description.

Leveraging Temporal Modules

While the spatial blocks focus on specific scene descriptions, the temporal modules (attentions and convolutions) already present in the U-Net architecture allow information to flow across the entire video. This ensures that even though the "action" changes, the "look"—including entities and background—remains consistent. This allows TALC to function as a "plug-and-play" inference trick on existing models or as a framework for fine-tuning.

Automated Data Curation

To address the scarcity of multi-scene data, the authors developed a pipeline using PySceneDetect to identify scene cuts in existing videos and Gemini-Pro-Vision to generate high-quality, time-aligned captions for each segment. This automated approach allows for the creation of robust training sets from existing video-text datasets like MSR-VTT and VaTeX.

Key Results and Evaluation

TALC was evaluated across several scenarios: single characters in multiple contexts (S1), different characters in the same context (S2), and open-ended real-world prompts (S3).

Qualitative results of TALC across various multi-scene scenarios, demonstrating consistency in entities, backgrounds, and actions.

Qualitative Performance

As shown in the qualitative examples, TALC maintains high visual consistency. On a 100-point scale, TALC scored 92.3 for visual consistency, significantly higher than the "Merge Videos" baseline (55.0), which generates scenes independently and stitches them together. It also showed superior text adherence compared to "Merge Captions," where models often become overwhelmed by long, concatenated prompts.

Quantitative and Human Evaluation

Human evaluation confirmed that TALC significantly improves the state of the art. When used as a training-free method, TALC achieved a 21% relative gain over the FreeNoise baseline. When the model was fine-tuned using the TALC framework (TALC-FT), that gain increased to 29%.

Human evaluation results on unseen multi-scene prompts, showing TALC-FT outperforming baselines by 29%.

Conclusion and Future Work

TALC demonstrates that the primary bottleneck for multi-scene generation in open-source models is not necessarily architecture, but rather the "single-scene bias" of training data and global text conditioning. By enforcing temporal locality in language conditioning while maintaining global visual features, TALC enables coherent storytelling. Future work will focus on scaling this to longer, narrative-length videos and reducing dependency on the base T2V model's raw visual quality.

Summary updated

BibTeX
@inproceedings{bansal2024talc,
  author = {Hritik Bansal and Yonatan Bitton and Michal Yarom and Idan Szpektor and Aditya Grover and Kai-Wei Chang},
  title = {{TALC: Time-Aligned Captions for Multi-Scene Text-to-Video Generation}},
  booktitle = {Video-Langauge Models @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=HDnb9nhN45},
}
Figure