Text-Anchored Score Composition: Tackling Condition Misalignment in Text-to-Image Diffusion Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Luozhou, Shen, Guibao, Ge, Wenhang, Chen, Guangyong, Li, Yijun, Chen, Ying-cong
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913429110915072
author Wang, Luozhou
Shen, Guibao
Ge, Wenhang
Chen, Guangyong
Li, Yijun
Chen, Ying-cong
author_facet Wang, Luozhou
Shen, Guibao
Ge, Wenhang
Chen, Guangyong
Li, Yijun
Chen, Ying-cong
contents Text-to-image diffusion models have advanced towards more controllable generation via supporting various additional conditions (e.g.,depth map, bounding box) beyond text. However, these models are learned based on the premise of perfect alignment between the text and extra conditions. If this alignment is not satisfied, the final output could be either dominated by one condition, or ambiguity may arise, failing to meet user expectations. To address this issue, we present a training free approach called Text-Anchored Score Composition (TASC) to further improve the controllability of existing models when provided with partially aligned conditions. The TASC firstly separates conditions based on pair relationships, computing the result individually for each pair. This ensures that each pair no longer has conflicting conditions. Then we propose an attention realignment operation to realign these independently calculated results via a cross-attention mechanism to avoid new conflicts when combining them back. Both qualitative and quantitative results demonstrate the effectiveness of our approach in handling unaligned conditions, which performs favorably against recent methods and more importantly adds flexibility to the controllable image generation process. Our code will be available at: https://github.com/EnVision-Research/Decompose-and-Realign.
format Preprint
id arxiv_https___arxiv_org_abs_2306_14408
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Text-Anchored Score Composition: Tackling Condition Misalignment in Text-to-Image Diffusion Models
Wang, Luozhou
Shen, Guibao
Ge, Wenhang
Chen, Guangyong
Li, Yijun
Chen, Ying-cong
Computer Vision and Pattern Recognition
Text-to-image diffusion models have advanced towards more controllable generation via supporting various additional conditions (e.g.,depth map, bounding box) beyond text. However, these models are learned based on the premise of perfect alignment between the text and extra conditions. If this alignment is not satisfied, the final output could be either dominated by one condition, or ambiguity may arise, failing to meet user expectations. To address this issue, we present a training free approach called Text-Anchored Score Composition (TASC) to further improve the controllability of existing models when provided with partially aligned conditions. The TASC firstly separates conditions based on pair relationships, computing the result individually for each pair. This ensures that each pair no longer has conflicting conditions. Then we propose an attention realignment operation to realign these independently calculated results via a cross-attention mechanism to avoid new conflicts when combining them back. Both qualitative and quantitative results demonstrate the effectiveness of our approach in handling unaligned conditions, which performs favorably against recent methods and more importantly adds flexibility to the controllable image generation process. Our code will be available at: https://github.com/EnVision-Research/Decompose-and-Realign.
title Text-Anchored Score Composition: Tackling Condition Misalignment in Text-to-Image Diffusion Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2306.14408