Introduction
Text-to-video editing aims to transform existing video content based on textual descriptions—for instance, converting a person into a marble statue while preserving their original motion. Achieving this in a "zero-shot" manner using pre-trained image diffusion models like Stable Diffusion is highly desirable to avoid the prohibitive costs of video-specific training. However, existing methods frequently suffer from temporal inconsistency, leading to distracting flickering and structural "drifting" across frames.
The Challenge of Temporal Consistency
The root of the inconsistency problem often lies in the DDIM inversion process. To edit a video, frames are first "inverted" into noise latents, which are then denoised according to a new prompt. Small mathematical errors at each inversion step accumulate linearly, creating a discrepancy between the ideal and actual latents. This gap manifests as blurry textures and misaligned objects in the final rendered video.
Methodology: The WAVE Framework
WAVE (Warping DDIM Inversion Features) addresses these issues through three core innovations:
1. Flow-Guided Feature Warping
To maintain spatial alignment, WAVE utilizes optical flow (extracted via GMFlow) to propagate features from a reference keyframe to subsequent frames. An occlusion mask is calculated to identify areas where objects overlap or disappear, ensuring that only reliable spatial information is warped.
2. Randomly Shuffled DDIM Inversion
In a departure from standard sequential processing, WAVE introduces a randomly shuffled inversion process. By shuffling frame order within small groups, the framework "averages out" the linear accumulation of inversion errors. This prevents the structural drift that typically causes flickering.
3. Unified Symmetrical Framework
WAVE applies its warping strategy symmetrically during both the inversion (image-to-noise) and denoising (noise-to-image) stages. This symmetry ensures the model remains on a stable manifold, significantly improving fidelity to the original video's structure. Additionally, an "extended-attention" block allows frames to query both themselves and the video's first frame, enforcing global style consistency.
Experimental Results
WAVE was evaluated on the DAVIS dataset and custom text-video pairs generated via GPT-4.
Quantitative Performance
WAVE achieved a state-of-the-art Warp Error of 8.94, outperforming TokenFlow (10.77). This metric directly correlates with pixel-level temporal consistency. Furthermore, superior CLIP scores indicate that WAVE's edits align more accurately with text prompts than previous methods like FateZero.
Qualitative Analysis
Visual results confirm that WAVE preserves fine details—such as clothing textures or background elements—that other models often blur. It handles complex human and animal motions without the "ghosting" artifacts common in earlier zero-shot approaches.
Discussion and Limitations
While WAVE excels at preserving structure, its high fidelity can lead to structural rigidity. It may struggle with prompts requiring significant silhouette changes (e.g., changing a human into a large animal). Additionally, while latent features are consistent, the final LDM decoder can still introduce minor high-frequency flickering. Future work will explore relaxing structural constraints to allow for more creative transformations while maintaining WAVE's hallmark temporal stability.
Summary updated