NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DTSGAN: Learning Dynamic Textures via Spatiotemporal Generative Adversarial Network

Xiangtian Li, Xiaobo Wang, Zhen Qi, Han Cao, Zhaoyang Zhang, Ao XiangarXiv 2024 · DOI

TL;DR

DTSGAN is a spatiotemporal generative adversarial network designed to synthesize high-quality dynamic textures (like moving clouds, waves, or fire) from a single short video clip. By using a multi-scale 3D architecture and a novel "neighboring" data update strategy, it generates diverse, visually realistic videos that maintain both spatial structure and temporal smoothness better than previous state-of-the-art methods.

What Problem Does This Paper Address?

Dynamic textures—sequences of images showing moving scenes with stationary properties in time (e.g., smoke, foliage, or flowing water)—are notoriously difficult to synthesize. The challenge lies in capturing two things simultaneously: the complex spatial patterns of the texture and the fluid, continuous motion over time.

Existing methods generally fall into two camps:

  1. Non-parametric methods: These sample pixels or patches from a source video. While they look okay frame-by-frame, they often struggle with temporal continuity, leading to "jumpy" or unrealistic motion.
  2. Parametric methods (Statistical/Deep Learning): These try to model the underlying distribution of the video. However, many current deep learning models get stuck in "local minima" or fail to capture non-local structures, resulting in blurry outputs or "mode collapse," where the model just generates the same few frames over and over.

DTSGAN aims to bridge this gap by learning from a single exemplar video to produce infinite, diverse variations that look and move naturally.

Methods

DTSGAN stands for Spatiotemporal Generative Adversarial Network. Its architecture is built on three pillars:

  • Multi-scale Pyramid Architecture: Inspired by SinGAN (which works on static images), DTSGAN uses a hierarchy of generators ($G_0$ to $G_n$). It starts by learning the "big picture" motion at a very coarse resolution and progressively adds finer details at higher scales.
  • 3D Spatiotemporal Operations: Unlike models that treat video as a stack of 2D images, DTSGAN uses 3D convolutions, 3D deconvolutions, and 3D batch normalization. This allows the model to treat the time dimension with the same importance as height and width, capturing the "volume" of motion.
  • Novel Data Update Strategy: To prevent the model from simply memorizing a single 16-frame clip (mode collapse), the authors introduce a sequential update strategy. Instead of training on the same clip or picking random clips (which can be too chaotic), the model shifts its training window to the neighboring clip every few epochs. This provides the model with more variety while keeping the training distribution stable.

The model is trained using a WGAN-GP (Wasserstein GAN with Gradient Penalty) loss for stability, combined with a reconstruction loss to ensure the generated output stays true to the original source's appearance.

Datasets

The authors evaluated their model using the Dynamic Texture DataBase (DTDB), a standard benchmark in the field. They selected 18 different categories (including geysers, escalators, flags, and clouds) to test the model's versatility across different types of motion and textures.

Key Insights and Ideas

  • The "Neighbor" Trick is Key: The most significant insight is the data update strategy. The authors found that randomly sampling clips from a long video for training led to "chaotic" results because the model couldn't find a consistent pattern. By moving to adjacent clips sequentially, the model learns the "flow" of the texture much more effectively.
  • 3D Convolutions for Temporal Logic: By using 3D kernels, the model naturally learns spatiotemporal correlations. This prevents the "flickering" common in models that generate frames individually.
  • Coarse-to-Fine Learning: Learning motion at a low resolution first allows the model to establish global dynamics (like the direction a wave is moving) before it tries to render the fine spray of the water.

Key Results

DTSGAN outperformed several baselines, including Two-Stream models, Dynamic Generators (DG), and cgCNN, in both qualitative and quantitative tests:

  • MS-SSIM (Structural Similarity): DTSGAN achieved a score of 0.621, significantly higher than the next best model (DG at 0.609), indicating better visual realism.
  • FID (Frechet Inception Distance): DTSGAN reached a low of 193.063, beating the baselines by a wide margin (the next best was ~223), which shows the generated distribution is much closer to the real video.
  • Smoothness ($\delta$-N-LPIPS): DTSGAN achieved the lowest score (0.223), proving its transitions between frames are the smoothest among the tested models.
  • User Study: In a "blind" test with 50 participants, 53.89% of people preferred DTSGAN's results over the four other competing methods.

Limitations and Future Work

  • Training Overhead: Like other single-video GANs, DTSGAN must be trained from scratch for every new dynamic texture you want to synthesize. It is not a "plug-and-play" universal generator.
  • Computational Constraints: 3D convolutions are extremely memory-intensive. Currently, the model is limited to generating 16-frame clips at a resolution of 150x150 pixels on a single GPU.
  • Future Directions: The authors suggest exploring ways to generate longer sequences and higher resolutions, perhaps by optimizing the 3D convolution layers or using more efficient architectures.

Summary updated

BibTeX
@misc{li2024dtsgan,
  author = {Xiangtian Li and Xiaobo Wang and Zhen Qi and Han Cao and Zhaoyang Zhang and Ao Xiang},
  title = {{DTSGAN: Learning Dynamic Textures via Spatiotemporal Generative Adversarial Network}},
  year = {2024},
  eprint = {2412.16948},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.16948},
}
Figure