Texture-Preserving Diffusion Models for High-Fidelity Virtual Try-On

Xu Yang, Changxing Ding, Zhibin Hong, Junhao Huang, Jin Tao, Xiangmin Xu · DOI

Abstract

Image-based virtual try-on is an increasingly important task for online shopping, aiming to synthesize images of a specific person wearing a specified garment. While diffusion model-based approaches have become popular for their image synthesis capabilities, they often rely on additional image encoders and cross-attention mechanisms that can degrade texture transfer efficiency and fidelity. We propose the Texture-Preserving Diffusion (TPD) model, which enhances fidelity without additional image encoders. TPD introduces two primary innovations: spatial concatenation of the masked person and reference garment for efficient self-attention-based texture transfer, and a novel diffusion-based decoupled mask prediction method. Experimental results on VITON and VITON-HD databases demonstrate that TPD significantly outperforms state-of-the-art methods in both garment-to-person and person-to-person tasks.

Introduction

Virtual try-on (VTO) technology seeks to seamlessly overlay a target garment onto a person's image. Traditional methods often utilized explicit "warping" techniques to align clothing with the body, frequently resulting in visual artifacts. While the advent of Diffusion Models has improved synthesis quality, two significant challenges remain: the loss of fine-grained textures (like logos or complex patterns) due to the information bottleneck of external encoders like CLIP, and "identity erasure," where coarse inpainting masks accidentally remove personal details such as hands, tattoos, or muscle definition.

Methodology

The TPD framework addresses these challenges through a compact, single-model architecture featuring two key components.

Self-Attention-based Texture Transfer (SATT)

To bypass the limitations of pre-trained image encoders, TPD utilizes spatial concatenation. The reference garment and the masked person image are placed side-by-side within the same spatial frame before being fed into the denoising UNet. This configuration allows the model's internal self-attention layers to naturally learn correlations between the garment's pixels and the target body areas. By treating the garment as direct spatial context, the model extracts multi-scale features without the "smudging" effect typical of coarse text-based or low-resolution image encoders.

Decoupled Mask Prediction (DMP)

Rather than employing static, generic masks that cover the entire torso, TPD implements an adaptive, two-stage mask prediction system. First, the model predicts the specific area the new garment will occupy. Second, it merges this with the original garment's area derived from human parsing. This "surgical" inpainting approach ensures that only the necessary pixels are modified, preserving critical peripheral details like fingers and arm tattoos that overlap with the clothing region.

Experimental Results

The TPD model was evaluated on the VITON, VITON-HD, and DeepFashion datasets. Quantitative analysis on VITON-HD showed that TPD achieved a Structural Similarity Index (SSIM) of 0.90 and a Fréchet Inception Distance (FID) of 8.54, marking a significant improvement over existing state-of-the-art models like LaDI-VTON and DCI-VTON.

Qualitatively, TPD demonstrates superior performance in rendering complex logos and text, which are often garbled by competing methods. Furthermore, the adaptive masking successfully maintains the integrity of the person's physical identity, such as hand placement and skin markings.

High-fidelity text rendering on a graphic tee demonstrates the model's ability to preserve fine-grained details.
Accurate texture transfer of lace details and complex patterns in a virtual try-on scenario.

Conclusion

Texture-Preserving Diffusion (TPD) represents a shift toward "encoder-free" high-fidelity virtual try-on. By leveraging spatial self-attention and precise mask prediction, the model achieves unprecedented realism in texture preservation and identity maintenance. Future research will explore the model's robustness in complex real-world backgrounds and its potential extension to video-based virtual try-on applications.

Summary updated

BibTeX
@inproceedings{yang2024texture,
  author = {Xu Yang and Changxing Ding and Zhibin Hong and Junhao Huang and Jin Tao and Xiangmin Xu},
  title = {{Texture-Preserving Diffusion Models for High-Fidelity Virtual Try-On}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  doi = {10.1109/cvpr52733.2024.00670},
}
Figure