Conditional Object-Centric Learning from Video

Thomas Kipf, Gamaleldin Fathy Elsayed, Aravindh Mahendran, Austin Stone, Sara Sabour, Georg Heigold, Rico Jonschkowski, Alexey Dosovitskiy, Klaus Greff

TL;DR

The authors introduce Slot Attention for Video (SAVi), a model that learns to decompose complex video scenes into individual objects without full supervision. By leveraging temporal dynamics (optical flow) and minimal "hints" (like a single center-of-mass coordinate), SAVi bridges the gap between toy datasets and realistic synthetic environments, enabling robust object tracking and flexible "part-whole" segmentation.

What Problem Does This Paper Address?

Object-centric representation learning aims to build "compositional world models"—systems that understand a scene as a collection of independent entities rather than just a grid of pixels. While recent unsupervised methods (like the original Slot Attention) have shown promise on simple 2D sprites or basic 3D shapes, they notoriously fail to scale to realistic data with complex textures and backgrounds.

The core challenge is ambiguity: without labels, how does a model know what constitutes an "object"? In complex scenes, statistical patterns in static images aren't enough. This paper addresses this by using motion as a natural grouping cue and weak conditioning (hints) to resolve ambiguity about the desired level of granularity (e.g., "track the whole car" vs. "track the wheels").

Methods

The authors propose SAVi, a sequential extension of the Slot Attention architecture. It operates on a "Predictor-Corrector" loop for each video frame.

SAVi Architecture
  1. Encoder: A CNN processes the video frame into visual features.
  2. Initializer: Latent "slots" are initialized. Crucially, they can be conditioned on hints (like a bounding box or center-of-mass point) provided only in the first frame.
  3. Corrector: Uses Slot Attention (a competitive cross-attention mechanism) to update the latent slots based on the current frame's visual features. This "binds" slots to specific regions of the image.
  4. Predictor: A Transformer-based module that models temporal dynamics and object interactions, predicting the state of the slots for the next time step.
  5. Decoder: A spatial broadcast decoder reconstructs the target signal from the slots.

The Training Objective: Instead of just reconstructing RGB pixels, SAVi is primarily trained to predict optical flow. Because objects tend to move as coherent units, optical flow provides a powerful self-supervised signal for discovering object boundaries in textured environments.

Datasets

The paper evaluates SAVi on a progression of increasingly difficult synthetic datasets:

MOVi++ Dataset Example
  • CATER: A standard benchmark for object-centric learning with simple geometric shapes.
  • MOVi (Multi-Object Video): Introduced in this work (via the Kubric tool), featuring more complex physics and occlusions.
  • MOVi++: The most challenging set, using 3D-scanned everyday objects (shoes, toys) and high-resolution real-world HDR photo backgrounds. This represents a significant step up in visual complexity from prior benchmarks.

Key Insights and Ideas

  • Motion as Supervision: Optical flow is a "free" signal in video that effectively tells the model which pixels belong together. The authors found that even estimated flow from an unsupervised model (like SMURF) works almost as well as ground-truth flow.
  • The Power of Hints: Providing a single point (center of mass) in the first frame is enough to "seed" a slot. This minimal supervision allows the model to track specific objects through heavy occlusions and complex textures where purely unsupervised methods fail.
  • Flexible Granularity: One of the most striking "aha" moments is that SAVi can be "steered" at inference time. If you give it a hint for a whole object, it tracks the whole. If you give it hints for parts (e.g., the screen vs. the keyboard of a laptop), it learns to track those parts independently, even if it wasn't specifically trained on that part-whole hierarchy.
  • Generalization: The model generalizes remarkably well to longer video sequences (4x longer than training), novel objects, and novel backgrounds it has never seen before.

Key Results

  • State-of-the-Art on Realistic Data: On MOVi++, SAVi achieves a 77.4% FG-ARI (a clustering metric for segmentation) when conditioned on bounding boxes, compared to just 22.7% for the previous state-of-the-art unsupervised model, SCALOR.
  • Robustness to Noise: The model remains effective even when the initial hints are noisy (up to 20% displacement from the true object center).
  • Static Transfer: Despite being trained on motion, a trained SAVi model can accurately segment static images by simply repeating the same frame twice, showing it has learned a robust visual representation of objects.

Limitations and Future Work

  • Rigid Objects: The current experiments focus on rigid body dynamics. Handling highly deformable objects (like cloth or liquids) remains an open challenge.
  • Reliance on Motion: Since the model relies on flow for training, it struggles with objects that remain perfectly static throughout a video.
  • The "Flow Gap": While estimated flow works, the model still performs best with high-quality flow. In real-world videos with complex lighting and shadows, flow estimation is less reliable, which might hinder performance.
  • Scaling to Real World: While MOVi++ is a big step forward, it is still synthetic. Bridging the gap to unconstrained, real-world video (like YouTube clips) is the ultimate goal.

Summary updated

BibTeX
@inproceedings{kipf2022conditional,
  author = {Thomas Kipf and Gamaleldin Fathy Elsayed and Aravindh Mahendran and Austin Stone and Sara Sabour and Georg Heigold and Rico Jonschkowski and Alexey Dosovitskiy and Klaus Greff},
  title = {{Conditional Object-Centric Learning from Video}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=aD7uesX1GF_},
}
Figure