Unsupervised Structural Scene Decomposition via Foreground-Aware Slot Attention with Pseudo-Mask Guidance

Huankun Sheng, Ming Li, Yixiang Wei, Yeying Fan, Yu-Hui Wen, Tieliang Gong, Yong-Jin LiuarXiv 2025 · DOI

Introduction

Object-centric learning (OCL) aims to teach AI to interpret visual scenes by decomposing them into distinct, interpretable representations called "slots"—all without human supervision. While Slot Attention is a leading architecture for this task, it often struggles with complex real-world images where textured or cluttered backgrounds distract the attention mechanism. Furthermore, these models frequently suffer from over-segmentation, where a single object is fractured across multiple slots simply because the model has spare capacity.

The FASA Framework

To address these limitations, this paper introduces Foreground-Aware Slot Attention (FASA), a two-stage unsupervised framework that explicitly separates foreground objects from background clutter.

The two-stage FASA architecture: Stage 1 performs coarse foreground-background separation, while Stage 2 utilizes masked slot attention and pseudo-mask guidance for instance discovery.

FASA decomposes scenes through a structured pipeline:

  1. Stage 1: Coarse Foreground-Background Separation. Instead of random initialization, FASA uses K-Means++ clustering on self-supervised Vision Transformer (DINOv2) features. This creates stable initial slots that compete to partition the image into a binary foreground/background mask.
  2. Stage 2: Masked Slot Attention. With the background isolated, a masked slot attention module is employed. One slot is strictly locked to the background, while a set of learnable slots compete exclusively for foreground patches to discover individual objects.
  3. Pseudo-Mask Guidance. To solve the over-segmentation problem, FASA uses MaskCut (a graph partitioning algorithm) to generate unsupervised pseudo-masks. During training, a bipartite matching loss forces foreground slots to align with these masks, ensuring objects remain structurally whole.

Key Insights

  • Initialization is Half the Battle: Seeding slots with semantic clusters from DINOv2 features provides a massive stability and accuracy boost compared to random initialization.
  • Explicit Masking Beats Implicit Bias: Forcing a structural separation between background and foreground via a hard mask drastically reduces interference compared to previous soft, feature-level methods.
  • Self-Supervision as a Structural Anchor: Using pseudo-masks acts as a powerful prior that explicitly tells the model which patches likely belong to the same entity, countering the tendency to over-segment.

Experimental Results

The model was evaluated on synthetic (MOVi-C) and complex real-world datasets (MS COCO 2017, PASCAL VOC 2012), as well as zero-shot benchmarks like CLEVRTex.

Quantitative comparison of FASA against state-of-the-art models across MOVi-C, COCO, and VOC datasets.

FASA consistently outperformed state-of-the-art baselines such as SPOT, DINOSAUR, and FB-Indicator:

  • Superior Object Discovery: On the challenging COCO dataset, FASA achieved 34.1 mIoU and 36.5 instance-level mBO.
  • Robust Background Separation: On PASCAL VOC, FASA achieved a massive 60.1 mIoU for foreground/background separation, significantly outperforming the DINOSAUR baseline (47.6).
  • Downstream Dominance: The learned representations set new records in unsupervised object localization and zero-shot object discovery (e.g., 40.6 mIoU on CLEVRTex).

Limitations and Future Work

FASA faces challenges in highly crowded scenes where dense packing or heavy occlusion makes instance discrimination difficult. Additionally, small or isolated objects with low visual saliency may be absorbed into the background mask. Future work will focus on enhancing instance-level discrimination in dense scenes and improving sensitivity to fine-scale details for smaller objects.

Summary updated

BibTeX
@misc{sheng2025unsupervised,
  author = {Huankun Sheng and Ming Li and Yixiang Wei and Yeying Fan and Yu-Hui Wen and Tieliang Gong and Yong-Jin Liu},
  title = {{Unsupervised Structural Scene Decomposition via Foreground-Aware Slot Attention with Pseudo-Mask Guidance}},
  year = {2025},
  eprint = {2512.02685},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.02685},
}
Figure