atlas

Research map / Image generation / Text-to-image diffusion

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

ICLR 2025 · Image generation › Text-to-image diffusion · approach: Text-driven synthesis and semantic guidance

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Visually Guided Decoding (VGD), a gradient-free hard prompt inversion method that uses LLM token generation guided by CLIP similarity to produce interpretable Stable Diffusion prompts.

Problem

Hard and soft prompt inversion for text-to-image models yields non-interpretable or incoherent prompts and requires costly gradient-based optimization.

Approach

Decode prompts token-by-token with beam search where the score combines CLIP image-text similarity (approximating P(I|T)) with LLM next-token probability (prior P(T)^alpha), so no prompt embedding is trained.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use VGD instead of the strongest listed baselineStable Diffusion 2.1-768 prompt inversion · LAION-400MCLIP-I score: 0.538 -> 0.511Hurt
Use VGD instead of the strongest listed baselineStable Diffusion 2.1-768 prompt inversion · MS COCOCLIP-I score: 0.685 -> 0.678No clear effect
Use VGD instead of the strongest listed baselineStable Diffusion 2.1-768 prompt inversion · Celeb-ACLIP-I score: 0.622 -> 0.514Hurt
Use VGD instead of the strongest listed baselineStable Diffusion 2.1-768 prompt inversion · Lexica.artCLIP-I score: 0.762 -> 0.753No clear effect
Use VGD instead of PEZPrompt inversion · MS COCOBERTScore F1: 0.795 -> 0.847Helped
Use VGD instead of PEZPrompt inversion · Lexica.artBERTScore F1: 0.777 -> 0.802Helped
Use VGD instead of PEZPrompt generation · Prompt generationtime (sec): 193.14 -> 15.33Helped
Remove CLIP guidance (ablation)VGD · Lexica.artCLIP score: 0.735 -> 0.487Hurt
Remove CLIP guidance (ablation)VGD · Lexica.artBERTScore F1: 0.801 -> 0.791No clear effect
Remove LLM language-model guidance (ablation)VGD · Lexica.artCLIP score: 0.735 -> 0.768Helped
Remove LLM language-model guidance (ablation)VGD · Lexica.artBERTScore F1: 0.801 -> 0.751Hurt
Replace the aligned CLIP encoder with openai/ViT-B-32 (ablation)VGD · Lexica.artCLIP score: 0.735 -> 0.655Hurt

Surprising findings

Limitations

Experimental setup

Datasets: LAION-400M MS COCO Celeb-A Lexica.art

Benchmarks: LAION-400M MS COCO Celeb-A Lexica.art

Metrics: CLIP-I score BERTScore perplexity human preference

Baselines: PEZ Textual Inversion PH2P LLaVA-1.5 LLaVA-1.5 + CLIP Interrogator

Builds on: PEZ Textual Inversion noisy channel model CLIP

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy