HiGarment: Cross-modal Harmony Based Diffusion Model for Flat Sketch to Realistic Garment Image

Junyi Guo, Jingxuan Zhang, Fangyu Wu, Huanda Lu, Qiufeng Wang, Wenmian Yang, Eng Gee Lim, Dongming Lu · DOI

Introduction

In the fashion industry, the transition from creative concept to physical manufacturing relies heavily on "flat sketches"—technical 2D drawings that specify a garment's structure and details. While AI image generation has flourished in the creative design phase, bridging the gap to production-ready visualization remains a challenge. This paper introduces the Flat Sketch to Realistic Garment Image (FS2RG) task, aiming to generate photorealistic prototypes that strictly adhere to technical sketches while incorporating specific fabric and color attributes.

Challenges in FS2RG

Existing diffusion models struggle with two primary issues in the fashion domain:

  1. Texture Blindness: Text prompts alone (e.g., "denim" or "silk") often fail to provide enough visual information for models to render the complex, fine-grained textures of real-world fabrics.
  2. Modality Conflict: There is often a tension between the rigid structural constraints of a flat sketch and the descriptive instructions of a text prompt. Standard models frequently sacrifice one for the other, leading to structural inaccuracies or ignored text attributes.

The HiGarment Framework

To address these hurdles, the authors propose HiGarment, a diffusion model built on Stable Diffusion v1.5 that achieves "modality harmony" through two key innovations:

Multi-modal Semantic Enhancement (MMSE)

Instead of relying solely on text embeddings, MMSE utilizes a scalable fabric vector database. When a fabric type is prompted, the system retrieves high-resolution visual samples. A Q-Former then integrates these visual cues into the conditioning pipeline, grounding the generation in actual physical textures rather than abstract text descriptions.

Harmonized Cross-Attention (HCA)

HCA manages the interaction between sketch and text conditions. By calculating the similarity between enhanced image and text features, HCA dynamically generates a weight factor. This allows the model to prioritize the sketch for overall structure while shifting focus to the text prompt for specific modifications (e.g., adding a pocket or changing a collar), enabling precise local editing without compromising the garment's integrity.

The MMDGarment Dataset

A significant contribution of this work is the Multi-Modal Detailed Garment (MMDGarment) dataset, the largest open-source multi-modal dataset for the FS2RG task. It comprises over 20,000 garment images paired with technical sketches, detail shots, and rich annotations.

The multi-stage data collection and verification pipeline for the MMDGarment dataset.

The dataset was constructed using a rigorous four-stage pipeline—Work Preparation, Worker Selection, Data Collection, and Post Verification—to ensure high-quality pairings of technical drawings and realistic product photos.

Experimental Results

HiGarment demonstrates superior performance across both quantitative and qualitative evaluations.

Quantitative Performance

Compared to state-of-the-art baselines like IP-Adapter and DEADiff, HiGarment achieved significant improvements:

  • FID (Fréchet Inception Distance): 20.3% reduction, indicating higher image quality.
  • LPIPS: 14.5% improvement in perceptual similarity.
  • CLIPScore: 3.7% increase in text-image alignment.

Qualitative Comparison

Qualitatively, HiGarment excels at rendering distinct fabric textures—such as leather, wool, and silk—while maintaining strict structural fidelity to the input sketch.

Qualitative comparison of HiGarment against baselines and actual garment products.

As shown in the comparisons, while other models often distort the garment's shape or fail to capture the specified material, HiGarment produces results that closely mirror actual garment products.

Conclusion

HiGarment effectively bridges the gap between fashion design and production by harmonizing technical sketches with multi-modal fabric data. By introducing the FS2RG task and the MMDGarment dataset, the authors provide a robust foundation for future research in automated fashion prototyping. While challenges remain in preserving micro-level details like tiny logos, HiGarment represents a major step forward in realistic, sketch-driven garment generation.

Summary updated

BibTeX
@inproceedings{guo2025higarment,
  author = {Junyi Guo and Jingxuan Zhang and Fangyu Wu and Huanda Lu and Qiufeng Wang and Wenmian Yang and Eng Gee Lim and Dongming Lu},
  title = {{HiGarment: Cross-modal Harmony Based Diffusion Model for Flat Sketch to Realistic Garment Image}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure