TL;DR
Generation Navigator is a novel agentic framework that reformulates text-to-image (T2I) generation as a multi-turn, state-conditioned sequential decision-making problem. By introducing a trajectory-level reinforcement learning objective called PRE-GRPO, the agent learns when to stop, refine, or completely regenerate an image based on visual feedback. This approach yields substantial improvements on complex reasoning and knowledge-intensive image generation tasks, outperforming both fixed-workflow agents and single-pass proprietary models.
What Problem Does This Paper Address?
While modern text-to-image (T2I) diffusion models excel at generating high-fidelity images, they frequently struggle with complex user intents involving precise spatial layouts, fine-grained details, or commonsense reasoning. In practice, human users solve this through manual trial and error—inspecting an image, tweaking the prompt, or editing specific regions.
Existing automated solutions typically rely on one-shot prompt rewriting or rigid, hand-crafted closed-loop rules (fixed workflows). These systems fail to adapt dynamically to the actual image generated at each step.
To train an AI agent to navigate this multi-turn process via reinforcement learning (RL), researchers face a major hurdle: credit assignment. If an RL algorithm only rewards the agent based on the single best image found during a sequence of turns, it assigns equal credit to all actions in that trajectory. It cannot distinguish between an action that genuinely improved the image, one that ruined a previously good draft (regression), or one that wasted turns without making progress.
Methods
The authors introduce Generation Navigator, a closed-loop multi-turn T2I agent framework consisting of three core components:
- Navigator: A learned multimodal LLM that acts as the decision-maker.
- Generator: An underlying T2I/Image-to-Image (I2I) model that executes generation or editing.
- Reviewer: An evaluation model that provides textual critique and a scalar quality score for each generated image.
At each turn $t$, the Navigator observes the original prompt and the interaction history, then outputs a structured action $a_t = (d_t, p_t)$, where $d_t$ is a discrete action choice:
STOP: Preserves the current image and terminates exploration.REFINE: Performs localized image-to-image editing to fix specific details.REGENERATE: Abandons a structurally flawed image and restarts from scratch with a revised prompt $p_t$.
PRE-GRPO Alignment
To train the Navigator, the authors propose PRE-GRPO (Peak-Retention-Efficiency Group Relative Policy Optimization). This trajectory-level RL objective decomposes the reward into four distinct terms:
- Peak Discovery ($P$): Rewards the agent for discovering a high-quality image anywhere in the trajectory.
- Retention ($R$): Penalizes the agent if subsequent turns degrade the image quality, ensuring the final state remains close to the peak.
- Turn Efficiency ($E$): Penalizes unnecessary turns, encouraging the agent to stop as soon as a satisfactory image is found.
- Format Correctness ($F$): Ensures the agent adheres to the required structured JSON output format.
Datasets
- Training Data: The authors constructed a dataset of 103K structured multi-turn trajectories. They started with a pool of ~923K prompts, scoring them across 7 complexity dimensions (e.g., spatial composition, attribute binding, counting) to isolate difficult cases. A heuristic tree-search explorer generated candidate action trajectories, which were filtered to keep only successful, monotonically improving paths for initial Supervised Fine-Tuning (SFT).
- Evaluation Benchmarks:
- T2I-ReasonBench: Evaluates compositional and scientific reasoning across categories like idioms, entity relations, and technical descriptions.
- WISE: A benchmark targeting knowledge-intensive generation across six domains (e.g., biology, physics, history).
- GenEval: A standard benchmark for simple compositional prompts (e.g., "a red apple and a green bench").
Key Insights and Ideas
- Fixed Workflows are Suboptimal: A preliminary pilot study revealed that neither refining nor regenerating always dominates. Regeneration was preferred 47.01% of the time, while refinement won 39.38% of the time. This proves that the optimal action is highly state-dependent.
- The Power of Penalizing Regression: By explicitly minimizing the gap between the peak score and the final score ($P_i - R_i$), PRE-GRPO successfully teaches the agent restraint. Instead of aggressively over-editing or endlessly restarting, the agent learns exactly when an image satisfies the prompt and triggers a
STOPaction. - Calibrating for Simple Tasks: On simple prompts (like those in GenEval), multi-turn agents often over-complicate things and perform worse than single-pass baselines. Thanks to the efficiency penalty ($\beta \cdot E_i$), Generation Navigator learns to output a
STOPon the very first turn if the initial generation is already high quality.
Key Results
- State-of-the-Art Reasoning: On T2I-ReasonBench, Generation Navigator achieved an overall reasoning accuracy of 79.06%, a massive leap over the base FLUX.2-Klein-9B model (57.70%) and outperforming specialized agent baselines like StruVis (73.57%).
- Surpassing Proprietary Models: On the knowledge-intensive WISE benchmark, the framework achieved a score of 0.90, outperforming commercial giants like GPT-4o (0.80) and SeedDream4.0 (0.82).
- Practical Quality-Latency Trade-off: While the full framework utilizes Chain-of-Thought (CoT) reasoning to maximize accuracy (taking 52.5s per sample), the authors trained a "no-CoT" variant. This faster version runs 2.4× faster (21.7s) while still retaining an impressive 76.0% accuracy on T2I-ReasonBench.
- Cross-Model Generalization: The trained Navigator policy is highly robust; it successfully transfers to different image generators (e.g., improving Qwen-Image) and remains stable even when the inference-time Reviewer model is swapped out for an entirely different architecture.
Limitations and Future Work
- Inference Latency: Like all agentic, multi-turn workflows, Generation Navigator incurs higher computational overhead and latency than single-pass generation due to sequential model calls.
- Reviewer Bottlenecks: The framework's performance is bounded by the visual critique capabilities of the Reviewer model.
- Future Directions: The authors suggest that as foundational multimodal LLMs continue to improve, stronger models can be seamlessly plugged in as the Reviewer at inference time to provide richer feedback without requiring any retraining of the Navigator agent.
Summary updated