StableVideo: Text-driven Consistency-aware Diffusion Video Editing

Wenhao Chai, Xun Guo, Gaoang Wang, Yan Lu

Abstract

StableVideo is a novel framework designed to achieve high-fidelity, temporally consistent text-driven video editing. By integrating the generative capabilities of diffusion models with a layered atlas representation, the system ensures that edited objects maintain structural and appearance consistency across frames, even under complex camera motion. This approach effectively mitigates the "flickering" artifacts common in frame-by-frame diffusion editing.

1. Introduction

The advent of diffusion models has transformed image synthesis and editing. However, extending these capabilities to video remains challenging due to the lack of temporal continuity. Naive frame-by-frame editing typically results in significant flickering, as the stochastic nature of diffusion models generates inconsistent details for the same object across different time steps.

Existing approaches generally fall into two categories: motion-centric models that prioritize smooth movement at the expense of fine-grained detail, and atlas-based models that attempt to edit a flattened 2D representation. The latter often suffers from distortions in the unwrapped maps, leading to unrealistic textures. StableVideo addresses these issues by introducing a consistency-aware propagator that synchronizes appearance and geometry.

2. Methodology

StableVideo treats video editing as a combined problem of generation and propagation, utilizing a multi-stage pipeline that leverages the strengths of both neural representations and generative priors.

2.1 Neural Layered Atlas (NLA) Backbone

The framework utilizes a Neural Layered Atlas to decompose the input video into discrete foreground and background atlases. This decomposition provides a global coordinate system that maps pixels across the temporal dimension, effectively "unwrapping" the video into a canonical space. This allows the model to understand the "where" of an object throughout the entire sequence.

2.2 Keyframe Editing and Propagation

A critical insight of StableVideo is that diffusion models perform significantly better on natural images than on distorted, abstract atlas maps. Consequently, the system edits a sparse set of keyframes using a modified Stable Diffusion model.

To maintain consistency between these keyframes and the rest of the sequence, the researchers developed an inter-frame propagation mechanism. This mechanism warps the appearance of a previously edited frame onto the current frame using the atlas coordinates. A controlled diffusion process—involving the addition of noise and subsequent denoising—refines the warped frame to ensure realism while remaining anchored to the established appearance.

2.3 Aggregation and Rendering

The edited keyframes are processed by a lightweight 3D convolutional aggregation network. This network merges the disparate edits into a single, clean "Edited Foreground Atlas." This master atlas serves as the source for rendering the final, flicker-free video, ensuring that the object's identity remains constant throughout the sequence.

3. Experimental Evaluation

The authors evaluated StableVideo primarily using the DAVIS (Densely Annotated Video Segmentation) dataset, a standard benchmark featuring diverse moving objects and varying camera angles.

3.1 Quantitative Results

StableVideo demonstrates superior temporal stability compared to existing baselines. Using the LPIPS-T metric, which measures perceptual change between adjacent frames, StableVideo achieved a score of 0.0386. This is a significant improvement over Tune-A-Video, which scored 0.1851, indicating a much higher level of temporal consistency.

3.2 Qualitative Performance

The model excels in maintaining geometric fidelity. For instance, in a sequence where a car is edited into an "orange SUV," StableVideo preserves the specific vehicle's identity throughout a 360-degree rotation. In contrast, competing models often exhibit "identity drift," where the car's model or color shifts during the turn. The model also shows versatility across both rigid (cars, boats) and non-rigid (bears, pandas) subjects.

4. Discussion

4.1 The Role of Noise

The authors identified a "sweet spot" for the noise strength parameter, $t_0$. Through binary search, they determined that a value of approximately 0.8 balances creative flexibility with structural preservation. This allows the model to change an object's appearance significantly without losing the original motion and shape.

4.2 Separation of Concerns

By editing foreground and background separately, the model can perform complex compositing edits. This allows users to place a specific edited object into a completely different environment—such as a snowy landscape or a city street—without the layers bleeding into each other.

4.3 Efficiency

Despite its multi-stage complexity, the inference process is efficient. A 70-frame video can be processed in approximately 30 seconds on a single NVIDIA A40 GPU, making it viable for practical creative workflows.

5. Limitations and Future Work

While effective for many scenarios, the reliance on NLA presents challenges for extreme non-rigid deformations, such as complex human movement or fluttering fabric. In such cases, the atlas mapping can fail, leading to "ghosting" artifacts. Additionally, the quality of the edit is inherently capped by the underlying Stable Diffusion model. Future research may focus on aligning diffusion outputs more closely with reconstructed atlases to better handle complex, non-rigid motions.

6. Conclusion

StableVideo represents a significant step forward in text-driven video editing. By decoupling the generation of high-quality textures from the enforcement of temporal consistency via a layered atlas, it provides a robust solution to the flickering problem that has long plagued video diffusion models.

Summary updated

BibTeX
@inproceedings{chai2023stablevideo,
  author = {Wenhao Chai and Xun Guo and Gaoang Wang and Yan Lu},
  title = {{StableVideo: Text-driven Consistency-aware Diffusion Video Editing}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
}
Figure