Visually Guided Decoding: Gradient-Free Hard Prompt Inversion with Language Models
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
- 2024PromptCharm: Text-to-Image Generation through Multi-modal Prompting and Refinement6 Mar
- 2023Prompting Hard or Hardly Prompting: Prompt Inversion for Text-to-Image Diffusion Models19 Dec
- 2023Editing Implicit Assumptions in Text-to-Image Diffusion Models14 Mar
- 2022Multi-Concept Customization of Text-to-Image Diffusion8 Dec
- 2022InstructPix2Pix: Learning to Follow Image Editing Instructions17 Nov
- 2022What the DAAM: Interpreting Stable Diffusion Using Cross Attention10 Oct
- 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
Other references · 36
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023Visual Instruction Tuningcited by 7,869
- 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,137
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
24 more
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2014Deep Learning Face Attributes in the Wildcited by 3,693
- 2023Mistral 7Bcited by 3,164
- 2019The Curious Case of Neural Text Degenerationcited by 2,916
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
- 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,245
- 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,555
- 2021RegionCLIP: Region-based Language-Image Pretrainingcited by 616
- 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 610
- 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 336
- 2023P+: Extended Textual Conditioning in Text-to-Image Generationcited by 242
- 2022Optimizing Prompts for Text-to-Image Generationcited by 207
- 2023Teaching CLIP to Count to Tencited by 198
- 2018Fast Lexically Constrained Decoding with Dynamic Beam Allocation for Neural Machine Translationcited by 182
- 2016Guided Open Vocabulary Image Captioning with Constrained Beam Searchcited by 105
- 2023Expressive Text-to-Image Generation with Rich Textcited by 89
- 2022Perceptual Grouping in Contrastive Vision-Language Modelscited by 82
- 2023Focus on Your Instruction: Fine-grained and Multi-instruction Image Editing by Attention Modulationcited by 62
- 2023Interpretable Diffusion via Information Decompositioncited by 37
- 2023Prompt Highlighter: Interactive Control for Multi-Modal LLMscited by 29
- 2024Preserving Pre-trained Representation Space: On Effectiveness of Prefix-tuning for Large Multi-modal Modelscited by 4
- 2025Learning Primitive Relations for Compositional Zero-Shot Learningcited by 1
Built on by
Citing papers per year: 2025: 5; 2026: 5.
10 papers.
- 2025Test-Time Scaling of Diffusion Models via Noise Trajectory Searchcited by 30
- 2025Towards Comprehensive Scene Understanding: Integrating First and Third-Person Views for LVLMscited by 6
- 2025PROMPTMINER: Black-Box Prompt Stealing against Text-to-Image Generative Models via Reinforcement Learning and Fuzz Optimizationcited by 2
- 2026PromptEvolver: Prompt Inversion through Evolutionary Optimization in Natural-Language Spacecited by 1
- 2026Dual Inversion for Text-to-Image Diffusion Models: From Both Prompt and Noise Perspectivescited by 1
- 2025EDITOR: Effective and Interpretable Prompt Inversion for Text-to-Image Diffusion Modelscited by 0
- 2025Exposing Hidden Biases in Text-to-Image Models via Automated Prompt Searchcited by 0
- 2026PROVE: Training-Free Prompt Recovery using Verifiable Evidencecited by 0
- 2026AngelFingerprint: A Traceable, Explainable, and White-Box Stealthy Watermark for Text-Guided Image Editingcited by 0
- 2026VI-Bench: Benchmarking Prompt Inversion from AIGC Videoscited by 0
- 2026VI-Bench: Benchmarking Prompt Inversion from AIGC Videos8 Sep 2026
- 2026AngelFingerprint: A Traceable, Explainable, and White-Box Stealthy Watermark for Text-Guided Image Editing4 Sep 2026
- 2026PROVE: Training-Free Prompt Recovery using Verifiable Evidence13 Aug 2026
- 2026Dual Inversion for Text-to-Image Diffusion Models: From Both Prompt and Noise Perspectives29 Jul 2026
- 2026PromptEvolver: Prompt Inversion through Evolutionary Optimization in Natural-Language Space3 Apr 2026
- 2025Exposing Hidden Biases in Text-to-Image Models via Automated Prompt Search9 Dec 2025
- 2025PROMPTMINER: Black-Box Prompt Stealing against Text-to-Image Generative Models via Reinforcement Learning and Fuzz Optimization27 Nov 2025
- 2025EDITOR: Effective and Interpretable Prompt Inversion for Text-to-Image Diffusion Models3 Jun 2025
- 2025Towards Comprehensive Scene Understanding: Integrating First and Third-Person Views for LVLMs28 May 2025
- 2025Test-Time Scaling of Diffusion Models via Noise Trajectory Search24 May 2025
Similar, not cited
Close in wording, no citation either way
- 2026Seeing is Believing: Aligning Prompt Rewriting with Visual Anchors for Text-to-Image Generation
- 2025POET: Preference Optimization for Enhanced Text-to-Image Generation
- 2025ConceptMix++: Leveling the Playing Field in Text-to-Image Benchmarking via Iterative Prompt Optimization
- 2024Exploring the Role of Large Language Models in Prompt Encoding for Diffusion Models
- 2025Diversifying Long Prompt Image Generation through Structured Prompt Embedding Space Sampling
- 2025Progressive Prompt Detailing for Improved Alignment in Text-to-Image Generative Models
- 2023NeuroPrompts: An Adaptive Framework to Optimize Prompts for Text-to-Image Generation
- 2026PRISM: Prompt Refinement via Image-grounded Self-rewarding Mechanism for Text-to-Image Generation