TL;DR
MT-EditFlow is a new reinforcement learning framework that equips flow-matching models with robust multi-turn image editing capabilities. By broadcasting a unified trajectory-level advantage across all editing steps and carefully balancing instruction adherence with content consistency, it effectively mitigates error propagation in sequential image generation.
What Problem Does This Paper Address?
While instruction-based image editing models excel at "one-shot" modifications, they frequently break down when subjected to multi-turn, interactive dialogues where a user iteratively refines an image. The authors identify two primary failure modes in sequential editing:
- The "All-or-Nothing" Requirement: Multi-turn editing demands sequential perfection; a single failed turn compromises the entire sequence, leaving the user dissatisfied.
- Error Propagation (Exposure Bias): Models struggle when conditioned on their own previously generated, imperfect outputs. Errors compound over multiple steps, completely derailing subsequent turns.
Existing reinforcement learning (RL) methods for diffusion and flow-matching models focus strictly on single-turn generation and fail to account for these temporal dependencies.
Methods
The authors introduce MT-EditFlow, a unified RL framework compatible with both Group Relative Policy Optimization (GRPO) and Negative-aware FineTuning (NFT) for flow-matching models. Its core components include:
- Multi-Reward Formulation: The framework optimizes for two competing objectives at each turn $k$: Instruction Following (IF), evaluated via zero-shot prompting of a Vision-Language Model (Qwen3-VL-8B), and Content Consistency (CC), measured using EdiVal-CC to track semantic-level preservation in unedited regions.
- Fine-Grained Score Aggregation: Instead of using a sparse binary indicator (success/failure) or a strict logical AND across the sequence, the framework prompts the VLM for a fine-grained Likert score (1–5) and averages these across the trajectory to maintain a dense learning signal.
- VLM "Thinking" Mode: The VLM evaluator is prompted to generate a Chain-of-Thought (CoT) analysis before scoring, which significantly reduces reward bias and aligns better with human judgment.
- Advantage-Level Fusion: Rather than summing raw rewards, MT-EditFlow standardizes the IF and CC rewards independently within the rollout group to compute separate advantages before combining them. This prevents one reward component from dominating the gradient.
- Trajectory-Level Advantage Broadcasting: The aggregated trajectory advantage is broadcast uniformly to every denoising step and editing turn within the chain, aligning local generation decisions with global multi-turn task success.
Datasets
The training and evaluation pipelines utilize the following datasets:
- Pico-Banana-400K: The base dataset from which images (originating from OpenImages) were sourced.
- Multi-Turn Prompt Chains: The authors used the EdiVal-Agent pipeline with GPT-4o to construct 2,319 high-quality reference images paired with planned 3-turn editing trajectories (totaling 6,957 turn-level steps) across 9 editing types and 12 semantic object categories.
- Benchmarks: Evaluation was primarily conducted on EdiVal-Bench (for multi-turn performance) and supplemented with ImgEdit-Bench (for single-turn generalization).
Key Insights and Ideas
- Bridging Local and Global Planning: Broadcasting a single trajectory-level advantage across all steps ensures that the model learns to make local edits that preserve the long-term editability of the image, directly combating exposure bias.
- The Variance Mismatch in Multi-Reward RL: The authors discovered that the within-group variance of raw IF rewards is roughly 5.8× higher than that of CC rewards. Fusing raw rewards causes the noisier IF signal to completely dominate the updates. Standardizing them into independent advantages before fusion is crucial to prevent reward hacking (where the model achieves high consistency by simply refusing to edit the image).
- Dense vs. Sparse Signals: While a strict multi-turn success metric (AND gate) aligns with user satisfaction, it creates extreme reward sparsity that causes RL gradients to vanish. Fine-grained averaging provides the necessary partial credit to stabilize training.
Key Results
MT-EditFlow demonstrates substantial performance gains across different open-source base models on EdiVal-Bench:
- FLUX.1-Kontext-dev: Boosted turn-3 overall performance by 6.85 points, surpassing state-of-the-art open-source models like Qwen-Image-Edit.
- FLUX.2-klein-base-9B: Improved turn-3 overall performance by 2.90 points.
- Reduced Exposure Bias: Marginal task success rates remained remarkably flat and stable across successive turns compared to baseline models, which typically suffer severe performance degradation by turn 3.
- Single-Turn Generalization: As a secondary benefit, training on multi-turn trajectories naturally improved single-turn editing capabilities on ImgEdit-Bench by 0.08 points overall.
Limitations and Future Work
The authors note several limitations:
- Computational Overhead: Utilizing high-capacity VLMs for zero-shot reward generation significantly increases RL training latency.
- Evaluator Hallucinations: Despite using Chain-of-Thought prompting, VLM judges can still hallucinate or introduce noise into the reward signal.
- Trajectory Scaling: The current framework was only evaluated on three-turn sequences; scaling to and evaluating longer interaction chains remains an open question.
- Alternative RL Architectures: Exploring actor-critic methods for multi-turn editing could be a valuable future direction, though it would incur the additional overhead of training a critic model.
Summary updated