TL;DR
MOFA-VTON introduces a novel virtual try-on framework that allows users to control how clothing fits—such as tucking it in, leaving it untucked, or altering hemlines—using simple hand-drawn curve sketches. By replacing rigid, clothing-agnostic masks with a flexible dual-region mask and incorporating cross-attention-based layout adjustment blocks, the method achieves fine-grained styling control. It not only provides diverse fashion options but also outperforms existing state-of-the-art methods in image synthesis quality.
What Problem Does This Paper Address?
Existing virtual try-on (VTON) systems are remarkably good at transferring an in-shop garment onto a person's image, but they suffer from a major limitation: they lack styling flexibility. Most models rigidly replicate the exact dressing pattern of the original image. If the person in the original photo wore an untucked shirt, the newly generated shirt will also be untucked.
This monotony stems from two main bottlenecks:
- Clothing-Agnostic Masks: Traditional methods use a binary mask to erase the original clothing, but this mask's boundary forces the newly generated garment into the exact same spatial layout.
- Static Feature Warping: Current networks struggle to dynamically adjust clothing features to match alternative styling choices, preventing the generation of diverse, realistic folds or adjustments.
In real life, fashion is highly personalized—the same shirt can be tucked in for a sharp look or left loose for a casual vibe. MOFA-VTON addresses this gap by enabling user-interactive, pixel-level control over clothing adaptation.
Methods
The MOFA-VTON architecture shifts the paradigm from static overlay to interactive generation using a two-step process: Dual-Region Mask Construction and Mask-Guided Layout Adjustment.
1. Dual-Region Mask Construction
Instead of erasing clothing blindly, the authors use a user-drawn curve sketch to define the boundary between the upper and lower body garments.
- The system takes the user's curve and aligns it with a body silhouette derived from a DensePose map (which is invariant to clothing shapes).
- This curve splits the target area into an upper region and a lower region, creating a dual-region mask ($M_d$) where different weights are assigned to the upper and lower body parts ($\beta=1$ and $\gamma=0.5$). This provides explicit, fine-grained layout guidance for the diffusion model.
2. Adapt-Net and Layout Adjustment (LA) Blocks
The core generative model, Adapt-Net, is based on a denoising UNet. To inject the garment's details, features are extracted at multiple levels using a CLIP image encoder, a pre-trained Cloth-Net, and a specialized Region Encoder.
To ensure the clothing actually conforms to the user's sketch, the authors introduce Layout Adjustment (LA) Blocks into the intermediate and decoder layers of Adapt-Net. These blocks use a cross-attention mechanism where the features from the UNet act as queries, and the upper/lower region features act as keys and values. This allows the network to independently learn spatial correspondences for the upper and lower body. Transposed convolutions and mask filtering are then applied to refine the clothing boundaries and prevent feature "bleeding."
Datasets
The authors evaluated their method on two widely accepted virtual try-on benchmarks:
- VITON-HD: Contains 13,679 pairs of high-resolution (512×384) person and in-shop clothing images.
- DressCode: A large-scale dataset featuring a broader range of fashion categories; the authors specifically utilized the upper-body subset for their experiments.
Key Insights and Ideas
- Moving Beyond Binary Agnostic Masks: Treating the mask as a multi-valued, dual-region guide rather than a simple binary "erase" tool allows the network to understand the interaction zone between different garments (e.g., where a shirt meets pants).
- Latent-Level Layout Manipulation: Instead of explicitly warping the garment image before feeding it into the synthesis network, MOFA-VTON adjusts the layout at the feature level via cross-attention. This allows the model to adaptively generate realistic physical details, like fabric wrinkles and natural transitions, along the newly defined hemline.
Key Results
MOFA-VTON was evaluated under a "default" setting (matching the original clothing layout) to ensure a fair quantitative comparison against baseline models like StableVITON, IDM-VTON, and CAT-DM.
Quantitative Performance
- VITON-HD (Paired setting): Achieved an FID of 5.97 and a KID of 0.92, outperforming all baselines. It also achieved the highest structural similarity (SSIM of 0.8870).
- DressCode (Upper-body): Outperformed baselines across all major metrics, including FID (6.41) and KID (0.72).
Qualitative Advantages
As shown in the qualitative comparisons, baseline models fail when a target garment differs significantly in length from the original, often stretching the fabric unnaturally. MOFA-VTON successfully generates diverse styling options—including curved hemlines, waist-revealing crops, and tucked-in variations—while maintaining high fidelity and clean boundaries.
Limitations and Future Work
Because MOFA-VTON is trained entirely on real-world images exhibiting natural dressing habits, it relies on the network learning realistic priors. Consequently, when presented with unrealistic or extreme input curves (e.g., drawing a hemline exceptionally low for a short crop top), the model struggles to produce consistent results because it violates the learned physical constraints of the garment type.
For future work, the authors noted that the underlying mechanism can be extended to control other attributes, such as adjusting sleeve lengths or manipulating lower-body garments like skirts and pants.
Summary updated