Divided Attention: Unsupervised Multi-Object Discovery with Contextually Separated Slots

Dong Lao, Zhengyang Hu, Francesco Locatello, Yanchao Yang, Stefano Soatto

Abstract

We introduce Divided Attention (DivA), a method to segment the visual field into independently moving regions without ground truth or supervision. DivA utilizes an adversarial conditional encoder-decoder architecture based on Slot Attention, modified to use the image as context to decode optical flow. This design frees the representation from encoding complex nuisance variability in the image. To prevent "slot collapse," where multiple objects are encoded into a single slot, we introduce an adversarial criterion based on Contextual Information Separation. DivA outperforms recent unsupervised methods while reaching 104 FPS, significantly narrowing the performance gap with supervised methods.

Introduction

A fundamental challenge in computer vision is learning to identify objects without human labels. While modern AI often relies on massive curated datasets, biological systems learn "ab-ovo" (from the beginning) by observing the world. A key ecological principle is that what moves together belongs together. However, translating this into a robust multi-object segmentation system is difficult. Previous unsupervised methods often struggle with "slot collapse," where the model's internal representations fail to capture distinct boundaries or merge multiple objects into a single slot.

The DivA Framework

DivA addresses these challenges through two architectural innovations. First, it employs Cross-modal Conditional Decoding. An encoder processes optical flow to produce a set of latent "slots." A decoder then reconstructs the flow, but it is conditioned on the original RGB image. This allows the model to utilize high-frequency spatial details (like sharp edges) from the image to refine the often-fuzzy motion boundaries found in flow data.

Second, to ensure each slot captures a unique object, DivA uses an Adversarial Loss based on Contextual Information Separation. A min-max optimization forces each slot to contain unique, non-overlapping information. By maximizing the error of an adversarial decoder that tries to reconstruct the entire scene from a single slot, the model naturally partitions the world into independent entities.

DivA segments multiple objects by decomposing optical flow into discrete attention slots, utilizing the RGB image as context for sharp boundary reconstruction.

Experimental Results

The researchers evaluated DivA across several challenging benchmarks, including FBMS-59 and Movi-Solid. DivA significantly outperforms previous unsupervised baselines, improving accuracy on binary benchmarks by 5-7%. Notably, it is roughly 3x faster than comparable methods, reaching over 100 FPS on a standard GPU. This efficiency makes it suitable for real-time use in embodied systems like drones or robots. Furthermore, DivA is permutation-invariant and flexible, allowing it to handle a variable number of objects at test time without retraining.

Bootstrapping Downstream Learning

Beyond segmentation, DivA serves as a powerful "object proposer." By identifying objects in unlabeled video, it can generate high-quality crops for downstream contrastive learning tasks like DINO. Experiments show that training on DivA-discovered objects improves ImageNet classification performance by 30.2% compared to training on raw video frames. This demonstrates that motion is a sufficient signal to bootstrap the concept of "objectness" for static image models.

The DivA pipeline extracts object candidates from unrestricted videos, which can then be used to train downstream models like DINO without human labels.

Conclusion and Future Work

DivA demonstrates that unsupervised multi-object discovery is achievable and efficient by combining slot-based attention with adversarial information separation. It bridges the gap between raw motion and semantic objecthood, providing a scalable path for autonomous systems to learn without human intervention. Current limitations include handling perfectly synchronized motions (e.g., a cup on a moving tray) and maintaining long-term temporal consistency through heavy occlusions, which remain areas for future research.

Summary updated

Abstract

We introduce a method to segment the visual field into independently moving regions, trained with no ground truth or supervision. It consists of an adversarial conditional encoder-decoder architecture based on Slot Attention, modified to use the image as context to decode optical flow without attempting to reconstruct the image itself. In the resulting multi-modal representation, one modality (flow) feeds the encoder to produce separate latent codes (slots), whereas the other modality (image) conditions the decoder to generate the first (flow) from the slots. This design frees the representation from having to encode complex nuisance variability in the image due to, for instance, illumination and reflectance properties of the scene. Since customary autoencoding based on minimizing the reconstruction error does not preclude the entire flow from being encoded into a single slot, we modify the loss to an adversarial criterion based on Contextual Information Separation. The resulting min-max optimization fosters the separation of objects and their assignment to different attention slots, leading to Divided Attention, or DivA. DivA outperforms recent unsupervised multi-object motion segmentation methods while tripling run-time speed up to 104FPS and reducing the performance gap from supervised methods to 12% or less. DivA can handle different numbers of objects and different image sizes at training and test time, is invariant to permutation of object labels, and does not require explicit regularization.
BibTeX
@misc{lao2023divided,
  author = {Dong Lao and Zhengyang Hu and Francesco Locatello and Yanchao Yang and Stefano Soatto},
  title = {{Divided Attention: Unsupervised Multi-Object Discovery with Contextually Separated Slots}},
  year = {2023},
  eprint = {2304.01430},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.01430},
}
Figure