TL;DR
Ask a standard image generator to turn a flat illustration into traditional embroidery, and it usually slaps a generic "thread" filter over the whole canvas. EmbroMaster solves this by teaching AI to think like a master artisan: first planning which specific stitch belongs on which object (e.g., knot stitches for flower stamens, crisscross for animal fur), and then rendering those distinct textures seamlessly into a single, editable image. It bridges the gap between blind texture transfer and true domain-aware computational craft.
What Problem Does This Paper Address?
Traditional Chinese Su embroidery isn't a monolith of thread; its beauty comes from matching semantic regions with specialized stitch techniques—point-based, line-based, or surface-based—to create varied structures and light reflections. Doing this computationally hits three walls:
- Data & Knowledge Scarcity: Clean, paired examples of flat designs and specific real-world stitches are rare, and the rules governing which stitch goes where live mostly in the heads of human experts.
- Lack of Craft-Aware Reasoning: Multimodal models can easily spot a cat or a petal in an image, but they don't intuitively know how to map those objects to appropriate embroidery techniques under constraints like style (decorative vs. realistic) or a strict "stitch budget."
- Multi-Texture Entanglement: Even when given explicit instructions, monolithic diffusion models struggle to render multiple distinct, fine-grained stitch structures in one image without bleeding textures together or losing region-level editability.
Methods
The authors decouple deciding what goes where from rendering how it looks, connecting the two stages via an intermediate, human-editable data structure called an embroidery blueprint.
- Stage 1: Craft-Aware Planning. Given a flat design and user constraints (desired style and exact number of stitches to use), a vision-language planning agent (powered by GPT-6 Sol) identifies semantic units, retrieves formalized expert craft rules, and assigns one of six stitch types (
chain,plain,layered,knot,long-short,crisscross) to each object. It then calls a segmentation model (SAM 3) to extract binary spatial masks, bundling objects, masks, and stitch assignments into the editable blueprint. - Stage 2: Multi-Stitch Synthesis. Rather than forcing one model to juggle every texture at once, EmbroMaster trains separate, specialized image-to-image renderers—implemented as LoRAs (Low-Rank Adaptations, lightweight fine-tuned weights) on top of FLUX.1-Kontext-dev—for each stitch type. At inference, only the chosen stitch renderers stylize the full design. Finally, area-ordered composition blends these global renderings using Gaussian-feathered masks from largest area to smallest, ensuring tiny foreground details (like eyes or stamens) aren't overwritten by larger background regions.
Datasets
To make this pipeline possible, the authors introduce StitchAtlas, a novel dataset pairing visual data with explicit domain rules:
- Paired Design–Stitch Images: Starting from scarce museum and gallery samples of Su embroidery, the authors augment the images and train FLUX.1-dev LoRAs to generate synthetic single-stitch candidates. They then work backward: using an image editing model (Nano Banana Pro) to strip away thread textures and convert embroideries into flat-color designs. Human experts filter the results for alignment and stitch quality, yielding 20 pristine design–embroidery pairs per stitch type (120 pairs total).
- Stitch Craft Knowledge: Curated directly with Su embroidery experts, this formalizes stitch taxonomy, thread characteristics, style definitions, and semantic assignment rules.
- Evaluation Set: Experiments are conducted on 200 multi-object flat designs tested across decorative and realistic styles with stitch budgets of two or three.
Key Insights and Ideas
- Good plans can't fix an unadapted renderer: In ablation studies, adding expert rules skyrocketed planning compliance from 0.617 to 0.975, yet visual quality barely budged when using a base image generator. Pairing explicit planning with stitch-specific renderers was the real unlock—pushing stitch accuracy from 0.192 to 0.698.
- Modularity beats monoliths: Isolating each stitch into its own LoRA prevents texture interference during generation. Better yet, if you want to add a seventh stitch type tomorrow, you just train one new LoRA and add a few text rules—no retraining existing models required.
- Reverse-engineering paired data: Stripping textures off real and synthetic embroideries to create pixel-aligned flat inputs is a clever workaround for domains where ground-truth "before and after" pairs simply don't exist in nature.
Key Results
Tested against three frontier multimodal pipelines (Gemini, GPT, and Qwen setups combining VLM planners with image editors), EmbroMaster ranked first on 7 out of 8 quantitative metrics:
- Stitch Execution & Planning: Achieved 0.712 Stitch Classification Accuracy (more than doubling the runner-up Gemini at 0.339) and 0.975 Rule Compliance (vs. ~0.62–0.64 for baselines).
- Fidelity: Delivered the lowest perceptual error (LPIPS of 11.319 vs. GPT's 21.094) and highest Region-wise Structure Preservation (57.411).
- Expert Validation: Ten professional Su embroidery artisans evaluated 30 comparison groups blind on a 5-point Likert scale. EmbroMaster swept all five categories, scoring 3.92 in Realism, 3.93 in Stitch Accuracy, and 3.76 in Fabrication Feasibility. An artisan even used EmbroMaster's outputs as direct blueprints to hand-embroider physical pieces.
Limitations and Future Work
- Mask Dependency: Because composition relies on SAM 3 segmentation, incomplete masks can leave spots un-embroidered, and imprecise mask boundaries can create visible seams between regions.
- Inference Overhead: Running a full-image diffusion pass for every distinct stitch in the budget slows down real-time interactive editing (a budget of three stitches means three separate rendering calls).
- Future Direction: The authors suggest moving toward a unified generative model capable of native region-level stitch control, cutting out multi-pass overhead and mask-blending artifacts while keeping stitch identities crisp.
Summary updated