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

Learning to Compose: Improving Object Centric Learning by Injecting Compositionality

Whie Jung, Jaehoon Yoo, Sungjin Ahn, Seunghoon Hong

Overview

Most AI models learn to perceive objects by attempting to reconstruct an entire image. However, they often fail to grasp that objects are independent, interchangeable building blocks. This paper introduces a novel "composition path" that forces the model to mix and match object representations from different images. By using a diffusion-based generative prior to ensure the resulting "mashups" look like valid scenes, the model learns true object compositionality.

The Problem with Current Object-Centric Learning

In Object-Centric Learning (OCL), the primary goal is to train a model to decompose a complex scene into a set of "slots"—latent variables where each slot represents exactly one object. Traditionally, these models are trained using an auto-encoding objective: the model encodes an image into slots and then attempts to decode them back into the original image.

The fundamental flaw in this approach is that perfect reconstruction does not require accurate object discovery. A model can flawlessly reconstruct an image by splitting a single object across three slots or by fusing an object with its background. This misalignment between the training objective and the goal of compositionality makes current models incredibly brittle. Minor changes to the neural network architecture or the number of slots often cause the model’s ability to "see" distinct objects to fall apart entirely.

Proposed Method: The Composition Path

To address this, the authors propose a novel framework that integrates a Composition Path into the standard training loop.

The proposed architecture featuring the novel Composition Path, which mixes slots from two images and evaluates the composite using a generative prior.

The training process involves the following steps:

  1. The Auto-encoding Path (Standard): The model takes Image 1, breaks it into slots, and reconstructs it. It repeats this process for Image 2.
  2. The Composition Path (New): The model selects a subset of slots from Image 1 and mixes them with slots from Image 2 to create a "composite" representation.
  3. The Generative Prior: This composite representation is fed into a decoder to generate a new image. The model is penalized if this newly generated image does not look "valid" according to a generative prior (specifically, a diffusion model).
  4. The Surrogate Decoder: Because standard diffusion models require many steps and are computationally slow, the authors utilize a fast, "one-shot" Transformer decoder as a surrogate to make this training computationally feasible.

By forcing the model to create valid new scenes from mixed slots, it learns that slots must contain independent, composable objects. If a slot contained "half a car and some grass," mixing it into a new scene would yield a nonsensical image, which the generative prior would penalize.

Key Insights

  • Compositionality as an Explicit Constraint: The core insight is that compositionality should not just be a hoped-for byproduct of the architecture; it must be an explicit training goal. If slots are truly object-centric, they should be universally interchangeable.
  • Reusing the Decoder: Instead of introducing a massive, separate pre-trained model to judge image validity, the authors reuse their own diffusion-based decoder as the generative prior. This is parameter-efficient and ensures the prior is perfectly tuned to the target dataset.
  • Breaking Hyperparameter Dependency: This new objective makes the model significantly more robust. Whether configured with 11 slots or 17, the model consistently learns to allocate one object per slot rather than fragmenting them.

Experimental Results

The researchers evaluated their method on four increasingly difficult synthetic benchmarks (CLEVRTex, MultiShapeNet, PTR, and Super-CLEVR) and one real-world dataset (BDD100k). The proposed method, built on top of the Slot Attention and Diffusion-based LSD baseline, demonstrated dramatic improvements.

Quantitative and qualitative results across multiple datasets, showing the proposed method significantly outperforming SLATE+ and LSD baselines in segmentation accuracy.
  • Segmentation Accuracy: On the CLEVRTex dataset, the Foreground Adjusted Rand Index (FG-ARI)—a metric for how well the model segments objects—surged from 76.44% (baseline) to 93.06%.
  • Architectural Robustness: When the encoder architecture was downgraded from a powerful UNet to a simpler CNN, baseline models saw their performance crater (dropping by over 40 points). In contrast, the "Learning to Compose" objective maintained high performance regardless of the encoder.
  • Qualitative Superiority: Visualizations confirm the model produces much tighter, more accurate segmentation masks around objects, successfully isolating them from the background even in complex scenes.

Limitations and Future Work

While highly effective, the approach has a few limitations:

  • Computational Cost: Even with the "one-shot" surrogate decoder, training a diffusion-based model with an additional composition path remains more resource-intensive than simpler VAE-based approaches.
  • Mixing Logic: The current strategy of "sharing slot initialization" helps avoid illegal compositions (e.g., two objects occupying the exact same spatial coordinates), but developing more sophisticated ways to simulate realistic scene physics during mixing could further enhance results.
  • Real-World Complexity: While results on datasets like BDD100k are promising, real-world scenes with extreme lighting, weather conditions, and highly irregular objects remain a formidable challenge for all object-centric models.

Summary updated

BibTeX
@inproceedings{jung2024learning,
  author = {Whie Jung and Jaehoon Yoo and Sungjin Ahn and Seunghoon Hong},
  title = {{Learning to Compose: Improving Object Centric Learning by Injecting Compositionality}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=HT2dAhh4uV},
}
Figure