TL;DR
Virtual Try-Off (VTOFF) reverses the traditional virtual try-on process to reconstruct a flat, catalog-ready garment image from a photo of a dressed person. This paper systematically maps out the design space for VTOFF using Dual-UNet diffusion models, introducing an attention-regularized warping loss and a multi-stage curriculum learning strategy to achieve state-of-the-art garment reconstruction with highly preserved textures.
What Problem Does This Paper Address?
While Virtual Try-On (VTON) has seen massive commercial and academic success, its inverse problem—Virtual Try-Off (VTOFF)—remains under-explored. VTOFF aims to take an image of a person wearing a piece of clothing and reconstruct the "canonical" or flat layout of that garment. This is incredibly useful for automated product cataloging, fashion retrieval, and generating paired datasets for VTON training.
However, VTOFF is highly challenging. Garments on a person are often deformed by body posture, folded, or partially occluded by arms, hair, and poses. Existing single-UNet architectures frequently fail here: they either distort fine-grained textures (like logos and text) or fail to completely remove the human body, leaving behind ghostly artifacts. This paper investigates the architectural and training choices required to make Dual-UNet diffusion models succeed at this task.
Methods
The authors build their framework around a Dual-UNet Diffusion Model based on Stable Diffusion XL (SDXL). The architecture splits the workload into two distinct branches:
- Generation Branch (CreationNet): A denoising UNet that generates the final isolated garment image.
- Conditioning Branch (ConditionNet): An architecturally identical UNet that extracts low-level spatial and geometric features from the person's image, a binary garment mask, and a cloth-agnostic image.
An overview of this framework is shown below:
To ensure high-fidelity reconstruction, they incorporate several specialized components:
- High-Level Semantic Conditioning: They use an IP-Adapter to extract semantic features from a cropped image of the garment region, alongside text encoders processing descriptive prompts (e.g., "a frontal view of [garment description]").
- Leffa Attention Loss: To fix spatial misalignment between the intermediate attention layers of the two UNets, they adapt an attention-guided warping constraint. This forces the model to map features accurately from the person space to the flat garment space, preserving fine-grained details like text and logos.
- Multi-Stage Curriculum Learning: Training a model with 5.6 billion parameters simultaneously can cause optimization collapse. The authors design a three-stage curriculum:
- Stage 1: Train CreationNet and the IP-Adapter using standard diffusion loss and color jittering to prevent overfitting.
- Stage 2: Enable the Leffa attention loss to align details.
- Stage 3: Freeze the generation branch and fine-tune ConditionNet to lock in fine-grained details, while disabling color jittering to ensure natural color reproduction.
Datasets
The model was trained and evaluated on three distinct datasets:
- VITON-HD: The standard benchmark for upper-body virtual try-on, containing 11,552 training and 1,990 testing pairs. Experiments were conducted at both 512×384 and high-resolution 1024×768 pixels.
- DressCode: A multi-category dataset from which the authors utilized the upper-body subset (13,563 training pairs) to evaluate cross-dataset performance.
- Unsplash Real-World Dataset: A self-collected, out-of-distribution dataset consisting of 57 wild fashion images without ground truth, used purely to evaluate how well the model generalizes to complex, real-world backgrounds and occlusions.
Key Insights and Ideas
- VTOFF is a Removal Task, Not Inpainting: Surprisingly, using a standard Stable Diffusion base model for the generation branch outperforms an inpainting-specific variant. Inpainting models tend to mis-scale the garment because VTOFF is primarily about semantic extraction and background removal, rather than filling in a missing region.
- High-Level Features are Mandatory: Truncating the IP-Adapter and text prompts severely degrades performance. Without high-level semantic guidance, the model struggles to completely remove the human body and maintain garment identity.
- Augmentation Scheduling is Crucial: Color jittering is helpful in the first stage of training to help the model learn edges and shapes. However, if left on during later stages, it distorts the model's color comprehension, causing a "color fading" effect in the generated garments.
- Rethinking Evaluation Metrics: Standard metrics like SSIM and LPIPS are heavily biased toward global structure over local texture. For VTOFF, preserving the exact texture of a logo is often more important than a slightly misaligned hemline. The authors emphasize DISTS as the primary metric because it better captures these fine-grained textural details.
Key Results
The adapted Dual-UNet framework achieved state-of-the-art results across all benchmarks, significantly outperforming single-UNet alternatives like TryOffDiff and Try-Off-Anyone:
- VITON-HD (512×384): The model improved the primary metric, DISTS, by 9.5% and achieved a significantly lower FID (9.73 vs. Try-Off-Anyone's 11.57).
- VITON-HD (1024×768): It outperformed the previous best Dual-UNet model (IGR), reducing the DISTS score from 20.45 to 19.59 and FID from 13.14 to 10.69.
- DressCode: It achieved a 9.9% improvement in DISTS compared to TryOffDiff.
Qualitatively, the model excels at cleanly isolating garments from complex backgrounds and accurately reproducing intricate graphic prints, as illustrated here:
Limitations and Future Work
Despite its strong performance, the authors note two recurring failure modes:
- Geometric Misestimation for Small Garments: The model occasionally overestimates the length of minimalist clothing items, such as sports bras or gym crop tops, making them appear longer than the ground truth. Incorporating explicit 3D geometric constraints could resolve this.
- Intricate Text Reconstruction: Generating very small, highly detailed text remains an open challenge inherent to the underlying diffusion backbones.
For future work, the authors plan to extend the framework beyond single garments to handle multi-layer clothing compositions and explore alternative generative paradigms like flow-matching.
Summary updated