Layout-to-Image Generation with Localized Descriptions using ControlNet with Cross-Attention Control

Denis Lukovnikov, Asja Fischer
2/20/2024
cs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

While text-to-image diffusion models can generate highquality images from textual descriptions, they generally lack fine-grained control over the visual composition of the generated images. Some recent works tackle this problem by training the model to condition the generation process on additional input describing the desired image layout. Arguably the most popular among such methods, ControlNet, enables a high degree of control over the generated image using various types of conditioning inputs (e.g. segmentation maps). However, it still lacks the ability to take into account localized textual descriptions that indicate which image region is described by which phrase in the prompt. In this work, we show the limitations of ControlNet for the layout-to-image task and enable it to use localized descriptions using a training-free approach that modifies the crossattention scores during generation. We adapt and investigate several existing cross-attention control methods in the context of ControlNet and identify shortcomings that cause failure (concept bleeding) or image degradation under specific conditions. To address these shortcomings, we develop a novel cross-attention manipulation method in order to maintain image quality while improving control. Qualitative and quantitative experimental studies focusing on challenging cases are presented, demonstrating the effectiveness of the investigated general approach, and showing the improvements obtained by the proposed cross-attention control method.

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. 1 weaker match is hidden by default — 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{lukovnikov2024layouttoimage,
  title  = {Layout-to-Image Generation with Localized Descriptions using ControlNet with Cross-Attention Control},
  author = {Denis Lukovnikov and Asja Fischer},
  year   = {2024},
  eprint = {2402.13404},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.13404v1}
}

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/2402.13404.svg)](https://codeofpaper.com/paper/2402.13404)

Discussion