Ponymation: Learning Articulated 3D Animal Motions from Unlabeled Online Videos

Keqiang Sun, Dor Litvak, Yunzhi Zhang, Hongsheng Li, Jiajun Wu, Shangzhe Wu

TL;DR

Ponymation is a generative framework that learns to create articulated 3D animal motions by watching raw, unlabeled web videos. By bypassing the need for expensive 3D scans or manual pose annotations, it can transform a single static image into a plausible 4D animation in just a few seconds.

What Problem Does This Paper Address?

While 3D human motion synthesis has flourished thanks to standardized parametric models (like SMPL) and massive motion-capture datasets, animals have been left in the dust. Collecting high-quality 3D data for animals is logistically difficult and expensive, often requiring specialized multi-view setups or invasive markers.

Existing "in-the-wild" methods typically rely on heavy manual supervision, such as keypoint labels or pre-defined shape templates. The authors of Ponymation set out to bridge this gap by learning a generative motion model directly from the vast, unstructured repository of animal videos available on the internet, without any human-provided labels.

Methods

The core of the approach is a video Photo-Geometric Auto-Encoding framework. Instead of just predicting a 3D shape, the model learns to decompose a video clip into explicit components: a rest-pose 3D mesh, instance-specific deformations, texture, camera viewpoints, and a sequence of articulated 3D poses.

The Ponymation training pipeline decomposes unlabeled video into 3D shape, texture, and motion via a VAE and differentiable renderer.

Key technical innovations include:

  • Spatio-Temporal Transformer VAE: The model uses a spatial transformer to extract bone-specific features from individual frames and a temporal transformer to aggregate these into a latent motion code. This code is then decoded back into a sequence of 3D rotations for a skeleton.
  • Self-Supervised Semantic Correspondence: To understand which part is which without labels, the model leverages features from a pre-trained DINO-ViT. These features act as a "semantic glue," helping the model realize that a horse's leg in one video corresponds to a leg in another, even with different appearances and viewpoints.
  • Differentiable Rendering: The entire system is trained end-to-end by re-rendering the predicted 3D sequence and comparing it to the original video frames using reconstruction losses on RGB pixels, masks, and DINO features.
  • Two-Stage Training: To handle the highly ill-posed nature of the task, the authors first pre-train a monocular 3D reconstruction model and then use its predictions as a "teacher" to guide the more complex Motion VAE.

Datasets

  • AnimalMotion Dataset: A new collection introduced by the authors containing 82.6k frames across 816 sequences of horses, zebras, giraffes, and cows sourced from the internet.
  • PASCAL VOC & APT-36K: Used for quantitative evaluation. APT-36K is particularly valuable as it provides 2D keypoint annotations for animal video clips, allowing the authors to measure geometric accuracy and temporal consistency.

Key Insights and Ideas

  • Video is a Better Teacher than Images: By training on sequences rather than independent frames, the model learns temporal smoothness and physical plausibility that single-image methods often miss.
  • Skeleton Heuristics Work: Even a simple, coarse skeleton (e.g., a "quadruped" chain of bones) provides enough of a geometric constraint to make unsupervised learning tractable.
  • Generative vs. Reconstructive: By learning a VAE over motions, the model doesn't just copy what it sees; it learns a distribution of "how horses move," allowing it to sample entirely new, diverse animations.

Key Results

Ponymation significantly outperforms previous state-of-the-art methods in both reconstruction and motion generation:

  • Reconstruction: On the PASCAL VOC horse dataset, it achieved a 48.0% PCK (Percentage of Correct Keypoints), surpassing the previous best (MagicPony) at 42.8%.
  • Motion Quality: In a user study, participants preferred Ponymation's generated motions over those from 4D-fy (a recent text-to-4D diffusion model) 83% of the time.
  • Motion Strength: Quantitatively, Ponymation produced much more dynamic movement (Motion Strength of 4.66) compared to 4D-fy (0.29), which often produced nearly static results.
Examples of 4D animations generated from single input images across different species.

Limitations and Future Work

Despite its success, the model has a few hurdles to clear:

  • Fixed Topology: It relies on a pre-defined skeleton. If you want to animate a spider or a bird, you have to manually define a new bone structure. Future work could involve the joint discovery of the skeleton and motion.
  • The "Curious Legs" Problem: Because DINO features are sometimes symmetric, the model can occasionally confuse left and right legs when viewed from the side, leading to "leg swapping" artifacts.
  • Fine Details: While the motion is plausible, very fine-grained details (like individual muscle movements or complex facial expressions) are not yet captured.

Summary updated

BibTeX
@inproceedings{sun2024ponymation,
  author = {Keqiang Sun and Dor Litvak and Yunzhi Zhang and Hongsheng Li and Jiajun Wu and Shangzhe Wu},
  title = {{Ponymation: Learning Articulated 3D Animal Motions from Unlabeled Online Videos}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73232-4\_6},
}
Figure