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

Invariant Slot Attention: Object Discovery with Slot-Centric Reference Frames

Ondrej Biza, Sjoerd van Steenkiste, Mehdi S. M. Sajjadi, Gamaleldin Fathy Elsayed, Aravindh Mahendran, Thomas Kipf

Unsupervised object discovery—learning to identify individual objects in a scene without explicit labels—is a fundamental challenge in computer vision. The "Slot Attention" framework has emerged as a popular approach, where a model assigns pixels to a set of latent variables called "slots." However, standard Slot Attention suffers from a spatial symmetry problem: it relies on absolute coordinate grids. Consequently, the model must learn what an object (e.g., a car) looks like at every possible position, size, and orientation. This lack of spatial invariance severely limits sample efficiency and prevents the model from generalizing to new object poses.

To address this inefficiency, researchers have introduced Invariant Slot Attention (ISA). ISA shifts the paradigm from absolute to relative spatial reasoning by assigning a unique reference frame—comprising position, scale, and optionally rotation—to each slot. By allowing each slot to reason within its own relative coordinate system, ISA makes latent representations invariant to translation, scale, and rotation.

How Invariant Slot Attention Works

ISA introduces several key mechanisms to disentangle what an object is from where it is:

  • Relative Position Encodings: Instead of relying on a fixed global grid, ISA computes a relative grid (rel_grid) for each slot. It effectively "undoes" the object's estimated pose by translating and scaling the global coordinates into a canonical frame centered on the object.
  • Iterative Pose Estimation: Because the object's pose is unknown upfront, ISA calculates the "center of mass" and "spread" of the attention mask during each iteration. This allows the model to dynamically update the slot's position and scale. Crucially, ablation studies show that backpropagating through this pose estimation process is essential, as it allows the model to refine its attention masks to find optimal reference frames.
  • Rotation Invariance (ISA-TSR): To account for rotation, the model uses a principal component heuristic, identifying the axis of highest variation in the attention mask to estimate orientation.
  • Invariant Decoding: The decoder utilizes these relative grids, enabling the model to learn a single, shared "template" for an object's appearance regardless of its position or scale.

Interestingly, the authors found that "leaking" a small amount of absolute position information (e.g., via CNN padding) helps break symmetry, allowing the model to distinguish between identical objects located in different parts of a scene.

Key Results and Data Efficiency

ISA was evaluated across a diverse set of benchmarks, demonstrating significant improvements in both synthetic and real-world environments:

  • Sample Efficiency and OOD Generalization: On the simple 2D Tetrominoes dataset, ISA matched baseline performance using 2x to 4x fewer training samples. Furthermore, in out-of-distribution (OOD) tests where objects only appeared on the left side of the image during training, ISA successfully discovered objects on the right side during testing—a task where the baseline completely failed.
  • Complex and Real-World Scenes: On the texture-rich CLEVRTex dataset, ISA with Translation and Scale (ISA-TS) achieved a >10% absolute improvement in Foreground Adjusted Rand Index (FG-ARI). Most notably, on the massive Waymo Open autonomous driving dataset, ISA-TS increased FG-ARI by 12%. This marks the first successful unsupervised object discovery on Waymo using only single-frame RGB data (no depth or motion cues), effectively segmenting landmarks, traffic signs, and cars in messy real-world environments.

Limitations and Future Directions

While ISA represents a major step forward for object discovery, it currently operates in 2D pixel space and cannot perfectly model 3D effects like out-of-plane rotations (e.g., a car turning a corner) or non-rigid deformations (e.g., a person walking).

Additionally, assigning position and scale to amorphous background "stuff" (like the sky or a long road) is counter-intuitive, suggesting a need to combine ISA with dedicated background models. Finally, the PCA-based rotation heuristic struggles with highly symmetric objects where the "principal axis" is ambiguous, pointing toward learnable orientation estimators as a promising future direction.

Summary updated

BibTeX
@inproceedings{biza2023invariant,
  author = {Ondrej Biza and Sjoerd van Steenkiste and Mehdi S. M. Sajjadi and Gamaleldin Fathy Elsayed and Aravindh Mahendran and Thomas Kipf},
  title = {{Invariant Slot Attention: Object Discovery with Slot-Centric Reference Frames}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=ZXeTCRZJp9},
}
Figure