Fashioning with Networks: Neural Style Transfer to Design Clothes

Prutha Date, Ashwinkumar Ganesan, Tim OatesarXiv 2017

Abstract

Convolutional Neural Networks have been highly successful in performing a host of computer vision tasks such as object recognition, object detection, image segmentation and texture synthesis. In 2015, Gatys et. al show how the style of a painter can be extracted from an image of the painting and applied to another normal photograph, thus recreating the photo in the style of the painter. The method has been successfully applied to a wide range of images and has since spawned multiple applications and mobile apps. In this paper, the neural style transfer algorithm is applied to fashion so as to synthesize new custom clothes. We construct an approach to personalize and generate new custom clothes based on a users preference and by learning the users fashion choices from a limited set of clothes from their closet. The approach is evaluated by analyzing the generated images of clothes and how well they align with the users fashion style.

Introduction: Beyond Retrieval in Fashion AI

Most AI applications in the fashion industry focus on retrieval—identifying existing garments in a database based on user queries or browsing history. While effective for shopping, this paradigm limits users to pre-manufactured items. This paper addresses the gap in generative fashion: creating entirely new clothing designs that align with a specific individual's "fashion sense." The core challenge lies in disentangling "style" (textures, patterns, and colors) from "content" (the structural silhouette or cut of the garment) and recombining them into a realistic, personalized design.

Methodology: The Generative Pipeline

The researchers leverage Neural Style Transfer (NST), a technique originally popularized for artistic style transfer, to synthesize garments. The architecture is divided into four primary modules:

  1. Preprocessing: Input images are standardized to 512x512 pixels on a white background. The GrabCut utility is employed to create a precise mask of the clothing item, ensuring that generated patterns are confined to the garment's boundaries and do not bleed into the background.
  2. Personal Style Store: To achieve personalization, the system processes images from a user’s closet through a pre-trained VGG-19 network. It extracts Gram matrices—mathematical representations of texture and color correlations—for specific attributes like "knit," "striped," or "floral." These signatures are stored in a dictionary.
  3. Style Transfer: A user selects a User Chosen Outline (UCO)—a plain garment silhouette—and specifies desired attributes. The system retrieves the corresponding style signatures from the Personal Style Store. An L-BFGS optimizer then minimizes a total loss function, balancing the structural integrity of the UCO with the stylistic features of the source images.
  4. Post-processing: The final output is re-masked to ensure clean edges and a professional aesthetic.
The two-phase pipeline for extracting personal closet styles and synthesizing new designs.

Datasets and Evaluation

The study utilizes the DeepFashion dataset, filtering for high-quality images with white backgrounds containing upper-body or full-body apparel.

Evaluating generative "style" is inherently subjective. To provide quantitative rigor, the authors trained an SVM classifier on the original closet images. If the SVM can correctly identify the intended attributes (e.g., "floral") in the newly generated images, it serves as objective proof that the style transfer successfully captured the essence of the attribute.

Key Insights and Results

A critical finding was the Complexity Trade-off: as the number of blended style functions increased, the quality of the output—and the SVM's recognition accuracy—decreased. This suggests a "sweet spot" for stylistic information before a design becomes visual noise.

Example of style transfer: a plain blouse (UCO) combined with a patterned top to create a new design.

Performance Metrics

  • Quantitative Success: In "same train/test" scenarios (using styles the model was trained on), the SVM achieved an F1-score of ~0.7, significantly higher than the random baseline of 0.2.
  • Generalization: The model maintained high performance even when using "separate" style images (new images sharing the same attributes), indicating that the system learns the underlying representation of a style rather than just memorizing pixels.
  • Style Reinforcement: The system successfully demonstrated the ability to merge multiple distinct styles (e.g., floral and colorblock) onto a single silhouette while maintaining structural integrity.

Limitations and Future Directions

While promising, the current approach faces several hurdles:

  • Resolution: The 512x512 resolution is insufficient for professional manufacturing.
  • Computational Latency: The optimization process is time-consuming, hindering real-time interactive design.
  • Attribute Dependency: The reliance on pre-labeled attributes suggests a need for unsupervised learning in future iterations to discover style patterns autonomously.
  • Scope Expansion: Future work will look to expand beyond upper-body garments to include accessories and complex layering.

Summary updated

Abstract

Convolutional Neural Networks have been highly successful in performing a host of computer vision tasks such as object recognition, object detection, image segmentation and texture synthesis. In 2015, Gatys et. al [7] show how the style of a painter can be extracted from an image of the painting and applied to another normal photograph, thus recreating the photo in the style of the painter. The method has been successfully applied to a wide range of images and has since spawned multiple applications and mobile apps. In this paper, the neural style transfer algorithm is applied to fashion so as to synthesize new custom clothes. We construct an approach to personalize and generate new custom clothes based on a users preference and by learning the users fashion choices from a limited set of clothes from their closet. The approach is evaluated by analyzing the generated images of clothes and how well they align with the users fashion style.
BibTeX
@misc{date2017fashioning,
  author = {Prutha Date and Ashwinkumar Ganesan and Tim Oates},
  title = {{Fashioning with Networks: Neural Style Transfer to Design Clothes}},
  year = {2017},
  eprint = {1707.09899},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1707.09899},
}
Figure