mlsanityData to 7 Oct 2026

FRAP: Faithful and Realistic Text-to-Image Generation with Adaptive Prompt Weighting

arXiv 2408.11706 ↗First posted 21 Aug 2024cs.CVcited by 5

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

Abstract (arXiv)

Text-to-image (T2I) diffusion models have demonstrated impressive capabilities in generating high-quality images given a text prompt. However, ensuring the prompt-image alignment remains a considerable challenge, i.e., generating images that faithfully align with the prompt's semantics. Recent works attempt to improve the faithfulness by optimizing the latent code, which potentially could cause the latent code to go out-of-distribution and thus produce unrealistic images. In this paper, we propose FRAP, a simple, yet effective approach based on adaptively adjusting the per-token prompt weights to improve prompt-image alignment and authenticity of the generated images. We design an online algorithm to adaptively update each token's weight coefficient, which is achieved by minimizing a unified objective function that encourages object presence and the binding of object-modifier pairs. Through extensive evaluations, we show FRAP generates images with significantly higher prompt-image alignment to prompts from complex datasets, while having a lower average latency compared to recent latent code optimization methods, e.g., 4 seconds faster than D&B on the COCO-Subject dataset. Furthermore, through visual comparisons and evaluation of the CLIP-IQA-Real metric, we show that FRAP not only improves prompt-image alignment but also generates more authentic images with realistic appearances. We also explore combining FRAP with prompt rewriting LLM to recover their degraded prompt-image alignment, where we observe improvements in both prompt-image alignment and image quality. We release the code at the following link: https://github.com/LiyaoJiang1998/FRAP/.

Key facts. Cited by 5 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 32 of its 48 references that are in the map. First posted on arXiv 21 Aug 2024.

Builds on

32 of 48 references.

Closest ancestors · 8

Same direction, newest first

  1. 2023Divide & Bind Your Attention for Improved Generative Semantic Nursing20 Jul
  2. 2023Linguistic Binding in Diffusion Models: Enhancing Attribute Correspondence through Attention Map Alignment15 Jun
  3. 2023Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models31 Jan
  4. 2022Training-Free Structured Diffusion Guidance for Compositional Text-to-Image Synthesis9 Dec
  5. 2022Investigating Prompt Engineering in Diffusion Models21 Nov
  6. 2022DiffusionDB: A Large-scale Prompt Gallery Dataset for Text-to-Image Generative Models26 Oct
  7. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
  8. 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr

Other references · 24

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  3. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  4. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  5. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  6. 2020Denoising Diffusion Implicit Modelscited by 9,655
  7. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  8. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  9. 2022Classifier-Free Diffusion Guidancecited by 5,717
  10. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
  11. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
  12. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
12 more
  1. 2022Exploring CLIP for Assessing the Look and Feel of Imagescited by 974
  2. 2023Human Preference Score v2: A Solid Benchmark for Evaluating Human Preferences of Text-to-Image Synthesiscited by 847
  3. 2022Pseudo Numerical Methods for Diffusion Models on Manifoldscited by 695
  4. 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 640
  5. 2023Scaling up GANs for Text-to-Image Synthesiscited by 492
  6. 2023TIFA: Accurate and Interpretable Text-to-Image Faithfulness Evaluation with Question Answeringcited by 416
  7. 2021Design Guidelines for Prompt Engineering Text-to-Image Generative Modelscited by 216
  8. 2022Optimizing Prompts for Text-to-Image Generationcited by 204
  9. 2024Improving Text-to-Image Consistency via Automatic Prompt Optimizationcited by 88
  10. 2022A very preliminary analysis of DALL-E 2cited by 82
  11. 2022No Token Left Behind: Explainability-Aided Image Classification and Generationcited by 25
  12. 2023Transferring Visual Attributes from Natural Language to Verified Image Generationcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 1; 2026: 3.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024AlignIT: Enhancing Prompt Alignment in Customization of Text-to-Image Models
  2. 2025M3T2IBench: A Large-Scale Multi-Category, Multi-Instance, Multi-Relation Text-to-Image Benchmark
  3. 2023If at First You Don't Succeed, Try, Try Again: Faithful Diffusion-based Text-to-Image Generation by Selection
  4. 2025POET: Preference Optimization for Enhanced Text-to-Image Generation
  5. 2025Test-time Prompt Refinement for Text-to-Image Models
  6. 2024Words Worth a Thousand Pictures: Measuring and Understanding Perceptual Variability in Text-to-Image Generation
  7. 2025Why Settle for One? Text-to-ImageSet Generation and Evaluation
  8. 2024Dynamic Prompt Optimizing for Text-to-Image Generation