AutoSew: A Geometric Approach to Stitching Prediction with Graph Neural Networks
Organizations: Universidad Rey Juan Carlos, Madrid, Spain · Adobe Research, France
Abstract
Automating garment assembly from sewing patterns remains a significant challenge due to the lack of standardized annotation protocols and the frequent absence of semantic cues. Existing methods often rely on panel labels or handcrafted heuristics, which limit their applicability to real-world, non-conforming patterns. We present AutoSew, a fully automatic, geometry-based approach for predicting stitch correspondences directly from 2D pattern contours. AutoSew formulates the problem as a graph matching task, leveraging a Graph Neural Network to capture local and global geometric context, and employing a differentiable optimal transport solver to infer stitching relationships-including multi-edge connections. To support this task, we update the GarmentCodeData dataset modifying over 18k patterns with realistic multi-edge annotations, reflecting industrial assembly scenarios. AutoSew achieves 96% F1-score and successfully assembles 73.3% of test garments without error, outperforming existing methods while relying solely on geometric input. Our results demonstrate that geometry alone can robustly guide stitching prediction, enabling scalable garment assembly without manual input.
Figures & tables
| Config. | TF1 / MEF1 | GSP |
|---|---|---|
| Full | 96.2 / 84.7 | 73.3 |
| w/o Panel ID | 87.7 / 72.4 | 45.3 |
| w/o Topol. Prop. | 78.8 / 73.7 | 30.5 |
| Config. | TP/MEP | TR/MER | TF1/MEF1 | GSP |
|---|---|---|---|---|
| Full | 96.1/80.4 | 96.3/89.5 | 96.2/84.7 | 73.3 |
| w/o GNN | 93.2/71.2 | 94.2/92.9 | 93.7/80.6 | 58.6 |
| GNN layers | Total F1 | Multi-edge F1 | GSP |
|---|---|---|---|
| 94.3 | 81.8 | 61.8 | |
| 96.2 | 84.7 | 73.3 | |
| 96.0 | 78.9 | 71.6 | |
| 5 + Max | 96.1 | 84.8 | 72.4 |
| Configuration | TF1 | MEF1 | Time |
|---|---|---|---|
| 97.1 | 84.5 | 26ms | |
| 97.0 | 84.7 | 7ms |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Geometric Features | Feature | Description |
| Local Shape | Start vertex | Coordinates of the edge’s starting point |
| End vertex | Coordinates of the edge’s ending point | |
| Length | Euclidean distance between start and end | |
| Orientation | Unit vector between the initial and end edge point | |
| Curvature type | : straight segment, circular arcs quadratic Bézier, cubic Bézier and B-Splines | |
| Curvature params | All zeros for straight segment for circular arc for quadratic Bézier for cubic Bézier for B-splines |
Manufacturing
Manufacturing research develops methods and systems to design, plan, automate, monitor, and improve industrial production.
See all 77 papers