TL;DR
PatternGSL introduces a structured, template-free specification language that encodes 3D garments as simulation-ready 2D sewing patterns directly from a single image. By leveraging a vision-language model trained on a new 300K dataset, it bridges the gap between visual reconstruction and physics-based simulation, enabling high-fidelity draping and direct pattern editing.
What Problem Does This Paper Address?
Reconstructing realistic 3D garments from a single image is a major goal in digital fashion, but existing methods suffer from a fundamental representation gap.
On one hand, geometry-first methods (like neural implicit shapes) capture diverse styles from images but output fused meshes that lack explicit sewing structures (panels, seams, and stitches). This makes them virtually useless for physics-based cloth engines. On the other hand, programmatic/template-based methods generate clean, simulation-ready patterns but are restricted to rigid, predefined templates, failing when encountering novel styles or complex topologies.
PatternGSL tackles this dilemma by reframing sewing patterns as a regularized, extensible, and learnable specification language, allowing template-free reconstruction that remains fully simulation-ready.
Methods
The core innovation is PatternGSL, a hierarchical JSON-based representation that distills garment construction into three clean components: a meta block (storing scale and panel counts), a panels array (storing 2D boundary geometry and 3D placement), and a stitches array (defining explicit pairwise topology).
The pipeline operates in three main stages:
- Canonicalized Encoding: Garment data is normalized and sorted deterministically (e.g., panel IDs, vertex ordering) to eliminate output ambiguity and create a stable target for learning.
- Vision-Language Generation: A vision-language model (Qwen3-VL) takes a front-view image alongside a synthesized back-view image (generated via an auxiliary module called NanoBanana) and autoregressively predicts the PatternGSL JSON sequence.
- Deterministic Decoding: A lightweight, rule-based decoder parses the predicted language string, recovers the local coordinates using a predicted scale factor, and performs basic sanitation (like merging tiny edges) before feeding the pattern directly into a physics simulator (NVIDIA Warp)—all without requiring manual cleanup or optimization loops.
Datasets
Because no large-scale dataset paired images with explicit sewing patterns, the authors introduced PatternGSLData, which contains 300K samples:
- 250K Synthetic Samples: Rendered from diverse garment specifications with varied lighting and viewpoints.
- 50K Photorealistic Samples: Created using NanoBanana to translate synthetic renderings into photorealistic textures and generate corresponding back-view images for domain adaptation.
- In-the-wild Evaluation Set: 524 real-world fashion and e-commerce photographs used exclusively to test the model's generalization capabilities.
Key Insights and Ideas
- Sewing Patterns as a Language: Instead of treating garment prediction as a regression or pixel-generation task, treating it as a structured text-generation task allows the system to exploit the strong sequential reasoning and long-context capabilities of modern VLMs.
- Geometry-Topology Separation: By explicitly separating continuous geometry (vertex coordinates) from discrete topology (stitch pairs) while maintaining indexed references, the model avoids the spatial ambiguities common to implicit or rasterized garment representations.
- Selective Boundary Sampling: To keep token counts efficient, the language only samples points along curved edges (like necklines or armholes) and omits them for straight lines. This keeps the sequence length under ~10K tokens while providing rich geometric supervision where it matters most.
Key Results
PatternGSL significantly outperforms prior state-of-the-art methods in both 2D pattern accuracy and 3D simulation reliability:
- 2D Geometric Fidelity: Achieves a 2D Chamfer distance of 5.78 mm (compared to 29.07 mm for the next best baseline, GarmentImage) and a 2D IoU of 86.34%.
- Simulation Success: Reaches a 99.2% draping success rate in physics simulators, vastly outperforming raster-based alternatives like GarmentImage, which sits at a mere 4.7% success rate due to geometric distortions.
- Downstream Editability: Because the language utilizes explicit semantic parameters, users can directly modify the predicted JSON text to scale panels, adjust curves, or remove components (e.g., removing a sleeve). The edited files retain a 100% simulation success rate.
Limitations and Future Work
While highly effective for standard apparel, PatternGSL's current evaluation spans topologies ranging from 2 to 37 panels. Extremely complex outfits with higher panel counts may hit VLM context length limits, necessitating future research into hierarchical decoding or stronger long-context models. Additionally, the framework is currently optimized for closed garments and static draping; extending the language to support open-boundary garments (like unbuttoned jackets) and dynamic cloth simulation remains an open avenue.
Summary updated