Abstract
While significant progress has been made in garment transfer, one of the most applicable directions of human-centric image generation, existing works overlook the in-the-wild imagery, presenting severe garment-person misalignment as well as noticeable degradation in fine texture details. This paper, therefore, attends to virtual try-on in real-world scenes and brings essential improvements in authenticity and naturalness especially for loose garment (e.g., skirts, formal dresses), challenging poses (e.g., cross arms, bent legs), and cluttered backgrounds. Specifically, we find that the pixel flow excels at handling loose garments whereas the vertex flow is preferred for hard poses, and by combining their advantages we propose a novel generative network called wFlow that can effectively push up garment transfer to in-the-wild context. Moreover, former approaches require paired images for training. Instead, we cut down the laboriousness by working on a newly constructed large-scale video dataset named Dance50k with self-supervised cross-frame training and an online cycle optimization. The proposed Dance50k can boost real-world virtual dressing by covering a wide variety of garments under dancing poses. Extensive experiments demonstrate the superiority of our wFlow in generating realistic garment transfer results for in-the-wild images without resorting to expensive paired datasets.
Introduction: The Challenge of "In-the-Wild" Try-On
Virtual try-on, or garment transfer, has traditionally been a "studio-only" affair. Most existing models are trained on "in-shop" data: clean images of a garment laid flat paired with a person wearing it in a neutral pose. When these models meet the "wild"—real-world photos with messy backgrounds, self-occlusion (like crossed arms), or loose-fitting items like dresses and skirts—they often fail, producing blurry textures, misaligned limbs, or "melted" clothing.
Furthermore, collecting "paired" data (the same person in the same pose with different clothes) is incredibly labor-intensive. To address these issues, the researchers developed a system that works on any photo and learns from readily available video data.
Methodology: The wFlow Framework
The authors propose a multi-stage generative network centered around a hybrid flow mechanism called wFlow (flow in-the-wild).
Hybrid 2D/3D Correspondence
The core innovation is the fusion of 2D pixel flow and 3D vertex flow. Neither is perfect on its own: 3D models (like SMPL) are excellent for tracking body poses but cannot represent the movement of a flowing skirt. Conversely, 2D pixel flow is flexible but often fails during complex limb movements. wFlow uses a mask to prioritize 3D flow for the body and 2D flow for loose clothing, ensuring both structural stability and garment flexibility.
The Pipeline
- Conditional Person Segmentation (CSN): Predicts the target layout based on the source garment and target pose.
- Pixel Flow Estimation (PFN): Estimates 2D correspondences for loose garments.
- wFlow Fusion: Combines 2D and 3D flows.
- Garment Transfer Network (GTN): A U-Net based generator that warps textures and inpaints the background to fill in areas previously hidden by the person's original pose.
- Cyclic Online Optimization: At inference time, the model can iteratively refine details through a cycle (transferring A to B, then B back to A) to improve sharpness for specific image pairs.
Learning from Dance: The Dance50k Dataset
To eliminate the need for paired datasets, the study introduces Dance50k, a massive dataset containing 50,000 single-person dance sequences. This is two orders of magnitude larger than previous video-based datasets and features a wide variety of garments, from down jackets to formal dresses. Because a dancer moves through many poses in the same outfit, the model can learn to "repose" clothing by comparing different frames of the same video in a self-supervised manner.
Experimental Results
The wFlow model was compared against top-tier baselines like Liquid Warping GAN (LWG) and ADGAN. On the Dance50k dataset, wFlow achieved an FID (Fréchet Inception Distance) of 8.809, significantly outperforming LWG's 13.080. It also led in IoU (Intersection over Union) for garment shape, particularly for loose clothing.
Visual results demonstrate sharper textures and fewer artifacts around challenging areas like bent knees or crossed arms. The "Cyclic Online Optimization" was shown to visibly sharpen textures over 20 iterations, proving effective for high-fidelity real-world applications.
Conclusion
By combining 2D and 3D flow and leveraging the power of self-supervised learning from dance videos, wFlow brings virtual try-on out of the studio and into the wild. While challenges remain in resolution and low-contrast foregrounds, this framework paves the way for realistic virtual dressing in augmented reality and social media applications.
Summary updated