NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Sparse Relational Reasoning with Object-Centric Representations

Alex F. Spies, Alessandra Russo, Murray Shanahan · DOI

Introduction

Systematic generalization—the ability to recombine known concepts to solve novel problems—remains a significant challenge for modern deep learning. While humans naturally decompose scenes into discrete objects and reason about their relationships, standard neural networks often struggle with this structured approach. This research investigates the intersection of "object-centric" representations, which break images into discrete "slots," and relational reasoning models under varying sparsity constraints.

Methods and Architecture

The study evaluates the interaction between two encoder types and two relational reasoning modules. For encoders, the authors compare standard Convolutional Neural Networks (CNNs), which maintain a global view of the image, against Slot Attention (SA), which attempts to group pixels into discrete object-centric slots. These representations are then processed by relational reasoners like RelationNet or PrediNet.

Architecture diagram showing the integration of object-centric slots and sparsity mechanisms within a relational reasoning pipeline.

A core component of this work is the introduction of two types of sparsity:

  1. Object Sparsity: Restricting the model to focus on a subset of objects using mechanisms like sparsemax or gumbel softmax.
  2. Feature Sparsity: Limiting the model to a few specific object attributes (e.g., color or position) via L1 regularization or entropy-based methods.

To evaluate the interpretability of the learned relations, the authors approximate the neural network's logic using Decision Trees. A relation is considered "sparse" and interpretable if it can be accurately mimicked by a simple decision tree with few nodes.

Experimental Setup

The models were tested on two synthetic reasoning benchmarks:

  • The Relations Game: Requires identifying abstract patterns like "between columns" or "same shape" among 2D objects.
  • Sort-of-CLEVR: A simplified visual question-answering dataset testing both non-relational (e.g., object color) and relational (e.g., color of the closest object) queries.

Key Results

The experiments revealed a significant trade-off between the structural benefits of slots and the robustness of global encoders. On the "Relations Game," a CNN paired with PrediNet achieved 87% accuracy, whereas the Slot Attention version lagged at 73%. This "all-or-nothing" failure mode occurs when the Slot Attention encoder fails to capture every relevant object in a scene, causing the downstream reasoner to fail.

Performance and complexity heatmaps comparing standard Predinet and Slot Predinet across various sparsity configurations.

However, sparsity proved to be a powerful engine for generalization. Encouraging feature sparsity—particularly through L1 regularization—improved the models' ability to generalize to new tasks. As shown in the results, moving from no sparsity to L1 sparsity reduced "Tree Complexity" (e.g., from ~20 nodes to ~15) while maintaining or even improving test performance. This suggests that forcing models to learn "simpler" rules prevents overfitting to training-specific quirks.

Conclusion and Future Work

While object-centric representations offer a path toward more human-like reasoning, current implementations like Slot Attention are fragile compared to CNNs. The study highlights that mathematical sparsity (via L1) is more effective than entropy-based methods for creating interpretable rules, though a gap remains between these sparse models and truly "human-readable" logic. Future research should focus on making object extraction more robust and incorporating spatial inductive biases back into slot-based reasoning to overcome current limitations in spatial awareness and multi-step reasoning.

Summary updated

BibTeX
@misc{spies2022sparse,
  author = {Alex F. Spies and Alessandra Russo and Murray Shanahan},
  title = {{Sparse Relational Reasoning with Object-Centric Representations}},
  year = {2022},
  eprint = {2207.07512},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.07512},
}
Figure