Are Object-Centric Representations Better at Compositional Generalization?

Ferdinand Kapl, Amir Mohammad Karimi Mamaghan, Maximilian Seitzer, Karl Henrik Johansson, Carsten Marr, Stefan Bauer, Andrea Dittadi

Introduction

Compositional generalization—the ability to reason about novel combinations of familiar concepts—is a hallmark of human cognition and a persistent challenge for machine learning. For instance, if a system knows what a "red cube" and a "blue sphere" look like, it should seamlessly recognize a "blue cube." While humans do this effortlessly, vision models frequently fail when encountering novel property combinations at test time.

Researchers have long hypothesized that Object-Centric (OC) representations, which explicitly decompose a scene into discrete object "slots," could solve this issue. However, evidence supporting this claim has largely been anecdotal or restricted to simplistic toy datasets. This paper provides a systematic, "apples-to-apples" comparison between standard dense vision encoders and their object-centric counterparts in visually complex environments to determine if OC models truly offer superior compositional generalization.

Methodology and Datasets

To rigorously evaluate these architectures, the researchers compared two primary types of vision backbones:

  1. Dense Encoders: Standard foundation models like DINOv2 and SigLIP2, which represent images as a grid of feature tokens.
  2. Object-Centric (OC) Encoders: Models such as DINOSAURv2 and the newly introduced SigLIPSAUR2. These utilize a "Slot Attention" mechanism to group dense features into a small set of vectors (slots), each ideally representing a distinct object.

To ensure a fair comparison, the study controlled for representation size (resizing dense representations via cross-attention to match the number of OC slots), downstream model capacity (testing various sizes of Transformer-based Visual Question Answering models), and compute (measuring performance relative to the FLOPs required for the downstream reasoning task).

The evaluation was conducted across three visually rich, controlled synthetic worlds:

  • CLEVRTex: Features objects with complex textures and materials.
  • Super-CLEVR: Contains objects with distinct parts and intricate attribute relationships.
  • MOVi-C: Includes diverse, scanned real-world objects placed in simulated environments.

The authors introduced a novel benchmarking protocol featuring Easy, Medium, and Hard training splits. These splits vary the training data's diversity—specifically, the number of unique property combinations (e.g., shape, size, color) the model observes before being evaluated on a held-out Compositional Out-of-Distribution (COOD) set containing 20% unseen combinations.

Key Insights and Results

The systematic comparison yielded several critical insights into how inductive biases shape model performance:

  • Superiority in Hard Settings: In the "Hard" generalization regime, where training diversity is lowest, OC models consistently outperformed dense models. For example, on the CLEVRTex dataset, DINOSAURv2 surpassed DINOv2 by up to 12.3% in absolute accuracy when paired with a smaller downstream model. The OC inductive bias forces the model to "think in objects" from the outset, bypassing the need to learn object-background disentanglement during the reasoning phase.
  • Sample Efficiency: OC models demonstrated a significant advantage in sample efficiency, achieving high performance with far fewer training images (e.g., $2^{14}$ images). They effectively grasp the scene structure much faster than dense models. Dense models only began to close this performance gap when provided with a highly diverse, full 40k-image dataset and a larger downstream model.
  • Compute Efficiency: Because OC representations are highly compact (e.g., 7 slots compared to 256 dense tokens), the downstream reasoning VQA transformer runs significantly faster. Dense models often required 1.5x to 3x more compute to match the generalization performance of OC models on easier tasks, and frequently failed to catch up on hard tasks even with additional compute.
  • The "Easy" Setting Mirage: In "Easy" settings characterized by high data diversity, massive dense models can match or slightly outperform OC models. However, this performance often stems from memorizing extensive patterns rather than achieving genuine compositional understanding.

Limitations and Future Directions

While the study provides robust evidence for the benefits of OC representations, it acknowledges certain limitations. The reliance on synthetic datasets, though visually rich, does not fully capture the messy, biased attribute distributions found in natural images (e.g., real-world "elephants" are rarely "pink," complicating pure compositionality tests).

Furthermore, the OC models evaluated all rely on reconstructing dense features. Future work could explore alternative objective functions, such as contrastive learning or pixel-space reconstruction, which might yield different generalization dynamics. Finally, as this study focused primarily on Slot Attention, investigating newer object-centric architectures—such as those based on diffusion or pure transformer-decoders—remains a promising avenue for future research.

Summary updated

BibTeX
@inproceedings{kapl2026are,
  author = {Ferdinand Kapl and Amir Mohammad Karimi Mamaghan and Maximilian Seitzer and Karl Henrik Johansson and Carsten Marr and Stefan Bauer and Andrea Dittadi},
  title = {{Are Object-Centric Representations Better at Compositional Generalization?}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=cgLZYrBHh6},
}
Figure