VisualPrompter: Prompt Optimization with Visual Feedback for Text-to-Image Synthesis

๐Ÿ“… 2025-06-29
๐Ÿ“ˆ Citations: 0
โœจ Influential: 0
๐Ÿ“„ PDF
๐Ÿค– AI Summary
In text-to-image generation, a semantic gap exists between user prompts and model priors, yielding aesthetically pleasing yet semantically inaccurate images. To address this, we propose a training-free, vision-feedback-driven prompt optimization framework. Our method employs an automatic self-reflection module to localize missing concepts in generated images and leverages CLIP-based semantic analysis for fine-grained, goal-directed prompt revision. Designed as a plug-and-play module, it requires no model fine-tuning and is compatible with mainstream diffusion models. Evaluated on multiple semantic alignment benchmarks, our approach achieves state-of-the-art performance: it significantly improves content accuracy while preserving visual fidelity. The core innovations are (1) a training-free online self-reflection mechanism that dynamically identifies semantic deficiencies, and (2) a semanticโ€“visual co-optimization paradigm that jointly refines prompts and image generation through cross-modal feedback.

Technology Category

Computer Vision: Diffusion Models for VisionSearch and Optimization: Learning to SearchNatural Language Processing: Prompt Engineering / Prompting

Application Category

Semantics and Knowledge: Methods to enhance, augment, integrate or synergize semantic models such as knowledge graphs and LLMsSearch and Retrieval-Augmented AI: Search Tool Learning with LLM: Teaching LLMs to invoke search and make use of retrieved informationEconomics, Online Markets and Human Computation: Cost models of using LLMs in production systems
๐Ÿ“ Abstract
Since there exists a notable gap between user-provided and model-preferred prompts, generating high-quality and satisfactory images using diffusion models often requires prompt engineering to optimize user inputs. Current studies on text-to-image prompt engineering can effectively enhance the style and aesthetics of generated images. However, they often neglect the semantic alignment between generated images and user descriptions, resulting in visually appealing but content-wise unsatisfying outputs. In this work, we propose VisualPrompter, a novel training-free prompt engineering framework that refines user inputs to model-preferred sentences. In particular, VisualPrompter utilizes an automatic self-reflection module to identify the missing concepts in generated images and a target-specific prompt optimization mechanism to revise the prompts in a fine-grained manner. Extensive experiments demonstrate the effectiveness of our VisualPrompter, which achieves new state-of-the-art performance on multiple benchmarks for text-image alignment evaluation. Additionally, our framework features a plug-and-play design, making it highly adaptable to various generative models.
Problem

Research questions and friction points this paper is trying to address.

Bridges gap between user and model-preferred prompts
Improves semantic alignment in text-to-image synthesis
Optimizes prompts without training for better image quality
Innovation

Methods, ideas, or system contributions that make the work stand out.

Training-free prompt optimization framework
Visual feedback for semantic alignment
Plug-and-play design for adaptability
S
Shiyu Wu
Institute of Automation, Chinese Academy of Sciences, Beijing, China; University of Chinese Academy of Sciences, Beijing, China; Beijing Academy of Artificial Intelligence, Beijing, China
M
Mingzhen Sun
Institute of Automation, Chinese Academy of Sciences, Beijing, China; University of Chinese Academy of Sciences, Beijing, China
W
Weining Wang
Institute of Automation, Chinese Academy of Sciences, Beijing, China; University of Chinese Academy of Sciences, Beijing, China
Y
Yequan Wang
Beijing Academy of Artificial Intelligence, Beijing, China
J
Jing Liu
Institute of Automation, Chinese Academy of Sciences, Beijing, China; University of Chinese Academy of Sciences, Beijing, China