Relax Forcing: Relaxed KV-Memory for Consistent Long Video Generation
This paper introduces Relax Forcing, a structured temporal memory mechanism that decomposes historical context into functional roles (Sink, Tail, and dynamic History) to mitigate error accumulation and improve motion consistency in autoregressive long video generation, demonstrating that strategic memory utilization is more critical than simply increasing memory size.
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 trying to tell a story that lasts for an hour. You are the storyteller, and every minute, you have to make up the next scene based on what you just said.
This is exactly what AI video generators do when they create long videos. They look at the last few seconds of the video they just made and try to guess what happens next.
The problem? As the story gets longer, the AI starts to get confused. It forgets who the main character is, the background starts to glitch, or the movement becomes stiff and repetitive. In the paper, the authors call this "temporal drift"—it's like a storyteller who starts the tale with a brave knight but, by the end, has forgotten the knight exists and is now talking about a confused potato.
The Old Way: The "Brick Wall" Memory
Previous methods tried to solve this by giving the AI a massive memory bank. They said, "Remember everything you've ever generated!"
Think of this like trying to remember a 1-hour movie by staring at a wall covered in every single frame of the movie.
- The Good: You remember the beginning.
- The Bad: The wall is so crowded with information that the AI gets overwhelmed. It focuses too much on the very last thing it saw (the "Tail"), causing the video to get stuck in a loop. Or, it gets so confused by the sheer volume of old data that it forgets the overall plot.
The New Solution: "Relax Forcing"
The authors of this paper realized that more memory isn't better; smarter memory is better.
They introduced a system called Relax Forcing. Instead of stuffing the AI's brain with every single frame, they organize the memory into three specific roles, like a well-managed film crew:
1. The Anchor (The "Sink")
- What it is: A few frames from the very beginning of the video.
- The Analogy: Imagine a lighthouse. No matter how far the ship (the video) sails, the lighthouse stays in the same spot, reminding the ship where it started.
- Why it helps: It stops the AI from forgetting the main character's face or the original setting. It keeps the "identity" of the video consistent.
2. The Bridge (The "History")
- What it is: A few carefully selected frames from the middle of the video.
- The Analogy: Think of a movie director looking at the script for the last 10 minutes to ensure the plot makes sense. They don't look at the entire script, just the relevant parts that explain why the character is moving the way they are.
- Why it helps: The AI picks the most interesting middle frames to understand the flow of action. This prevents the video from becoming stiff or repetitive.
3. The Immediate Context (The "Tail")
- What it is: The very last few frames generated.
- The Analogy: This is the "what just happened?" moment. It ensures the new scene connects smoothly to the one before it, like a dancer matching their partner's current step.
- Why it helps: It keeps the motion smooth and logical for the immediate next second.
How It Works: The "Relaxed" Selection
The magic of Relax Forcing is in how it picks the "Bridge" (History) frames.
In the old days, the AI would just grab the last 100 frames. In this new method, the AI asks itself:
- "Does this old frame look like the beginning (The Anchor)?" (Good! Keep it for stability.)
- "Does this old frame look exactly like the very last frame (The Tail)?" (Bad! It's redundant. Throw it away.)
It only keeps the frames that are unique enough to be interesting but similar enough to the start to keep the story consistent. It's like a librarian who doesn't just keep every book ever written, but curates a specific shelf of the most relevant stories to help you write the next chapter.
The Result
By using this "Relaxed" approach, the AI can generate videos that are minutes long (up to 60 seconds in their tests) without:
- The character changing faces.
- The background melting away.
- The movement becoming robotic.
In short: The paper teaches us that to tell a long story, you don't need to remember everything. You just need to remember the start, the middle, and the now, while ignoring the boring, repetitive parts in between. This makes the AI a much better storyteller.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.