arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.05950cs.AI
收藏

Edit-R2:面向多轮图像编辑的上下文感知强化学习

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

Hong Kong University of Science and Technology(香港理工大学);Kuaishou Technology(快手科技)

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

AI总结:

提出Edit-R2框架,通过重构会话意图和联合优化推理与生成的强化学习,解决多轮图像编辑中的长上下文稀释和状态污染问题,并在MICE-Bench基准上取得领先性能。

摘要:

基于扩散模型和统一多模态基础模型的文本引导图像编辑已取得快速进展。然而,现有方法大多局限于单轮设置,忽略了更现实的多轮上下文编辑场景,即用户通过一系列指令逐步细化图像。在此设置中,模型必须遵循每条新指令,同时保留累积的会话级约束,面临两种耦合的失败模式:长上下文稀释(稀疏文本约束难以从不断增长的图像-文本交错历史中恢复)和状态污染(早期编辑错误降低后续生成质量)。我们提出Edit-R2,一种用于统一多模态模型的新型强化学习后训练框架。Edit-R2重构操作会话意图,在每次编辑轮次前将分散的历史约束有效整合为显式推理轨迹。它进一步通过统一目标实现推理和生成的多轮强化学习,该目标联合优化离散文本空间中的意图重构生成和连续潜在空间中的流匹配图像生成,同时轨迹过滤机制抑制损坏的轨迹以在状态污染下稳定训练。为支持系统评估,我们引入MICE-Bench,一个大规模多轮上下文编辑基准,包含针对累积会话约束的指令遵循(IF)、内容一致性(CC)和全局感知(GA)的自动指标。实验表明,Edit-R2显著改进了多轮上下文编辑,并在与强基线的比较中取得了有竞争力的性能。

英文摘要:

Text-guided image editing has advanced rapidly with diffusion models and unified multimodal foundation models. However, most existing methods remain confined to single-turn settings, overlooking the more realistic scenario of multi-turn in-context editing, where users iteratively refine an image through a sequence of instructions. In this setting, a model must follow each new instruction while preserving accumulated session-level constraints, challenged by two coupled failure modes: long-context dilution, where sparse textual constraints become difficult to recover from growing interleaved image-text histories, and state contamination, where earlier editing mistakes degrade subsequent generations. We introduce Edit-R2, a novel reinforcement learning post-training framework for unified multimodal models. Edit-R2 reconstructs the operative session intent, which effectively consolidates scattered historical constraints into an explicit reasoning trace before each editing turn. It further enables multi-turn RL over both reasoning and generation through a unified objective that jointly optimizes intent reconstruction generation in discrete text space and flow-matching image generation in continuous latent space, while a trajectory filtering mechanism suppresses corrupted rollouts to stabilize training under state contamination. To support systematic evaluation, we introduce MICE-Bench, a large-scale benchmark for multi-turn in-context editing with automated metrics for instruction following (IF), content consistency (CC), and global awareness (GA) over accumulated session constraints. Experiments show that Edit-R2 substantially improves multi-turn in-context editing and achieves competitive performance compared against strong baselines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑