NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

AnyDesign: Versatile Area Fashion Editing via Mask-Free Diffusion

Yunfang Niu, Lingxiang Wu, Dong Yi, Jie Peng, Ning Jiang, Haiying Wu, Jinqiao Wang · DOI

Abstract

AnyDesign is a novel, mask-free diffusion framework that allows users to edit a wide range of apparel—from hats and scarves to socks and bags—using simple text or image prompts. By introducing a two-stage training process and a specialized "Fashion-Guidance Attention" module, it eliminates the need for manual masking or auxiliary segmentation tools during inference. The framework demonstrates superior performance on standard benchmarks and handles complex "in-the-wild" scenarios across nine distinct fashion categories.

Introduction

Traditional fashion image editing, such as virtual try-on, has historically been a "heavyweight" process. Most existing models require auxiliary inputs like binary masks, human poses, or skin segmentations to identify the specific pixels to change. Furthermore, these models are typically restricted to "mainstream" garments like tops, pants, and dresses, often failing when faced with complex real-world backgrounds or smaller accessories like scarves and bags.

The authors identify a major bottleneck in the field: the lack of paired "before and after" data for diverse fashion items. While images of individuals in specific garments are plentiful, perfectly aligned pairs showing the same person in different outfits are rare. AnyDesign aims to bridge this gap, providing a unified, flexible framework that handles nine different apparel categories in complex environments without requiring manual masking.

Methodology

The core of AnyDesign is a two-stage training strategy designed to teach the model how to edit images without explicit masks.

Stage I: Pseudo-Sample Generation

The authors first train a mask-based diffusion model to generate "pseudo-samples." By masking a garment in an original image and using a prompt to generate a new one, they create synthetic "before" (edited) and "after" (original) pairs. This process effectively synthesizes the missing paired data needed for training.

Stage II: Mask-Free Training

The final model is trained to reconstruct the original image from the pseudo-samples generated in Stage I. By learning to map a modified image back to its original state based only on a prompt and an apparel type, the model naturally learns the spatial relationship between a label (like "Shoes") and the corresponding pixels. This "self-masking" effect removes the masking burden from the end-user during inference.

Architectural Innovations

  • Fashion DiT: AnyDesign utilizes a Diffusion Transformer (DiT) backbone instead of the standard U-Net, leveraging its superior scaling and image quality for high-resolution tasks.
  • Fashion-Guidance Attention (FGA): This module fuses CLIP-encoded features (text or image) with explicit apparel type labels. It acts as an internal "soft mask," directing the model's attention to specific regions relevant to the prompt, such as the neck for scarves or feet for shoes.
AnyDesign enables image-guided editing, such as replacing a scarf based on a reference image, without manual masking.

Category-Specific Removal Strategies

The authors found that the extent of masking during pseudo-sample generation impacts the final model's flexibility. "Strong Removal" (masking a wide area) works best for large garments like tops to allow for significant shape changes. Conversely, "Weak Removal" (masking only the item) is better for accessories like scarves to preserve delicate details like hair or skin.

Datasets

The research utilized three primary datasets to ensure versatility:

  • VITON-HD & Dresscode: Standard benchmarks for virtual try-on, focusing on tops, pants, and dresses in clean backgrounds.
  • SSHQe: An extension of the SHHQ dataset created by the authors, containing over 126,000 images across nine categories: tops, pants, dresses, skirts, shoes, scarves, bags, headwear, and socks. This dataset includes complex "in-the-wild" backgrounds and provides the necessary guidance prompts for training.

Key Results and Insights

AnyDesign demonstrates state-of-the-art performance across multiple metrics. On the VITON-HD dataset (1024x768 resolution), it achieved an FID of 9.43, significantly outperforming competitors like DiffEdit (30.26) and SDInpaint (12.99).

The framework handles full garment replacement, such as changing a blue dress to a yellow one, while maintaining high visual consistency.

Qualitative Performance and Human Evaluation

Visual results show high semantic consistency. For example, when asked for a "high-neck silver top," AnyDesign correctly modifies the neckline and texture while preserving the person's identity and pose better than previous methods. In user studies, AnyDesign was preferred over 55% of the time for both "Best Quality" and "Best Consistency" on the Dresscode dataset, more than doubling the scores of the next best baseline.

Conclusion and Future Work

AnyDesign offers a versatile and user-friendly approach to fashion editing by eliminating the need for manual masks. While it faces challenges with extremely small items or rare avant-garde styles, its ability to perform mask-free, cross-modal editing across diverse categories marks a significant advancement. Future work will likely focus on improving data extension methods to better handle fine-grained fashion details and radical shape changes for accessories.

Summary updated

BibTeX
@article{niu2026anydesign,
  author = {Yunfang Niu and Lingxiang Wu and Dong Yi and Jie Peng and Ning Jiang and Haiying Wu and Jinqiao Wang},
  title = {{AnyDesign: Versatile Area Fashion Editing via Mask-Free Diffusion}},
  journal = {Neural Networks},
  year = {2026},
  doi = {10.1016/j.neunet.2026.109129},
}
Figure