ColorwAI: Generative Colorways of Textiles through GAN and Diffusion Disentanglement

Ludovica Schaerf,Andrea Alfarano,Eric Postma
2024-10-07
Abstract:Colorway creation is the task of generating textile samples in alternate color variations maintaining an underlying pattern. The individuation of a suitable color palette for a colorway is a complex creative task, responding to client and market needs, stylistic and cultural specifications, and mood. We introduce a modification of this task, the "generative colorway" creation, that includes minimal shape modifications, and propose a framework, "ColorwAI", to tackle this task using color disentanglement on StyleGAN and Diffusion. We introduce a variation of the InterfaceGAN method for supervised disentanglement, ShapleyVec. We use Shapley values to subselect a few dimensions of the detected latent direction. Moreover, we introduce a general framework to adopt common disentanglement methods on any architecture with a semantic latent space and test it on Diffusion and GANs. We interpret the color representations within the models' latent space. We find StyleGAN's W space to be the most aligned with human notions of color. Finally, we suggest that disentanglement can solicit a creative system for colorway creation, and evaluate it through expert questionnaires and creativity theory.
Computer Vision and Pattern Recognition
What problem does this paper attempt to address?
### Problems the Paper Attempts to Solve This paper aims to address the complexity and subjectivity issues in textile color design. Specifically, it proposes a framework called "ColorwAI" for generating different color variants (i.e., "colorways") of textiles while maintaining the original pattern structure. This task is of significant practical importance as the market typically requires multiple color variants to meet diverse social demands. ### Detailed Interpretation 1. **Problem Background**: - **Importance of Color**: Color has a profound impact on the overall emotional expression, perceived structure, and depth of textiles. - **Market Demand**: The market usually demands 6-8 different color variants for each pattern to satisfy diverse social needs. - **Limitations of Traditional Methods**: Traditional graphic programs and existing AI recoloring methods require designers to predefine the color palette, which limits creative flexibility. 2. **Proposed Method**: - **ColorwAI Framework**: This framework generates new color variants by disentangling colors in StyleGAN and diffusion models. Unlike traditional recoloring methods, ColorwAI not only changes colors but also fine-tunes the pattern shapes according to the new color schemes to make them more harmonious. - **Disentanglement Technique**: The paper introduces an improved InterfaceGAN method called ShapleyVec, which uses Shapley values to select significant dimensions in the latent space, achieving better color disentanglement. 3. **Experimental Results**: - **Performance Evaluation**: The creative capability of the ColorwAI framework was evaluated through expert questionnaires and the perspective of creativity theory. The results show that the W space of StyleGAN aligns most closely with human understanding of color in terms of vector similarity and generated color variants. - **Visual Effects**: Experiments indicate that the color variants generated by StyleGAN are more vivid and natural in shape and color, while the diffusion model introduces subtle color changes while maintaining the original pattern shapes. 4. **Contributions**: - **New Task**: The paper proposes the task of "generative colorway" creation, extending the creative control of existing recoloring methods. - **Universal Framework**: The ColorwAI framework can be flexibly applied to any generative architecture with a semantic latent space, including GANs and diffusion models. - **Method Improvement**: By improving the InterfaceGAN method, the paper proposes ShapleyVec, which enhances the performance and interpretability of color disentanglement. - **Creativity Validation**: From the perspective of computational creativity literature, the framework's creativity was validated through expert surveys. ### Summary By proposing the ColorwAI framework, the paper addresses the complexity and subjectivity issues in textile color design, providing designers with more flexible and creative tools. Through color disentanglement techniques, the framework can generate new color variants and fine-tune pattern shapes to make them more harmonious. Experimental results demonstrate that the framework excels in both performance and creativity.