Skip to main content
QUICK REVIEW

[Paper Review] Synthesis of Batik Motifs using a Diffusion -- Generative Adversarial Network

One Octadion, Novanto Yudistira|arXiv (Cornell University)|Jul 22, 2023
Cultural and Artistic StudiesSocial Sciences3 citations
TL;DR

This paper proposes a Diffusion-Generative Adversarial Network (Diffusion-GAN) combining StyleGAN2-ADA and diffusion techniques to generate high-quality, realistic batik motifs. By leveraging a curated, diverse batik dataset and optimizing loss functions—particularly Wasserstein loss—the model produces authentic, detailed, and artistically varied patterns with a Fréchet Inception Distance (FID) of 29.045, demonstrating superior performance in aesthetic quality and diversity over baseline GANs.

ABSTRACT

Batik, a unique blend of art and craftsmanship, is a distinct artistic and technological creation for Indonesian society. Research on batik motifs is primarily focused on classification. However, further studies may extend to the synthesis of batik patterns. Generative Adversarial Networks (GANs) have been an important deep learning model for generating synthetic data, but often face challenges in the stability and consistency of results. This research focuses on the use of StyleGAN2-Ada and Diffusion techniques to produce realistic and high-quality synthetic batik patterns. StyleGAN2-Ada is a variation of the GAN model that separates the style and content aspects in an image, whereas diffusion techniques introduce random noise into the data. In the context of batik, StyleGAN2-Ada and Diffusion are used to produce realistic synthetic batik patterns. This study also made adjustments to the model architecture and used a well-curated batik dataset. The main goal is to assist batik designers or craftsmen in producing unique and quality batik motifs with efficient production time and costs. Based on qualitative and quantitative evaluations, the results show that the model tested is capable of producing authentic and quality batik patterns, with finer details and rich artistic variations. The dataset and code can be accessed here:https://github.com/octadion/diffusion-stylegan2-ada-pytorch

Motivation & Objective

  • To address the lack of generative research in batik motif creation beyond classification.
  • To improve the stability and quality of GAN-based batik generation by integrating diffusion techniques.
  • To enable batik designers to produce unique, high-quality motifs efficiently, reducing time and cost.
  • To evaluate the impact of loss functions (Wasserstein vs. StyleGAN2-ADA) and dataset quality on generation outcomes.
  • To contribute a publicly available codebase and dataset for future research in cultural AI.

Proposed method

  • The model combines StyleGAN2-ADA, which disentangles style and content for fine-grained control, with a diffusion process that gradually adds and removes noise to improve sample quality.
  • A curated, high-quality batik dataset containing diverse motifs and color variations was used to train the model, enhancing its ability to learn authentic patterns.
  • The generator learns to produce realistic batik images by minimizing adversarial loss, while the discriminator distinguishes real from generated samples at multiple noise levels.
  • Differential augmentation was applied to increase data efficiency and reduce overfitting by modifying inputs before they reach the discriminator.
  • The model was trained using two loss functions: Wasserstein GAN loss and the standard non-saturating loss of StyleGAN2-ADA, enabling comparative analysis of output quality and structure.
  • An adaptive diffusion strategy was employed, adjusting noise-to-data ratios at each diffusion step to improve robustness to varying noise levels.

Experimental results

Research questions

  • RQ1Can a Diffusion-GAN model effectively generate realistic and diverse batik motifs with high aesthetic quality?
  • RQ2How does the choice of loss function—Wasserstein vs. StyleGAN2-ADA—impact the structural neatness and novelty of generated batik patterns?
  • RQ3To what extent does dataset quality and diversity influence the performance and authenticity of generated batik motifs?
  • RQ4How does the integration of diffusion techniques improve training stability and sample fidelity in GAN-based batik generation?
  • RQ5Can the proposed model outperform standard GANs in generating detailed, culturally authentic batik patterns?

Key findings

  • The model achieved a Fréchet Inception Distance (FID) score of 29.045, indicating high-quality and diverse generation of batik motifs.
  • The use of Wasserstein loss produced more novel and varied motif shapes, though they were less neatly arranged compared to those from StyleGAN2-ADA loss.
  • The StyleGAN2-ADA loss generated motifs with better structural coherence and neatness, suitable for traditional aesthetic standards.
  • High-quality, diverse datasets significantly enhanced the realism and artistic fidelity of the generated batik patterns.
  • The integration of diffusion techniques improved training stability and enabled better generalization across noise levels and data variations.
  • The proposed Diffusion-GAN model outperformed baseline GANs in generating detailed, authentic, and artistically rich batik motifs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.