cs.LGApr 3, 2026

PromptEvolver: Prompt Inversion through Evolutionary Optimization in Natural-Language Space

Authors: Asaf Buchnick, Aviv Shamsian, Aviv Navon, Ethan Fetaya

Organizations: Bar-Ilan University, Ramat Gan, Israel

Abstract

Text-to-image generation has progressed rapidly, but faithfully generating complex scenes requires extensive trial-and-error to find the exact prompt. In the prompt inversion task, the goal is to recover a textual prompt that can faithfully reconstruct a given target image. Currently, existing methods frequently yield suboptimal reconstructions and produce unnatural, hard-to-interpret prompts that hinder transparency and controllability. In this work, we present PromptEvolver, a prompt inversion approach that generates natural-language prompts while achieving high-fidelity reconstructions of the target image. Our method uses a genetic algorithm to optimize the prompt, leveraging a strong vision-language model to guide the evolution process. Importantly, it works on black-box generation models by requiring only image outputs. Finally, we evaluate PromptEvolver across multiple prompt inversion benchmarks and show that it consistently outperforms competing methods.

Figures & tables

Appendix figures & tables8 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Dual Inversion for Text-to-Image Diffusion Models: From Both Prompt and Noise Perspectives

    Jul 29, 2026Xiaolong Liu, Junjian Li, Yuan Xiao +4Diffusion Model InversionDiffusion-Based Inverse Problems

  2. PROVE: Training-Free Prompt Recovery using Verifiable Evidence

    Aug 13, 2026Rupayan Mallick, Mahsa Khoshnoodi, Sarah Adel Bargal

  3. Seeing is Believing: Aligning Prompt Rewriting with Visual Anchors for Text-to-Image Generation

    Jun 7, 2026Xuanyi Liu, Deyi Ji, Junyu Lu +6T2I GenerationPrompt Optimization for T2I Generation