TL;DR
RS-Gen is a training-free, plug-and-play agentic framework that transforms image generation and editing from a simple text-to-pixel mapping into a multi-stage "questioning-and-solving" workflow. By combining external search tools, explicit logical reasoning, and a self-correcting feedback loop, it dramatically boosts the performance of open-source diffusion models on complex, knowledge-intensive tasks.
What Problem Does This Paper Address?
Current state-of-the-art image generation models (like FLUX or Qwen-Image) create stunning visuals but fail at true "intelligent generation." They struggle with three main bottlenecks:
- Implicit Intentions: They rely on precise, explicit prompts and fail to parse ambiguous expressions or colloquial references in multi-turn dialogues.
- Lack of Logical Reasoning: The generation process is mostly a superficial statistical mapping. When faced with complex visual puzzles or tasks requiring physical state evolution (e.g., "draw the scene two hours later"), they frequently violate common sense and physical laws.
- Knowledge Cutoffs: Constrained by static training data, models suffer from visual hallucinations when handling out-of-distribution (OOD) concepts or real-time, long-tail entities.
While unified vision-language models try to bridge this gap, they are limited by static parameters and prohibitive training costs.
Methods
RS-Gen breaks down the generation process into a collaborative workflow driven by four specialized sub-agents:
- Image Router Agent: Resolves conversational ambiguities and anchors reference images using a "Delayed Resolution" principle, which strictly prohibits the model from guessing details before external facts are retrieved.
- Intent Analysis Agent: Evaluates task complexity to decide if a prompt can be directly generated or if it requires deep reasoning. It extracts latent constraints and formulates structured sub-questions.
- Reasoning & Search Agent: Acts as the cognitive hub. Using a ReAct (Thought-Action-Observation) loop, it queries an expert tool hub—including web search (Google/Baidu), Wikipedia, LocationIQ, and deep reasoning LLMs (like GPT-5.4)—to eliminate information uncertainty.
- Image Generation Agent: Executes the task using an iterative "Generate-Verify-Correct" closed loop. A Multimodal Large Language Model (MLLM) critiques the generated image against the prompt, and the agent autonomously adjusts its strategy until pixel-level and semantic alignment are achieved.
Datasets
The authors evaluate RS-Gen on two highly challenging benchmarks:
- WISE_Verified: A dataset of 1,000 meticulously constructed prompts testing a model's ability to integrate world knowledge across 25 sub-domains (e.g., natural sciences, cultural common sense, and spatio-temporal reasoning).
- RISEBench: A benchmark specifically designed for complex image editing tasks requiring temporal, causal, spatial, and logical reasoning.
Key Insights and Ideas
- Process Decoupling over Intermediate Details: When dealing with complex physics or logic puzzles, the framework discards intermediate procedural descriptions and focuses entirely on anchoring the terminal visual state. This prevents downstream diffusion models from getting confused by abstract action verbs.
- Text-then-Image Cascade Anchoring: To find accurate visual references for ambiguous entities (e.g., "a brand's latest concept car"), the system searches for text descriptions first to lock onto an exact identifier before executing an image search, preventing visual feature contamination.
- Training-Free Universality: Instead of fine-tuning massive models on expensive trajectory datasets, RS-Gen works entirely via prompt engineering and tool orchestration, making it completely model-agnostic and plug-and-play.
Key Results
The framework achieves state-of-the-art (SOTA) performance among open-source models on both benchmarks:
- On the WISE_Verified benchmark, adding RS-Gen to Qwen-Image boosted its overall score from 0.5100 to 0.8230 (a massive 0.313 absolute gain), outperforming all other open-source unified models and rivaling top commercial systems.
- On RISEBench, RS-Gen propelled Qwen-Image-Edit-2511 from an overall score of 19.4 to 39.1 (+19.7 points), showing massive leaps in temporal and causal reasoning sub-tasks.
- Cross-model generalization experiments confirmed that the framework also yields substantial performance gains when integrated with other open-source base models like LongCat-Image and Z-Image.
Limitations and Future Work
- Dependence on the Driving Model: The framework's success heavily relies on the instruction-following and reasoning capabilities of its core driving LLM (e.g., Doubao-Seed). Performance may degrade if paired with lightweight or older LLMs.
- Future Directions: The authors plan to develop an Automatic Prompt Optimizer to adaptively evolve prompt strategies during inference. They also aim to implement a Reflective Skill Library to let the agent distill and reuse successful reasoning trajectories for future tasks, enabling lifelong learning.
Summary updated