Training-free Regional Prompting for Diffusion Transformers

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Chen, Anthony, Xu, Jianjin, Zheng, Wenzhao, Dai, Gaole, Wang, Yida, Zhang, Renrui, Wang, Haofan, Zhang, Shanghang
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866929575233060864
author Chen, Anthony
Xu, Jianjin
Zheng, Wenzhao
Dai, Gaole
Wang, Yida
Zhang, Renrui
Wang, Haofan
Zhang, Shanghang
author_facet Chen, Anthony
Xu, Jianjin
Zheng, Wenzhao
Dai, Gaole
Wang, Yida
Zhang, Renrui
Wang, Haofan
Zhang, Shanghang
contents Diffusion models have demonstrated excellent capabilities in text-to-image generation. Their semantic understanding (i.e., prompt following) ability has also been greatly improved with large language models (e.g., T5, Llama). However, existing models cannot perfectly handle long and complex text prompts, especially when the text prompts contain various objects with numerous attributes and interrelated spatial relationships. While many regional prompting methods have been proposed for UNet-based models (SD1.5, SDXL), but there are still no implementations based on the recent Diffusion Transformer (DiT) architecture, such as SD3 and FLUX.1.In this report, we propose and implement regional prompting for FLUX.1 based on attention manipulation, which enables DiT with fined-grained compositional text-to-image generation capability in a training-free manner. Code is available at https://github.com/antonioo-c/Regional-Prompting-FLUX.
format Preprint
id arxiv_https___arxiv_org_abs_2411_02395
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Training-free Regional Prompting for Diffusion Transformers
Chen, Anthony
Xu, Jianjin
Zheng, Wenzhao
Dai, Gaole
Wang, Yida
Zhang, Renrui
Wang, Haofan
Zhang, Shanghang
Computer Vision and Pattern Recognition
Diffusion models have demonstrated excellent capabilities in text-to-image generation. Their semantic understanding (i.e., prompt following) ability has also been greatly improved with large language models (e.g., T5, Llama). However, existing models cannot perfectly handle long and complex text prompts, especially when the text prompts contain various objects with numerous attributes and interrelated spatial relationships. While many regional prompting methods have been proposed for UNet-based models (SD1.5, SDXL), but there are still no implementations based on the recent Diffusion Transformer (DiT) architecture, such as SD3 and FLUX.1.In this report, we propose and implement regional prompting for FLUX.1 based on attention manipulation, which enables DiT with fined-grained compositional text-to-image generation capability in a training-free manner. Code is available at https://github.com/antonioo-c/Regional-Prompting-FLUX.
title Training-free Regional Prompting for Diffusion Transformers
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2411.02395