TL;DR
Slot State Space Models (SlotSSMs) introduce a modular inductive bias into State Space Models (SSMs) by replacing a single "monolithic" hidden state with multiple independent "slots." This architecture allows the model to track multiple objects or entities separately over long time horizons, combining the computational efficiency and parallel training of models like Mamba with the object-centric reasoning capabilities of modular RNNs.
What Problem Does This Paper Address?
Modern sequence models face a trade-off between efficiency and modularity. Standard State Space Models (SSMs), such as Mamba or S4, are highly efficient and can handle very long sequences, but they typically use one large, "monolithic" state vector to summarize the past. In the real world, however, dynamics are often modular—think of several independent objects moving in a video. Forcing all this information into one vector "entangles" their dynamics, making it harder for the model to generalize or reason about individual entities.
On the other hand, Recurrent Independent Mechanisms (RIMs) and other modular RNNs use separate "slots" to track different objects, but they are slow to train because they cannot be parallelized across time and often struggle with vanishing gradients over long sequences. Transformers offer modularity through attention, but their computational cost grows quadratically with sequence length, making them impractical for very long videos.
Methods
The authors propose SlotSSMs, which maintain a set of $K$ separate slot state representations. The core innovation lies in how these slots are updated:
- Independent Transitions: Unlike standard SSMs, the state transition in a SlotSSM is performed independently for each slot. Mathematically, this is achieved by using block-diagonal transition matrices, ensuring that information from one slot doesn't "leak" into another during the temporal update step.
- Slot Encoder: This component uses a Transformer-style cross-attention mechanism to extract slot representations from unstructured input (like image patches).
- Slot Mixer: To allow for sparse interactions (e.g., when two objects collide), the authors interleave the independent SSM updates with a "Slot Mixer" that uses self-attention across the slots.
- OC-SlotSSM: A specialized version for Object-Centric learning that uses "inverted attention." This forces slots to compete for parts of the input, naturally encouraging each slot to represent a single, distinct object.
Datasets
The model was evaluated on a diverse set of benchmarks:
- Bouncing Balls: A classic video prediction task involving multiple interacting objects.
- Blinking Color Balls: A newly introduced benchmark designed to test long-context reasoning. Models must track objects over thousands of frames and remember their "earliest" or "most frequent" colors.
- MOVi-A & MOVi-B: Standard datasets for unsupervised object-centric video decomposition.
- CATER: A challenging 3D visual reasoning task where a model must locate a "snitch" object that may be hidden under other moving objects.
- Real-World Depth Estimation: Evaluated on the TikTok Dancing, Waymo Open, and UT Egocentric datasets to test performance on complex, natural video.
Key Insights and Ideas
- Modularity as an Inductive Bias: By forcing the model to use separate slots, the authors provide a "hint" that the world is composed of independent entities. This leads to better generalization in physical environments.
- The Best of Both Worlds: SlotSSMs achieve the parallelizable training of SSMs while maintaining the modular state of RNN-based models. This allows them to scale to sequence lengths (up to 2560 frames) where other models fail.
- Emergent Modularity: Even without explicit labels telling the model where objects are, the slots naturally "specialize." One slot might learn to track a specific ball, while another tracks the background.
Key Results
- Long-Range Reasoning: In the Blinking Color Balls task, SlotSSMs maintained consistent performance across sequence lengths from 80 to 2560 frames. In contrast, Transformers and modular RNNs either saw performance degrade significantly or failed to run due to memory constraints at higher lengths.
- Efficiency: SlotSSM's inference latency remains nearly constant as sequence length increases, whereas Transformer latency grows quadratically.
- 3D Reasoning (CATER): The object-centric variant (OC-SlotSSM) achieved 61.58% Top-1 accuracy without pre-training, vastly outperforming a single-state SSM (10.27%) and a SlotTransformer (41.09%).
- Object Discovery: On MOVi datasets, OC-SlotSSM outperformed the state-of-the-art SAVi model in both segmentation (FG-ARI) and attribute prediction, while also showing better training stability.
Limitations and Future Work
- Pre-training Requirements: The authors noted that for some complex reasoning tasks, SlotSSMs benefit significantly from a task-free pre-training phase (e.g., video reconstruction) to learn effective slot representations.
- Modality Scope: While highly effective for video, the framework has not yet been tested on other modular modalities like text (where "slots" could represent different topics or entities) or audio.
- Scaling: The experiments were conducted at an academic scale. Testing the limits of SlotSSMs on massive, industry-scale datasets remains a goal for future research.
Summary updated