Georgetown University · GUCV Lab
Do not optimize tokens. Propose scene claims, keep only the ones the image can prove, then compose them into one readable prompt.
The idea
Modern text-to-image models can generate highly realistic images from natural-language prompts, while recent advances in prompt inversion have made it increasingly feasible to recover those prompts from generated outputs, raising new concerns for copyright protection and content ownership. As prompt marketplaces emerge, recovered prompts can enable both the unauthorized reproduction and redistribution of copyrighted creative works, and the exposure of the prompts that encode an artist's creative recipe in AI-generated content. Existing prompt inversion methods rely on gradient-based optimization, autoregressive captioning, or reinforcement learning. However, optimization-based methods often produce unreadable prompts, captioning methods hallucinate unverified details, and RL-based approaches frequently overfit to specific generators while introducing evaluation circularity. We introduce PROVE (Prompt Recovery with Verified Evidence), a training-free, black-box prompt inversion attack that reconstructs prompts by composing verifiable scene descriptions rather than optimizing token sequences, targeting both original copyrighted works and AI-generated content. The resulting prompts are fully auditable, with every recovered claim grounded in explicit image evidence, and are formalized through a precision-constrained recall maximization objective. Across MS-COCO, Flickr30K, and Lexica, using state-of-the-art text-to-image generators, PROVE consistently outperforms optimization, captioning, and RL-based baselines on image similarity (DINO, LPIPS) and text-image alignment (CLIP), without any training, generator access, or fine-tuning, demonstrating a stronger and more practical prompt inversion attack.
A frozen VLM and an open-vocabulary detector localize regions and propose per-region atomic claims.
Each claim must clear a label-anchored CLIP margin on its own region, or it is dropped.
Counts and spatial relations are derived deterministically from detector boxes, bypassing the gate.
Surviving claims are serialized into one fluent, non-truncated prompt, with no generator access.
Method
PROVE assumes black-box access: given only the target image, it recovers the prompt with off-the-shelf components and no gradient optimization. A global caption seeds a query set that acts as the recall ceiling for open-vocabulary detection. Each detected region is described under a slot schema, verified against a label-relative CLIP margin, and, if it survives, serialized into the final prompt. Counts and spatial relations are read straight off the detector boxes, so they bypass the evidence gate entirely.
All components are frozen and off the shelf. PROVE requires no training, no fine-tuning, and no gradient optimization. A repair pass removes dangling fragments and duplicates before the prompt is finalized.
Frozen VLM and detector propose claims; the evidence gate keeps only what the image can verify.
Qualitative
For each source image, the original is shown next to reconstructions from PROVE and the competing methods, across MS-COCO, Flickr30K, and Lexica.
Results
Across 100 randomly selected images per dataset, two seeds each, and two generators, PROVE gives the strongest overall recovery. It leads every metric on MS-COCO and Flickr30K, and stays competitive on the art-style Lexica set, where captioning and RL baselines are strongest.
| Method | FLUX.1 dev | Stable Diffusion 3.5 Large | ||||
|---|---|---|---|---|---|---|
| DINO ↑ | LPIPS ↓ | CLIP ↑ | DINO ↑ | LPIPS ↓ | CLIP ↑ | |
| MS-COCO | ||||||
| BLIP | 0.426 | 0.686 | 0.703 | 0.480 | 0.692 | 0.727 |
| CLIP-IG | 0.520 | 0.679 | 0.716 | 0.505 | 0.710 | 0.727 |
| VLM-as-expert | 0.578 | 0.660 | 0.754 | 0.597 | 0.679 | 0.763 |
| PH2P | 0.033 | 0.744 | 0.410 | 0.024 | 0.761 | 0.427 |
| STEPs | 0.359 | 0.691 | 0.677 | 0.419 | 0.706 | 0.736 |
| VGD | 0.357 | 0.690 | 0.674 | 0.402 | 0.696 | 0.713 |
| PromptMiner | 0.518 | 0.755 | 0.760 | 0.533 | 0.684 | 0.750 |
| PROVE | 0.660 | 0.647 | 0.790 | 0.615 | 0.664 | 0.775 |
| Flickr30K | ||||||
| BLIP | 0.382 | 0.689 | 0.670 | 0.401 | 0.690 | 0.672 |
| CLIP-IG | 0.466 | 0.680 | 0.659 | 0.437 | 0.739 | 0.663 |
| VLM-as-expert | 0.573 | 0.657 | 0.722 | 0.587 | 0.679 | 0.746 |
| PH2P | 0.033 | 0.736 | 0.396 | 0.027 | 0.761 | 0.434 |
| STEPs | 0.341 | 0.692 | 0.654 | 0.410 | 0.692 | 0.701 |
| VGD | 0.378 | 0.690 | 0.659 | 0.416 | 0.689 | 0.698 |
| PromptMiner | 0.518 | 0.684 | 0.730 | 0.490 | 0.693 | 0.724 |
| PROVE | 0.610 | 0.635 | 0.763 | 0.593 | 0.664 | 0.765 |
| Lexica | ||||||
| BLIP | 0.535 | 0.615 | 0.755 | 0.480 | 0.649 | 0.744 |
| CLIP-IG | 0.607 | 0.599 | 0.790 | 0.587 | 0.621 | 0.841 |
| VLM-as-expert | 0.621 | 0.598 | 0.770 | 0.627 | 0.607 | 0.822 |
| PH2P | 0.137 | 0.700 | 0.507 | 0.101 | 0.727 | 0.532 |
| STEPs | 0.540 | 0.615 | 0.784 | 0.515 | 0.628 | 0.809 |
| VGD | 0.468 | 0.627 | 0.761 | 0.420 | 0.646 | 0.762 |
| PromptMiner | 0.742 | 0.560 | 0.890 | 0.596 | 0.613 | 0.826 |
| PROVE | 0.741 | 0.560 | 0.853 | 0.611 | 0.612 | 0.837 |
Best per column in bold teal. PROVE row highlighted.
We compare PROVE against its three closest baselines, showing both the generated image and the recovered prompt.
Target
| Generated | Recovered prompt |
|---|---|
![]() |
Ours. An open door emits warm light into a dimly lit room with cool blue and orange tones. The walls are plain, and the floor reflects the light, creating a stark contrast between the two halves of the space. Artificial, evening, indoor, eye-level, warm, orange, concrete floor, blurred. It contains three hinges, two walls. Gold handles, open, new, rectangular, smooth. No text, rectangular shape. Hinges. 3D render, minimalist, low-key, muted palette with orange accents, atmospheric, hyperdetailed. |
![]() |
PromptMiner. an open door room, darker empty room with open doorway leading to glowing lit hallway, warm lighting, orange and blue walls, concrete floor, minimal composition, colorful, minimalist, high-contrast, high resolution. |
![]() |
VLM-as-expert. A minimalist room with two open doors, one glowing warmly and the other coolly, casting colorful reflections on the concrete floor. |
![]() |
CLIP-Interrogator. a door in a room with a light coming in, teal orange color palette 8k, pexels, high quality fantasy stock photo, low saturated red and blue light, open door, vanilla-colored lighting, pink and teal and orange. |
On these stylized images, PROVE describes the visual style in grounded terms without attributing it to a named artist, unlike the baselines, which recover artist and platform tags.