Lavida-O: Elastic Large Masked Diffusion Models for Unified Multimodal Understanding and Generation

Shufan Li, Jiuxiang Gu, Kangning Liu, Zhe Lin, Zijun Wei, Aditya Grover, Jason Kuen

TL;DR

Lavida-O is a unified Masked Diffusion Model (MDM) that bridges the gap between high-resolution image generation (1024px) and complex multimodal understanding, such as object grounding and reasoning. By introducing a novel "Elastic-MoT" architecture and iterative self-reflection, it outperforms specialized models across various benchmarks while delivering up to a 6.8x speedup at inference compared to autoregressive counterparts.

The Challenge of Unified Multimodal Models

Historically, AI models have been specialists: detection models handle "understanding," while diffusion models handle "generating." Recent attempts at unified models often rely on Autoregressive (AR) architectures or AR-diffusion hybrids. However, these can be computationally expensive and slow due to sequential token generation.

Existing Masked Diffusion Models (MDMs)—which generate tokens in parallel—offered a promising alternative but suffered from three major limitations:

  1. Resolution Limits: They were mostly restricted to low-resolution (512px) generation.
  2. Task Breadth: They struggled with localized tasks like object grounding or complex image editing.
  3. Efficiency: Training large unified MDMs was prohibitively expensive because they typically required massive, symmetric backbones for both understanding and generation.
Lavida-O Capabilities

The Lavida-O Architecture

To overcome these hurdles, the authors introduce several architectural and procedural innovations that make Lavida-O both powerful and efficient:

  • Elastic Mixture-of-Transformers (Elastic-MoT): Instead of using two identical large branches, Lavida-O couples a large 8B "understanding" branch with a smaller 2.4B "generation" branch. Crucially, attention is decoupled in the later layers; text and image tokens only interact in the first 16 layers, significantly reducing the active parameter count during specific tasks.
  • Token Compression: To handle high-resolution images without exploding the sequence length, the model uses a module that compresses Visual Quantizer (VQ) tokens by a factor of four.
  • Stratified Random Sampling: Standard MDMs often suffer from "clustering" artifacts during generation. Lavida-O uses a grid-based stratified sampling approach to ensure unmasked tokens are spatially dispersed, leading to higher visual quality and lower FID scores.
  • Universal Text Conditioning: Rather than using specialized embedding layers for metadata (like image resolution or quality scores), the model simply appends this information as plain text (e.g., "SCORE: 7.0") to the prompt.
  • Planning and Reflection: The model uses its "understanding" capabilities to improve its generation. It first generates a layout (Planning) before creating the image. After generation, it critiques its own work (Reflection) and iteratively refines the image if it doesn't match the prompt (e.g., correcting spatial relationships or object counts).

Key Results and Performance

Lavida-O was trained across three stages using a massive mix of data for generation, understanding, and editing. The results demonstrate that parallel decoding and an asymmetric architecture can yield state-of-the-art performance:

  • Text-to-Image: Achieved a GenEval score of 0.89 (with reflection), significantly outperforming other MDMs like MMaDa (0.63) and specialized models like DALLE-3 (0.67).
  • Object Grounding: On the RefCOCO benchmark, Lavida-O achieved 91.9 precision in a single step, rivaling specialized models like GroundingDINO while operating much faster (up to 6.8x speedup over AR models like Qwen2.5-VL).
  • Image Editing: On the ImgEdit benchmark, it outperformed GPT-4o in "Replace" and "Remove" categories, demonstrating superior localized understanding.
  • Training Efficiency: The Elastic-MoT design improved training speed by 3.17x compared to a standard symmetric MoT design.

Limitations and Future Work

Despite its advances, Lavida-O has a few limitations. The model currently struggles to render or edit legible text within images, as it wasn't specifically trained on text-rendering datasets. In image editing, it sometimes exhibits "pixel shift," changing parts of the background that should remain static. Additionally, while improved over its predecessors, there is still a performance gap in complex mathematical reasoning compared to the best AR models. Finally, the current VQ tokenizer cannot faithfully reconstruct very small, fine details—an issue the authors plan to address by fine-tuning on document screenshots in future iterations.

Summary updated

BibTeX
@inproceedings{li2026lavida,
  author = {Shufan Li and Jiuxiang Gu and Kangning Liu and Zhe Lin and Zijun Wei and Aditya Grover and Jason Kuen},
  title = {{Lavida-O: Elastic Large Masked Diffusion Models for Unified Multimodal Understanding and Generation}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=zV5FeNiWDO},
}
Figure