Systematic Visual Reasoning through Object-Centric Relational Abstraction

Taylor Whittington Webb, Shanka Subhra Mondal, Jonathan Cohen

Introduction

A fundamental hallmark of human intelligence is systematic generalization—the ability to extract abstract rules from limited experience and apply them to novel contexts. In contrast, standard deep learning models often overfit to low-level visual features, failing to recognize a pattern (e.g., "ABA") when presented with unfamiliar shapes or colors. While object-centric models have improved scene decomposition, they frequently lack the abstract reasoning capabilities required for complex logical tasks. This paper introduces Object-Centric Relational Abstraction (OCRA), an architecture designed to bridge this gap by combining unsupervised object discovery with a strict relational bottleneck.

Methods: The OCRA Architecture

OCRA decomposes visual reasoning into three distinct stages, emphasizing the separation of object identity from relational logic.

The OCRA architecture utilizes Slot Attention for object extraction, followed by a relational operator and a Transformer for higher-order reasoning.
  1. Object Extraction via Slot Attention: The model employs Slot Attention to "de-render" an input image into a set of discrete "slots." Each slot encodes a feature embedding (visual appearance) and a position embedding (spatial coordinates). The model is pre-trained on an unsupervised reconstruction task, allowing it to learn the concept of an "object" without human-provided labels.
  2. The Relational Bottleneck: To prevent the model from relying on specific visual details, OCRA implements a relational bottleneck. It computes pairwise relations between slots using a dot-product operator. This operation strips away the absolute identity of objects, preserving only the relative similarity or difference between them.
  3. Higher-Order Reasoning: The resulting relational embeddings are processed by a Transformer. By analyzing the set of all pairwise relations, the Transformer identifies high-level patterns, such as spatial configurations or identity-based rules (e.g., "same-different").

Experimental Setup

The model was evaluated on three benchmarks:

  • ART (Abstract Reasoning Tasks): Tests rules like identity and "same/different" patterns.
  • SVRT (Synthetic Visual Reasoning Test): Focuses on spatial relations, such as containment or grouping.
  • CLEVR-ART: A novel dataset introduced in this work that applies ART rules to complex 3D-rendered scenes featuring varied textures and lighting.

Results and Discussion

OCRA demonstrates superior performance in "out-of-distribution" scenarios, where the model must generalize to objects never seen during training.

OCRA significantly outperforms baselines in extreme generalization regimes (e.g., m=95), maintaining high accuracy as the number of withheld objects increases.

In the most challenging ART regime ($m=95$), where the model is trained on only 5 unique objects and tested on 95 novel ones, OCRA achieved 85-92% accuracy. In contrast, standard ResNets and other object-centric baselines often struggled, with performance dropping to near-chance levels (30-60%). On the visually complex CLEVR-ART dataset, OCRA maintained over 93% accuracy, highlighting its robustness to realistic rendering effects.

Ablation studies confirmed that both the object-centric representation and the relational bottleneck are critical. Removing either component led to a significant collapse in generalization performance.

Conclusion

OCRA provides a blueprint for systematic visual reasoning by forcing models to reason about abstract relations rather than raw pixels. By factorizing "what" an object is from "where" it is and how it relates to others, OCRA achieves human-like generalization. Future work will explore scaling the architecture to more complex real-world scenes and handling variable object counts.

Summary updated

BibTeX
@inproceedings{webb2023systematic,
  author = {Taylor Whittington Webb and Shanka Subhra Mondal and Jonathan Cohen},
  title = {{Systematic Visual Reasoning through Object-Centric Relational Abstraction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=8JCZe7QrPy},
}
Figure