Generative Image Dynamics

Zhengqi Li, Richard Tucker, Noah Snavely, Aleksander Holynski

Introduction

Animating a single still image is a fundamental challenge in computer vision, requiring the prediction of realistic motion from a static scene. While humans can intuitively imagine how a flower might sway or trees might rustle, computationally modeling this is difficult due to the multi-modal nature of motion and the need to adhere to physical laws. Researchers from Google have introduced a novel generative model that addresses these challenges by predicting pixel-level oscillatory motion, enabling the creation of seamless looping videos and interactive physical simulations from a single photograph.

The Challenge of Single-Image Animation

Existing approaches to image animation often struggle with long-term temporal consistency. Autoregressive models, which predict motion frame-by-frame, frequently suffer from "drifting" or "melting" artifacts where the scene's structure degrades over time. Conversely, direct video generation models often fail to preserve the fine details and identity of objects from the original input image. Furthermore, most current systems lack interactivity; they produce a fixed animation rather than a dynamic environment that a user can manipulate.

Methodology: Motion in the Frequency Domain

The core innovation of this work is the shift from predicting motion in the pixel domain to modeling it in the Fourier domain using "spectral volumes."

Spectral Volumes and Image-Space Modal Basis

Instead of predicting RGB values for future frames, the model predicts a set of Fourier coefficients for every pixel. This representation, termed a spectral volume, treats the motion trajectory of each pixel as a sum of harmonic oscillators. This approach is inspired by structural engineering concepts like the "modal basis," which describes how a physical structure naturally vibrates. By predicting these coefficients, the system effectively learns a prior for natural oscillatory motion.

Overview of the Generative Image Dynamics pipeline, showing the transition from a still image to a spectral volume and finally to looping or interactive video.

Frequency-Coordinated Diffusion

The system utilizes a Latent Diffusion Model (LDM) to generate these spectral volumes. To ensure coherence across different frequencies, the authors developed a "frequency-coordinated" denoising strategy. This involves interleaving standard spatial layers with specialized attention layers that operate across the frequency axis. This synchronization ensures that the predicted "rhythms" of different pixels are physically plausible and spatially consistent.

Rendering and Interaction

Once the spectral volume is predicted, the original image is warped using "softmax splatting" based on the derived motion trajectories. A synthesis network then processes these warped features to fill in disocclusions (holes) and produce the final video frames. Because the motion is represented as a modal basis, users can interact with the image—for instance, by "poking" a flower—and the system can simulate the resulting vibration in real-time.

Key Results and Evaluation

The model was trained on a custom dataset of over 3,000 videos of natural scenes, resulting in 150,000 image-motion pairs. Evaluation against state-of-the-art benchmarks demonstrated significant improvements in both realism and stability.

Quantitative and Qualitative Performance

On the Fréchet Video Distance (FVD) metric, the proposed method achieved a score of 47.1, vastly outperforming the next best baseline, which scored 166.0. In user preference studies, participants chose the animations generated by this method 80.9% of the time over large-scale video diffusion models like Gen-2.

Qualitative comparison of the proposed method against several baselines, demonstrating superior temporal consistency and detail preservation.

Unlike autoregressive models, this approach maintains constant quality over time because the global motion is defined by the spectral volume, preventing the accumulation of errors.

Limitations and Future Directions

While highly effective for oscillatory motion (like wind-blown foliage), the model is currently limited to "natural rhythms." It cannot yet handle non-periodic or transient motions, such as a car driving through a scene. Additionally, large motions can sometimes reveal disocclusions that the synthesis network struggles to fill perfectly, and extremely thin structures may exhibit ghosting artifacts. Future research may focus on expanding the motion prior to include more complex, non-oscillatory actions and integrating these spectral representations into larger foundation models.

Summary updated

BibTeX
@inproceedings{li2023generative,
  author = {Zhengqi Li and Richard Tucker and Noah Snavely and Aleksander Holynski},
  title = {{Generative Image Dynamics}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure