Pages and contents
Pages
- Non-Generative World Model Research
- Literature Review
- Literature Notes
- Attention
- Memory
- Planning
- Reviews
- Reinforcement Learning
- World Model Papers
- Biological
- World Models
- Representation
- Partial Homomorphisms
- DeepMDP
- Temporal Abstraction
- Unsupervised Causal Abstractions
- Approximate Equivariance
- OPAL
- Object Learning
- AdaSlot
- DETR & Object Queries
- DynO
- ICRL
- Hierarchical Variable Learning
- Mask2Former
- NeSy Review
- Neural Module Networks
- C-SWM
- Neuro-Symbolic Concepts
- OCRL
- Relational Bottleneck
- Slot Attention
- SlotFormer
- Latent Particles
- Training
- Template
- Important Concepts
- Models
- Resources
On this page
SlotFormer
https://arxiv.org/pdf/2210.05861
Problem
While recent object-centric models can successfully decompose a scene into objects, modeling their dynamics effectively still remains a challenge. We address this problem by introducing SlotFormer β a Transformer-based autoregressive model operating on learned object-centric representations. Given a video clip, our approach reasons over object features to model spatio-temporal relationships and predicts accurate future object states. In this paper, we successfully apply SlotFormer to perform video prediction on datasets with complex object interactions.
Architecture
To indicate the order of input slots, we add positional encoding (P.E.) to the latent embeddings. A naive solution would be to add a sinusoidal positional encoding to every slot regardless of its timestep, as done in Ding et al. (2021a). However, this would break the permutation equivariance among slots, which is a useful property of our model. Therefore, we only apply positional encoding at the temporal level, such that the slots at the same timestep receives the same positional encoding
SlotFormer predicts all the slots at one timestep in parallel. Therefore, we train the model using the predicted slots as inputs, simulating the autoregressive generation process at test time.
```mermaid
graph TD
subgraph Input Phase [Burn-in Frames]
Input["Input Video Frames (x_1, ..., x_T)"]
SlotEnc["Pretrained Slot Encoder (e.g., SAVi)"]
Slots["Object Slots (S_1, ..., S_T)"]
Input --> SlotEnc
SlotEnc --> Slots
end
subgraph Dynamics Modeling [SlotFormer]
Proj["Linear Projection Layer"]
PosEnc["+ Temporal Positional Encodings"]
Transf["Transformer Encoder (Spatio-Temporal Reasoning)"]
LinOut["Linear Layer (takes last N features)"]
Slots --> Proj
Proj --> PosEnc
PosEnc --> Transf
Transf --> LinOut
end
subgraph Output Phase [Future Rollout]
PredSlots["Predicted Future Slots (Ε_{T+1})"]
SlotDec["Frozen Slot Decoder"]
PredFrames["Predicted Future Frames (xΜ_{T+1}, ..., xΜ_{T+K})"]
LinOut --> PredSlots
PredSlots -. "Autoregressive Feedback loop for next step" .-> Proj
PredSlots --> SlotDec
SlotDec --> PredFrames
end
%% Styling
classDef default fill:#f9f9f9,stroke:#333,stroke-width:2px;
classDef input fill:#e1f5fe,stroke:#01579b;
classDef model fill:#fff3e0,stroke:#e65100;
classDef output fill:#e8f5e9,stroke:#1b5e20;
class Input,Slots,PredSlots,PredFrames input;
class SlotEnc,Proj,PosEnc,Transf,LinOut,SlotDec model;
```
[image: 2026-07-08_14-52-39.png]