NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multi-Object Representation Learning with Iterative Variational Inference

Klaus Greff, Raphaël Lopez Kaufmann, Rishabh Kabra, Nick Watters, Christopher Burgess, Daniel Zoran, Loic Matthey, Matthew Botvinick, Alexander Lerchner

TL;DR

This paper introduces IODINE, a novel unsupervised method for learning representations of complex scenes with multiple objects. IODINE jointly learns to segment objects and represent their disentangled features, demonstrating impressive generalization to unseen numbers of objects and feature combinations, and handling ambiguous scene decompositions.

What Problem Does This Paper Address?

Current representation learning methods often focus on single objects or treat segmentation as a separate, supervised preprocessing step. However, real-world visual scenes are composed of multiple objects in varying configurations, often partially occluded. Learning representations that can effectively capture this multi-object structure and generalize to novel arrangements is a significant challenge. The paper aims to bridge this gap by developing an unsupervised approach that simultaneously discovers objects and learns their disentangled representations.

Methods

IODINE builds upon the Variational AutoEncoder (VAE) framework but introduces a novel "multi-slot" architecture and an iterative inference process.

  • Generative Model: The model assumes a scene is composed of $K$ latent object representations ($z_k$), each contributing to the generation of the input image. This is framed as a spatial Gaussian mixture model where each component (slot) corresponds to an object, generating both its appearance (pixel-wise mean $\mu_k$) and its segmentation mask ($\mathbf{m}_k$). This structure inherently encourages permutation invariance and facilitates object comparison and recombination.
  • Iterative Variational Inference: Standard VAE inference struggles with multi-object scenes due to issues like slot permutation invariance and the "explaining-away" property. IODINE addresses this with an amortized iterative refinement process. Starting with an initial posterior estimate, the model iteratively refines the latent representations for each slot using a trained refinement network. This network takes auxiliary inputs, including gradient information about the ELBO, to guide the updates. This iterative process allows for handling multi-modal posteriors and ambiguous segmentations.
  • Spatial Broadcast Decoder: The decoder architecture uses a spatial broadcast mechanism to encourage disentanglement of object position from other features like color and texture.

Datasets

The paper evaluates IODINE on the following datasets:

  • CLEVR: A dataset of synthetic 3D scenes with varying numbers of objects, colors, shapes, and sizes. A variant, CLEVR6, with up to 6 objects, was also used.
  • Multi-dSprites: A multi-object version of the dSprites dataset.
  • Tetris: A custom dataset of "Tetris"-like pieces.
  • Textured MNIST and ImageNet: Used to probe the limits of the model on more complex, real-world data.

Key Insights and Ideas

  • Joint Segmentation and Representation: The core idea is that learning to segment objects and represent their features should be done jointly, not as separate steps. This unified approach leads to more robust and interpretable representations.
  • Iterative Inference for Multi-Object Ambiguity: The iterative refinement process is crucial for handling the complexities of multi-object scenes, particularly slot permutation invariance and multi-modal posteriors, which are challenging for standard VAEs.
  • Architectural Bias for Objects: The "multi-slot" architecture with shared parameters for each slot provides an inductive bias that helps the model discover and represent multiple entities in a common format.
  • Generalization through Disentanglement: By learning disentangled representations for individual objects, IODINE can generalize to scenes with more objects than seen during training and to novel combinations of features.
  • Implicit Multi-Modality: The stochasticity introduced by sampling during iterative inference allows IODINE to implicitly represent and converge to multiple valid interpretations of ambiguous scenes, a capability lacking in standard VAEs.

Key Results

  • Segmentation Performance: IODINE achieves near-perfect Adjusted Rand Index (ARI) scores (around 0.99) on CLEVR6 and Tetris, and a good score of 0.77 on Multi-dSprites, outperforming or matching baseline methods like MONet.
  • Representation Quality: Linear mappings are sufficient to extract relevant object attributes (color, position, shape, size) from IODINE's latent representations, indicating high information content and usability.
  • Disentanglement: IODINE successfully disentangles object-specific features in multi-object scenes, unlike standard VAEs which entangle factors across objects when trained on such data.
  • Generalization: The model demonstrates significant generalization capabilities, performing well on scenes with more objects than seen during training and handling unseen feature combinations (e.g., green spheres).
  • Robustness to Iterations: The iterative inference process converges quickly within the first few iterations and shows stable performance even when run for more iterations than trained with.

Limitations and Future Work

  • Dataset Limitations: IODINE struggled with Textured MNIST and ImageNet, segmenting mostly by color rather than objects. This suggests that richer training data with more variations in poses, lighting, and positions is needed for such complex real-world data. Color is not a strict requirement, as shown by its performance on grayscale CLEVR.
  • Future Directions:
    • Sequential Data: Extending IODINE to handle sequential data is attractive, potentially enabling unsupervised object tracking.
  • Physical Interactions: Incorporating graph networks to model relationships and physical interactions between objects is a promising avenue.
  • Task-Specific Bias: Allowing task-related signals to bias object selection and decomposition could enable scaling to arbitrarily complex scenes.
  • Dynamics Modeling: The current model has limited abilities for modeling dynamics.

Summary updated

BibTeX
@inproceedings{greff2019multi,
  author = {Klaus Greff and Raphaël Lopez Kaufmann and Rishabh Kabra and Nick Watters and Christopher Burgess and Daniel Zoran and Loic Matthey and Matthew Botvinick and Alexander Lerchner},
  title = {{Multi-Object Representation Learning with Iterative Variational Inference}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=Bk4dOibO-H},
}
Figure