TL;DR
TALC (Time-Aligned Captions) is a simple yet powerful framework that enables text-to-video (T2V) models to generate multi-scene videos with high visual consistency and text adherence. By temporally aligning specific scene descriptions with corresponding video segments within the model's cross-attention mechanism, TALC achieves a 29% relative performance gain over existing state-of-the-art methods.
What Problem Does This Paper Address?
Current text-to-video generative models excel at creating short, single-scene clips (e.g., "a cat jumping"). However, real-world storytelling often requires multiple scenes (e.g., "a cat jumping onto a counter, then eating food, then taking a nap").
Existing models struggle with this for two main reasons:
- Visual Inconsistency: Characters or backgrounds often change drastically between scenes.
- Poor Text Adherence: Models often ignore parts of a complex, multi-scene prompt or fail to depict events in the correct temporal order.
While some "long video" methods exist, they are often computationally expensive, limited to specific domains like cartoons, or generate scenes independently, leading to jarring transitions.
Methods
The core idea of TALC is temporal alignment. In a standard T2V architecture, a single text prompt is embedded and then applied to every frame of the video via a cross-attention mechanism.
TALC modifies this process:
- Segmented Conditioning: If a user provides a script with three scenes, TALC divides the video frames into three corresponding segments.
- Time-Aligned Cross-Attention: Instead of applying the entire script to every frame, TALC conditions the first segment of frames only on the description of Scene 1, the second segment on Scene 2, and so on.
- Leveraging Temporal Priors: Because modern T2V models (like ModelScope or Lumiere) already contain temporal modules (like 3D convolutions or temporal attention) designed to maintain continuity, these modules naturally "smooth" the transitions between the different text conditions, preserving the identity of objects and backgrounds across scenes.
The authors demonstrate that TALC can be used as a training-free inference strategy or as a framework for fine-tuning a model on multi-scene data to further enhance performance.
Datasets
To support fine-tuning, the authors developed a pipeline to create a high-quality multi-scene video-text dataset:
- Source Data: They used videos from MSR-VTT and VaTeX.
- Scene Detection: They employed the
PySceneDetectlibrary to identify natural scene cuts in real-world videos. - Automated Captioning: They used Gemini-Pro-Vision to generate precise, time-aligned captions for each detected scene, ensuring the captions formed a coherent narrative.
For evaluation, they curated three specific task prompts:
- S1: Single character in multiple visual contexts.
- S2: Different characters in a specific visual context.
- S3: Multi-scene captions derived from real-world videos.
Key Insights and Ideas
- Simplicity Wins: Unlike methods that rely on complex "motion injection" or sophisticated noise rescheduling, TALC shows that simply aligning the text conditioning to the right frames is remarkably effective.
- The "Global Prompt" Failure: The paper highlights that "Merge Captions" (concatenating all scenes into one long prompt) actually hurts performance. While it helps with consistency (because the model sees the same text for every frame), the model gets "confused" and fails to actually perform the specific actions described.
- Seamless Transitions: By providing all scene descriptions to the model at once but applying them locally, the model can maintain a global "understanding" of the video while focusing on local actions.
Key Results
The authors evaluated TALC using both human annotators and an automated GPT-4V evaluator.
- Overall Performance: TALC (training-free) achieved a 21% relative gain in overall score (averaging consistency and text adherence) compared to the baseline FreeNoise.
- Fine-tuning Boost: When fine-tuned on multi-scene data (TALC-FT), the relative gain jumped to 29%.
- Visual Consistency vs. Adherence: TALC strikes a superior balance. While "Merge Captions" has high visual consistency (96.5), its text adherence is abysmal (33.0). TALC-FT achieves a high consistency (86.4) while nearly doubling the text adherence (67.2).
Limitations and Future Work
- Fixed Scene Duration: The current implementation assumes each scene in the prompt corresponds to an equal number of frames. In reality, some scenes are naturally longer than others.
- Scaling: The authors note that scaling the amount of multi-scene video-text data during the initial pre-training phase (rather than just fine-tuning) is a promising future direction.
- Computational Constraints: The fine-tuning was limited to a maximum of four scenes per video; future work could explore longer, more complex narratives as compute resources allow.
Summary updated