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

SlotDiffusion: Object-Centric Generative Modeling with Diffusion Models

Ziyi Wu, Jingyu Hu, Wuyue Lu, Igor Gilitschenski, Animesh Garg

Introduction

Humans naturally perceive the world as a structured collection of discrete objects and events rather than a mere grid of pixels. In machine learning, object-centric learning attempts to replicate this cognitive ability by representing scenes as a set of "slots"—abstract feature vectors where each vector corresponds to a single entity. While recent advancements have significantly improved unsupervised object discovery (segmentation), existing models have struggled with high-fidelity scene generation. Traditional CNN-based decoders often produce blurry results on complex data, while Transformer-based decoders suffer from spatial distortion and error accumulation during autoregressive sampling.

SlotDiffusion addresses these limitations by replacing traditional decoders with a Latent Diffusion Model (LDM). This integration bridges the gap between unsupervised object discovery and high-quality image synthesis, enabling state-of-the-art performance in scene decomposition and controllable generation.

The SlotDiffusion Framework

SlotDiffusion introduces a modular architecture designed to leverage the generative power of diffusion while maintaining the structural benefits of slot-based representations.

Architecture Overview

Following the lineage of models like SAVi and STEVE, SlotDiffusion utilizes an encoder and a Slot Attention module to extract slots from an input image or video frame. To handle the generative process, the framework incorporates a pre-trained VQ-VAE that maps images into a compact latent space. The core innovation lies in the LDM decoder, which learns to denoise these latent features conditioned on the extracted slots.

Cross-Attention and Compositionality

The slots serve as the primary guidance for the diffusion process. The model employs a cross-attention mechanism between the denoising U-Net’s feature maps and the slots. Crucially, this mechanism is order-invariant, respecting the fact that slots are an unordered set. This design allows for compositional generation: by clustering slots from a dataset, the model builds a "visual concept library." Users can sample slots representing different concepts—such as a specific face from one image and a hairstyle from another—and decode them together to synthesize novel, coherent scenes.

Experimental Evaluation

The model was evaluated across a diverse array of benchmarks to test its versatility in both synthetic and real-world environments:

  • Synthetic Environments: CLEVRTex (textured objects) and the MOVi suite (MOVi-D, E, Solid, and Tex), which feature photo-realistic objects and complex physics.
  • Real-World Data: CelebA (faces), PASCAL VOC, and MS COCO. For natural scenes, the model was integrated with self-supervised pre-trained DINO ViT encoders.
  • Physical Reasoning: The Physion dataset was used to determine if learned slots could facilitate future object dynamics prediction and visual question answering.

Key Insights

Diffusion as a Discovery Signal

A significant finding of this research is that the denoising loss of a diffusion model serves as an excellent training signal for object discovery. The model improves its segmentation capabilities simply because it must understand the underlying scene structure to denoise the latent space effectively.

Spatial Preservation and Efficiency

Unlike Transformer-based models that flatten images into 1D sequences—often leading to "warping"—the LDM preserves the 2D spatial structure throughout the decoding process. Furthermore, by operating in the VQ-VAE latent space rather than pixel space, SlotDiffusion is significantly more memory-efficient and faster to train than standard image-space diffusion models.

Results and Performance

SlotDiffusion achieved state-of-the-art (SOTA) results across multiple metrics:

  • Segmentation: On the challenging MOVi-E video dataset, SlotDiffusion improved the mean Intersection over Union (mIoU) from 27.86 (previous SOTA) to 30.16.
  • Generation Quality: The model demonstrated a massive lead in perceptual metrics. On CelebA, its LPIPS score of 0.21 significantly outperformed the Transformer-based SLATE model (0.32).
  • Downstream Utility: When integrated with a dynamics predictor like SlotFormer, the slots produced by SlotDiffusion led to superior video predictions and higher accuracy in physical reasoning tasks compared to competing slot-based models.
  • Inference Speed: Utilizing a DPM-Solver, SlotDiffusion generated 100 videos in 7 minutes, a stark contrast to the 226 minutes required by the autoregressive STEVE model.

Conclusion and Future Work

SlotDiffusion demonstrates that diffusion models are not only powerful generators but also effective tools for unsupervised object discovery. While the model sets new benchmarks, challenges remain regarding boundary precision in high-resolution real-world data and the inherent ambiguity of part-whole hierarchies. Future iterations may explore temporal attention layers to improve video consistency and methods to further disentangle an object's appearance from its semantic position.

Summary updated

BibTeX
@inproceedings{wu2023slotdiffusion,
  author = {Ziyi Wu and Jingyu Hu and Wuyue Lu and Igor Gilitschenski and Animesh Garg},
  title = {{SlotDiffusion: Object-Centric Generative Modeling with Diffusion Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=ETk6cfS3vk},
}
Figure