🤖 AI Summary
Current text-to-image (T2I) models struggle to accurately infer user intent from brief, ambiguous prompts, leading to semantic misalignment and poor compositional structure. To address this, we propose the first reasoning-augmented prompt rewriting framework, wherein a large language model (LLM) performs explicit semantic and compositional reasoning—guided by reinforcement learning—without relying on handcrafted rules or stylistic paraphrasing. Our method employs image-level, multi-dimensional rewards—namely human preference, semantic alignment, and visual composition—as supervisory signals, enabling end-to-end, annotation-free training and differentiable prompt optimization. Evaluated on GenEval and T2I-Compbench, our approach significantly improves spatial layout fidelity and compositional generalization, consistently outperforming prior state-of-the-art methods and establishing new SOTA performance.
📝 Abstract
Despite recent progress in text-to-image (T2I) generation, existing models often struggle to faithfully capture user intentions from short and under-specified prompts. While prior work has attempted to enhance prompts using large language models (LLMs), these methods frequently generate stylistic or unrealistic content due to insufficient grounding in visual semantics and real-world composition. Inspired by recent advances in reasoning for language model, we propose RePrompt, a novel reprompting framework that introduces explicit reasoning into the prompt enhancement process via reinforcement learning. Instead of relying on handcrafted rules or stylistic rewrites, our method trains a language model to generate structured, self-reflective prompts by optimizing for image-level outcomes. The tailored reward models assesse the generated images in terms of human preference, semantic alignment, and visual composition, providing indirect supervision to refine prompt generation. Our approach enables end-to-end training without human-annotated data. Experiments on GenEval and T2I-Compbench show that RePrompt significantly boosts spatial layout fidelity and compositional generalization across diverse T2I backbones, establishing new state-of-the-art results.