Object-Centric Learning with Slot Mixture Module

Daniil Kirilenko, Vitaliy Vorobyov, Alexey K. Kovalev, Aleksandr I. Panov

TL;DR

The Slot Mixture Module (SMM) advances object-centric learning by replacing the standard k-means-style "Slot Attention" with a learnable Gaussian Mixture Model (GMM). By representing objects using both their feature means and variances, SMM creates more expressive representations that achieve state-of-the-art results in set property prediction and significantly improve unsupervised object discovery on complex scenes.

What Problem Does This Paper Address?

In computer vision, "object-centric learning" aims to break down a scene into its constituent parts—like individual blocks in a stack or cars on a road—and represent each as a "slot." The current gold standard for this is Slot Attention (SA).

However, SA has a fundamental limitation: it acts like a soft k-means clustering algorithm, representing each object only by its cluster center (the mean). This is often insufficient for complex scenes where objects might share similar average features but differ in their internal distributions. Furthermore, SA can be notoriously unstable to train and struggles to distinguish between "filled" slots (containing an object) and "empty" ones.

Methods

The authors propose the Slot Mixture Module (SMM), which shifts the underlying mathematical framework from k-means to a Gaussian Mixture Model (GMM).

Instead of just calculating a weighted average of features to represent an object, SMM treats each slot as a Gaussian distribution. A slot representation in SMM is a concatenation of its mean ($\mu$) and the diagonal of its covariance matrix ($\Sigma_{diag}$). This allows the model to capture not just what an object is on average, but also the spread or uncertainty of its features.

The module operates through an iterative process (typically 5-7 steps) resembling the Expectation-Maximization (EM) algorithm:

  1. E-step: It calculates the likelihood of input image features belonging to each slot using a log-Gaussian density function (replacing the standard dot-product attention).
  2. M-step: It updates the slot parameters ($\mu$, $\Sigma$, and prior weights $\pi$) based on these assignments.
  3. Refinement: It uses a Gated Recurrent Unit (GRU) to update the slot representations across iterations, maintaining temporal consistency in the latent space.
Figure 1: Visualized architectures of Slot Mixture Module (ours) and Slot Attention Module. Green color is used for steps involved in both modules. SMM involves the estimation of cluster centers (µ), the distance between cluster centers and assigned vectors (σ, orange steps), and prior mixture weights (π, red steps). The concatenation of µ and σ serves as slot representations, and π can be used to identify empty slots that do not contain information about any objects, f(x, µ, σ) is the log of the Gaussian PDF. SA module estimates only centers of clusters.

Datasets

The authors evaluated SMM across a wide range of benchmarks to test different capabilities:

  • Synthetic Reasoning: CLEVR (the standard for set property prediction).
  • Complex Synthetic Scenes: ClevrTex (textured objects), ShapeStacks (physically complex stacking), and CLEVR-Mirror (requiring global relational reasoning).
  • Simple Object Discovery: Multi-dSprites, Tetrominoes, and CLEVR10.
  • Real-world/Stylized Data: COCO-2017, CelebA, and Bitmoji.

Key Insights and Ideas

  • Variance Matters: By including the distance between cluster centers and assigned vectors (variance), the slot representations become much more "expressive." This helps the model distinguish between objects that might have identical mean colors or positions but different shapes or textures.
  • Principled Empty Slot Handling: SMM learns prior mixture weights ($\pi$). This provides a natural way to identify and discard "empty" slots that don't correspond to any actual object in the scene, a task SA often struggles with.
  • Concept Sampling: Because SMM models objects as distributions, the authors demonstrated a novel "concept sampling" application. By sampling new slots from the learned Gaussian parameters, they can perform precise image editing—such as changing the color or hairstyle of a character—while keeping other attributes stable.

Key Results

  • State-of-the-Art in Set Prediction: On the CLEVR dataset, SMM outperformed the previous SOTA (iDSPN), particularly at stringent distance thresholds. For the most difficult threshold (AP$_{0.0625}$), SMM achieved 47.3% accuracy compared to iDSPN's 32.3%.
  • Superior Object Discovery: On the challenging ClevrTex dataset, SMM achieved a Foreground Adjusted Rand Index (FG-ARI) of 74.7, significantly higher than Slot Attention's 62.4.
  • Improved Reconstruction: When plugged into the SLATE architecture (a transformer-based reconstructor), SMM consistently improved image quality (FID) and lowered validation cross-entropy by roughly 10% across all tested datasets, including real-world COCO data.

Limitations and Future Work

Despite the improvements, SMM shares some "slot-based" DNA limitations:

  • Fixed Slot Count: The user must still pre-specify the maximum number of slots, which isn't ideal for scenes with highly variable object counts.
  • Real-world Complexity: While SMM performs better on COCO than SA, the results are still far from human-level perception, suggesting that scaling these models to truly "in-the-wild" data remains an open challenge.
  • Iteration Sensitivity: The authors noted that SMM is slightly less robust than SA when the number of update iterations at test time differs from training time.

Future research may focus on dynamically determining slot counts and further refining these probabilistic representations for high-resolution, real-world video.

Summary updated

BibTeX
@inproceedings{kirilenko2024object,
  author = {Daniil Kirilenko and Vitaliy Vorobyov and Alexey K. Kovalev and Aleksandr I. 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