FastFit: Accelerating Multi-Reference Virtual Try-On via Cacheable Diffusion Models

Zheng Chong, Yanwei Lei, Shiyue Zhang, Zhuandi He, Zhen Wang, Xujie Zhang, Xiao Dong, Yiling Wu, Dongmei Jiang, Xiaodan Liang · DOI

Introduction

Virtual Try-On (VTO) technology has advanced significantly, yet it remains constrained by two primary limitations: the "single item" restriction and computational inefficiency. Most existing models are optimized for swapping a single garment, such as a top or a dress. Generating a full outfit—comprising a top, pants, shoes, and accessories—typically requires multiple sequential runs, which is time-consuming and prone to visual artifacts. Furthermore, modern VTO relies on diffusion models that redundantly re-calculate reference garment features at every denoising step, creating a significant efficiency bottleneck.

FastFit addresses these challenges with a novel diffusion-based framework designed for high-fidelity, multi-item VTO. By decoupling reference garment encoding from the iterative denoising process, FastFit achieves a 3.5× speedup over current state-of-the-art methods while maintaining superior image quality.

FastFit enables complex multi-item virtual try-on, accurately rendering outfits with multiple layers and accessories.

Methodology: The Cacheable UNet

The core innovation of FastFit is the Cacheable UNet architecture, which allows reference features to be computed once and reused throughout the generation process.

Reference Class Embedding

In traditional diffusion architectures, reference features are conditioned on the current timestep, making them dynamic and impossible to cache. FastFit replaces these time-dependent conditions with static Class Embeddings (e.g., labels for "shoes" or "top"). Since these embeddings remain constant during the denoising loop, the resulting garment features are static.

Semi-Attention Mechanism

To ensure the integrity of garment features, the authors implemented a Semi-Attention mechanism. This masking strategy allows the person's tokens to attend to all garment tokens to learn their appearance, but restricts garment tokens to only attending to themselves. This "read-only" status prevents feature contamination from the person's image, allowing the garment features to be stored in a KV Cache.

One-Time Encoding

By combining static embeddings with Semi-Attention, FastFit can encode all reference items exactly once before the denoising loop begins. During generation, the model simply retrieves these features from the cache, bypassing the computationally expensive reference-branch calculations at every step.

Dataset: DressCode-MR

To evaluate multi-reference capabilities, the researchers introduced DressCode-MR, a new benchmark containing 28,179 sets of high-quality images. This dataset covers five categories—tops, bottoms, dresses, shoes, and bags—enabling the training of models on complex, multi-item outfit compositions.

Key Results and Performance

FastFit demonstrates significant improvements in both speed and fidelity. On an H100 GPU, FastFit achieves an average inference time of 1.16 seconds, compared to 2.10 seconds for CatVTON and 12.19 seconds for Any2AnyTryOn.

The model excels at preserving fine-grained details, such as the text on this graphic T-shirt, which often becomes blurred in other VTO models.

Quantitatively, FastFit outperforms existing models on standard benchmarks like VITON-HD and the new DressCode-MR across metrics such as SSIM (Structural Similarity) and LPIPS (Learned Perceptual Image Patch Similarity). Qualitatively, the model is particularly effective at preserving intricate textures and fine-grained details, such as text on clothing or the transparency of sheer fabrics.

Conclusion

FastFit represents a major step toward practical, real-time virtual fitting rooms. By eliminating redundant computations through a cacheable architecture and introducing a robust multi-reference dataset, it provides a scalable solution for full-outfit visualization. Future work will focus on refining the handling of complex physical interactions between layers and further reducing inference times through step distillation techniques.

Summary updated

BibTeX
@misc{chong2025fastfit,
  author = {Zheng Chong and Yanwei Lei and Shiyue Zhang and Zhuandi He and Zhen Wang and Xujie Zhang and Xiao Dong and Yiling Wu and Dongmei Jiang and Xiaodan Liang},
  title = {{FastFit: Accelerating Multi-Reference Virtual Try-On via Cacheable Diffusion Models}},
  year = {2025},
  eprint = {2508.20586},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.20586},
}
Figure