Complex-Valued Autoencoders for Object Discovery

Sindy Löwe, Phillip Lippe, Maja Rudolph, Max Welling

Abstract

Object-centric representations form the basis of human perception, enabling us to reason about the world and systematically generalize to new settings. Currently, most unsupervised object discovery focuses on slot-based approaches that explicitly separate latent representations. While interpretable, these require complex architectures. We propose the Complex AutoEncoder (CAE), a simpler approach creating distributed object-centric representations. Inspired by biological coding schemes, its complex-valued activations represent two messages: magnitudes express feature presence, while relative phase differences express feature binding. Unlike previous complex-valued models, the CAE is trained end-to-end without supervision, achieving significant improvements in performance and efficiency. It reaches competitive or superior performance on multi-object datasets while being up to 100 times faster to train than state-of-the-art slot-based approaches.

Introduction: The Binding Problem

In computer vision, object discovery involves identifying and separating individual objects in a scene without explicit labels. This requires solving the binding problem: how a network of fixed connections flexibly groups distributed features (e.g., a "wing" and a "beak") into a single entity (a "bird").

Dominant solutions like SlotAttention use iterative modules to force objects into separate "slots." While effective, these architectures are computationally expensive and treat objects as flat, independent entities, often struggling with part-whole hierarchies.

Biological Inspiration: Neural Synchrony

The CAE is inspired by the temporal correlation hypothesis in neuroscience, which suggests that biological neurons represent the same object by firing in synchrony, while neurons representing different objects fire out of sync.

Binding by synchrony: The CAE maps synchronized neural firing patterns to distinct phases in the complex plane to represent object identity.

The CAE translates this biological timing into the language of complex numbers ($z = m \cdot e^{i\phi}$):

  • Magnitude ($m$): Represents the presence of a feature.
  • Phase ($\phi$): Represents object identity. Features with the same phase are "bound" together.

The Complex AutoEncoder (CAE) Architecture

The CAE is a convolutional autoencoder modified to handle complex activations. Unlike slot-based models that require fixed "buckets," the CAE uses a distributed representation where object identity is a continuous phase value across the entire feature map.

The CAE architecture: Complex-valued activations allow the model to discover objects (represented by phase colors) while reconstructing the input image.

Key Design Principles

To enable effective end-to-end training, the authors introduced three key mechanisms:

  1. Synchronization: Additive operations allow complex numbers to interfere constructively (if phases match) or destructively.
  2. Desynchronization: Learnable phase biases ($b_\phi$) push different objects into different parts of the phase circle.
  3. Gating: A mechanism that selectively weakens inputs that are "out of phase" with the rest of a feature group, encouraging the network to commit to specific object assignments.

Training is performed end-to-end using a simple Mean Squared Error (MSE) loss on image reconstruction, with no explicit supervision for phase assignment.

Experimental Results

The model was evaluated on multi-object grayscale datasets, including 2Shapes, 3Shapes, and the more challenging MNIST&Shape.

  • Efficiency: The CAE trains 10x to 100x faster than SlotAttention. On simple datasets, it reaches peak performance in minutes.
  • Accuracy: On the MNIST&Shape dataset, the CAE achieved an ARI-BG score of 0.971, whereas SlotAttention and previous complex-valued models failed to break 0.10.
  • Robustness: The model is equivariant to global phase rotations and naturally represents uncertainty in overlapping regions by assigning intermediate phases to shared pixels.

Conclusion and Future Directions

The Complex AutoEncoder demonstrates that object discovery can be a natural byproduct of the autoencoding process when using appropriate representations. While currently limited to grayscale images and sensitive to high object counts, the CAE's efficiency and performance on complex shapes suggest that "binding by synchrony" is a promising path for scaling object-centric AI to more complex, real-world scenes.

Summary updated

BibTeX
@article{lowe2022complex,
  author = {Sindy Löwe and Phillip Lippe and Maja Rudolph and Max Welling},
  title = {{Complex-Valued Autoencoders for Object Discovery}},
  journal = {Accepted by TMLR},
  year = {2022},
  url = {https://openreview.net/forum?id=1PfcmFTXoa},
}
Figure