Slot-Guided Adaptation of Pre-trained Diffusion Models for Object-Centric Learning and Compositional Generation
Adil Kaan Akan, Yucel Yemez
TL;DR
This work introduces SlotAdapt, a method that teams slot attention with adapters in a pretrained diffusion model to achieve object-centric learning and compositional image generation without relying on text-conditioned prompts. By injecting adapter cross-attention conditioned on learned slots and adding a register token to capture global context, SlotAdapt preserves the generative power of pretrained diffusion models while reducing text-conditioning bias. A self-supervised guidance loss aligns cross-attention maps from adapters with slot attention, improving object alignment and addressing part-whole ambiguities. Across MOVi-E, VOC, and COCO, SlotAdapt with guidance achieves superior object discovery, segmentation, and compositional editing, highlighting its effectiveness on complex real-world scenes and its potential to advance unsupervised visual reasoning and controllable generation.
Abstract
We present SlotAdapt, an object-centric learning method that combines slot attention with pretrained diffusion models by introducing adapters for slot-based conditioning. Our method preserves the generative power of pretrained diffusion models, while avoiding their text-centric conditioning bias. We also incorporate an additional guidance loss into our architecture to align cross-attention from adapter layers with slot attention. This enhances the alignment of our model with the objects in the input image without using external supervision. Experimental results show that our method outperforms state-of-the-art techniques in object discovery and image generation tasks across multiple datasets, including those with real images. Furthermore, we demonstrate through experiments that our method performs remarkably well on complex real-world images for compositional generation, in contrast to other slot-based generative methods in the literature. The project page can be found at https://kaanakan.github.io/SlotAdapt/.
