NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Edit-R2: Context-Aware Reinforcement Learning for Multi-Turn Image Editing

Yuxiao YE, Haoran He, Fangyuan Kong, Xintao Wang, Pengfei Wan, Kun Gai, Ling Pan

NeurIPS page · OpenReview · Open on the map

Category: Diffusion & Image Generation › Image Editing and Spatial Grounding · Type: new method · Keywords: multi-turn image editing, reinforcement learning, intent reconstruction, state contamination, benchmark evaluation

Areas: Multimodal › Multimodal Creation and Editing › Image Editing; Evaluation & Benchmarks › Visual Multimodal Evaluation › Image Generation and Editing

Summary

Edit-R2 is a reinforcement learning post-training framework that enables multi-turn in-context image editing by reconstructing session intent and stabilizing training against state contamination.

Explained to a 5-year-old

People give a picture to a computer and ask it to change things. Sometimes they ask many times, like adding a hat, then a scarf. The computer needs to remember what it already changed and not forget. It learns by trying many times and getting rewards for good changes. This helps it edit pictures correctly each time.

Explained to a 5-year-old, longer

When you draw on a picture with words, the computer can change the picture to match what you say. Usually you only ask it to do one thing at a time, like adding a sun. But sometimes you want to keep adding things, like first a sun, then a tree, then a house. The computer has to remember everything you asked for so it can keep the picture consistent. It’s hard for the computer to remember many requests because they get mixed together. Also, if it makes a mistake early, later changes can be wrong because of that mistake. To solve this, researchers created a new learning method that helps the computer think about the whole series of requests. The computer builds a short summary of what has been asked so far before making each new change. It learns by playing many games where it tries to edit pictures and gets a reward when it does it well. A special filter stops bad attempts from messing up the learning process. This way the computer can edit pictures many times without forgetting earlier instructions or spreading mistakes. The result is a smarter picture editor that works better for real-world use.

For a technical reader

The paper addresses the challenge of editing images through multiple sequential text instructions while preserving previously applied changes. It proposes a reinforcement learning post-training scheme that first reconstructs a concise session intent from the accumulated image-text history, providing an explicit reasoning trace for each turn. The model is trained jointly in discrete text space for intent generation and in continuous latent space for image synthesis, using a unified objective that balances both tasks. A trajectory filtering mechanism discards corrupted rollouts to mitigate state contamination and stabilize learning. The approach is evaluated on a newly introduced benchmark (MICE-Bench) and shows substantial gains over existing single-turn editing methods.

Problem

Existing image editing methods typically handle only single-turn edits, leaving multi-turn editing-where users iteratively refine an image-largely unsolved. In such settings, models must follow new instructions while preserving accumulated constraints, which is hindered by the difficulty of retaining sparse textual cues over long histories and by the propagation of earlier editing errors.

Method

The approach reconstructs the operative session intent from historical constraints to form an explicit reasoning trace before each editing turn. It then performs multi-turn reinforcement learning over both discrete intent reconstruction and continuous image generation, using a unified objective and a trajectory filtering mechanism to suppress corrupted rollouts and mitigate state contamination.

Results

The approach substantially improves multi-turn in-context editing performance and matches or exceeds strong baseline methods.

Contributions

The paper introduces a reinforcement learning post-training framework that consolidates session-level constraints via intent reconstruction and stabilizes multi-turn training against state contamination, along with a large-scale benchmark (MICE-Bench) for evaluating multi-turn editing.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction