Controllable Garment Transfer

Jooeun Son, Tomas Cabezon Pedroso, Carolene Siga, Jinsung LeearXiv 2022

Abstract

Image-based garment transfer replaces the garment on the target human with the desired garment; this enables users to virtually view themselves in the desired garment. To this end, many approaches have been proposed using the generative model and have shown promising results. However, most fail to provide the user with on the fly garment modification functionality. We aim to add this customizable option of "garment tweaking" to our model to control garment attributes, such as sleeve length, waist width, and garment texture.

Introduction

Virtual try-on systems have gained significant traction in e-commerce, allowing users to visualize how clothes might look on them without physical fitting. However, most current systems are "one-and-done": they generate a static image based on a fixed person and garment pair. This lacks the interactivity of real-world shopping, where a customer might wonder how a shirt would look with a different sleeve length or a more tapered waist.

This project addresses the gap between simple image replacement and a truly controllable, personalized virtual fitting room. By introducing "garment tweaking"—the ability to interactively modify physical attributes after transfer—the researchers aim to provide fine-grained control over the virtual wardrobe.

Methodology

The foundation of this work is the DiOR (Dressing in Order) framework. DiOR is uniquely suited for controllable transfer due to its modular and sequential nature. Unlike monolithic models that fuse all inputs simultaneously, DiOR treats the dressing process as a sequence of discrete steps.

The DiOR framework architecture showing sequential garment transfer through recurrent generation.

Architectural Components

The system relies on several specialized modules to handle the complexities of human pose and garment geometry:

  1. Pose & Garment Encoding: The model utilizes a Pose Encoder based on 18 OpenPose keypoints to define the target structure. A Segment Encoder separately extracts the shape and texture of garments in 2D space.
  2. Global Flow Field Estimator: To reconcile pose differences between the source garment image and the target person, a flow field is estimated to warp the garment accurately onto the target body.
  3. Recurrent Generation: Garments are added one by one (e.g., hair, then top, then bottom). Each step produces a hidden feature map ($Z_k$) that integrates the new item while maintaining the context of previous layers.
Detailed view of the Global Flow Field Estimator, Segment Encoder, and Body Encoder modules used in the DiOR pipeline.

Proposed "Tweaking" Extension

To enable interactive modification, the authors plan to implement semantic editing by analyzing the GAN’s latent space, a technique inspired by InterFaceGAN. By identifying specific "directions" in the latent space that correlate with physical attributes (like sleeve length), the model can shift the generated image along these vectors to achieve desired modifications without requiring new reference images.

Datasets and Implementation

The project leverages two primary datasets:

  • VITON: A standard dataset for 2D virtual try-on containing person-garment pairs.
  • DeepFashion: A large-scale dataset with rich annotations, used for training the baseline model.

Initial implementation successfully replicated the baseline DiOR results. On a test subset, the team achieved a Structural Similarity Index (SSIM) of 0.8044, closely matching the original paper's reported 0.806.

Insights and Discussion

A key insight from the DiOR baseline is that the order of operations significantly impacts the final image. For instance, the sequence in which "hair" and "shirt" are processed determines whether the hair appears tucked into the collar or draped over the shoulders. This decoupling of shape and texture is essential for fit versus fabric control.

However, qualitative testing revealed a significant challenge: Identity Preservation. When transferring a person's own pose back onto themselves, the model occasionally fails to preserve facial identity, leading to subtle "morphing" effects where the target begins to resemble the source model.

Conclusion and Future Work

While the baseline provides a robust foundation for sequential dressing, achieving high-fidelity "tweaking" remains the primary objective. Future work will focus on:

  1. Mitigating Facial Morphing: Improving identity preservation during the transfer process.
  2. Enhancing Realism: Addressing gaps in shading and complex texture warping.
  3. Latent Space Mapping: Finalizing the "tweak" module to map latent semantics to specific physical changes like sleeve and bottom length.

By bridging the gap between static generation and interactive editing, this research moves closer to a truly personalized digital fashion experience.

Summary updated

BibTeX
@misc{son2022controllable,
  author = {Jooeun Son and Tomas Cabezon Pedroso and Carolene Siga and Jinsung Lee},
  title = {{Controllable Garment Transfer}},
  year = {2022},
  eprint = {2204.01965},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.01965},
}
Figure