Capability-aware Prompt Reformulation Learning for Text-to-Image Generation
Jingtao Zhan, Qingyao Ai, Yiqun Liu, Jia Chen, Shaoping Ma
TL;DR
This work addresses the challenge of crafting high-quality prompts for text-to-image generation by learning from user interaction logs. It introduces CAPR, a capability-aware reformulation framework that decomposes into a Conditional Reformulation Model (CRM) and Configurable Capability Features (CCF), enabling prompts to be rewritten according to user capability and controllable quality targets. By grounding training in real-world reformulation data and employing Bayesian optimization for capability tuning, CAPR outperforms baselines on both seen and unseen text-to-image systems, validating its robustness and practical impact. The approach promises more accessible, high-quality artistic generation by adapting to diverse user skill levels and providing configurable guidance during inference.
Abstract
Text-to-image generation systems have emerged as revolutionary tools in the realm of artistic creation, offering unprecedented ease in transforming textual prompts into visual art. However, the efficacy of these systems is intricately linked to the quality of user-provided prompts, which often poses a challenge to users unfamiliar with prompt crafting. This paper addresses this challenge by leveraging user reformulation data from interaction logs to develop an automatic prompt reformulation model. Our in-depth analysis of these logs reveals that user prompt reformulation is heavily dependent on the individual user's capability, resulting in significant variance in the quality of reformulation pairs. To effectively use this data for training, we introduce the Capability-aware Prompt Reformulation (CAPR) framework. CAPR innovatively integrates user capability into the reformulation process through two key components: the Conditional Reformulation Model (CRM) and Configurable Capability Features (CCF). CRM reformulates prompts according to a specified user capability, as represented by CCF. The CCF, in turn, offers the flexibility to tune and guide the CRM's behavior. This enables CAPR to effectively learn diverse reformulation strategies across various user capacities and to simulate high-capability user reformulation during inference. Extensive experiments on standard text-to-image generation benchmarks showcase CAPR's superior performance over existing baselines and its remarkable robustness on unseen systems. Furthermore, comprehensive analyses validate the effectiveness of different components. CAPR can facilitate user-friendly interaction with text-to-image systems and make advanced artistic creation more achievable for a broader range of users.
