GarmentWeaver: Schema-Aware Structured Synthesis for Multimodal Sewing Patterns

Yinwen Lu, Weihao Luo, Yueqi ZhongarXiv 2026

TL;DR

GarmentWeaver is a novel framework that generates simulation-ready sewing patterns from multimodal inputs like sketches and text by explicitly modeling the hierarchical structure of clothing. By decoupling high-level structural decisions from low-level geometric parameters, it achieves a 98.3% simulation success rate, significantly outperforming existing "flat-sequence" models.

What Problem Does This Paper Address?

Creating digital garments for games, virtual try-ons, or fashion design requires sewing patterns—the 2D templates that, when stitched together, form a 3D garment. While recent AI models can generate these patterns from design cues, they typically treat the problem as a "flat" sequence prediction task.

This approach has a major flaw: it entangles a garment's structure (e.g., "does this shirt have a collar?") with its parameters (e.g., "how wide is the collar?"). When a model tries to predict everything at once in a single long string, it often hallucinates redundant parts, produces mismatched components, or generates "broken" geometry that fails when you try to run a physics simulation.

Methods

The authors introduce GarmentWeaver, which treats garment synthesis as a schema-aware, two-stage process built on top of a pretrained Vision-Language Model (VLM), specifically LLaVA.

  1. Schema-Aware Dynamic Encoding: Instead of predicting a fixed, massive list of all possible garment parameters, the model uses a dynamic mask. It only "activates" the parameters relevant to the specific garment type being designed. This reduces the target sequence length by nearly 50%, making the learning process much cleaner.
  2. Two-Stage Structured Generation: The model first predicts a structure template (identifying which parts exist, using <FILL> placeholders for dimensions). In the second stage, it fills in the specific numerical parameters. This "coarse-to-fine" approach ensures the overall logic of the garment is sound before sweating the details.
  3. Feasibility-Aware Regularization: To ensure the output is actually "sewable," the authors add specific loss functions that penalize the model if it tries to activate invalid branches or predicts values outside of physically realistic ranges.
Figure 2: Pipeline of GarmentWeaver. Given text, body, and sketch inputs, the proposed method first constructs a com- pact hierarchical target through schema-aware dynamic en- coding. The VLM then predicts the structured garment output in two stages: it first generates a structure template and then fills in the corresponding design parameters. The predicted output is converted into GarmentCode, from which sewing patterns are constructed and further simulated to obtain a simulation-compatible garment.

Datasets

The researchers utilized a large-scale dataset of ~120,000 samples derived from GarmentCodeData. Because the original data lacked multimodal design cues, they augmented it:

  • Sketches: Extracted from garment images using PiDiNet.
  • Textual Descriptions: Generated using the Qwen2-VL model to describe style, fabric, and fit.
  • Body Info: Standardized body-shape variations were included to ensure the patterns fit a specific 3D avatar.

Key Insights and Ideas

  • Structure-Parameter Decoupling: The "aha moment" is that predicting what a garment is and how big it is are two different tasks. By separating them, the model avoids the "hallucination" common in flat-sequence models where a shirt might end up with three sleeves or a floating pocket.
  • Compactness is Efficiency: Pruning inactive branches from the output space doesn't just save compute; it removes "noise" that distracts the model during training.
  • Simulation as the Ultimate Metric: The paper emphasizes that a pattern isn't useful if it can't be simulated. Their feasibility-aware regularization is a direct response to the "broken" patterns produced by previous diffusion-based methods.

Key Results

GarmentWeaver sets a new state-of-the-art across several metrics:

  • Simulation Success: It achieved a 98.3% success rate in 3D simulation, compared to 61.4% for SewingLDM and 87.1% for Design2Garment.
  • Geometric Accuracy: It reached a Panel IoU of 0.869, indicating very high overlap between the generated 2D panels and the ground truth.
  • Qualitative Superiority: As seen in Figure 3, GarmentWeaver accurately captures fine details like puff sleeves and specific necklines that baselines often oversimplify or distort.
Qualitative comparison showing GarmentWeaver's ability to recover fine structural details compared to baselines.

The model also supports instruction-based editing. A user can generate a dress from a sketch and then simply type "change the long sleeves to short sleeves" to update the sewing pattern instantly.

Limitations and Future Work

The primary limitation is that the model is bound by the GarmentCode schema. If a specific accessory—like a cargo pocket, a belt loop, or a unique ruffle—isn't defined in the underlying code library, the model cannot generate it, even if it's clearly visible in the input sketch.

Limitations: The model currently fails to reconstruct localized accessories like pockets if they aren't in the schema.

Future work will focus on expanding this schema to include richer component definitions, allowing for more complex and highly customized fashion designs.

Summary updated

BibTeX
@misc{lu2026garmentweaver,
  author = {Yinwen Lu and Weihao Luo and Yueqi Zhong},
  title = {{GarmentWeaver: Schema-Aware Structured Synthesis for Multimodal Sewing Patterns}},
  year = {2026},
  eprint = {2608.30550},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.30550},
}
Figure