Efficient Object-Centric Representation Learning using Masked Generative Modeling

Akihiro Nakano, Masahiro Suzuki, Yutaka MatsuoTMLR 2025

Abstract

Learning object-centric representations from visual inputs in an unsupervised manner has drawn focus to solve more complex tasks, such as reasoning and reinforcement learning. However, current state-of-the-art methods, relying on autoregressive transformers or diffusion models to generate scenes from object-centric representations, suffer from computational inefficiency due to their sequential or iterative nature. This computational bottleneck limits their practical application and hinders scaling to more complex downstream tasks. To overcome this, we propose MOGENT, an efficient object-centric learning framework based on masked generative modeling. MOGENT conditions a masked bidirectional transformer on learned object slots and employs a parallel iterative decoding scheme to generate scenes, enabling efficient compositional generation. Experiments show that MOGENT significantly improves computational efficiency, accelerating the generation process by up to 67x and 17x compared to autoregressive models and diffusion-based models, respectively. Importantly, the efficiency is attained while maintaining strong or competitive performance on object segmentation and compositional generation tasks.

Introduction

Object-centric learning is a fundamental challenge in computer vision, aiming to decompose complex visual scenes into discrete, manageable representations or "slots." These slots are essential for higher-level cognitive tasks like reasoning and compositional generalization—the ability to understand that objects can be rearranged or modified independently. While models like SLATE and SlotDiffusion have made strides in unsupervised object discovery, they are hampered by significant computational overhead. Autoregressive models generate images patch-by-patch, leading to thousands of sequential steps for high-resolution images, while diffusion models require multiple memory-intensive refinement iterations. MOGENT (Masked Object-centric GENerative Transformer) addresses this bottleneck by leveraging parallel masked generative modeling.

The MOGENT Framework

The core of MOGENT is the replacement of sequential decoders with a masked bidirectional transformer. Unlike autoregressive models that predict the "next" token, MOGENT starts with a fully masked image and predicts multiple missing patches simultaneously, conditioned on learned object slots. This approach allows for a parallel iterative decoding scheme where the model fills in the most certain patches first.

Overview of the MOGENT architecture and its comparison with the autoregressive SLATE model.

To ensure robust object discovery, MOGENT incorporates three key inductive biases:

  • Query Slot Attention (QSA): Uses learnable queries to improve the "binding" of specific pixels to their corresponding object slots.
  • Zero Mask Initialization: Initializing mask tokens to zero helps the model distinguish between conditioning information and the patches to be generated.
  • Mask-Only Loss: By calculating loss only on masked patches, the model is prevented from taking shortcuts and forced to learn meaningful representations.

Key Results and Efficiency

MOGENT demonstrates a dramatic improvement in scalability. Because its parallel decoding scheme is largely independent of image resolution, it can generate a 128x128 image in approximately 20 steps, regardless of the total pixel count.

Runtime comparison showing MOGENT's near-constant generation time relative to image resolution compared to SLATE's exponential growth.

In benchmarks on the CLEVRTex dataset, MOGENT achieved a 67x speedup over the autoregressive SLATE model and a 17x speedup over the diffusion-based SlotDiffusion. Beyond speed, MOGENT also improves segmentation quality. On the CLEVR benchmark, it achieved a Foreground Adjusted Rand Index (FG-ARI) of 0.750, compared to SLATE's 0.611. This indicates that MOGENT is not only more efficient but also more accurate at identifying individual objects within a scene.

Conclusion and Future Work

MOGENT represents a significant step toward scalable object-centric learning. By breaking the sequential bottleneck of previous generative models, it opens the door for applying these techniques to complex, high-resolution video and interactive environments. While the model currently excels on synthetic benchmarks, future work will focus on improving unconditional generation and scaling to more complex real-world datasets by integrating pre-trained visual backbones.

Summary updated

BibTeX
@article{nakano2025efficient,
  author = {Akihiro Nakano and Masahiro Suzuki and Yutaka Matsuo},
  title = {{Efficient Object-Centric Representation Learning using Masked Generative Modeling}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=t9KvOYPeL3},
}
Figure