Slot-MLLM: Object-Centric Visual Tokenization for Multimodal LLM

Donghwan Chi, Hyomin Kim, Yoonjin Oh, Yongjin Kim, Donghoon Lee, Daejin Jo, Jongmin Kim, Junyeob Baek, Sungjin Ahn, Sungwoong Kim · DOI

Introduction

Most current Multimodal Large Language Models (MLLMs) process images using one of two suboptimal strategies: they either compress the entire image into a few global abstract tokens or divide it into a rigid grid of patches. The global approach sacrifices fine-grained details, while the grid approach often splits a single object across multiple tokens or merges distinct objects into one. This lack of object-awareness makes it difficult for LLMs to perform tasks requiring deep understanding of individual entities, such as precise image editing or complex visual reasoning.

To bridge this gap, Slot-MLLM introduces an object-centric visual tokenizer that treats distinct objects in an image as individual "words" for a Large Language Model. By integrating Slot Attention into a unified next-token prediction framework, the model achieves superior performance in detailed image understanding and precise, object-level image editing.

Architecture and Methodology

Slot-MLLM is built around a novel architecture designed to extract and discretize object-level features from natural images. The system consists of three primary components:

  1. Slot Q-Former: This component replaces standard cross-attention with Slot Attention. In this setup, learnable queries "compete" for parts of the image features. This competitive mechanism naturally forces each query (or "slot") to latch onto a spatially coherent region, typically corresponding to a specific object or background element.
  2. Vector Quantizer: To make visual features compatible with an LLM's vocabulary, the model uses Residual Vector Quantization (RVQ). This maps continuous slot embeddings into a sequence of discrete tokens, allowing the LLM to process image components identically to text tokens.
  3. Visual Decoder: To ensure the tokens retain sufficient detail, the model includes a diffusion-based decoder (based on unCLIP Stable Diffusion). During training, the model is tasked with reconstructing the original image from its discrete slot tokens, enforcing a high-fidelity representation.
Figure 1: Overview of the Slot-MLLM framework, showing the Slot Q-Former generating object-centric tokens for tasks like image editing, VQA, and generation.

The training process is executed in stages: first, the tokenizer is trained for reconstruction and image-text alignment; second, the quantizer is optimized; and finally, the LLM (such as Vicuna or Qwen) is fine-tuned using a standard next-token prediction objective for both text and images.

Key Insights: Competition Breeds Object-Centricity

A core innovation of Slot-MLLM is the use of Slot Attention's competitive mechanism to provide an unsupervised way to discover objects. Unlike traditional methods that require expensive bounding box labels, the architecture's bottleneck forces the model to group related pixels together into meaningful "slots."

Figure 3: Visual comparison of slot masks. Slot-MLLM (bottom) demonstrates significantly better object-centric segmentation compared to previous tokenization methods like LaViT and SEED.

While Slot Attention has historically been limited to simple, synthetic datasets (like CLEVR), this work successfully scales the approach to "in-the-wild" natural images. By discretizing these slots, the LLM doesn't just "see" a grid; it "reads" a list of objects. This alignment makes the LLM significantly better at following complex, object-specific instructions during image generation and editing.

Performance and Results

Slot-MLLM was evaluated against massive datasets, including 70 million image-text pairs for pre-training and various benchmarks for understanding and generation:

  • Superior Reconstruction: Slot-MLLM achieved a PSNR of 12.14, outperforming state-of-the-art tokenizers like SEED (9.51) and LaViT (10.76).
  • Enhanced Understanding: On the GQA benchmark, which focuses on object attributes and relationships, Slot-MLLM scored 58.1, significantly higher than SEED-LLaMA's 52.4.
  • Precise Editing: The model excelled at localized image editing. On the MagicBrush benchmark, it achieved a CLIP-I score of 82.2, demonstrating a superior ability to modify specific objects without corrupting the surrounding scene.

Limitations and Future Directions

Despite its success, Slot-MLLM faces several challenges. The current model uses a fixed slot count (32 slots per image), which may be inefficient for very simple or overly complex scenes; future iterations may explore dynamic slot allocation. Additionally, the model is currently limited to static images; extending object-centric tokenization to video—where slots must track objects across frames—is a logical next step. Finally, the iterative nature of Slot Attention and the use of diffusion decoders introduce higher computational overhead compared to simpler patch-based models, leaving room for optimization in real-time applications.

Summary updated

BibTeX
@misc{chi2025slot,
  author = {Donghwan Chi and Hyomin Kim and Yoonjin Oh and Yongjin Kim and Donghoon Lee and Daejin Jo and Jongmin Kim and Junyeob Baek and Sungjin Ahn and Sungwoong Kim},
  title = {{Slot-MLLM: Object-Centric Visual Tokenization for Multimodal LLM}},
  year = {2025},
  eprint = {2505.17726},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.17726},
}
Figure