Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

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

About

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.

Donghoon Kim, Minji Bae, Kyuhong Shim, Byonghyo Shim• 2025

Related benchmarks

TaskDatasetResultRank
Prompt StealingLexica 50 random prompts
CLIP Similarity76.6
28
Prompt StealingMS COCO 50 random prompts
CLIP Similarity0.816
28
Prompt StealingFlickr 50 random prompts
CLIP Score76.4
28
Prompt StealingDiffusionDB in-the-wild (50 images)
CLIP Score0.749
7
Showing 4 of 4 rows

Other info

Follow for update