When Slots Compete: Slot Merging in Object-Centric Learning

1Department of Electrical and Computer Engineering, Democritus University of Thrace, Greece
2Institute for Language and Speech Processing, Athena Research Center, Greece
3Department of Informatics & Telecommunications, National and Kapodistrian University of Athens, Greece
4Archimedes, Athena Research Center, Greece
* Equal contribution
Examples of object-level segmentation with and without slot merging.

TL;DR Slot merging addresses slot competition by combining slots that attend to the same object, reducing fragmented object representations without discarding potentially useful information. The method integrates into existing object-centric architectures and improves object discovery across multiple benchmarks.

Abstract

Slot-based object-centric learning represents an image as a set of latent slots with a decoder that combines them into an image or features. The decoder specifies how slots are combined into an output, but the structure of the slot set is typically fixed: the number of slots is chosen upfront and slots are only refined. This can lead to multiple slots competing for overlapping regions of the same entity rather than focusing on distinct regions. We introduce slot merging: a drop-in, lightweight operation on the slot set that merges overlapping slots during training. We quantify overlap with a Soft-IoU score between slot-attention maps and combine selected pairs via a barycentric update that preserves gradient flow. Merging follows a fixed policy, with the decision threshold inferred from overlap statistics, requiring no additional learnable modules. Integrating into DINOSAUR, SPOT, and SlotDiffusion, slot merging improves object discovery and segmentation, achieving competitive performance compared with adaptive methods with only minor computational overhead. Its benefits extend to object recognition, set prediction, compositional generation, and slot-level scene editing.

Overview of Slot Merging

Slot Attention represents an image using a set of slots, which compete to explain different regions of the scene. When multiple slots attend to the same object, its representation can become fragmented across several slots. Instead of discarding these slots, slot merging is a lightweight, plug-and-play operation that combines competing slots into a single, more coherent representation.

Overview of slot merging, showing overlap estimation, iterative merging of competing slots, and decoding of the refined slot set.

Slot merging operates on the slots and attention maps produced by Slot Attention and consists of three steps:

  • Measure slot overlap. Pairwise Soft-IoU scores are computed between slot-attention maps to identify slots that attend to overlapping image regions. Higher scores indicate stronger spatial overlap and potential competition to represent the same object.
  • Merge competing slots. The pair with the highest overlap is selected and merged whenever its Soft-IoU score exceeds a data-driven threshold. The slot vectors are combined according to their attention mass, while their attention maps are summed, preserving the total attention mass.
  • Repeat and decode. After each merge, the overlap scores are recomputed and the process is repeated until no pair exceeds the threshold. Merged-away slots are masked out, and only active slots are passed to the decoder. The differentiable merge operator preserves gradient flow during training.

The merging threshold is estimated from the distribution of attention overlaps observed during training, without additional learnable parameters. Slot merging can be integrated into existing slot-based architectures, including DINOSAUR, SPOT, and SlotDiffusion, without changing their core design.

Experimental Results

Object Discovery

We evaluate slot merging with DINOSAUR and SPOT on PASCAL VOC, MS COCO, MOVi-C, and MOVi-E. Merging improves object discovery across both architectures. With DINOSAUR, mBOc increases from 51.2 to 55.34 on VOC and from 38.8 to 42.78 on COCO, while mBOi on MOVi-C increases from 42.4 to 48.35. With SPOT, mBOc on VOC increases from 55.6 to 57.35 and mBOi on MOVi-C from 47.3 to 49.50. Merging can also be applied at inference without retraining.

Qualitative object discovery results on COCO and PASCAL VOC.

Qualitative object discovery results.

Object discovery benchmark results on VOC, COCO, MOVi-C, and MOVi-E.

Quantitative comparison across four datasets. Best results are highlighted in bold, while second-best results are indicated by underlining.

Downstream Applications

On PASCAL VOC, merging improves DINOSAUR's top-1 object recognition accuracy from 80.5 to 83.0 and set prediction accuracy from 74.3 to 77.0. On CLEVRTex, applying merging to a pretrained SlotDiffusion model reduces compositional generation FID from 35.26 to 29.74 and increases mIoU from 57.20 to 64.47. Qualitative results also demonstrate improved object-level editing and background manipulation.

BibTeX

@article{chatzisavvas2026slots,
  title={When Slots Compete: Slot Merging in Object-Centric Learning},
  author={Chatzisavvas, Christos and Rigas, Panagiotis and Chamodrakas, Ioannis and Mitianoudis, Nikolaos and Katsouros, Vassilis and Ioannakis, George},
  journal={arXiv preprint arXiv:2603.11246},
  year={2026}
}