mlsanityData to 7 Oct 2026

CoCoNO: Attention Contrast-and-Complete for Initial Noise Optimization in Text-to-Image Synthesis

arXiv 2411.16783 ↗First posted 25 Nov 2024cs.CVcited by 7

On the map: Diffusion models → Image generation, text-to-image and editing

Abstract (arXiv)

Despite recent advancements in text-to-image models, achieving semantically accurate images in text-to-image diffusion models is a persistent challenge. While existing initial latent optimization methods have demonstrated impressive performance, we identify two key limitations: (a) attention neglect, where the synthesized image omits certain subjects from the input prompt because they do not have a designated segment in the self-attention map despite despite having a high-response cross-attention, and (b) attention interference, where the generated image has mixed-up properties of multiple subjects because of a conflicting overlap between cross- and self-attention maps of different subjects. To address these limitations, we introduce CoCoNO, a new algorithm that optimizes the initial latent by leveraging the complementary information within self-attention and cross-attention maps. Our method introduces two new loss functions: the attention contrast loss, which minimizes undesirable overlap by ensuring each self-attention segment is exclusively linked to a specific subject's cross attention map, and the attention complete loss, which maximizes the activation within these segments to guarantee that each subject is fully and distinctly represented. Our approach operates within a noise optimization framework, avoiding the need to retrain base models. Through extensive experiments on multiple benchmarks, we demonstrate that CoCoNO significantly improves text-image alignment and outperforms the current state of the art.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 29 of its 41 references that are in the map. First posted on arXiv 25 Nov 2024.

Builds on

29 of 41 references.

Closest ancestors · 9

Same direction, newest first

  1. 2024InitNO: Boosting Text-to-Image Diffusion Models via Initial Noise Optimization6 Apr
  2. 2024Dynamic Prompt Optimizing for Text-to-Image Generation5 Apr
  3. 2024Enhancing Semantic Fidelity in Text-to-Image Synthesis: Attention Regulation in Diffusion Models11 Mar
  4. 2023Divide & Bind Your Attention for Improved Generative Semantic Nursing20 Jul
  5. 2023A-STAR: Test-time Attention Segregation and Retention for Text-to-image Synthesis26 Jun
  6. 2023Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models31 Jan
  7. 2022Investigating Prompt Engineering in Diffusion Models21 Nov
  8. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
  9. 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr

Other references · 20

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
  7. 2022Classifier-Free Diffusion Guidancecited by 5,717
  8. 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,510
  9. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
  10. 2013Auto-Encoding Variational Bayescited by 3,980
  11. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
  12. 2019Semantic Image Synthesis with Spatially-Adaptive Normalizationcited by 1,295
8 more
  1. 2022Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translationcited by 897
  2. 2024Evaluating Text-to-Visual Generation with Image-to-Text Generationcited by 465
  3. 2021Cross-Modal Contrastive Learning for Text-to-Image Generationcited by 259
  4. 2022Optimizing Prompts for Text-to-Image Generationcited by 204
  5. 2020DF-GAN: A Simple and Effective Baseline for Text-to-Image Synthesiscited by 161
  6. 2024Improving Text-to-Image Consistency via Automatic Prompt Optimizationcited by 88
  7. 2018IntroVAE: Introspective Variational Autoencoders for Photographic Image Synthesiscited by 85
  8. 2021Improving Text-to-Image Synthesis Using Contrastive Learningcited by 62

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 6; 2026: 1.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Harnessing the Spatial-Temporal Attention of Diffusion Models for High-Fidelity Text-to-Image Synthesis
  2. 2026AI-T2I: Aggregating-and-Isolating Cross-Attention to Diffusion Models for Text-to-Image Synthesis
  3. 2024AID: Attention Interpolation of Text-to-Image Diffusion
  4. 2024Self-Cross Diffusion Guidance for Text-to-Image Synthesis of Similar Subjects
  5. 2023Compositional Text-to-Image Synthesis with Attention Map Control of Diffusion Models
  6. 2023CONFORM: Contrast is All You Need For High-Fidelity Text-to-Image Diffusion Models
  7. 2024Training-Free Layout-to-Image Generation with Marginal Attention Constraints
  8. 2024Noise Diffusion for Enhancing Semantic Faithfulness in Text-to-Image Synthesis