Object-Centric Differentiable Logic Networks for Abstract Visual Reasoning

Hanne Say Eren, Ana Ezquerro, Ozan ÖzdenizciarXiv 2026

Imagine you’re staring at a Raven’s Progressive Matrix—one of those IQ test puzzles where you have to find the missing shape in a grid. As a human, you don't just look at the pixels; you see "objects" (a triangle, a square) and "relationships" (the triangle is rotating, the square is getting bigger).

Most AI models, however, try to solve these by brute-forcing the pixels. They’re like students who memorize the practice exam but fail the real one because they didn't actually learn the logic.

In their paper, "Object-Centric Differentiable Logic Networks for Abstract Visual Reasoning," Eren, Ezquerro, and Özdenizci introduce SLOT-DWN, a model that finally starts reasoning a bit more like we do. It swaps out heavy, power-hungry math for elegant, differentiable Boolean logic.

TL;DR

SLOT-DWN is a neuro-symbolic architecture that solves abstract visual puzzles by first identifying objects and then reasoning about their relationships using efficient, logic-based "Look-Up Tables" (LUTs). It matches or beats state-of-the-art models while using up to 52% fewer parameters and training significantly faster, proving that complex reasoning doesn't always require massive neural networks.

What Problem Does This Paper Address?

Deep learning has a "shortcut" problem. When trained on abstract reasoning tasks, models often find statistical quirks in the dataset—biases in how the answers are generated—rather than learning the underlying rules. This leads to poor Out-of-Distribution (OoD) generalization: if you train the model on circles and squares, it completely falls apart when it sees a triangle.

Current solutions often use Transformers, which are powerful but computationally expensive and "dense"—they treat everything as a continuous soup of numbers. The authors argue that reasoning is inherently discrete and logical. We need a way to bridge the gap between messy visual perception and clean, symbolic logic without losing the ability to train the whole thing using standard gradient descent.

Methods

The SLOT-DWN architecture is a four-stage pipeline designed to move from pixels to logic:

  1. Object-Centric Perception: It uses Slot Attention, an unsupervised method that "clusters" pixels into distinct objects (slots) without needing any labels.
  2. Post-Processing: To make the logic engine work, the model filters out "empty" slots and sorts the remaining ones in a consistent "raster order" (top-to-bottom, left-to-right). This gives each object a stable "address."
  3. Binarization: Since the reasoning engine works in Boolean space (0s and 1s), the continuous features of the objects are converted into bits using Thermometer Encoding. This preserves the "closeness" of values—similar colors or sizes result in similar bit patterns.
  4. Logic-Based Reasoning (MH-DWN): This is the heart of the paper. Instead of traditional neural layers, it uses a Multi-Head Differentiable Weightless Network.
  5. Weightless means the "weights" aren't multipliers; they are entries in a truth table (Look-Up Table).
  6. Differentiable means they use a clever mathematical trick (Extended Finite Difference) to allow the model to learn these truth tables via backpropagation.
  7. Relational Bottleneck: The first logic layer is forced to compare pairs of objects. This forces the model to learn concepts like "is this the same shape?" rather than just memorizing what a shape looks like.
Fig. 1: Our SLOT-DWN architecture consisting of four components. (1) An object-centric disentangled representation learning backbone that is pretrained with a reconstruction loss. (2) The pretrained slots are post-processed to first filter out redundant slots, and then sorted by their estimated raster order for the subsequent LUT-based reasoning module. (3) A binarization bottleneck (Eq. (4)) converts each continuous-valued slot to a binarized representation. (4) A multi-head DWN (MH-DWN) reasoner initially processes all pairwise binary vectors in parallel with a shared LUT bottleneck Urel to extract relationships between objects. This relational matrix R is then processed by the subsequent multi-head LUT layer(s). The score for each context and candidate pair is calculated via a final population count operation.

Datasets

The authors put SLOT-DWN through a gauntlet of abstract challenges:

  • ART (Abstract Reasoning Tasks): Includes tasks like "Same/Different" and "Identity Rules" (e.g., recognizing an ABA pattern).
  • O3 (Odd-Orientation-Out): A new task introduced here for anomaly detection, where the model must find the one object that is rotated differently.
  • RM (Relational Matrices): A complex, RPM-like benchmark where multiple rules (scale, rotation, grayscale) are applied simultaneously across a grid.
Visual examples of the ART tasks, showing the kind of abstract patterns the model must decode.

Key Insights and Ideas

  • Boolean Logic is Enough: You don't need high-precision floating-point math to decide if two things are the same. By moving reasoning into Boolean space, the model becomes more robust and vastly more efficient.
  • The Power of the Bottleneck: By architecturally forcing the model to look at relationships between objects (the relational bottleneck), it becomes "feature-agnostic." It learns the rule of the puzzle, not the look of the objects.
  • Extreme Generalization: The model excels at "extreme" OoD scenarios. In one test, it was trained on only 5 types of objects but could still solve puzzles involving 95 entirely new objects with near-perfect accuracy.

Key Results

  • Efficiency: SLOT-DWN uses 52% fewer trainable parameters than the leading baseline (OCRA) on the "Same/Different" task.
  • Speed: It converges 4x faster during training. On the "Same/Different" task, it hits peak accuracy in 50 epochs, while others need 200.
  • Inference: At test time, the reasoning stage requires roughly 400x fewer MFLOPs (Mega Floating-Point Operations) than Transformer-based competitors because it's mostly just looking up values in a table.
  • Accuracy: On the ART benchmark's most difficult generalization setting ($m=95$), SLOT-DWN achieved 98.59% accuracy on the SD task, significantly outperforming all non-logic-based models.

Limitations and Future Work

  • Frozen Perception: Currently, the "vision" part (Slot Attention) is pre-trained and then frozen. The authors suggest that training the vision and logic parts together (end-to-end) could make the model even more robust.
  • Quadratic Scaling: Because the model compares every pair of objects, the computational cost grows quadratically ($O(K^2)$) as you add more objects. Future work might involve "pruning" which pairs the model chooses to look at.
  • Complex Multi-Relations: While great at simple rules, the model still lags slightly behind massive Transformers when a single puzzle has many overlapping, complex rules (like in the RM-3 task).

In short, SLOT-DWN suggests that the path to "human-like" AI might not be bigger networks, but smarter, leaner logic. It’s a refreshing reminder that sometimes, a few well-placed bits are worth more than a billion parameters.

Summary updated

Abstract

Human visual intelligence enables efficient reasoning capabilities on abstract visual problems with bounded cognitive resources and minimal experience, and yields remarkable generalization to novel problems with its ability to draw relational analogies and modular abstractions. In contrast, deep learning models require exhaustive task-specific training on large datasets, making them prone to exploiting visual shortcuts and resulting in poor generalization. While neuro-symbolic approaches attempt to bridge this gap by decoupling perception from reasoning with dedicated computation units, existing solutions rely either on explicit rule supervision or parameter-heavy transformer architectures that reintroduce the computational inefficiencies they aim to solve. We introduce Slot-Dwn to address these limitations, a novel neuro-symbolic architecture that unifies unsupervised object-centric perception with logic-based symbolic reasoning. Our model utilizes a Multi-Head Differentiable Weightless Network (MH-DWN) that performs efficient reasoning entirely in Boolean space using look-up tables (LUTs). Our framework reduces visual perception complexity and introduces a LUT-based relational bottleneck with sparse input routing to minimize computational overhead. We evaluate Slot-Dwn across various abstract visual reasoning benchmark tasks targeting systematic rule generalization, sample-efficient anomaly detection, and multi-relational reasoning. We demonstrate that Slot-Dwn yields competitive performance with respect to the state-of-the-art, under extreme out-of-distribution regimes, while requiring up to 52% fewer trainable parameters, with significantly faster convergence.
BibTeX
@misc{eren2026object,
  author = {Hanne Say Eren and Ana Ezquerro and Ozan Özdenizci},
  title = {{Object-Centric Differentiable Logic Networks for Abstract Visual Reasoning}},
  year = {2026},
  eprint = {2611.30736},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.30736},
}
Figure