S2DM: Sector-Shaped Diffusion Models for Video Generation

Haoran Lang, Yuxuan Ge, Zheng TianarXiv 2024

Abstract

Diffusion models have achieved great success in image generation. However, when leveraging this idea for video generation, we face significant challenges in maintaining the consistency and continuity across video frames. This is mainly caused by the lack of an effective framework to align frames of videos with desired temporal features while preserving consistent semantic and stochastic features. In this work, we propose a novel Sector-Shaped Diffusion Model (S2DM) whose sector-shaped diffusion region is formed by a set of ray-shaped reverse diffusion processes starting at the same noise point. S2DM can generate a group of intrinsically related data sharing the same semantic and stochastic features while varying on temporal features with appropriate guided conditions. We apply S2DM to video generation tasks, and explore the use of optical flow as temporal conditions. Our experimental results show that S2DM outperforms many existing methods in the task of video generation without any temporal-feature modelling modules. For text-to-video generation tasks where temporal conditions are not explicitly given, we propose a two-stage generation strategy which can decouple the generation of temporal features from semantic-content features. We show that, without additional training, our model integrated with another temporal conditions generative model can still achieve comparable performance with existing works.

Introduction

While diffusion models excel at high-fidelity image synthesis, generating temporally consistent video remains a significant hurdle. The primary challenge is "stochastic drift"—the tendency for independent noise sampling to produce inconsistent details across frames, leading to visual flickering. Current state-of-the-art approaches often introduce complex temporal attention layers or 3D convolutions to enforce consistency. However, these modules are computationally expensive and often lack interpretability. This paper introduces the Sector-Shaped Diffusion Model (S2DM), a framework that ensures consistency by design through a shared-noise geometric approach.

Methods

The S2DM framework reinterprets the diffusion process geometrically. Instead of treating video frames as independent samples, it treats them as a collection of ray-shaped reverse diffusion processes branching out from a single initial noise point ($x_T$).

Shared Noise Origin

By using the exact same noise sequence to perturb every frame during the forward process, the model ensures that the reverse generation process begins from a common origin. This creates a "sector-shaped" region in the latent space where all generated frames share the same semantic and stochastic "DNA."

Decoupled Conditioning

S2DM utilizes a dual-conditioning mechanism to guide frame generation:

  • Semantic Condition ($c$): Global context (e.g., text prompts or reference images) that remains constant across the video.
  • Temporal Condition ($y^i$): Frame-specific motion guidance, such as optical flow.

For tasks where temporal conditions are not explicitly provided (e.g., text-to-video), a two-stage strategy is employed: a motion-generation model first produces optical flow from the text prompt, which S2DM then uses to synthesize the final consistent frames.

Results

The model was evaluated on the Multi-modal Human Action Dataset (MHAD) and the MUG Facial Expression Dataset. S2DM demonstrated superior performance in maintaining identity and detail consistency.

Quantitative Performance

On the MHAD dataset, S2DM achieved a Fréchet Video Distance (FVD) of 99.02, a substantial improvement over the baseline LFDM (148.58). Ablation studies confirmed that the shared noise origin is critical; using independent noise points for each frame degraded the FVD to 114.28.

Qualitative results of S2DM on MHAD and MUG datasets, demonstrating consistent generation across various actions and expressions.

Qualitative Analysis

As shown in the figure above, S2DM successfully preserves fine-grained details—such as clothing patterns, facial features, and background elements—across complex motion sequences. The decoupling of content and motion allows for stable generation without the jitter common in models relying solely on temporal attention.

Conclusion

S2DM offers a novel and efficient approach to video generation by leveraging a shared-noise origin to ensure spatio-temporal consistency. By decoupling semantic content from temporal motion, the model achieves high-quality results without the need for complex, black-box temporal modules. Future research will focus on incorporating more diverse temporal conditions and scaling the approach to complex, multi-object scenes. Project results and code are available at https://s2dm.github.io/S2DM/.

Summary updated

BibTeX
@misc{lang2024s,
  author = {Haoran Lang and Yuxuan Ge and Zheng Tian},
  title = {{S2DM: Sector-Shaped Diffusion Models for Video Generation}},
  year = {2024},
  eprint = {2403.13408},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.13408},
}
Figure