Two-Stream Convolutional Networks for Dynamic Texture Synthesis

Matthew Tesfaldet, Marcus A. Brubaker, Konstantinos G. Derpanis

Introduction

Dynamic textures, such as flickering flames, billowing smoke, or flowing water, are characterized by both their spatial appearance and their temporal evolution. While static texture synthesis has advanced significantly through Neural Style Transfer, extending these techniques to the temporal domain remains challenging. This paper presents a framework that factorizes dynamic textures into two independent components: appearance and dynamics. By using separate deep networks to capture these traits, the authors achieve high-quality synthesis and enable a novel "dynamics style transfer" capability.

Two-Stream Architecture

The core of the proposed method is a two-stream convolutional neural network (CNN) architecture, inspired by the biological separation of the "ventral" (what) and "dorsal" (where/how) pathways in the human visual system.

The two-stream architecture separates appearance and dynamics to synthesize new video volumes through iterative optimization.

Appearance Stream

The appearance stream captures the per-frame visual characteristics of the texture. It utilizes a pre-trained VGG-19 network to extract feature maps. By calculating Gram matrices—which represent the correlations between different filter responses—the model captures the spatial statistics that define the texture's "look" without being tied to specific pixel locations.

Dynamics Stream

The dynamics stream is designed to capture the temporal essence of the motion. This component uses a custom ConvNet based on spacetime-oriented energy models. While the network is trained to predict optical flow, the synthesis process leverages its internal representations (specifically from concatenation layers) to capture the distribution of motion orientations across $x$, $y$, and $t$ dimensions. This "distributed" motion energy representation is more robust for textures with complex, overlapping movements than raw optical flow vectors.

Synthesis and Style Transfer

Synthesis is framed as an optimization problem. Starting from a volume of white noise, the L-BFGS algorithm iteratively updates the pixels to minimize a loss function. This loss is the sum of the differences between the Gram matrices of the noise volume and those of the target appearance and dynamics sources.

A significant advantage of this factorization is Dynamics Style Transfer. By decoupling the streams, the system can apply the motion patterns of one video (e.g., a real waterfall) to the appearance of another source (e.g., a static painting), effectively animating the static image with realistic dynamics.

Experimental Results

The model was evaluated using the DynTex database and a user study on Amazon Mechanical Turk (AMT).

Comparison between original video sequences and synthesized results for various dynamic textures like fire, lava, and smoke.

Qualitative results demonstrate that the model excels at stochastic textures like fire, smoke, and lava, where local variations are random but statistically consistent. In the AMT study, users struggled to distinguish synthesized textures from real ones during short exposures (0.3s), correctly identifying the real video only 66% of the time (where 50% is a random guess). While accuracy improved with longer viewing times, the results confirm high perceptual realism for many natural phenomena.

Limitations and Future Work

Despite its success, the model assumes spatial and temporal stationarity. It struggles with textures that have strong global structures or perspective changes, such as a rippling flag or an escalator. Furthermore, the iterative optimization process is computationally intensive. The authors suggest that future work should explore feed-forward generative models to enable real-time dynamic texture synthesis.

Summary updated

BibTeX
@inproceedings{tesfaldet2018two,
  author = {Matthew Tesfaldet and Marcus A. Brubaker and Konstantinos G. Derpanis},
  title = {{Two-Stream Convolutional Networks for Dynamic Texture Synthesis}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00701},
}
Figure