CoStitch: Disentangled Color Style and Stitch Texture Generation for Controllable Embroidery Synthesis
Anonymous authors
ICLR 2027
Abstract. Embroidery image synthesis aims to generate realistic embroidery images with specified color styles and stitch textures while preserving target pattern structure. However, existing methods typically encode color style and stitch texture within a unified appearance representation, hindering their disentanglement and independent reuse on novel patterns. To address this issue, we propose CoStitch, a framework for disentangled color style and stitch texture generation. CoStitch exploits three progressively enriched image states to provide differentiated supervision for the two attributes. Specifically, CoStitch constructs an aligned triplet comprising a sketch, a color design image, and an embroidery image, where the color design image serves as an intermediate state that distinguishes color-related variation from stitch-texture variation. CoStitch further performs joint image-text response analysis to identify color-sensitive and texture-sensitive blocks, defining attribute-specific learning subsets for Color LoRA and Stitch LoRA to reduce cross-attribute interference. The three image states are then reconstructed successively with corresponding LoRA updates, progressively learning color style and fine-grained stitch texture. Finally, texture enhancement stops sketch reconstruction and further refines stitch direction, length, density, and arrangement while preserving the learned color style. Experiments demonstrate that CoStitch preserves target pattern structure while enabling color style and stitch texture to be reused independently and flexibly combined across different references.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 25 Nov 2026, 10:37 UTC.
- Rating
- 3/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
This paper proposes a framework called CoStitch for disentangled color style and stitch texture generation in embroidery image synthesis. CoStitch consists of three key components: an attribute-sensitive block localization method for selecting Color LoRA and Stitch LoRA parameters, a progressive reconstruction strategy using aligned sketch, color design, and embroidery images, and a texture enhancement strategy for refining fine-grained stitch characteristics while preserving color appearance.
Strengths
-
This paper addresses the disentanglement of color style and stitch texture in embroidery image synthesis, which is an interesting and practically meaningful problem.
-
The proposed method enables independent control and flexible combination of color styles and stitch textures from different references.
-
The paper is well-written and well-organized.
-
Extensive experiments are conducted to evaluate the proposed method.
Weaknesses
-
The experimental settings are not sufficiently detailed. The paper does not clearly report the number of reference triplets and target patterns used for evaluation. Moreover, Section 3.1 mentions using HED and Wilcom to construct aligned sketch, color design, and embroidery images, but the detailed data preparation process is unclear. More information about the dataset and evaluation protocol should be provided.
-
Some more recent studies from 2026 are neither discussed nor compared in this paper, such as StyleGallery [1], CRAFT-LoRA [2], and StyleExpert [3].
[1] StyleGallery: Training-free and Semantic-aware Personalized Style Transfer from Arbitrary Image References. CVPR 2026.
[2] CRAFT-LoRA: Content-Style Personalization via Rank-Constrained Adaptation and Training-Free Fusion. CVPR 2026.
[3] Mixture of Style Experts for Diverse Image Stylization. CVPR 2026. -
In Section 4.2.2, the authors mention "the reproduced first-stage EmoLoRA result." Does this mean that only the first stage of EmoLoRA is used for comparison? If so, why is the complete EmoLoRA method not considered?
-
Although Figure 6 demonstrates cross-reference generation, the results are only evaluated qualitatively. More quantitative experiments should be conducted to evaluate whether changing the color reference affects stitch texture and vice versa. For example, the authors could fix one attribute while varying the other and measure the resulting changes using color and texture similarity metrics.
-
Some experimental results deserve further discussion. As shown in Table 2, the complete method achieves a lower Silhouette Dice score (0.9593) than all the ablated variants, despite structure preservation being one of the main objectives. Moreover, although the quantitative results are promising, no user study is conducted to evaluate the perceptual quality and realism of the generated embroidery images.
Questions for the authors
Please see Weaknesses.
Others:
What is the time efficiency of different methods? Some evaluations regarding this should be conducted.
3 comments
Weaknesses3. Scope of the EmoLoRA Comparison
Answer:
We thank the reviewer for pointing this out.
The original experiments indeed included only the reproduced first-stage results of EmoLoRA. Since the complete training code of EmoLoRA has not been publicly released and its official pretrained weights correspond to only one stitch style, we reproduced its first stage based on the methodology described in the paper and evaluated it on the same 1,200 reference-target combinations to examine its generation performance across different stitch styles.
Additional Quantitative Evaluation. We further evaluated the official EmoLoRA model using its publicly released pretrained weights on the same 40 unseen target sketches, with the six metrics reported in Table 1. The results are presented below:
| Method | Dice ↑ | HFRD ↓ | GLCM-TD ↓ | SIFID ↓ | EMD ↓ | ΔE₀₀ ↓ |
|---|---|---|---|---|---|---|
| Official EmoLoRA | 0.9472 | 0.0214 | 0.1941 | 45.4214 | 59.1532 | 11.7042 |
| CoStitch (Ours) | 0.9662 | 0.0034 | 0.0735 | 14.9552 | 39.0005 | 15.3110 |
CoStitch achieves better Dice, HFRD, GLCM-TD, SIFID, and EMD scores, particularly on stitch-texture-related metrics, while the official EmoLoRA model achieves a lower Palette ΔE₀₀.
Weaknesses4. Quantitative Evaluation of Cross-Reference Control
Answer:
We thank the reviewer for the valuable suggestion.
Experimental Setup. We have newly added a quantitative cross-reference experiment using 40 unseen target sketches. Config A fixes the color reference while varying eight stitch-texture references, whereas Config B fixes the stitch-texture reference while varying eight color references. For each sketch, we generate eight embroidery images and report the mean and standard deviation of pairwise metric differences across reference combinations.
| Metric | Config A | Config B |
|---|---|---|
| Palette EMD ↓ | 13.2916 ± 1.3497 | 63.4266 ± 6.0085 |
| Palette ΔE₀₀ ↓ | 4.8900 ± 0.6055 | 21.2639 ± 2.3952 |
| HFRD ↓ | 0.006149 ± 0.001499 | 0.001183 ± 0.000360 |
| GLCM-TD ↓ | 0.085504 ± 0.019543 | 0.039867 ± 0.012628 |
| SIFID ↓ | 10.6759 ± 1.9477 | 9.2045 ± 2.7367 |
Results Analysis. Under Config A, the relatively low Palette EMD and Palette ΔE₀₀ indicate that varying stitch-texture references has a limited effect on color distribution. Under Config B, the relatively low HFRD and GLCM-TD indicate that varying color references has a limited effect on stitch-texture characteristics. These results support CoStitch's ability to control the two attributes independently.
Weaknesses5. Structural Metric Degradation and User Study
Answer:
We thank the reviewer for the valuable suggestions.
Structural Consistency Evaluation. To further evaluate boundary consistency between generated and target images, we have newly added the Boundary F1 (BF1) metric and evaluated 1,200 generated embroidery images using consistent mask extraction and distance tolerances of 1, 2, and 4 pixels. The results are presented below:
| Metric | 1 px | 2 px | 4 px |
|---|---|---|---|
| BF1 ↑ | 0.3253 | 0.5688 | 0.8278 |
BF1 increases from 0.3253 to 0.8278 as the tolerance increases from 1 to 4 pixels, indicating that the generated images exhibit local boundary deviations but achieve relatively high boundary consistency when small spatial deviations are allowed. This observation is consistent with the potential influence of fine-grained stitches on local contours.
User Study. We have newly conducted a perceptual evaluation involving 20 participants without professional embroidery experience. The evaluation pool contains 50 real embroidery images and 50 CoStitch-generated images. Each participant randomly selected 15 real and 15 generated images and rated their overall visual quality and perceived embroidery realism on a five-point scale. The results are presented below:
| Image Type | Visual Quality ↑ | Embroidery Realism ↑ |
|---|---|---|
| Real Embroidery | 4.35 | 4.17 |
| CoStitch (Ours) | 4.32 | 4.15 |
CoStitch achieves average scores of 4.32 for visual quality and 4.15 for embroidery realism, approaching the corresponding scores of real embroidery images (4.35 and 4.17). These findings provide additional perceptual evidence supporting the visual quality and realism of CoStitch-generated embroidery images.
Q. Time Efficiency Comparison
Answer:
We thank the reviewer for the valuable suggestion.
Training Efficiency Evaluation. We have newly added a comparison of training times for personalization-based methods on an NVIDIA L20 GPU. The results are presented below:
| Method | Training Time |
|---|---|
| B-LoRA | 35 min |
| DB-LoRA | 37 min |
| PairCustomization | 26 min |
| Ours | 45 min |
CoStitch requires slightly more training time than the compared methods due to its successive reconstruction and stitch-texture enhancement procedures.
Thanks for the authors' rebuttal. I will maintain my original score.
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
This paper performs controllable embroidery style transfer by disentangling two attributes, color and texture. It is a two-stage model: the first stage performs color design, and the second stage transfers the stitch style. Qualitative and quantitative comparisons are used to show the model’s disentanglement ability and generation quality.
Strengths
An interesting topic of controllable embroidery style transfer with color and texture disentanglement. Color LoRA and Stitch LoRA are used to to separate color style and stitch texture learning. According to the experiment results, CoStitch maintains the target pattern’s structure and lets users apply the color of one reference and the stitches of another.
Weaknesses
-
Overlap between the color and stitch LoRAs. The color and stitch LoRAs both act on the attention blocks at layers 7 and 11. During training, some of the color LoRA parameters are optimized by L_d together with the stitch LoRA. The authors later freeze some parameters, but I remain concerned that this design cannot fully remove the interference that arises when both LoRAs modify the same base feature transformation. An ablation comparing a disjoint block assignment with the current overlapping design is needed to support the disentanglement claim. In addition, a closely related dual-LoRA disentanglement method [1] should be included in the comparison and discussed. [1] Abdal, Rameen, et al. “Dynamic Concepts Personalization from Single Videos.” SIGGRAPH 2025.
-
Blurring and inconsistency in the results. The final embroidery results are blurry in places and show many inconsistencies with the input:
- In the top-left example of Fig. 1, the colors of the input flowers are not fully or reasonably transferred to the output.
- In the bottom-right example of Fig. 1, the buildings and the bridge turn into something that looks like a forest.
- Figs. 5, 7, and 9 all show deformed mouths and eyes. Mountains, trees, and clouds change in shape, and their number is not preserved.
The inconsistency grows as the input images become more complex, which raises concerns about the model’s stability. Also, the text prompts used in training and inference are not reported, so it is impossible to tell whether these inconsistencies come from the model itself or from variation in the text.
Questions for the authors
-
How are the text prompts designed? Are they written manually or generated by AI?
-
The core of the paper is embroidery synthesis, so the results are textures with strongly regular patterns. Could you show results on irregular patterns such as leather or leaves, so that we can judge whether the method transfers to other textures?
-
Can users specify the colors? My current impression is that the method mainly transfers the overall color scheme.
-
Going from the color output to the final result often introduces blur or loss of detail because of the embroidery style. Is there a hyperparameter that controls this, such as the LoRA injection strength?
Ethics concerns
N/A
3 comments
Weakness 1. Overlapping Sensitive Blocks and Related Dual-LoRA Methods
Answer:
We thank the reviewer for the valuable suggestions.
Impact of Overlapping Sensitive Blocks. We clarify the overlapping block configuration and its optimization mechanism in the revised manuscript:
| Response | Manuscript Revision |
|---|---|
| CoStitch separately selects color-sensitive and stitch-texture-sensitive blocks. Some blocks respond to both attributes, resulting in overlaps at the 7th and 11th attention blocks. The two LoRAs maintain independent parameters, while their joint optimization under may introduce cross-attribute interference. | Appendix A.2 (Attribute-Sensitive Block Configuration): The selected sensitive blocks remain fixed during training. Under , Color LoRA parameters in color-sensitive blocks and all Stitch LoRA parameters are jointly optimized. During embroidery reconstruction, Color LoRA is frozen, while Stitch LoRA is updated within the selected texture-sensitive blocks. |
To evaluate the impact of overlapping sensitive blocks, we conducted an additional ablation experiment using non-overlapping block assignments. The quantitative results are presented below:
| Method | Dice ↑ | HFRD ↓ | GLCM-TD ↓ | SIFID ↓ | ΔE₀₀ ↓ | EMD ↓ |
|---|---|---|---|---|---|---|
| Non-overlapping Blocks | 0.9838 | 0.0036 | 0.2147 | 31.7728 | 19.1050 | 51.9917 |
| Ours | 0.9593 | 0.0048 | 0.0508 | 14.1072 | 10.5836 | 30.0398 |
CoStitch achieves better GLCM-TD, SIFID, Palette ΔE₀₀, and Palette EMD, while the non-overlapping configuration performs better in Dice and HFRD. These results demonstrate that the overlapping configuration achieves stronger color and stitch-texture matching, while maintaining competitive structural preservation. We have incorporated this ablation into Section 4.3.
Comparison with Related Dual-LoRA Methods. We clarify the relationship between CoStitch and Set-and-Sequence [1] in the revised manuscript:
| Response | Manuscript Revision |
|---|---|
| Both methods adopt sequential learning. However, Set-and-Sequence [1] models dynamics through residual coefficients over a shared low-rank basis, whereas CoStitch learns color style and stitch texture through successive reconstruction and attribute-sensitive parameter optimization. | Section 2.3 (Related Work): Set-and-Sequence [1] disentangles static appearance and dynamic information by first learning a shared low-rank appearance basis from unordered video frames, then freezing it and modeling dynamics through motion residual coefficients. |
Reference
[1] R. Abdal et al. Dynamic Concepts Personalization from Single Videos. SIGGRAPH 2025.
Weakness 2. Blurring and Structural Inconsistencies
Answer:
We thank the reviewer for the careful observations.
Boundary Consistency Evaluation. CoStitch aims to independently learn and flexibly transfer reference color styles and stitch textures, with color transfer focusing on overall color relationships. To further investigate the local blurring and structural changes highlighted by the reviewer, we introduced the Boundary F1 (BF1) metric to evaluate boundary consistency between generated and target images under different pixel distance thresholds.
Let and denote the boundaries extracted from the generated and target masks, respectively. Boundary precision and recall are defined as:
BF1 is calculated as their harmonic mean:
Here, denotes the minimum Euclidean distance from pixel to boundary set , and is the distance tolerance in pixels. Using a consistent mask extraction procedure, we evaluated 1,200 images generated by CoStitch. The results are presented below:
| Metric | 1 px | 2 px | 4 px |
|---|---|---|---|
| BF1 ↑ | 0.3253 | 0.5688 | 0.8278 |
As the boundary matching tolerance increases from 1 px to 4 px, BF1 rises from 0.3253 to 0.8278, indicating that some local boundary deviations between generated and target images fall within the larger matching tolerance. These results provide a quantitative assessment of boundary consistency across different spatial tolerances.
Text Prompt Design. We clarify the text prompt construction during training and inference in the revised manuscript:
| Response | Manuscript Revision |
|---|---|
| CoStitch uses manually designed prompt templates rather than AI-generated prompts. Training and inference follow the same prompt structure and attribute trigger tokens, with only the subject description adapted to the target pattern. | Appendix A.1 (Model and Training Settings): We adopt three manually designed prompt templates: "a [object]", "a [object] in [col] style", and "a [object] in [col] [emb] style", where [object] denotes the subject category. During inference, the same templates are retained with the target subject substituted. |
Q1. Text Prompt Design
Answer: We thank the reviewer for the question. We have clarified the prompt design in the revised manuscript:
| Response | Manuscript Revision |
|---|---|
| CoStitch uses manually designed prompt templates rather than AI-generated prompts. For example, "a clown," "a clown in [col] style," and "a clown in [col] [emb] style." | Appendix A.1 (Model and Training Settings): We adopt three manually designed prompt templates: "a [object]," "a [object] in [col] style," and "a [object] in [col] [emb] style," where [object] denotes the target subject. |
Q2. Generalization to Irregular Textures
Answer: We thank the reviewer for the valuable suggestion. We conducted additional experiments on leaf, fine-grained leather, and wrinkled leather textures, using one reference sample per material and the same 40 target sketches. The quantitative results are presented below:
| Material | Dice ↑ | GLCM-TD ↓ | SIFID ↓ |
|---|---|---|---|
| Leaf | 0.9840 | 0.1447 | 11.7085 |
| Fine-grained Leather | 0.9851 | 0.2524 | 15.8134 |
| Wrinkled Leather | 0.9845 | 0.1584 | 15.1411 |
All reported values are averages. We have added the corresponding discussion to the revised manuscript:
| Response | Manuscript Revision |
|---|---|
| The results suggest that CoStitch has the potential to generalize beyond embroidery through one-shot adaptation. However, performance varies across materials, and preserving complex details and large-scale wrinkles remains challenging. | Section 4.4 (Extended Experiments): Additional experiments on leaf, fine-grained leather, and wrinkled leather suggest potential generalization to irregular textures through one-shot adaptation, although preserving complex details and large-scale wrinkles remains challenging. |
Q3. Specific Color Control
Answer: We thank the reviewer for the question. We have clarified the scope and limitations of color control:
| Response | Manuscript Revision |
|---|---|
| CoStitch supports reference-driven color transfer, allowing users to guide the overall color scheme through different color design references. However, precise specification of individual colors or region-level color assignments is not currently supported. | Section 5 (Conclusion): CoStitch enables reference-driven color transfer through different color design references, but primarily controls the overall color scheme and does not currently support precise specification of individual colors or region-level color assignments. |
Q4. Controlling Blurring and Detail Loss
Answer: We thank the reviewer for the question. We have clarified the adjustable stitch texture strength during inference:
| Response | Manuscript Revision |
|---|---|
| The stitch texture strength parameter controls the injection strength of Stitch LoRA during inference. Reducing weakens the transferred stitch texture and may alleviate local blurring or detail loss. | Appendix A.3 (Inference Details): The stitch texture strength parameter controls the injection strength of Stitch LoRA during inference. Lower values may reduce local blurring and detail loss, but also weaken the transferred stitch texture. |
- Rating
- 3/4(+1)
- Confidence
- 3/4
- Soundness
- 3/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
CoStitch targets embroidery image synthesis with separately controllable color style and stitch texture. It constructs an aligned triplet (sketch, color design, embroidery), uses joint image-text response analysis to select color- and texture-sensitive SDXL attention blocks, trains Color LoRA and Stitch LoRA through successive reconstruction, and adds an -based texture-enhancement stage. Experiments compare with seven baselines and report structure, color, and texture metrics, plus ablations and cross-reference combinations.
Strengths
- The problem is practical and clearly motivated: independent reuse and cross-combination of color style and stitch texture is a meaningful goal for embroidery design.
- The three-state supervision (sketch → color design → embroidery) is a reasonable way to provide differentiated signals, and the block-selection idea is technically motivated.
- Texture metrics show clear margins on GLCM-TD (0.0508 vs. 0.0763) and SIFID (14.1 vs. 17.7), and a smaller but consistent margin on HFRD (0.0048 vs. 0.0055); the qualitative cross-reference results are visually compelling.
Weaknesses
-
The "disentanglement" is supervision-level and depends on an externally constructed triplet. The title and abstract promise "disentangled color style and stitch texture generation", but Sec. 3.1 defines disentanglement as separating supervision and parameter optimization, not as representation-level independence. The triplet is built externally: , . The model therefore does not learn to separate color from texture from a single embroidery image; it fits two targets that have already been separated by preprocessing. The paper does not discuss Wilcom's availability/cost, the accuracy of , or the method's behavior when is noisy or missing. This makes the central claim narrower than the title suggests.
-
Stitch geometry is claimed but neither modeled nor measured. The introduction and Sec. 3.1 emphasize that stitch direction, length, and arrangement follow local contours, but the method conditions only on HED sketches and Canny/ControlNet edges; there is no tangent direction field, orientation loss, or contour-aware stitch parameterization. Stitch texture is learned as a LoRA appearance prior, so adaptation to local geometry is emergent rather than enforced. The metrics (GLCM-TD, HFRD, SIFID) are global texture statistics; none measures stitch orientation, length, or density relative to the target contour. The geometric claim is therefore neither modeled nor evaluated.
-
Training and inference do not match. Training reconstructs , , and from independently noised latents with noise-prediction losses (Eqs. 3 and 5). Inference (Appendix A.3) instead uses ControlNet-conditioned generation from noise for the color design and img2img from a generated color design for the embroidery. ControlNet and img2img do not appear in the training procedure, and the paper does not explain how the LoRAs learn the inference-time conditioning. The domain gap between the generated and the Wilcom used to train Stitch LoRA is also unanalyzed.
-
The evaluation protocol and baselines are under-specified. The paper states that CoStitch is customized with "a single reference triplet" and evaluated on "unseen target patterns", but never reports the number of reference triplets, target patterns, or test cases; Table 1 aggregates over an unspecified set. The base model and optimization budget of each baseline are not reported; if they differ (e.g., SD1.5 vs. SDXL), the comparison conflates backbone capacity with the method. The EmoLoRA baseline is described as a "first-stage" result, so it is unclear whether the full method was compared. No user study is reported for a perceptual application. These omissions make the quantitative comparison hard to interpret.
-
The block-selection and LoRA separation are not fully validated. The paper reports fixed block sets and , but does not state whether they are computed once globally or per reference. If fixed, the "attribute-sensitive" selection is a one-time configuration; if per reference, its stability is not reported. The sets overlap at and , so both LoRAs modify the same attention blocks; the claim of reduced cross-attribute interference is not directly tested (no disjoint-set or overlap ablation). The ablation also lacks a single-LoRA baseline trained on both attributes, so the benefit of separate LoRAs versus simply more parameters is not isolated.
-
The results are mixed, and the key disentanglement evidence is qualitative. In Table 1, CoStitch is not best on Silhouette Dice (StyleID 0.9784 vs. 0.9593) or Palette (InstantStyle 10.5558 vs. 10.5836); the color advantage is marginal. In Table 2, the full model has the worst Dice (0.9593) among all variants, and its HFRD (0.0048) is worse than Configs B/C/D/E (0.0039/0.0037/0.0043/0.0039), though better than A (0.0060). The paper attributes this to boundary stitches, but the explanation is post hoc and not tested with a boundary-aware mask or metric. Most importantly, the key evidence for disentanglement—cross-reference combinations—is only qualitative (Fig. 6); there is no quantitative measure of color fidelity under texture swap or texture fidelity under color swap.
-
Presentation and positioning. The main text and appendix are disconnected: key inference details (ControlNet, img2img, collaborative generation) appear only in Appendix A.3, and the main text never cross-references them. Figure 4 contains a visible typo, "Ehancement". Terminology is inconsistent (sketch/structure; color design/design; Color LoRA/Color adaptation branch; Stitch LoRA/embroidery branch). The Introduction and Related Work overlap substantially, and the contributions read as a sequence of engineering steps rather than a generalizable principle. Figures 5 and 6 are dense, and the mapping between the labeled references and the multiple outputs is unclear; Fig. 6's caption describes one intermediate and one final result per group, while the grid shows many outputs. There is no limitations section.
Questions for the authors
- How is obtained at scale, and how robust is the method to imperfect or unavailable ?
- Are and computed once globally or per reference? What is the effect of the overlap?
- How are , , and generated, and how sensitive is block selection to caption wording?
- How were the baselines adapted to sketch-to-embroidery, and do they use the same backbone and optimization budget?
9 comments
Weaknesses 1. Disentanglement and Dependency on External Triplets
Answer:
We thank the reviewer for the valuable comments.
We have clarified the disentanglement mechanism and the construction of aligned triplets as follows:
| Response | Manuscript Revision |
|---|---|
| CoStitch aims to disentangle the learning of color style and stitch texture from a single embroidery image. Thus, starting from an embroidery image , we construct a triplet consisting of a sketch , a color design , and an embroidery image to provide differentiated supervision. Meanwhile, by separately learning color-sensitive and texture-sensitive parameters, the model enables the two attributes to be reused independently. | Section 3.1: We have revised the description to clarify the disentanglement objective and its implementation: To achieve the disentanglement of color style and stitch texture, CoStitch employs differentiated supervision from aligned sketch, color design, and embroidery images, together with separate learning of color-sensitive and texture-sensitive parameters, allowing the two attributes to be learned and reused independently. |
| CoStitch follows practical industrial embroidery design and sampling workflows. We employ Wilcom, which is used in industrial embroidery digitization, to generate colored embroidery images and corresponding design images. We then apply an edge detection algorithm [1] to extract sketches from the embroidery images. The triplets are cleaned and filtered to ensure structural consistency among , , and , as well as consistency in dominant colors between and . | Dataset Construction: We have added the following description: Following practical industrial embroidery design and sampling workflows, we employ Wilcom, which is used in industrial embroidery digitization, to generate colored embroidery images and their corresponding design images. We then apply an edge detection algorithm [1] to extract sketch images from the embroidery images. To ensure triplet quality, we clean and filter the data to maintain structural consistency among the three images, as well as consistency in dominant colors between the color design and embroidery images. |
References
[1] S. Xie and Z. Tu. Holistically-Nested Edge Detection. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), 2015.
Weaknesses 2. Stitch Geometry Is Neither Modeled nor Measured
Answer:
We thank the reviewer for the valuable comments.
Scope of Stitch Geometry Modeling. CoStitch aims to separately learn color style and stitch texture from a single embroidery reference and transfer them to different target patterns, rather than explicitly modeling the geometry of stitch orientation, length, and density.
Quantitative Evaluation of Stitch Characteristics. To further evaluate the local stitch characteristics of generated embroidery images, we introduce two objective metrics: Stitch Orientation Coherence Distance (SOCD) and Stitch Density Scale Distance (SDSD).
SOCD measures differences in local stitch orientation coherence between generated and reference embroidery images. Given the eigenvalues of the structure tensor at pixel , local orientation coherence is calculated as:
The distributions of local coherence values are then compared using the 1D Wasserstein distance:
SDSD measures differences in local texture scale characteristics, such as stitch thickness and spacing, through spectral analysis. For each valid foreground window , we calculate the high-frequency power spectrum:
The radial spectral centroid is then computed as:
Here, denotes the radial frequency and denotes the selected frequency band. SDSD is defined as:
Comparative Results. Here, and denote the generated and reference embroidery images, respectively. and represent their respective distributions of local orientation coherence, while and represent their distributions of radial spectral centroids. Lower values indicate better agreement with the reference for both metrics. The comparative results are presented below:
| Method | SOCD ↓ | SDSD ↓ |
|---|---|---|
| Pair Customization | 0.08386 | 0.03419 |
| DB-LoRA | 0.10413 | 0.03151 |
| RB-Modulation | 0.15305 | 0.03454 |
| StyleGallery | 0.18155 | 0.04126 |
| B-LoRA | 0.19132 | 0.03361 |
| StyleID | 0.21804 | 0.06163 |
| InstantStyle | 0.23653 | 0.04264 |
| Ours | 0.08321 | 0.03134 |
We have added the following analysis to the experimental section:
As shown in Table 1, CoStitch achieves the lowest SOCD and SDSD, indicating closer agreement with reference embroidery images in local stitch orientation coherence and texture scale characteristics.
Weaknesses 3. Training and Inference Discrepancy
Answer:
We thank the reviewer for the valuable suggestions.
Use of ControlNet During Inference. Previous studies [2–4] have combined trained models with pretrained ControlNet during inference to provide structural guidance. Our proposed CoStitch follows a similar strategy. The training and inference strategies are summarized below:
| Method | Training and Inference Strategy |
|---|---|
| OPS-GA [2] | Uses Canny ControlNet for structural guidance during portrait stylization. |
| Style Composition [3] | Uses depth-conditioned ControlNet for structural coherence during multi-style generation. |
| EmoLoRA [4] | Combines Canny and Tile ControlNet to preserve design contours and content during embroidery generation. |
| Ours | CoStitch combines with pretrained ControlNet during inference to preserve the structure of target sketches and generate embroidery images.The term “img2img” was inaccurately used to describe the overall inference pipeline in the original manuscript and has been removed to avoid ambiguity. |
Color Design Distribution Discrepancy. To investigate the discrepancy between the generated color design used during inference and the Wilcom color design used to train Stitch LoRA, we conduct a quantitative analysis of their color distributions. Palette EMD and Palette ΔE₀₀ measure the color differences between generated color designs and their corresponding Wilcom designs:
| Method | Palette EMD ↓ | Palette ΔE₀₀ ↓ |
|---|---|---|
| Pair Customization | 49.0801 | 15.0615 |
| DB-LoRA | 49.7272 | 14.6750 |
| RB-Modulation | 43.0193 | 12.7530 |
| StyleGallery | 41.8023 | 12.9793 |
| B-LoRA | 59.6985 | 21.0733 |
| StyleID | 54.9728 | 16.1110 |
| InstantStyle | 41.5741 | 11.2206 |
| Ours | 32.9876 | 10.9885 |
We have added the following analysis to the experimental section:
CoStitch achieves the lowest Palette EMD and Palette ΔE₀₀, indicating that its generated color designs are closer to the corresponding Wilcom designs in terms of color distribution. This suggests a smaller color difference between the color designs used during training and those generated during inference.
References
[2] X. Wang et al. One-shot Portrait Stylization via Geometric Alignment. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), pp. 4964–4973, 2026.
[3] J. Lee et al. Style Composition Within Distinct LoRA Modules for Traditional Art. In Proceedings of the IEEE/CVF International Conference on Computer Vision Workshops (ICCVW), pp. 4497–4504, 2025.
[4]J. Ma et al. One-shot Embroidery Customization via Contrastive LoRA Modulation. ACM Transactions on Graphics, 44(6), Article 272, 2025.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Weaknesses1. Experimental Scale and Reference Triplet Construction
Answer:
We thank the reviewer for the valuable suggestion.
Evaluation Protocol. Following the experimental settings of existing methods [1–3], we use 30 reference triplets and 40 unseen target sketches, resulting in 1,200 evaluation combinations. The original experimental data scales of the compared methods and the evaluation setting of CoStitch are summarized below:
Each reference triplet is used for independent personalization training. All methods are evaluated on the same 1,200 reference-target combinations, and the six evaluation metrics are averaged over all 1,200 test results.
Data Preparation. Following practical industrial embroidery sampling workflows, we use Wilcom, which is employed in industrial embroidery digitization, to generate color design images Id and their corresponding embroidery images Ie. We then apply an edge detection method [4] to extract sketches Is from the embroidery images. Through data cleaning and filtering, we ensure that the triplets are structurally aligned and that the color design and embroidery images maintain consistent dominant colors.
References
[1] Y. Frenkel et al. Implicit Style-Content Separation Using B-LoRA. In Proceedings of the European Conference on Computer Vision (ECCV), 2024.
[2] J. Chung et al. Style Injection in Diffusion: A Training-free Approach for Adapting Large-scale Diffusion Models for Style Transfer. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024.
[3] J. Ma et al. One-shot Embroidery Customization via Contrastive LoRA Modulation. ACM Transactions on Graphics, 44(6), Article 272, 2025.
[4] S. Xie and Z. Tu. Holistically-Nested Edge Detection. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), 2015.
Weaknesses2. Comparison with Recent Related Work
Answer:
We thank the reviewer for the valuable suggestion.
Quantitative Comparison. To extend our comparison with recent studies [5–7], we have added a quantitative evaluation of StyleGallery [5] under the same evaluation protocol. The results are presented below:
CoStitch outperforms StyleGallery on five of the six metrics, achieving lower HFRD, GLCM-TD, and SIFID for stitch-texture similarity, as well as lower Palette ΔE₀₀ and EMD for color consistency. Although StyleGallery achieves a slightly higher Silhouette Dice, CoStitch demonstrates stronger overall performance in stitch-texture and color matching.
Technical Comparison. We compare these methods in terms of their learning objectives and core technical mechanisms. The corresponding discussions have also been added to the Related Work section.
References
[5] B. He, Y. Ye, C. Liu, W. Wu, F. Liu, and Z. Cai. StyleGallery: Training-free and Semantic-aware Personalized Style Transfer from Arbitrary Image References. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 29092–29102, 2026.
[6] Y. Li, Y. Cai, and C. Zhang. CRAFT-LoRA: Content-Style Personalization via Rank-Constrained Adaptation and Training-Free Fusion. arXiv preprint arXiv:2602.18936, 2026.
[7] S. Zhu, Z. Ouyang, Y. Kang, Q. Wang, M. Zhou, B. Li, M.-M. Cheng, and Q. Hou. Mixture of Style Experts for Diverse Image Stylization. arXiv preprint arXiv:2603.16649, 2026.