NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

WarpDiffusion: Efficient Diffusion Model for High-Fidelity Virtual Try-on

Xujie Zhang, Xiu Li, Michael Kampffmeyer, Xin Dong, Zhenyu Xie, Feida Zhu, Haoye Dong, Xiaodan LiangarXiv 2023

Abstract

Image-based Virtual Try-On (VITON) aims to transfer an in-shop garment image onto a target person. While existing methods focus on warping the garment to fit the body pose, they often overlook the synthesis quality around the garment-skin boundary and realistic effects like wrinkles and shadows on the warped garments. These limitations greatly reduce the realism of the generated results and hinder the practical application of VITON techniques. Leveraging the notable success of diffusion-based models in cross-modal image synthesis, some recent diffusion-based methods have ventured to tackle this issue. However, they tend to either consume a significant amount of training resources or struggle to achieve realistic try-on effects and retain garment details. For efficient and high-fidelity VITON, we propose WarpDiffusion, which bridges the warping-based and diffusion-based paradigms via a novel informative and local garment feature attention mechanism. Specifically, WarpDiffusion incorporates local texture attention to reduce resource consumption and uses a novel auto-mask module that effectively retains only the critical areas of the warped garment while disregarding unrealistic or erroneous portions. Notably, WarpDiffusion can be integrated as a plug-and-play component into existing VITON methodologies, elevating their synthesis quality. Extensive experiments on high-resolution VITON benchmarks and an in-the-wild test set demonstrate the superiority of WarpDiffusion, surpassing state-of-the-art methods both qualitatively and quantitatively.

Introduction

Virtual try-on (VITON) technology aims to synthesize a realistic image of a person wearing a specific garment. Historically, this task has been approached in two stages: deforming a flat garment image to fit a person's pose (warping) and fusing that warped garment onto the person (blending).

While GAN-based methods are computationally efficient, they often produce "flat" results lacking realistic textures, shadows, or clean boundaries. Conversely, recent diffusion-based models achieve high fidelity but are prohibitively expensive, requiring millions of training samples and thousands of GPU hours. WarpDiffusion addresses this gap by creating a hybrid model that is both high-fidelity and computationally accessible, treating the initial warp as a "noisy hint" rather than a final product.

Methodology

WarpDiffusion is built upon a pre-trained Stable Diffusion inpainting model, enhanced by three primary architectural innovations designed to improve detail retention and efficiency.

Auto Mask Module

Warping algorithms frequently produce artifacts or unrealistic distortions. The Auto Mask module utilizes a UNet to predict an "informative mask" ($M_{info}$), which directs the diffusion model to trust specific parts of the warped garment while ignoring erroneous pixels. During training, a Laplacian filter encourages the model to prioritize high-gradient areas, such as logos and intricate textures.

Local Texture Attention

Standard global cross-attention is computationally intensive. Since the garment is already roughly aligned with the body via the warping stage, WarpDiffusion employs window-based local attention. By dividing the image into small windows (e.g., 8x8) and performing attention only within corresponding regions, the model drastically reduces compute requirements while maintaining sharp, localized texture details.

11-Channel Input Representation

To provide sufficient context for high-fidelity synthesis, the input is expanded to 11 channels, including the noisy latent (4 channels), a garment-agnostic person image (4 channels), a target mask (1 channel), a foreground mask (1 channel), and a skin mask (1 channel).

Experimental Results

Datasets and Training

The model was evaluated on the VITON-HD (13,679 pairs) and DressCode (48,392 pairs) benchmarks, as well as an uncurated "in-the-wild" set to test robustness. Remarkably, WarpDiffusion achieved state-of-the-art results with massive efficiency gains: it was trained on 8 NVIDIA A100 GPUs in just one day using 30k samples, whereas previous leaders like TryonDiffusion required 32 TPU-v4s for nine days.

Qualitative and Quantitative Performance

WarpDiffusion outperformed baselines across standard metrics, including FID (Fréchet Inception Distance) and LPIPS. Qualitatively, the model excels at generating complex fabric behaviors, such as wrinkles around crossed limbs and subtle shadows cast onto the skin. It also handles challenging textures like lace and mesh with significantly higher grace than GAN-based predecessors.

Qualitative comparison of WarpDiffusion against state-of-the-art VITON methods.

Conclusion and Future Work

WarpDiffusion demonstrates that combining warping priors with localized diffusion attention can yield high-fidelity virtual try-on results with a fraction of the typical computational cost. While the model is highly effective, challenges remain regarding extremely complex poses and multi-garment layering. Future research will focus on zero-shot generation and finer control mechanisms to address these edge cases.

Summary updated

BibTeX
@misc{zhang2023warpdiffusion,
  author = {Xujie Zhang and Xiu Li and Michael Kampffmeyer and Xin Dong and Zhenyu Xie and Feida Zhu and Haoye Dong and Xiaodan Liang},
  title = {{WarpDiffusion: Efficient Diffusion Model for High-Fidelity Virtual Try-on}},
  year = {2023},
  eprint = {2312.03667},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.03667},
}
Figure