Object-Centric Learning with Slot Mixture Module

Daniil Kirilenko, Vitaliy Vorobyov, Alexey Kovalev, Aleksandr Panov

Introduction

In the field of computer vision, "object-centric learning" aims to break down a complex image into its constituent parts—individual objects—represented as "slots." The current gold standard for this task is Slot Attention (SA). However, researchers have recently introduced the Slot Mixture Module (SMM), a significant architectural upgrade that changes how AI models "see" individual objects in a scene. By replacing the standard k-means-style Slot Attention with a more sophisticated Gaussian Mixture Model (GMM) approach, SMM captures not just the center of an object's features but also its internal distribution, leading to state-of-the-art precision in predicting object properties.

The Limitations of Slot Attention

Slot Attention acts as a learnable version of the soft k-means clustering algorithm. It represents each object solely by its "center" in a high-dimensional latent space.

This approach presents a fundamental limitation: two very different groups of visual features might share the same average center, making them indistinguishable to the model. Because it lacks a mechanism to measure the spread or variance of these features, SA often struggles with training instability and fails to precisely locate objects when strict accuracy thresholds are applied.

The Slot Mixture Module (SMM)

The authors propose SMM to generalize the slot-based approach by utilizing a Gaussian Mixture Model framework. This shift introduces several key technical improvements:

  • From Centers to Distributions: Instead of just tracking a cluster center (the mean), SMM tracks the mean ($\mu$), the diagonal covariance ($\Sigma$), and the prior mixture weights ($\pi$).
  • Expressive Representations: A "slot" in SMM is formed by concatenating the mean and the variance. This allows the model to distinguish between objects that might look similar on average but possess different internal feature distributions.
  • Probabilistic Assignment: While SA uses dot-product attention to assign features to slots, SMM uses a log-Gaussian density function to probabilistically assign parts of an image to specific slots.
  • Iterative Refinement: Similar to its predecessor, SMM uses a Gated Recurrent Unit (GRU) to iteratively refine these object representations over several time steps.
Architecture comparison: Slot Mixture Module (left) vs. standard Slot Attention (right). SMM incorporates variance and prior weights for more detailed object slots.

Experimental Setup

The model was rigorously evaluated across a wide range of synthetic and real-world benchmarks to test its object discovery and reconstruction capabilities:

  • CLEVR & CLEVR-Mirror: Standard synthetic datasets for testing object counting and localization.
  • ClevrTex: A more challenging variant of CLEVR featuring complex textures.
  • ShapeStacks: Images of stacked 3D primitives to test the understanding of local interactions.
  • COCO-2017: A massive real-world dataset used to test the limits of the model's reconstruction abilities.
  • Additional Datasets: Bitmoji, CelebA, Multi-dSprites, and Tetrominoes.

Key Insights and Results

1. Variance Matters for Identity

By incorporating distance information (covariance), the model gains a "higher resolution" understanding of an object's identity. It can differentiate between a solid-colored block and a textured one, even if their average color in the latent space is identical.

2. Precision at Scale

SMM excels when high accuracy is demanded. In set property prediction tasks on the CLEVR dataset, SMM achieved a staggering 47.3% Average Precision (AP) at the strictest distance threshold ($AP_{0.0625}$). In stark contrast, a tuned version of Slot Attention managed only 4.6%.

3. Identifying "Empty" Slots

The inclusion of prior weights ($\pi$) allows the model to explicitly identify which slots are actively holding an object and which are merely empty noise. This capability is a crucial step toward building "concept libraries" where the AI can learn, store, and reuse specific object types.

4. Qualitative Superiority

In object discovery tasks, SMM significantly outperformed Slot Attention. On the complex ClevrTex dataset, SMM achieved a segmentation accuracy (FG-ARI score) of 74.7, compared to SA's 62.4. Qualitatively, SMM is much less likely to "lose" objects or scramble their order during image reconstruction—a common failure mode for standard Slot Attention.

Qualitative comparison of scene reconstructions across different datasets. SMM demonstrates superior ability to preserve object details and ordering compared to baseline methods.

Limitations and Future Work

Despite its impressive strengths, SMM is not without limitations. It still requires the user to pre-define the number of slots, which can cause issues if a scene contains more or fewer objects than anticipated. Furthermore, while it shows improvement on real-world data like COCO, the generated image quality has not yet reached human-level fidelity.

The authors also note that SMM is slightly more sensitive to the number of update iterations used at test time. Future research will likely focus on making these models more flexible regarding the number of objects and improving their robustness on highly complex, unconstrained real-world imagery.

Summary updated

BibTeX
@inproceedings{kirilenko2024object,
  author = {Daniil Kirilenko and Vitaliy Vorobyov and Alexey Kovalev and Aleksandr Panov},
  title = {{Object-Centric Learning with Slot Mixture Module}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=aBUidW4Nkd},
}
Figure