Introduction
Virtual try-on (VTON) technology aims to synthesize a realistic image of a person wearing a specific garment. While early approaches relied on Generative Adversarial Networks (GANs), the field has recently shifted toward Diffusion Models due to their superior generative capabilities. However, a significant challenge remains: the "semantic gap."
Most current diffusion-based VTON models utilize CLIP (Contrastive Language-Image Pre-training) to extract features from clothing. Because CLIP is optimized for matching images with text descriptions, it often prioritizes broad semantic categories (e.g., "striped shirt") over the fine-grained visual details—such as specific button shapes, unique textures, or intricate patterns—necessary for a high-fidelity try-on. This results in "semantic drift," where the output garment resembles the target but lacks its exact identity. This paper proposes a novel framework that bridges this gap using a self-supervised Vision Transformer (ViT) specifically fine-tuned for clothing identity.
Methodology: Bridging the Semantic Gap
The proposed framework replaces generic semantic encoders with a self-supervised ViT detail injector, operating in a two-stage process.
Self-Supervised ViT Fine-tuning
The first stage involves fine-tuning a ViT using a teacher-student distillation framework. Unlike standard approaches that use random image crops, this method utilizes the ViT’s own self-attention maps to identify "high-attention points"—critical regions such as collars, logos, and hems. By centering local crops on these keypoints, the model is forced to learn the intricate structural and textural details that define a garment's unique identity. This "attention-guided sampling" ensures the model focuses its capacity on complex textures rather than blank backgrounds.
Diffusion-Based Inpainting
In the second stage, the fine-tuned ViT serves as a "detail injector" for a Stable Diffusion (SD) inpainting network. The system processes three primary inputs: the original person image (with the target area masked), a warped version of the garment for pose alignment, and the high-fidelity features extracted by the ViT. A cross-attention mechanism allows the diffusion model to reference these ViT features during the denoising process, ensuring the reconstructed garment maintains high fidelity to the original item without adding additional inference time.
Experimental Results
The model was trained and evaluated on the VITON-HD and DressCode benchmarks, comparing it against several state-of-the-art baselines, including CP-VTON, HR-VITON, and LaDI-VTON.
Quantitative Performance
On the VITON-HD dataset, the proposed method achieved an SSIM of 0.886 and an FID of 8.93, outperforming the previous state-of-the-art (LaDI-VTON, which scored 0.876 and 9.07, respectively). Furthermore, a blind user study involving 30 human judges found that this method was preferred for realism and detail accuracy approximately 47-52% of the time, a significant margin over the next best competitor (~7-12%).
Qualitative Analysis
Visual comparisons demonstrate the model's superior ability to preserve complex patterns and structural elements. While competing models often "smudge" or simplify intricate textures like small floral prints or specific collar shapes, this approach maintains these details with high clarity.
Conclusion and Future Work
By prioritizing visual identity over broad semantic descriptions, the self-supervised ViT approach significantly enhances the realism of virtual try-on. While the model excels at capturing complex textures, challenges remain in rendering extremely fine details like thin lace and resolving 2D-to-3D ambiguities in complex poses. Future research will focus on integrating 3D-aware representations to better model how clothing drapes and folds across various body types and orientations.
Summary updated