[Paper Review] GenArtist: Multimodal LLM as an Agent for Unified Image Generation and Editing
GenArtist proposes a unified image generation and editing system powered by a multimodal large language model (MLLM) agent that decomposes complex prompts, plans actions via a tree-structured execution flow, and dynamically selects from a tool library to generate and self-correct images. It achieves state-of-the-art performance on benchmark tasks, outperforming models like SDXL and DALL-E 3 by integrating planning, verification, and position-aware tool execution.
Despite the success achieved by existing image generation and editing methods, current models still struggle with complex problems including intricate text prompts, and the absence of verification and self-correction mechanisms makes the generated images unreliable. Meanwhile, a single model tends to specialize in particular tasks and possess the corresponding capabilities, making it inadequate for fulfilling all user requirements. We propose GenArtist, a unified image generation and editing system, coordinated by a multimodal large language model (MLLM) agent. We integrate a comprehensive range of existing models into the tool library and utilize the agent for tool selection and execution. For a complex problem, the MLLM agent decomposes it into simpler sub-problems and constructs a tree structure to systematically plan the procedure of generation, editing, and self-correction with step-by-step verification. By automatically generating missing position-related inputs and incorporating position information, the appropriate tool can be effectively employed to address each sub-problem. Experiments demonstrate that GenArtist can perform various generation and editing tasks, achieving state-of-the-art performance and surpassing existing models such as SDXL and DALL-E 3, as can be seen in Fig. 1. Project page is https://zhenyuw16.github.io/GenArtist_page.
Motivation & Objective
- To address the limitations of existing image generation and editing models, which struggle with complex, diverse, and variable user prompts.
- To overcome the lack of verification and self-correction mechanisms in current models, leading to unreliable outputs.
- To unify multiple specialized models into a single system capable of handling diverse tasks through intelligent agent coordination.
- To enable reliable, accurate, and controllable image generation and editing by decomposing complex tasks and planning step-by-step with verification.
Proposed method
- The MLLM agent acts as an AI 'artist' that analyzes user instructions and decomposes complex text prompts or editing instructions into simpler sub-problems.
- A tree-structured planning mechanism is used to organize sub-tasks, where each node represents an operation, with child nodes for sequential actions and sibling nodes for alternative tools.
- The system employs a comprehensive tool library integrating existing models (e.g., text-to-image, layout-to-image, editing tools) for flexible execution.
- Position-aware execution is enabled by auxiliary detection models that automatically generate missing spatial inputs (e.g., object positions), enhancing tool accuracy.
- Each step in the planning tree includes verification to ensure correct execution, and failed operations trigger corrective actions such as re-generation or alternative tool use.
- Self-correction is achieved by re-executing tasks with modified inputs or alternative tools when verification fails, improving reliability.
Experimental results
Research questions
- RQ1Can an MLLM agent effectively decompose complex, multi-object, or multi-step image generation and editing prompts into manageable sub-tasks?
- RQ2How does tree-structured planning with step-by-step verification improve the reliability and accuracy of image generation and editing compared to end-to-end models?
- RQ3To what extent can a unified system with dynamic tool selection surpass specialized models like SDXL and DALL-E 3 in handling diverse and complex user requirements?
- RQ4How effective is position-aware tool execution in improving the accuracy of object-level editing when spatial inputs are missing?
- RQ5Can self-correction mechanisms significantly reduce failure rates in image generation and editing tasks?
Key findings
- GenArtist achieves state-of-the-art performance on the T2I-CompBench benchmark, with a 0.8482 score on the Complex attribute benchmark, surpassing SDXL (0.5879) and other leading models.
- The integration of tool selection alone improved performance by 13.8% on average compared to baseline tools, demonstrating the value of intelligent model selection.
- Using a planning chain (sequential verification) improved metrics by 3% on average, highlighting the benefit of step-by-step validation.
- Adopting a tree-structured planning mechanism led to a 12.5% average improvement over chain-based planning, showing that handling failures through alternative paths enhances robustness.
- The system successfully corrected errors in generated images—such as incorrect object colors or sizes—by replacing failed editing actions with alternative tools like object removal and re-addition.
- Visual examples show that GenArtist correctly handles complex edits, such as regenerating images with improved hair details when initial outputs fail, proving the effectiveness of self-correction.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.