Unsupervised Discovery of Parts, Structure, and Dynamics

Zhenjia Xu, Zhijian Liu, Chen Sun, Kevin Murphy, William T. Freeman, Joshua B. Tenenbaum, Jiajun Wu

TL;DR

The Parts, Structure, and Dynamics (PSD) model learns to segment objects into hierarchical parts and predict their future motion purely by watching unlabeled videos. By treating global motion as the sum of a parent's motion and a local offset, the model discovers complex structural relationships—like limbs attached to a torso—without a single human-provided label.

The Challenge: Learning Without Labels

In computer vision, we often rely on massive datasets of human-annotated bounding boxes or masks to teach machines what an "object" is. However, humans—even infants—learn the concept of objects and their parts simply by watching things move. If two regions of pixels consistently move together, they are likely part of the same object; if they move relative to each other in a constrained way, they likely share a hierarchical bond (like a forearm attached to an upper arm).

Overview of the PSD model's capabilities: from visual observations to part recognition, hierarchical structure, and motion prediction.

The challenge is building an artificial system that can replicate this: learning an interpretable, hierarchical representation of the world directly from raw video pixels without any supervision. Most existing unsupervised models either fail to capture the hierarchy of parts or ignore the underlying dynamics of how things move over time.

The PSD Model Architecture

The authors introduce the PSD (Parts, Structure, and Dynamics) model, framed as a conditional variational autoencoder (VAE). The architecture consists of several key components designed to disentangle structure and motion:

  • Motion and Image Encoders: The model takes a pair of video frames, extracting spatial features from the first frame and encoding the motion between the frames into a latent representation.
  • Hierarchical Motion Decomposition: This is the model's core innovation. It assumes that any part's global motion is the sum of its parent's motion and its own local motion. For example, a hand's motion is the body's motion plus the arm's motion plus the hand's specific movement.
Hierarchical motion decomposition showing how the motion of child parts (legs) relates to the parent part (torso).
  • Structural Descriptor: A fully differentiable module learns a "structural matrix" that defines the parent-child relationships between discovered parts. Incentivized by a structural loss to be efficient, it naturally discovers a tree-like hierarchy to explain complex movements with the simplest possible local components.
  • Cross-Convolution and Synthesis: The model uses learned latent kernels to isolate specific parts from the image feature maps, then applies the predicted motions to synthesize the next frame in the sequence.

Datasets and Evaluation

The model was evaluated on a mix of synthetic and real-world datasets to test its versatility:

  • Synthetic Shapes: Circles, triangles, and squares moving with programmed hierarchical dependencies.
  • Moving MNIST: Hand-written digits grouped into pairs that move together.
  • Atari Basketball: Frames from the classic game where the ball's motion depends on the offensive player.
  • Human Exercise & Yoga: Real-world videos of humans performing various movements, requiring the model to segment torsos, arms, and legs.

Key Insights

  • Hierarchy as an Efficiency Gain: The model discovers structure because of an "information bottleneck." It is easier for the neural network to describe a hand's motion as a small offset from an arm than to calculate its entire global trajectory from scratch. Hierarchy emerges as the most compressed way to represent the world.
  • Motion Reveals Parts: In static images, it's hard to tell where a torso ends and an arm begins if the colors are similar. By watching them move independently, the model uses motion as the primary signal for segmentation.
  • Interpretable Latent Space: Unlike standard "black box" VAEs, the dimensions in PSD’s latent space correspond to specific physical objects or parts.

Performance and Results

  • Segmentation Accuracy: On the shapes dataset, PSD achieved an Intersection over Union (IoU) of 0.81–0.93, significantly outperforming baselines like R-NEM (~0.54–0.58).
  • Real-World Performance: On the human exercise dataset, PSD achieved an overall IoU of 0.474, nearly doubling the performance of the R-NEM baseline (0.276). It successfully identified parts like the "upper torso" and "arms" entirely without supervision.
  • Structure Recovery: The model correctly recovered the "tree" of the human body (limbs attached to torso) and the game logic of Atari (the ball follows the player).
  • Future Synthesis: PSD can generate multiple plausible future frames by sampling different motions from its learned dynamics distribution, producing sharper results with fewer artifacts than competing methods.

Limitations and Future Work

While groundbreaking, the PSD model has limitations. Currently, it operates on 2D Lagrangian motion (optical flow) and does not account for 3D rotations or depth, which are crucial for complex real-world scenes. Additionally, training relies on pairs of frames; extending this to longer temporal sequences could allow the model to learn more complex, long-term dynamics. Finally, distinguishing between very similar motions—like two arms moving in perfect sync—remains a significant challenge for unsupervised systems.

Summary updated

BibTeX
@inproceedings{xu2019unsupervised,
  author = {Zhenjia Xu and Zhijian Liu and Chen Sun and Kevin Murphy and William T. Freeman and Joshua B. Tenenbaum and Jiajun Wu},
  title = {{Unsupervised Discovery of Parts, Structure, and Dynamics}},
  booktitle = {International Conference on Learning Representations},
  year = {2019},
}
Figure