TS-Attn: Temporal-wise Separable Attention for Multi-Event Video Generation

Hongyu Zhang, Yufan Deng, Zilin Pan, Peng-Tao Jiang, Bo Li, Qibin Hou, Zhen Dong, Zhiyang Dou, Daquan Zhou

TL;DR

TS-Attn (Temporal-wise Separable Attention) is a training-free, "plug-and-play" mechanism that allows video generation models to follow complex, multi-step prompts without losing temporal consistency. By dynamically rearranging cross-attention maps, it ensures that specific actions happen at the right time and in the right place, boosting benchmark scores by up to 33.5% with a negligible 2% increase in inference time.

What Problem Does This Paper Address?

Current state-of-the-art video generation models (like Wan2.1 or CogVideoX) are excellent at generating single actions, but they often stumble when faced with complex, sequential descriptions—for example, "A cat watches a bowl, dips a paw inside, and then takes it out."

Multi-event video generation of a dragon emerging from a cave and breathing fire.

Existing solutions usually fall into two camps, both with significant trade-offs:

  1. Sequential Prompting: Breaking the prompt into pieces and generating clips one by one. This captures the actions well but often leads to "content drift," where the subject's appearance or the background changes between clips.
  2. Single Complex Prompting: Feeding the whole story into the model at once. This keeps the video consistent but often results in "event omission" (the model skips an action entirely) or "temporal hallucination" (actions happen out of order).

The authors identify two root causes for these failures: temporal misalignment (the model doesn't know when to look at which part of the text) and conflicting attention coupling (the model tries to attend to all verbs simultaneously in every frame).

Methods

The researchers propose TS-Attn, a training-free intervention applied during the early stages of the denoising process. It consists of two main modules:

  • Motion Region Extraction (MRE): To avoid altering the background, the model first identifies the "motion-related regions"—essentially the pixels belonging to the subject performing the action. It does this by analyzing the cross-attention maps of the subject and applying a threshold and erosion function to create a clean mask.
  • Event-aware Attention Modulation (EAM): This is the core of the "timing" fix. It has two sub-components:
  • Attention Rearrangement: It applies a positive bias to the text tokens of the current event and a negative bias to tokens of other events within a specific time window. This "disentangles" the verbs so the model isn't trying to perform multiple conflicting actions at the same time.
  • Attention Reinforcement: If the attention signal is too weak or "flat," this sub-module adaptively scales the values to sharpen the model's focus on the correct event.

Crucially, this requires knowing the time intervals for each event. The authors show that this can be done via simple uniform splitting, user input, or—most effectively—using a lightweight LLM (like GPT-4o-mini) to plan the timing.

Datasets

The paper evaluates the method using:

  • StoryEval-Bench: A representative benchmark for multi-event Text-to-Video (T2V) containing 423 prompts across seven categories (Human, Animal, Object, etc.).
  • StoryEval-Bench-I2V: A newly introduced benchmark created by the authors to evaluate multi-event Image-to-Video (I2V) tasks, using Qwen-Image to generate the starting frame.

Key Insights and Ideas

  • Early Intervention is Key: TS-Attn is only applied during the first 20% (for T2V) to 40% (for I2V) of the denoising steps. This is because the high-level layout and motion structure are formed early; later stages focus on fine-grained textures where the intervention is less necessary.
  • Motion-Centric Focus: By restricting attention modulation to the subject's mask (MRE), the method prevents background flickering—a common side effect of global attention manipulation.
  • Training-Free Versatility: Because it doesn't require retraining, TS-Attn acts as a "plugin" for various architectures, including both MM-DiT (CogVideoX) and Cross-DiT (Wan2.1/2.2) models.

Key Results

  • Significant Performance Boost: On the StoryEval-Bench, TS-Attn improved the average score of Wan2.1-T2V-14B by 33.5% and Wan2.2-T2V-A14B by 16.4%.
  • Efficiency: Unlike multi-prompt methods that can double or triple generation time, TS-Attn adds only about 2% latency.
Performance vs. Latency chart showing TS-Attn's 16.4% score boost with only 2% added latency.
  • Qualitative Superiority: Qualitative results show much higher "completion rates." In tests, TS-Attn successfully generated complex sequences (like a ball rolling, colliding, and bouncing back) where baseline models often skipped the collision or the return roll entirely.

Limitations and Future Work

  • Temporal Segmentation Dependency: While uniform splitting works surprisingly well, the method still benefits from external "planning" (like an LLM) to decide exactly when an event should start and end.
  • Single Subject Focus: While the appendix discusses multi-subject scenarios, the primary evaluation focuses on single subjects performing multiple actions. Complex interactions between multiple moving entities remain a challenging frontier.
  • Denoising Step Sensitivity: The optimal percentage of denoising steps to apply TS-Attn might vary across different base models and schedulers, requiring some manual tuning for new architectures.

Summary updated

BibTeX
@inproceedings{zhang2026ts,
  author = {Hongyu Zhang and Yufan Deng and Zilin Pan and Peng-Tao Jiang and Bo Li and Qibin Hou and Zhen Dong and Zhiyang Dou and Daquan Zhou},
  title = {{TS-Attn: Temporal-wise Separable Attention for Multi-Event Video Generation}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=QixNhagZ9t},
}
Figure