E-MD3C: Taming Masked Diffusion Transformers for Efficient Zero-Shot Object Customization
Trung X. Pham, Zhang Kang, Ji Woo Hong, Xuran Zheng, Chang D. Yoo
TL;DR
E-MD3C introduces a lightweight masked diffusion transformer for zero-shot object customization, operating on latent patches to dramatically reduce parameters and compute compared with Unet-based latent diffusion. The method decouples conditioning into a Disentangled Masked Diffusion Module and a Learnable Conditions Collector (CCNet), enabling efficient denoising with two branches and a compact conditional vector. It combines a Denoising Transformer-based Diffusion Network (DTDNet) with a dynamically guided, disentangled conditioning scheme, achieving competitive quality on VITON-HD while delivering up to 2.5x faster inference and 1/3 lower memory usage. Extensive experiments and ablations demonstrate robustness across views and scenarios, highlighting practical impact for real-world, resource-constrained applications in zero-shot object customization.
Abstract
We propose E-MD3C ($\underline{E}$fficient $\underline{M}$asked $\underline{D}$iffusion Transformer with Disentangled $\underline{C}$onditions and $\underline{C}$ompact $\underline{C}$ollector), a highly efficient framework for zero-shot object image customization. Unlike prior works reliant on resource-intensive Unet architectures, our approach employs lightweight masked diffusion transformers operating on latent patches, offering significantly improved computational efficiency. The framework integrates three core components: (1) an efficient masked diffusion transformer for processing autoencoder latents, (2) a disentangled condition design that ensures compactness while preserving background alignment and fine details, and (3) a learnable Conditions Collector that consolidates multiple inputs into a compact representation for efficient denoising and learning. E-MD3C outperforms the existing approach on the VITON-HD dataset across metrics such as PSNR, FID, SSIM, and LPIPS, demonstrating clear advantages in parameters, memory efficiency, and inference speed. With only $\frac{1}{4}$ of the parameters, our Transformer-based 468M model delivers $2.5\times$ faster inference and uses $\frac{2}{3}$ of the GPU memory compared to an 1720M Unet-based latent diffusion model.
