SIDiffAgent: Self-Improving Diffusion Agent
Shivank Garg, Ayush Singh, Gaurav Kumar Nayak
TL;DR
SIDiffAgent tackles prompt sensitivity and artifact generation in diffusion-based image synthesis by introducing a training-free, multi-agent framework that leverages memory and Theory-of-Mind–inspired coordination. It comprises a Generation Orchestrator, Evaluation, and Guidance module, with a persistent experience memory that retrieves past trajectories to inject prompt-based cues at run time, guided by threshold-based quality checks $\tau$. At test time, the Evaluation Agent computes aesthetics and text–image alignment scores and triggers iterative edits via Qwen-Image-Edit to refine outputs. Empirically, SIDiffAgent achieves state-of-the-art VQA scores on GenAIBench and DrawBench and outperforms both proprietary and open-source baselines, demonstrating a practical, training-free path to reliable and controllable diffusion outputs for real-world tasks. These results highlight the potential of test-time agentic coordination and memory-based guidance for scalable diffusion-based generation without retraining.
Abstract
Text-to-image diffusion models have revolutionized generative AI, enabling high-quality and photorealistic image synthesis. However, their practical deployment remains hindered by several limitations: sensitivity to prompt phrasing, ambiguity in semantic interpretation (e.g., ``mouse" as animal vs. a computer peripheral), artifacts such as distorted anatomy, and the need for carefully engineered input prompts. Existing methods often require additional training and offer limited controllability, restricting their adaptability in real-world applications. We introduce Self-Improving Diffusion Agent (SIDiffAgent), a training-free agentic framework that leverages the Qwen family of models (Qwen-VL, Qwen-Image, Qwen-Edit, Qwen-Embedding) to address these challenges. SIDiffAgent autonomously manages prompt engineering, detects and corrects poor generations, and performs fine-grained artifact removal, yielding more reliable and consistent outputs. It further incorporates iterative self-improvement by storing a memory of previous experiences in a database. This database of past experiences is then used to inject prompt-based guidance at each stage of the agentic pipeline. \modelour achieved an average VQA score of 0.884 on GenAIBench, significantly outperforming open-source, proprietary models and agentic methods. We will publicly release our code upon acceptance.
