mlsanityData to 14 Oct 2026

Visually Guided Decoding: Gradient-Free Hard Prompt Inversion with Language Models

arXiv 2505.08622 ↗First posted 13 May 2025cs.AI cs.CL cs.CVcited by 10

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

Abstract (arXiv)

Text-to-image generative models like DALL-E and Stable Diffusion have revolutionized visual content creation across various applications, including advertising, personalized media, and design prototyping. However, crafting effective textual prompts to guide these models remains challenging, often requiring extensive trial and error. Existing prompt inversion approaches, such as soft and hard prompt techniques, are not so effective due to the limited interpretability and incoherent prompt generation. To address these issues, we propose Visually Guided Decoding (VGD), a gradient-free approach that leverages large language models (LLMs) and CLIP-based guidance to generate coherent and semantically aligned prompts. In essence, VGD utilizes the robust text generation capabilities of LLMs to produce human-readable prompts. Further, by employing CLIP scores to ensure alignment with user-specified visual concepts, VGD enhances the interpretability, generalization, and flexibility of prompt generation without the need for additional training. Our experiments demonstrate that VGD outperforms existing prompt inversion techniques in generating understandable and contextually relevant prompts, facilitating more intuitive and controllable interactions with text-to-image models.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 44 of its 49 references that are in the map. First posted on arXiv 13 May 2025.

Builds on

44 of 49 references.

Closest ancestors · 8

Same direction, newest first

  1. 2024PromptCharm: Text-to-Image Generation through Multi-modal Prompting and Refinement6 Mar
  2. 2023Prompting Hard or Hardly Prompting: Prompt Inversion for Text-to-Image Diffusion Models19 Dec
  3. 2023Editing Implicit Assumptions in Text-to-Image Diffusion Models14 Mar
  4. 2022Multi-Concept Customization of Text-to-Image Diffusion8 Dec
  5. 2022InstructPix2Pix: Learning to Follow Image Editing Instructions17 Nov
  6. 2022What the DAAM: Interpreting Stable Diffusion Using Cross Attention10 Oct
  7. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug
  8. 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr

Other references · 36

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  4. 2022Training language models to follow instructions with human feedbackcited by 15,971
  5. 2024The Llama 3 Herd of Modelscited by 14,715
  6. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  7. 2023Visual Instruction Tuningcited by 7,869
  8. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,137
  9. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  10. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
  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
24 more
  1. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  2. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  3. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  4. 2014Deep Learning Face Attributes in the Wildcited by 3,693
  5. 2023Mistral 7Bcited by 3,164
  6. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  7. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
  8. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,245
  9. 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,555
  10. 2021RegionCLIP: Region-based Language-Image Pretrainingcited by 616
  11. 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 610
  12. 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 336
  13. 2023P+: Extended Textual Conditioning in Text-to-Image Generationcited by 242
  14. 2022Optimizing Prompts for Text-to-Image Generationcited by 207
  15. 2023Teaching CLIP to Count to Tencited by 198
  16. 2018Fast Lexically Constrained Decoding with Dynamic Beam Allocation for Neural Machine Translationcited by 182
  17. 2016Guided Open Vocabulary Image Captioning with Constrained Beam Searchcited by 105
  18. 2023Expressive Text-to-Image Generation with Rich Textcited by 89
  19. 2022Perceptual Grouping in Contrastive Vision-Language Modelscited by 82
  20. 2023Focus on Your Instruction: Fine-grained and Multi-instruction Image Editing by Attention Modulationcited by 62
  21. 2023Interpretable Diffusion via Information Decompositioncited by 37
  22. 2023Prompt Highlighter: Interactive Control for Multi-Modal LLMscited by 29
  23. 2024Preserving Pre-trained Representation Space: On Effectiveness of Prefix-tuning for Large Multi-modal Modelscited by 4
  24. 2025Learning Primitive Relations for Compositional Zero-Shot Learningcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 5.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Seeing is Believing: Aligning Prompt Rewriting with Visual Anchors for Text-to-Image Generation
  2. 2025POET: Preference Optimization for Enhanced Text-to-Image Generation
  3. 2025ConceptMix++: Leveling the Playing Field in Text-to-Image Benchmarking via Iterative Prompt Optimization
  4. 2024Exploring the Role of Large Language Models in Prompt Encoding for Diffusion Models
  5. 2025Diversifying Long Prompt Image Generation through Structured Prompt Embedding Space Sampling
  6. 2025Progressive Prompt Detailing for Improved Alignment in Text-to-Image Generative Models
  7. 2023NeuroPrompts: An Adaptive Framework to Optimize Prompts for Text-to-Image Generation
  8. 2026PRISM: Prompt Refinement via Image-grounded Self-rewarding Mechanism for Text-to-Image Generation