Masked Extended Attention for Zero-Shot Virtual Try-On In The Wild
Nadav Orzech, Yotam Nitzan, Ulysse Mizrahi, Dov Danon, Amit H. Bermano
TL;DR
MaX4Zero tackles zero-shot virtual try-on in-the-wild, addressing unseen garments and unseen targets without fine-tuning. It introduces a two-stage pipeline: Initial Registration to warp the reference garment onto the target using deep-feature correspondence and fringe inpainting, and Consistent Inpainting via Masked Extended Attention to fuse reference texture details while preventing background leakage. The Masked Extended Attention mechanism expands attention across the two images but uses masks to control information flow, achieving better garment identity preservation and realistic results. Extensive experiments on DressCode and VITON-HD datasets, plus a user study, show competitive performance compared to supervised, fine-tuned baselines, with strong garment fidelity and image realism. The work broadens practical VTON deployment by reducing data requirements and enabling generalization to out-of-domain garments.
Abstract
Virtual Try-On (VTON) is a highly active line of research, with increasing demand. It aims to replace a piece of garment in an image with one from another, while preserving person and garment characteristics as well as image fidelity. Current literature takes a supervised approach for the task, impairing generalization and imposing heavy computation. In this paper, we present a novel zero-shot training-free method for inpainting a clothing garment by reference. Our approach employs the prior of a diffusion model with no additional training, fully leveraging its native generalization capabilities. The method employs extended attention to transfer image information from reference to target images, overcoming two significant challenges. We first initially warp the reference garment over the target human using deep features, alleviating "texture sticking". We then leverage the extended attention mechanism with careful masking, eliminating leakage of reference background and unwanted influence. Through a user study, qualitative, and quantitative comparison to state-of-the-art approaches, we demonstrate superior image quality and garment preservation compared unseen clothing pieces or human figures.
