English

MDTv2: Masked Diffusion Transformer is a Strong Image Synthesizer

Computer Vision and Pattern Recognition 2024-02-22 v2

Abstract

Despite its success in image synthesis, we observe that diffusion probabilistic models (DPMs) often lack contextual reasoning ability to learn the relations among object parts in an image, leading to a slow learning process. To solve this issue, we propose a Masked Diffusion Transformer (MDT) that introduces a mask latent modeling scheme to explicitly enhance the DPMs' ability to contextual relation learning among object semantic parts in an image. During training, MDT operates in the latent space to mask certain tokens. Then, an asymmetric diffusion transformer is designed to predict masked tokens from unmasked ones while maintaining the diffusion generation process. Our MDT can reconstruct the full information of an image from its incomplete contextual input, thus enabling it to learn the associated relations among image tokens. We further improve MDT with a more efficient macro network structure and training strategy, named MDTv2. Experimental results show that MDTv2 achieves superior image synthesis performance, e.g., a new SOTA FID score of 1.58 on the ImageNet dataset, and has more than 10x faster learning speed than the previous SOTA DiT. The source code is released at https://github.com/sail-sg/MDT.

Keywords

Cite

@article{arxiv.2303.14389,
  title  = {MDTv2: Masked Diffusion Transformer is a Strong Image Synthesizer},
  author = {Shanghua Gao and Pan Zhou and Ming-Ming Cheng and Shuicheng Yan},
  journal= {arXiv preprint arXiv:2303.14389},
  year   = {2024}
}

Comments

Extension of ICCV 2023 work, source code: https://github.com/sail-sg/MDT

R2 v1 2026-06-28T09:33:17.708Z