Shepherding Slots to Objects: Towards Stable and Robust Object-Centric Learning

Jinwoo Kim, Janghyuk Choi, Ho-Jin Choi, Seon Joo Kim · DOI

Introduction

Object-Centric Learning (OCL) represents a paradigm shift in computer vision, moving from pixel-level processing to the decomposition of scenes into discrete, manageable entities. The current state-of-the-art, Slot Attention, employs a competitive mechanism where "slots" (latent vectors) vie to explain different image regions. However, despite its conceptual elegance, Slot Attention is notoriously unstable when applied to static images. It frequently suffers from "bleeding," where slots fail to isolate objects from the background or capture meaningless textures, leading to high variance across different training runs.

The Challenge of Instability

The primary hurdle in unsupervised OCL is the lack of geometric or temporal constraints. Without these, models often converge to sub-optimal solutions where slots represent background noise or arbitrary image patterns rather than physical objects. This instability is most evident when comparing different training trials of the same model on the same dataset.

Figure 1: Illustration of the instability in standard Slot Attention. Different training trials (Trial 1 vs. Trial 2) result in vastly different object masks, demonstrating the "bleeding" problem and lack of robustness.

As shown in Figure 1, a model might successfully segment objects in one run but fail completely in another, simply due to a change in the random seed. This unpredictability makes OCL difficult to rely on for downstream tasks.

The SLASH Framework

To address these issues, the authors introduce SLASH (SLot Attention via SHepherding). SLASH augments the standard Slot Attention architecture with two specialized "shepherd" modules designed to guide slots toward meaningful object representations.

Figure 2: The overall architecture of SLASH, featuring the Attention Refining Kernel (ARK) and the Intermediate Point Predictor and Encoder (IPPE).

1. Attention Refining Kernel (ARK)

ARK serves as a learnable low-pass filter. It applies a single-channel, weight-normalized convolution to the attention logits before the final softmax operation. This enforces a local density bias, smoothing out high-frequency "salt-and-pepper" noise. By ensuring that a pixel's assignment to a slot is influenced by its neighbors, ARK prevents slots from latching onto isolated background pixels.

2. Intermediate Point Predictor and Encoder (IPPE)

IPPE provides a locational anchor for each slot. It consists of a small Multi-Layer Perceptron (MLP) that predicts 2D coordinates for the center of each slot's assigned region. These coordinates are then encoded back into the slot representation. To train this module without heavy manual labeling, the authors use a weak semi-supervision strategy, providing center-point labels for only 10% of the training data. This minimal guidance is sufficient to "nudge" slots toward actual object locations, after which the unsupervised reconstruction loss refines the object boundaries.

Experimental Evaluation

SLASH was evaluated on several synthetic datasets, including CLEVR6, CLEVRTEX, PTR, and MOVi-C. The results demonstrate significant improvements in both performance and stability:

  • Robustness on Complex Scenes: On the CLEVRTEX dataset, which features realistic textures, SLASH achieved a mean Adjusted Rand Index (ARI) of 59.4%, nearly doubling the 38.1% achieved by baseline Slot Attention.
  • Drastic Reduction in Variance: In the CLEVR6 benchmark, the baseline model exhibited a massive standard deviation of ±42.1 in ARI. SLASH reduced this to ±4.3, indicating that the model consistently finds the correct objects across different trials.
  • Elimination of Artifacts: SLASH effectively resolved the "striping" issue common in datasets like PTR, where standard models often get trapped in horizontal patterns instead of identifying discrete object parts.

Conclusion and Future Work

SLASH demonstrates that minimal, targeted guidance—either through architectural priors like ARK or sparse point supervision via IPPE—can dramatically stabilize object-centric learning. While currently tested on synthetic data, this "shepherding" approach paves the way for more reliable OCL in real-world environments. Future research will focus on scaling these methods to higher-resolution images and more complex, occluded scenes.

Summary updated

BibTeX
@inproceedings{kim2023shepherding,
  author = {Jinwoo Kim and Janghyuk Choi and Ho-Jin Choi and Seon Joo Kim},
  title = {{Shepherding Slots to Objects: Towards Stable and Robust Object-Centric Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.01840},
}
Figure