NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SDXL Finetuned with LoRA for Coloring Therapy: Generating Graphic Templates Inspired by United Arab Emirates Culture

Abdulla Alfalasi, Esrat Khan, Mohamed Alhashmi, Raed Aldweik, Davor SvetinovicarXiv 2024

TL;DR

This paper introduces a novel approach to mental health therapy by using Stable Diffusion XL (SDXL) with Low-Rank Adaptation (LoRA) to generate culturally relevant coloring templates inspired by United Arab Emirates (UAE) heritage, specifically Al-Sadu weaving patterns. This method aims to enhance the stress-relieving benefits of coloring therapy by embedding deep cultural resonance, potentially aiding in the management of conditions like Generalized Anxiety Disorder (GAD).

What Problem Does This Paper Address?

The paper addresses a gap in the current application of coloring therapy, which often overlooks the significant impact of cultural context on therapeutic effectiveness. While coloring therapy is recognized for its stress-reducing properties, its efficacy can be amplified when the visual content resonates deeply with an individual's cultural background. Existing research has explored color and music therapy, but there's a lack of focus on generating culturally specific therapeutic materials. This study aims to bridge this gap by creating coloring templates that are not only aesthetically pleasing but also culturally significant, specifically drawing from the rich heritage of the UAE, to potentially improve mental wellness outcomes, particularly for individuals with GAD.

Methods

The core of this research lies in the fine-tuning of the Stable Diffusion XL (SDXL) model using Low-Rank Adaptation (LoRA). SDXL is a powerful text-to-image diffusion model known for its high-quality image generation capabilities. LoRA is a parameter-efficient fine-tuning technique that allows large models like SDXL to be adapted to specific tasks or datasets without requiring extensive computational resources. This approach involves training only a small number of additional parameters, preserving the pre-trained knowledge of SDXL while enabling customization.

The process involved:

  • Dataset Curation: Gathering high-quality images relevant to the target cultural motifs (Al-Sadu weaving patterns) and art therapy themes.
  • Image Preprocessing: Cropping images to a 1:1 aspect ratio, which was found to improve training results.
  • Captioning: Using tools like Kohya SS and WD14 captioning to generate descriptive text for the images, enabling the model to learn the association between text prompts and visual content.
  • LoRA Fine-tuning: Training the SDXL model with the curated datasets and captions using LoRA. This involved adjusting parameters such as the LoRA rank (influencing how closely the output resembles the training data vs. the base model) and the number of training epochs.

Datasets

The paper describes the use of two primary types of datasets for LoRA fine-tuning:

  • Al-Sadu Weaving Patterns: Approximately 10 high-quality images of Al-Sadu weaving patterns were collected.
  • Art Therapy Images: Around 80 high-quality images related to art therapy themes were gathered.

The paper also mentions the use of existing datasets for evaluating SDXL's base performance, including comparisons with earlier Stable Diffusion versions (SD 1.5 and SD 2.1), as shown in Figure 2.

Key Insights and Ideas

  • Cultural Resonance Enhances Therapeutic Efficacy: The central idea is that integrating culturally specific elements into therapeutic tools, like coloring templates, can significantly boost their effectiveness and engagement. This moves beyond generic therapeutic content to personalized, culturally grounded interventions.
  • LoRA as an Efficient Customization Tool: LoRA proves to be a highly effective and resource-efficient method for adapting large generative models like SDXL to niche domains. Its ability to fine-tune on a single GPU makes advanced AI customization accessible.
  • Al-Sadu as a Rich Source for Therapeutic Art: The traditional Al-Sadu weaving patterns of the UAE are identified as a potent source of intricate and culturally significant designs that can be leveraged for coloring therapy, offering both aesthetic appeal and therapeutic benefits.
  • Bridging Technology and Cultural Heritage: The research demonstrates a powerful synergy between cutting-edge AI technology (SDXL, LoRA) and rich cultural heritage (UAE traditions), creating a novel pathway for preserving culture while advancing mental wellness.

Key Results

The paper showcases the successful generation of high-quality, culturally relevant images using the fine-tuned SDXL model with LoRA.

  • Al-Sadu Templates: The generated Al-Sadu patterns, including camel and palm tree motifs, are visually intricate and capture the essence of the traditional weaving style. The images are presented in various color schemes, including those inspired by the UAE flag, and also in black and white for coloring purposes.
  • Art Therapy Images: The LoRA fine-tuning also produced diverse art therapy images, such as a detailed falcon and an image of Burj Khalifa, demonstrating the model's adaptability to different artistic styles and themes.
  • Model Performance: Figure 2 indicates that SDXL (both base and refiner versions) significantly outperforms earlier Stable Diffusion models (SD 1.5 and SD 2.1) in terms of user preference, suggesting its superior image generation quality.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that the current study focuses on generating templates and does not yet include empirical validation of their therapeutic effectiveness on actual patients.
  • While the paper discusses the potential for GAD symptom reduction, this is based on the premise of coloring therapy's known benefits and the cultural relevance of the generated templates, rather than direct clinical trials within this study.
  • Future Work:
    • Biosignal Integration: The authors plan to employ biosignals (e.g., heart rate, galvanic skin response) to objectively assess user engagement and the effectiveness of the color therapy.
  • Cross-Cultural Comparison: A key future direction is to examine the impact of Al-Sadu art on Emirati individuals and compare their responses with those from other nationalities to understand cultural specificity in therapeutic outcomes.
  • Broader Applications: Exploring the broader implications of color and music therapy, emphasizing the importance of culturally tailored content.

Summary updated

BibTeX
@misc{alfalasi2024sdxl,
  author = {Abdulla Alfalasi and Esrat Khan and Mohamed Alhashmi and Raed Aldweik and Davor Svetinovic},
  title = {{SDXL Finetuned with LoRA for Coloring Therapy: Generating Graphic Templates Inspired by United Arab Emirates Culture}},
  year = {2024},
  eprint = {2403.05562},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.05562},
}
Figure