Introduction
Virtual try-on technology has become a cornerstone of modern e-commerce, yet transitioning from static images to dynamic video remains a significant technical challenge. Current video virtual try-on methods often suffer from two primary defects: temporal inconsistency (visible flickering) and the loss of fine garment details during movement. Most existing solutions attempt to adapt image-based models by adding 1D temporal attention layers, which often fail to capture the complex spatial-temporal relationships of moving fabric.
This paper introduces ViTI (Video Try-on Inpainter), which reframes the problem as a generative video inpainting task. By utilizing a Diffusion Transformer (DiT) with full 3D spatial-temporal attention, ViTI achieves state-of-the-art performance in maintaining garment identity and temporal stability.
Methodology
Architecture and 3D Attention
Unlike traditional U-Net-based diffusion models, ViTI is built upon a Diffusion Transformer (DiT). The core innovation lies in its use of full 3D spatial-temporal attention. Rather than treating time as a separate dimension to be smoothed, the model attends to all pixels across all frames simultaneously. This allows the network to learn how fabric folds, shadows, and textures should evolve naturally as a person moves.
Conditioning and Encoders
To guide the inpainting process, ViTI integrates several conditioning signals:
- Garment Encoder: A hybrid module that uses a VAE for precise pixel-level reconstruction and DINOv2 for high-level semantic feature extraction.
- Pose Encoder: Utilizes DensePose to provide a 3D-aware structural skeleton, ensuring the garment aligns correctly with the body's orientation.
- Textual Guidance: Standard CLIP-based text embeddings provide high-level context for the generation process.
Multi-Stage Training Strategy
To compensate for the scarcity of high-quality video try-on data, the authors employ a three-stage training pipeline:
- General Inpainting: Pre-training on large-scale video datasets with coarse masks.
- Instance-Level Inpainting: Training on Video Object Segmentation (VOS) data to improve boundary awareness.
- Human-Centric Fine-tuning: Final training on specialized datasets using precise garment masks to master the nuances of human movement and clothing interaction.
Datasets and Evaluation
The VTP Dataset
A major contribution of this work is the introduction of the Video Try-on Pretraining (VTP) dataset. Containing over 51,000 video clips, VTP is specifically curated to teach the model how various clothing types—such as tops, pants, and skirts—behave on moving human bodies. This large-scale data is critical for the model's ability to generalize across different poses and garment styles.
Quantitative and Qualitative Results
ViTI sets a new benchmark on the VVT dataset, particularly in Video Frechet Inception Distance (VFID), a metric that evaluates both visual fidelity and temporal consistency. ViTI achieved a VFID of 2.121, significantly outperforming previous state-of-the-art models like Tunnel Try-on (3.345) and VIVID (3.405).
Qualitatively, ViTI demonstrates a superior ability to preserve complex patterns (e.g., stripes or logos) even during rapid rotations or occlusions, where baseline models typically produce blurred or distorted results.
Conclusion
By treating video virtual try-on as a conditional inpainting problem rather than a warping task, ViTI effectively addresses the long-standing issues of flickering and detail loss. The combination of full 3D spatial-temporal attention and a robust multi-stage training strategy allows for the generation of highly realistic, temporally consistent videos. While the computational cost of 3D attention remains a challenge for real-time deployment, ViTI establishes a powerful new paradigm for high-fidelity video synthesis in fashion e-commerce.
Summary updated