Reasoning-Enhanced Object-Centric Learning for Videos

Jian Li, Pu Ren, Yang Liu, Hao Sun

Abstract

Object-centric learning aims to decompose video scenes into discrete object representations or "slots." However, existing models often struggle with temporal consistency and physical reasoning in complex scenes. We present STATM (Slot-based Time-Space Transformer with Memory buffer), a reasoning module that integrates historical context to improve object tracking and segmentation. By employing a memory buffer and a specialized Transformer architecture, STATM enables robust spatiotemporal reasoning, significantly outperforming baselines on challenging synthetic benchmarks like MOVi and CLEVRER.

Introduction

Object-centric learning seeks to decompose complex video scenes into manageable "slots"—abstract representations of individual objects. While recent models have become proficient at segmenting objects in simple videos, they often lack "intuitive physics": the human-like ability to reason about an object's past motion and its interactions with others to predict its future state.

Current leading models, such as SAVi and SAVi++, utilize simplistic predictors that only consider the current frame to estimate the next state. This approach is fragile; if an object is briefly occluded or the background is complex, the model often loses the object or incorrectly assigns it to a new slot.

Methodology: The STATM Module

To address these limitations, we propose the Slot-based Time-Space Transformer with Memory buffer (STATM). This module replaces the simplistic predictors in existing architectures with a more sophisticated reasoning engine.

STATM architecture overview. It consists of a Memory Buffer to store past object slots and a STAT module for reasoning.

The STATM architecture consists of three key components:

  1. Slot-based Memory Buffer: A queue that stores object representations (slots) from previous time steps, providing the model with a historical context of each object's trajectory.
  2. Slot-based Time-Space Transformer (STAT): This module performs dual attention mechanisms:
  3. Temporal Cross-Attention: The model looks back at the memory buffer to understand an object's historical movement.
  4. Spatial Self-Attention: The model calculates interactions between different objects within the current frame.
  5. Efficient Attention Architectures: The authors evaluated different temporal attention strategies. They found that Corresponding Slot Attention (CS)—where a slot only attends to its own historical versions—is computationally efficient and superior at maintaining object identity compared to "All Slot Attention" (AS), which can lead to identity swaps.
Visualization of the slot-based memory buffer, showing the temporal sequence of object representations.

Experimental Evaluation

The model was evaluated on several synthetic benchmarks designed for object-centric learning:

  • MOVi (A-E): Five datasets of increasing complexity. MOVi-E features complex natural backgrounds, up to 23 objects, and random camera movements.
  • CLEVRER: A dataset focused on collision events, used to test long-term prediction and Visual Question Answering (VQA) tasks.

Results and Discussion

STATM consistently outperformed baseline models across all MOVi datasets, with gains becoming more pronounced as scene complexity increased.

Segmentation and Tracking

On the challenging MOVi-D dataset, STATM-SAVi++ achieved a 50.1% mIoU, a significant improvement over the standard SAVi++ (43.6%). A key advantage of STATM is its ability to handle the "vanishing object" problem. Because the module remembers past slots, it can maintain a placeholder for an object during occlusion. When the object reappears, the model re-binds it to its original historical slot rather than initiating a new one.

Predictive Reasoning and VQA

On the CLEVRER predictive question task (e.g., "what will happen next?"), STATM achieved 96.62% accuracy, placing it at the top of the leaderboard. Furthermore, STATM can perform long-term rollouts, predicting many frames into the future with higher visual fidelity and physical accuracy than previous models like SlotFormer.

The Perception-Prediction Loop

A core insight of this work is that perception and prediction are complementary. Better predictions from STATM provide superior initializations for the perception "corrector" module, leading to more accurate object slots, which in turn refine future predictions.

Conclusion and Future Work

While STATM shows great promise on synthetic datasets, its performance on real-world video—with its inherent noise and variety—remains to be explored. Future work could involve joint training of the perception and reasoning modules to further enhance "intuitive physics" capabilities. Additionally, while the CS architecture is efficient, the added reasoning module increases computational requirements, a factor to be considered for real-time applications.

Summary updated

BibTeX
@inproceedings{li2024reasoning,
  author = {Jian Li and Pu Ren and Yang Liu and Hao Sun},
  title = {{Reasoning-Enhanced Object-Centric Learning for Videos}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2024},
}
Figure