TED-VITON: Transformer-Empowered Diffusion Models for Virtual Try-On

Zhenchen Wan, Yanwu Xu, Zhaoqing Wang, Feng Liu, Tongliang Liu, Mingming Gong

TL;DR

TED-VITON is the first framework to successfully adapt Diffusion Transformer (DiT) architectures for the Virtual Try-On (VTO) task. By introducing a Garment Semantic Adapter, a specialized text preservation loss, and LLM-optimized prompts, it achieves state-of-the-art visual quality, particularly in rendering crisp, distortion-free text and intricate garment textures.

What Problem Does This Paper Address?

Virtual Try-On (VTO) technology aims to generate a realistic image of a person wearing a selected garment. While recent methods leverage text-to-image (T2I) diffusion models to improve realism, most rely on older UNet-based architectures. These models frequently struggle to preserve fine-grained details, such as complex fabric textures, and often warp or distort text and logos on clothing.

While newer Diffusion Transformers (DiTs)—like Stable Diffusion 3 (SD3)—offer superior scalability and text-rendering capabilities, simply applying existing VTO techniques to them yields suboptimal results due to fundamental architectural differences. TED-VITON bridges this gap, unlocking the power of DiT models for high-fidelity virtual try-ons.

Methods

The authors build their framework on the multimodal DiT architecture of SD3, introducing three novel components to handle the specific challenges of VTO:

  1. Dual-Network Feature Extraction:
  2. DiT-GarmentNet: Extracts high-frequency, fine-grained details (textures, patterns, logos) directly from the garment image.
  3. Garment Semantic (GS) Adapter: Utilizes a frozen DINOv2 encoder to extract low-frequency, high-order semantic features (structure, style, material). It uses a decoupled cross-attention mechanism to inject these features independently, making the model robust to variations in body pose and garment deformation.
  4. DiT-TryOnNet: The main transformer network that processes the person's image. It takes a combined latent input consisting of noised latents, a garment area mask, a masked person image, and DensePose pose annotations.
  5. Text Preservation Loss ($L_{pres}$): Fine-tuning a diffusion model on VTO datasets often causes it to "forget" how to render clean text. Inspired by DreamBooth, the authors introduce a loss function that calculates the Mean Squared Error (MSE) between the fine-tuned model's latents and the original baseline model's latents, anchoring its text-rendering capabilities.
  6. LLM-Constraint Prompting: The framework uses GPT-4o to generate highly detailed garment descriptions. This dual-conditioning approach provides precise contextual guidance to ensure multi-line text and complex patterns are rendered accurately.
Overview of the TED-VITON architecture

Datasets

The model was trained and evaluated at a high resolution of 1024 × 768 on two standard VTO benchmarks:

  • VITON-HD: 13,679 frontal-view image pairs of women and upper garments (11,647 pairs for training, 2,032 for testing).
  • DressCode (Upper-body): 15,366 image pairs focused on upper-body clothing, utilizing 1,800 pairs for testing.

Key Insights and Ideas

  • Separation of High and Low-Frequency Features: A single network configuration struggles to simultaneously warp a garment naturally around a body while keeping a logo perfectly crisp. Splitting these tasks between DiT-GarmentNet (for fine details) and the DINOv2-backed GS-Adapter (for structural semantics) is key to achieving realistic results.
  • Mitigating Catastrophic Forgetting of Text: Standard fine-tuning degrades a model's ability to generate coherent text. The Text Preservation Loss acts as a vital regularizer, preserving the pre-trained model's text synthesis strengths while adapting it to the VTO task.
  • Detailed Captions as Structural Scaffolding: Simple text prompts often cause the model to miss multi-line text elements (e.g., rendering the word "SUN" but omitting "SAND" and "SURF"). Detailed LLM captions ensure the transformer blocks attend to every textual and stylistic detail.

Key Results

TED-VITON achieves state-of-the-art (SOTA) performance both quantitatively and qualitatively:

  • Quantitative Evaluation: On the VITON-HD dataset, TED-VITON outperformed all baselines, achieving the best scores in LPIPS (0.095), CLIP-I (0.878), FID (8.848), and KID (0.858). It demonstrated similar dominance on the DressCode dataset (Table 1).
  • Qualitative Evaluation: As shown in Figure 3, TED-VITON is uniquely capable of rendering complex, multi-colored text (such as the "1969" GAP logo or "Wrangler") and fine text ("Vans") without distortion, color bleeding, or misalignment, even across challenging human poses.
  • User Study: In a study collecting 50 valid responses, human evaluators overwhelmingly preferred TED-VITON over existing SOTA methods for both text/logo clarity and pattern/texture fidelity.
Qualitative comparison against baseline methods

Limitations and Future Work

Not discussed in the paper.

Summary updated

BibTeX
@misc{wan2024ted,
  author = {Zhenchen Wan and Yanwu Xu and Zhaoqing Wang and Feng Liu and Tongliang Liu and Mingming Gong},
  title = {{TED-VITON: Transformer-Empowered Diffusion Models for Virtual Try-On}},
  year = {2024},
  eprint = {2411.17017},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.17017},
}
Figure