TL;DR
This paper introduces T2I-Copilot, a novel multi-agent system that tackles the challenge of ambiguous text-to-image prompts by employing an "Input Interpreter," "Generation Engine," and "Quality Evaluator." This training-free approach significantly improves prompt understanding and image generation quality, achieving competitive results with state-of-the-art models while offering greater control and interpretability.
What Problem Does This Paper Address?
Text-to-image (T2I) generative models have become incredibly powerful, but they are notoriously sensitive to the nuances of user prompts. Even slight ambiguities or casual phrasing can lead to images that miss the user's intent. This often forces users into a frustrating cycle of prompt refinement and repeated generation attempts, consuming significant computational resources. Existing solutions, like automatic prompt engineering or multi-turn generation, offer some improvements but often lack comprehensive control, generalization capabilities, or a unified framework for interpreting complex prompts and iteratively refining outputs. The core problem is bridging the gap between a user's potentially ambiguous intent and the precise, often literal, interpretation required by T2I models, without requiring extensive prompt engineering or model retraining.
Methods
T2I-Copilot is built around a three-agent architecture:
- Input Interpreter Agent (Ain): This agent acts as the first line of defense against ambiguity. It analyzes the user's text prompt (and optionally reference images) to identify key subjects, attributes, and scene settings. It then detects potential ambiguities and either formulates clarification queries for the user or leverages a Multimodal Large Language Model (MLLM) for automatic resolution. The output is a structured "Analysis Report" in JSON format, detailing the prompt's elements and any resolved ambiguities. This agent can operate in different "creativity levels" (LOW, MEDIUM, HIGH) to control the extent of automatic enrichment.
- Generation Engine Agent (Agen): This agent is responsible for selecting the most appropriate T2I model from a suite of available options (in this paper, FLUX.1-dev and PowerPaint are mentioned) based on the Analysis Report and user intent. It then prepares the input for the chosen model, which can involve generating an optimized prompt, using Referring Expression Segmentation (RES) for precise object localization, or even utilizing an interactive drawing canvas for user-guided modifications. This agent handles both new image generation and editing tasks.
- Quality Evaluator Agent (Aeval): This agent acts as an automatic critic. It assesses the generated image based on predefined criteria for aesthetic quality (composition, color harmony, lighting, etc.) and text-image alignment (subject presence, spatial relationships, style adherence). If the image falls below a certain quality threshold, Aeval provides improvement suggestions, which are then fed back to Agen for iterative refinement. This process can involve human-in-the-loop feedback for even finer control.
The entire system is "training-free," meaning it doesn't require retraining the underlying T2I models. It leverages existing LLMs and T2I models, making it adaptable to new advancements.
Datasets
The paper evaluates T2I-Copilot on two benchmarks:
- DrawBench: A widely used benchmark for T2I evaluation.
- GenAI-Bench: A more challenging benchmark with 1,600 samples, further divided into basic and advanced tasks. The advanced tasks specifically include complex compositions requiring logical negation, counting, differentiation, comparison, and logical universality.
The paper does not introduce a new dataset but rather uses existing ones to demonstrate the effectiveness of their proposed system.
Key Insights and Ideas
- The Power of Structured Interpretation: The Input Interpreter Agent's ability to parse prompts into a structured report, identifying and resolving ambiguities before generation, is a critical insight. This proactive approach prevents models from making incorrect assumptions based on vague inputs.
- Multi-Agent Collaboration for Robustness: The sequential collaboration between interpretation, generation, and evaluation agents creates a robust pipeline that can handle complex prompts and iteratively improve results, a significant step beyond single-turn generation.
- Training-Free Adaptability: The system's ability to work with existing T2I models without requiring fine-tuning is a major advantage, allowing it to readily incorporate new and improved generative models as they emerge.
- Bridging Human Intent and AI Creativity: The system's design, especially with the inclusion of human-in-the-loop feedback, effectively bridges the gap between a user's potentially imprecise intent and the precise output of generative models.
Key Results
T2I-Copilot demonstrates strong performance across various metrics:
- VQAScore: On GenAI-Bench, T2I-Copilot achieves VQAScores comparable to proprietary models like Imagen 3 and Recraft V3.
- Outperformance: It surpasses FLUX1.1-pro by 6.17% (at 16.59% of its cost) and outperforms FLUX.1-dev and SD 3.5 Large by 9.11% and 6.36%, respectively.
- Logical Negation: In challenging cases involving logical negation (e.g., "a dog without a collar"), T2I-Copilot, with its Input Interpreter, successfully excludes the negated object, while many other models fail.
- Subject-Object Reversal: For prompts with subject-object reversal, T2I-Copilot and FLUX.1-dev were among the few to correctly generate the intended scene.
- Human-in-the-Loop: Incorporating human feedback improved text-image alignment by an additional 3.17% on GenAI-Bench.
- User Study: Achieved a win rate of 94.5% for text-image alignment and 77.7% for aesthetic quality in a user study.
Limitations and Future Work
- Model Selection: While the paper integrates two models (FLUX.1-dev and PowerPaint), the authors mention that discussing the effect of adding more models is in the Supplement. The current system's performance might be further enhanced by a broader selection of specialized models.
- Cost: Although T2I-Copilot is more cost-effective than some proprietary models, the cost of running MLLMs for interpretation and evaluation is a factor.
- Future Work: The authors suggest further studies to better understand aesthetic preferences and refine aesthetic quality beyond text-image alignment. They also implicitly point towards expanding the range of T2I models integrated into the Generation Engine. The system's adaptability to new T2I models is a key area for future exploration.
Summary updated