mlsanityData to 14 Oct 2026

UNCAGE: Contrastive Attention Guidance for Masked Generative Transformers in Text-to-Image Generation

arXiv 2508.05399 ↗First posted 7 Aug 2025cs.CV cs.AI cs.LGcited by 0

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

Abstract (arXiv)

Text-to-image (T2I) generation has been actively studied using Diffusion Models and Autoregressive Models. Recently, Masked Generative Transformers have gained attention as an alternative to Autoregressive Models to overcome the inherent limitations of causal attention and autoregressive decoding through bidirectional attention and parallel decoding, enabling efficient and high-quality image generation. However, compositional T2I generation remains challenging, as even state-of-the-art Diffusion Models often fail to accurately bind attributes and achieve proper text-image alignment. While Diffusion Models have been extensively studied for this issue, Masked Generative Transformers exhibit similar limitations but have not been explored in this context. To address this, we propose Unmasking with Contrastive Attention Guidance (UNCAGE), a novel training-free method that improves compositional fidelity by leveraging attention maps to prioritize the unmasking of tokens that clearly represent individual objects. UNCAGE consistently improves performance in both quantitative and qualitative evaluations across multiple benchmarks and metrics, with negligible inference overhead. Our code is available at https://github.com/furiosa-ai/uncage.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 34 of its 41 references that are in the map. First posted on arXiv 7 Aug 2025.

Builds on

34 of 41 references.

Closest ancestors · 9

Same direction, newest first

  1. 2024Self-Cross Diffusion Guidance for Text-to-Image Synthesis of Similar Subjects28 Nov
  2. 2024Meissonic: Revitalizing Masked Generative Transformers for Efficient High-Resolution Text-to-Image Synthesis10 Oct
  3. 2024Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Prediction3 Apr
  4. 2024Eta Inversion: Designing an Optimal Eta Function for Diffusion-based Real Image Editing14 Mar
  5. 2023Predicated Diffusion: Predicate Logic-Based Attention Guidance for Text-to-Image Diffusion Models3 Oct
  6. 2023Counting Guidance for High Fidelity Text-to-Image Synthesis30 Jun
  7. 2023Linguistic Binding in Diffusion Models: Enhancing Attribute Correspondence through Attention Map Alignment15 Jun
  8. 2023Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models31 Jan
  9. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May

Other references · 25

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  5. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  6. 2023GPT-4 Technical Reportcited by 18,396
  7. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  8. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  9. 2020Denoising Diffusion Implicit Modelscited by 9,781
  10. 2022Classifier-Free Diffusion Guidancecited by 5,847
  11. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
  12. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
13 more
  1. 2021Zero-Shot Text-to-Image Generationcited by 4,288
  2. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
  3. 2023Stable Video Diffusion: Scaling Latent Video Diffusion Models to Large Datasetscited by 2,581
  4. 2024Autoregressive Model Beats Diffusion: Llama for Scalable Image Generationcited by 777
  5. 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 648
  6. 2023Scaling up GANs for Text-to-Image Synthesiscited by 492
  7. 2024SV3D: Novel Multi-view Synthesis and 3D Generation from a Single Image using Latent Video Diffusioncited by 364
  8. 2023VIEScore: Towards Explainable Metrics for Conditional Image Synthesis Evaluationcited by 201
  9. 2024Lumina-mGPT: Illuminate Flexible Photorealistic Text-to-Image Generation with Multimodal Generative Pretrainingcited by 150
  10. 2022Improved Masked Image Generation with Token-Criticcited by 64
  11. 2025Halton Scheduler For Masked Generative Image Transformercited by 32
  12. 2023MaskSketch: Unpaired Structure-guided Masked Image Generationcited by 27
  13. 2023Text-Conditioned Sampling Framework for Text-to-Image Generation with Masked Generative Modelscited by 6

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2023Compositional Text-to-Image Synthesis with Attention Map Control of Diffusion Models
  2. 2023Separate-and-Enhance: Compositional Finetuning for Text2Image Diffusion Models
  3. 2024Enhancing Semantic Fidelity in Text-to-Image Synthesis: Attention Regulation in Diffusion Models
  4. 2025UniFusion: Vision-Language Model as Unified Encoder in Image Generation
  5. 2024MaxFusion: Plug&Play Multi-Modal Generation in Text-to-Image Diffusion Models
  6. 2023Masked-Attention Diffusion Guidance for Spatially Controlling Text-to-Image Generation
  7. 2024Bag of Design Choices for Inference of High-Resolution Masked Generative Transformer
  8. 2026FocusDiT: Masking Queries in Diffusion Transformers for Fine-grained Image Generation