TS-Attn: Temporal-wise Separable Attention for Multi-Event Video Generation
The paper proposes TS-Attn, a novel training-free attention mechanism that dynamically rearranges attention distributions to resolve temporal misalignment and conflicting attention coupling, thereby significantly improving multi-event video generation quality and consistency in pre-trained models with minimal inference overhead.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are a director trying to film a short movie based on a script that says: "A cat walks into a room, jumps on a table, knocks over a vase, and then runs out the door."
Current AI video generators are like talented but slightly confused actors. If you give them this whole script at once, they might get overwhelmed. They might show the cat running out the door before it even jumps on the table, or they might forget the vase entirely. They try to do everything at once, and the result is a chaotic mess where the timeline makes no sense.
Alternatively, if you try to film this scene by filming each action separately and stitching the clips together, the cat might look different in every clip, or the background might jump around. It's like trying to build a house by gluing together bricks from different houses; the structure falls apart.
Enter TS-Attn (Temporal-wise Separable Attention).
Think of TS-Attn as a super-smart film editor and script supervisor that sits inside the AI's brain. Its job is to make sure the AI pays attention to the right part of the script at the right time.
Here is how it works, using a simple analogy:
1. The Problem: The "Cafeteria Noise"
Imagine the AI is in a noisy cafeteria. The script (the text prompt) is a long list of instructions from different people.
- Person A says: "Walk!"
- Person B says: "Jump!"
- Person C says: "Knock!"
Without TS-Attn, the AI hears all these voices at once. It tries to walk, jump, and knock all at the same time, or it gets confused and ignores some voices. The result is a video where the cat is doing everything simultaneously or nothing at all.
2. The Solution: The "Time-Traveling Spotlight"
TS-Attn acts like a spotlight that moves across the stage. It tells the AI:
- Time 1: "Hey AI, ignore everyone else. Just listen to the person saying 'Walk'. Focus your energy on making the cat walk."
- Time 2: "Okay, now the walking is done. Turn off the 'Walk' light. Now, focus only on the person saying 'Jump'."
- Time 3: "Now, focus on 'Knock'."
It essentially untangles the knot of the instructions. It ensures that the visual action (the cat moving) is perfectly synced with the specific word in the script that caused it.
3. The "Motion Detective"
How does the AI know where to look?
TS-Attn has a little detective inside it. It looks at the video and says, "Okay, the cat is the thing moving right now." It puts a digital sticky note on the cat. Then, it tells the AI: "Only let the 'Jump' instruction talk to the cat. Don't let the 'Jump' instruction try to move the background or the table."
This prevents the AI from getting confused about which part of the image should change.
Why is this a big deal?
- No Re-training: Usually, to fix a broken AI, you have to re-teach it from scratch (like sending a student back to school for four years). TS-Attn is like giving that student a cheat sheet or a new pair of glasses. You can plug it into existing AI models (like Wan or CogVideoX) and they instantly get smarter.
- Speed: It doesn't slow the process down much. It's like adding a GPS to a car; the car drives just as fast, but it doesn't get lost.
- Consistency: The cat looks like the same cat from start to finish, and the story flows logically.
The Result
With TS-Attn, the AI can finally handle complex stories. It can generate a video where a robot arm picks up a cup, pours water, and sets it down, all in one smooth, continuous shot without the cup disappearing or the water turning into fire.
In short, TS-Attn teaches the AI to listen to the story in order, rather than trying to hear the whole story at once. It turns a chaotic jumble of instructions into a clear, step-by-step movie.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.