Abstract: Neural networks have achieved success in a wide array of perceptual tasks but often fail at tasks involving both perception and higher-level reasoning. On these more challenging tasks, bespoke approaches (such as modular symbolic components, independent dynamics models or semantic parsers) targeted towards that specific type of task have typically performed better. The downside to these targeted approaches, however, is that they can be more brittle than general-purpose neural networks, requiring significant modification or even redesign according to the particular task at hand. Here, we propose a more general neural-network-based approach to dynamic visual reasoning problems that obtains state-of-the-art performance on three different domains, in each case outperforming bespoke modular approaches tailored specifically to the task. Our method relies on learned object-centric representations, self-attention and self-supervised dynamics learning, and all three elements together are required for strong performance to emerge. The success of this combination suggests that there may be no need to trade off flexibility for performance on problems involving spatio-temporal or causal-style reasoning. With the right soft biases and learning objectives in a neural network we may be able to attain the best of both worlds.
Introduction
In the field of artificial intelligence, a significant divide persists between perception—the ability to identify entities within a scene—and reasoning—the ability to predict interactions or infer causal relationships. While deep learning has revolutionized perception, complex reasoning has traditionally relied on "neuro-symbolic" hybrids. These systems combine neural networks for visual processing with hand-coded symbolic logic engines for reasoning. While effective, these bespoke systems are inherently brittle, often requiring extensive manual redesign when applied to new tasks or domains.
This paper introduces Aloe (Attention over Learned Object Embeddings), a general-purpose neural architecture designed to bridge this gap. Aloe demonstrates that by integrating object-centric representations with global self-attention and self-supervised dynamics learning, a single model can master complex spatio-temporal and causal reasoning without task-specific manual engineering.
The Aloe Architecture
Aloe's success is built upon three architectural pillars that provide the necessary inductive biases for physical reasoning:
- Object-Centric Representations: Rather than processing raw pixels, Aloe utilizes an unsupervised model (such as MONet) to segment video frames into discrete "objects." These segments are converted into mathematical embeddings, allowing the model to reason about the atomic units of physical interaction.
- Global Self-Attention (Transformers): These object embeddings are processed by a Transformer. Unlike models that process frames sequentially, Aloe employs global attention, allowing every object in every frame to interact with every other object across the entire temporal sequence. This enables the integration of information across time and modalities, such as linking linguistic queries to specific visual object embeddings.
- Self-Supervised Dynamics Learning: To learn the underlying "physics" of a scene, Aloe uses a BERT-style masking objective. By masking certain objects or entire scenes during training and requiring the model to predict the missing information, Aloe learns how objects move, collide, and persist over time.
Learning Objectives and Tasks
The model is trained using various self-supervised objectives that force it to understand scene dynamics. These include object prediction (predicting a masked object in a future frame), scene prediction (predicting an entire future frame), and infilling (predicting masked objects in the middle of a sequence). These tasks ensure the model develops a robust internal representation of physical causality.
Experimental Evaluation
Aloe was evaluated on three challenging benchmarks:
- CLEVRER: Tests descriptive, predictive, explanatory, and counterfactual reasoning (e.g., "What would have happened if the blue ball wasn't there?").
- CATER: Focuses on object permanence and long-term tracking, specifically tracking a "snitch" hidden under moving containers.
- ACRE: Evaluates causal induction, requiring the model to identify which objects trigger a specific effect.
Key Results
Aloe achieved state-of-the-art results across all benchmarks, frequently outperforming specialized neuro-symbolic models:
- Superior Reasoning: On CLEVRER counterfactual questions, Aloe reached 75.6% accuracy, significantly higher than the 42.2% achieved by the leading neuro-symbolic model (NS-DR).
- Causal Induction Mastery: On ACRE's most difficult "backward-blocking" tasks, Aloe achieved 94.48% accuracy, while modular neuro-symbolic systems struggled at 16.06%.
- Efficiency and Generalization: Aloe matched state-of-the-art performance on CLEVRER using 40% less training data than previous models. Furthermore, the exact same architecture was applied to all three datasets without modification, demonstrating its flexibility.
Conclusion
The performance of Aloe suggests that the perceived trade-off between the flexibility of neural networks and the reasoning power of symbolic logic may be unnecessary. By combining object-centricity, global attention, and self-supervised dynamics, Aloe provides a general-purpose framework for spatio-temporal reasoning that moves beyond simple pattern matching toward a deeper understanding of the physical world.
Summary updated