Layout Control and Semantic Guidance with Attention Loss Backward for T2I Diffusion Model

Guandong Li
11/11/2024
cs.CV

No confident code implementation found for this paper.

Abstract

Controllable image generation has always been one of the core demands in image generation, aiming to create images that are both creative and logical while satisfying additional specified conditions. In the post-AIGC era, controllable generation relies on diffusion models and is accomplished by maintaining certain components or introducing inference interferences. This paper addresses key challenges in controllable generation: 1. mismatched object attributes during generation and poor prompt-following effects; 2. inadequate completion of controllable layouts. We propose a train-free method based on attention loss backward, cleverly controlling the cross attention map. By utilizing external conditions such as prompts that can reasonably map onto the attention map, we can control image generation without any training or fine-tuning. This method addresses issues like attribute mismatch and poor prompt-following while introducing explicit layout constraints for controllable image generation. Our approach has achieved excellent practical applications in production, and we hope it can serve as an inspiring technical report in this field.

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{li2024layout,
  title  = {Layout Control and Semantic Guidance with Attention Loss Backward for T2I Diffusion Model},
  author = {Guandong Li},
  year   = {2024},
  eprint = {2411.06692},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.06692v1}
}

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

Discussion