ArtWeaver: Advanced Dynamic Style Integration via Diffusion Model

Chengming Xu, Kai Hu, Qilin Wang, Donghao Luo, Jiangning Zhang +3 more
5/24/2024
cs.CV

No confident code implementation found for this paper.

Abstract

Stylized Text-to-Image Generation (STIG) aims to generate images from text prompts and style reference images. In this paper, we present ArtWeaver, a novel framework that leverages pretrained Stable Diffusion (SD) to address challenges such as misinterpreted styles and inconsistent semantics. Our approach introduces two innovative modules: the mixed style descriptor and the dynamic attention adapter. The mixed style descriptor enhances SD by combining content-aware and frequency-disentangled embeddings from CLIP with additional sources that capture global statistics and textual information, thus providing a richer blend of style-related and semantic-related knowledge. To achieve a better balance between adapter capacity and semantic control, the dynamic attention adapter is integrated into the diffusion UNet, dynamically calculating adaptation weights based on the style descriptors. Additionally, we introduce two objective functions to optimize the model alongside the denoising loss, further enhancing semantic and style consistency. Extensive experiments demonstrate the superiority of ArtWeaver over existing methods, producing images with diverse target styles while maintaining the semantic integrity of the text prompts.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xu2024artweaver,
  title  = {ArtWeaver: Advanced Dynamic Style Integration via Diffusion Model},
  author = {Chengming Xu and Kai Hu and Qilin Wang and Donghao Luo and Jiangning Zhang and Xiaobin Hu and Yanwei Fu and Chengjie Wang},
  year   = {2024},
  eprint = {2405.15287},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.15287v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.15287.svg)](https://codeofpaper.com/paper/2405.15287)

Discussion