All models

First Order Motion Model

Animates a still image from a driving video using learned keypoints and local affine motion.

Diffusion and generative · 391 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (337 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
59.8M
Operations
391
Framework
PyTorch
Recurrent
Yes
Published
NeurIPS 2019
Cited by
585 (as of 27 October 2026)
Authors
Aliaksandr Siarohin, Stéphane Lathuilière, Sergey Tulyakov and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m16682
Graph hash
9b488aad4a0e6fb05e1bc8d242ab45b0ec149c82141fcfbc65fad031c319ae33
Skeleton hash
d2831628f9de2e821e98ceba14c3659f4010fdd777759cdace9e403babdeae3e
Architecture hash
d436d499d8992e65f39880259a992fde2a29e490a8e5edd70ed435f45d813f11
Diagram SHA-256
09dd782192cccda3080e2e0519eaed1f35297aaefeff44a1532a6e7bd36c982f
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

First Order Motion Model (FOMM) animates a still image: it generates a video in which the object in a source image moves the way the object in a driving video moves. It needs no annotation or prior information about the particular object being animated. Once trained on videos of one object category, such as faces or human bodies, it can be applied to any object of that category.

The method separates appearance from motion with a self-supervised formulation. Motion is represented by a set of learned keypoints, each with a local affine transformation, so that complex motions can be followed. A generator network then combines the appearance taken from the source image with the motion derived from the driving video, and models the occlusions that arise as the object moves.

The paper appeared at NeurIPS 2019. Its authors report that the framework scored best on diverse benchmarks and on a variety of object categories. The repository shows example animations on the VoxCeleb, Fashion and MGIF datasets, with a separate network trained for each. The code can animate with absolute or with relative keypoint locations. The relative mode usually performs better, but it requires the object in the first frame of the driving video and in the source image to have the same pose.

Key idea. The paper animates a still image from a driving video using learned keypoints with local affine transformations and an occlusion-aware generator, without annotations or object-specific priors.

  • First Order Motion Model
  • FOMM
  • first-order-model
  • image animation
  • motion transfer
  • driving video
  • video generation
  • learned keypoints

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{siarohin2020ordermotionmodelimage,
      title={First Order Motion Model for Image Animation}, 
      author={Aliaksandr Siarohin and Stéphane Lathuilière and Sergey Tulyakov and Elisa Ricci and Nicu Sebe},
      year={2020},
      eprint={2003.00196},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2003.00196}, 
}