AI
New technique stabilizes AI video generation by reweighting attention patterns
Researchers introduce ViDE, a method to eliminate flickering and inconsistencies in long-form AI-generated videos without additional fine-tuning.
Generating coherent long-form videos with artificial intelligence has proven challenging, particularly when transitioning between multiple prompts or descriptive commands. A new framework called Video Diffusion with hidden states Editing (ViDE) aims to solve this problem by adjusting how the underlying AI models pay attention to temporal information.
The core problem#
Existing video generation systems struggle with two main issues: inconsistencies that emerge when extending videos beyond their training length, and rough transitions when switching between different text prompts. These problems arise from mismatches between how models are trained and how they're deployed in practice.
How ViDE works#
ViDE tackles these challenges through two complementary techniques:
-
Time-frequency based Temporal Attention Reweighting (TiTAR): This algorithm identifies and adjusts specific attention patterns that correlate with visual inconsistencies. It uses a mathematical tool called the Discrete Short-Time Fourier Transform to reweight attention scores, reducing frame-to-frame flickering and jitter without retraining the model.
-
PromptBlend: This component handles multi-prompt scenarios by performing fine-grained alignment between different text descriptions and then interpolating smoothly between them. The result is more natural semantic transitions as the video evolves.
What makes it practical#
The key advantage of ViDE is that it requires no additional model fine-tuning or training—researchers can apply it to existing video generation systems as a post-processing step. Experiments show consistent improvements across multiple baseline models, suggesting the approach is broadly applicable to different video synthesis architectures.

