Introduction
Modern text-to-image (T2I) models, such as FLUX and Stable Diffusion, have reached impressive levels of generative capability. However, their performance is often bottlenecked by the quality of user input. "Underspecified" prompts—short, vague phrases like "a cat" or "city skyline"—frequently result in generic outputs or fail to capture the user's latent intent. This paper proposes a model-agnostic framework that addresses this gap by scaling computation on the input side during inference, using a Large Language Model (LLM) to bridge the gap between simple user intent and the detailed instructions required for high-quality generation.
Methodology: Input-Side Inference-Time Scaling
The core strategy involves using a Large Language Model (LLM) as a dedicated prompt rewriter. Instead of modifying the image generation model itself, the system spends additional compute to transform simple user prompts into rich, descriptive instructions. This approach is training-free for the T2I model and highly scalable.
Iterative DPO without SFT
A key departure from standard reinforcement learning from human feedback (RLHF) is the omission of the Supervised Fine-Tuning (SFT) stage. The authors found that SFT can act as a "trap," limiting the model's exploration and leading to overfitting on human-curated data. Instead, they employ iterative Direct Preference Optimization (DPO). In each round, the rewriter generates multiple prompt candidates, which are then used to generate images and evaluated by a multi-modal judge.
MLLM-as-a-Judge
To provide a scalable reward signal, the framework utilizes a powerful Multimodal LLM (Qwen2.5-VL-72B). The judge evaluates generated images across four critical dimensions: image quality (anatomical/geometric errors), general alignment (holistic vibe), physical alignment (object counts and spatial relations), and aesthetics (visual appeal).
Key Insights
The research revealed several fundamental properties of prompt rewriting:
- Scaling Laws: Performance improves predictably as the parameter count of the rewriter LLM increases, proving that "thinking harder" about the prompt yields better visual results.
- Universal Transferability: A rewriter trained on one backbone (e.g., FLUX) generalizes effectively to others (e.g., Stable Diffusion 3.5), suggesting a common structure for "effective" prompts across architectures.
- The Alignment-Aesthetics Trade-off: There is an inherent tension between strict prompt adherence and maximizing visual beauty, leading to the development of specialized "General" and "Aesthetics" rewriters.
Results and Discussion
The framework achieved significant gains across multiple benchmarks. On GenEval, the FLUX.1-dev score improved from 0.70 to 0.79, outperforming specialized baselines. Furthermore, the FID on MS COCO 30K for FLUX.1-schnell dropped from 20.57 to 17.76, indicating a substantial leap in overall image realism and diversity.
As shown in the iterative case studies, the rewriter progressively learns to add relevant descriptive details—such as specific lighting, environmental textures, and background elements—that significantly enhance the final image output. For example, a simple prompt for a "rocky cave" evolves into a description of an ornate, mystical gateway with golden light emanating from within, significantly improving the aesthetic quality of the generated scene.
Limitations and Future Work
While effective, the method introduces additional inference latency due to the LLM rewriting step. There is also a risk of "over-decoration," where the aesthetics rewriter may prioritize visual flair over specific user constraints. Future work will focus on improving the controllability of the rewriter and exploring even larger LLM backbones to further push the boundaries of input-side scaling.
Summary updated