CoCoNO: Attention Contrast-and-Complete for Initial Noise Optimization in Text-to-Image Synthesis
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
- 2024InitNO: Boosting Text-to-Image Diffusion Models via Initial Noise Optimization6 Apr
- 2024Dynamic Prompt Optimizing for Text-to-Image Generation5 Apr
- 2024Enhancing Semantic Fidelity in Text-to-Image Synthesis: Attention Regulation in Diffusion Models11 Mar
- 2023Divide & Bind Your Attention for Improved Generative Semantic Nursing20 Jul
- 2023A-STAR: Test-time Attention Segregation and Retention for Text-to-image Synthesis26 Jun
- 2023Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models31 Jan
- 2022Investigating Prompt Engineering in Diffusion Models21 Nov
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
Other references · 20
- 2017Attention Is All You Needcited by 59,932
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
- 2022Classifier-Free Diffusion Guidancecited by 5,717
- 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,510
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
- 2013Auto-Encoding Variational Bayescited by 3,980
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
- 2019Semantic Image Synthesis with Spatially-Adaptive Normalizationcited by 1,295
8 more
- 2022Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translationcited by 897
- 2024Evaluating Text-to-Visual Generation with Image-to-Text Generationcited by 465
- 2021Cross-Modal Contrastive Learning for Text-to-Image Generationcited by 259
- 2022Optimizing Prompts for Text-to-Image Generationcited by 204
- 2020DF-GAN: A Simple and Effective Baseline for Text-to-Image Synthesiscited by 161
- 2024Improving Text-to-Image Consistency via Automatic Prompt Optimizationcited by 88
- 2018IntroVAE: Introspective Variational Autoencoders for Photographic Image Synthesiscited by 85
- 2021Improving Text-to-Image Synthesis Using Contrastive Learningcited by 62
Built on by
Citing papers per year: 2025: 6; 2026: 1.
7 papers.
- 2025Noise Hypernetworks: Amortizing Test-Time Compute in Diffusion Modelscited by 35
- 2025It's Never Too Late: Noise Optimization for Collapse Recovery in Trained Diffusion Modelscited by 9
- 2025Fine-Grained Alignment and Noise Refinement for Compositional Text-to-Image Generationcited by 4
- 2025Noise Projection: Closing the Prompt-Agnostic Gap Behind Text-to-Image Misalignment in Diffusion Modelscited by 3
- 2025Subjective Camera 1.0: Bridging Human Cognition and Visual Reconstruction through Sequence-Aware Sketch-Guided Diffusioncited by 2
- 2025Noise-Level Diffusion Guidance: Well Begun is Half Donecited by 2
- 2026LGTM: Training-Free Light-Guided Text-to-Image Diffusion Model via Initial Noise Manipulationcited by 1
- 2026LGTM: Training-Free Light-Guided Text-to-Image Diffusion Model via Initial Noise Manipulation25 Mar 2026
- 2025It's Never Too Late: Noise Optimization for Collapse Recovery in Trained Diffusion Models31 Dec 2025
- 2025Noise Projection: Closing the Prompt-Agnostic Gap Behind Text-to-Image Misalignment in Diffusion Models16 Oct 2025
- 2025Noise-Level Diffusion Guidance: Well Begun is Half Done17 Sep 2025
- 2025Noise Hypernetworks: Amortizing Test-Time Compute in Diffusion Models13 Aug 2025
- 2025Subjective Camera 1.0: Bridging Human Cognition and Visual Reconstruction through Sequence-Aware Sketch-Guided Diffusion30 Jun 2025
- 2025Fine-Grained Alignment and Noise Refinement for Compositional Text-to-Image Generation9 Mar 2025
Similar, not cited
Close in wording, no citation either way
- 2023Harnessing the Spatial-Temporal Attention of Diffusion Models for High-Fidelity Text-to-Image Synthesis
- 2026AI-T2I: Aggregating-and-Isolating Cross-Attention to Diffusion Models for Text-to-Image Synthesis
- 2024AID: Attention Interpolation of Text-to-Image Diffusion
- 2024Self-Cross Diffusion Guidance for Text-to-Image Synthesis of Similar Subjects
- 2023Compositional Text-to-Image Synthesis with Attention Map Control of Diffusion Models
- 2023CONFORM: Contrast is All You Need For High-Fidelity Text-to-Image Diffusion Models
- 2024Training-Free Layout-to-Image Generation with Marginal Attention Constraints
- 2024Noise Diffusion for Enhancing Semantic Faithfulness in Text-to-Image Synthesis