RAGE: Residual-Adaptive Gating for Flow-Based Image Editing

Ruofeng Mei, Xiangyu Xu
11/16/2026
cs.CVcs.LG

No confident code implementation found for this paper.

Abstract

Recent inversion-free, flow-based image editing methods evolve the source image toward the target via a differential velocity field. We observe that this velocity field does not explicitly account for which regions should be preserved, leading to unintended drift in non-editing regions.

Show full abstract

To address this, we formulate source fidelity control as a stochastic optimal control problem in which a selective fidelity term on the editing residual is enforced along the editing trajectory. Solving this problem and approximating its solution yields the Residual Gating Principle: each latent component is pulled back toward the source with a gain that decays exponentially with the local residual magnitude, so that small deviations are suppressed while large, semantically meaningful edits pass through unimpeded. The proposed method, RAGE, requires only one lightweight gated interpolation per sampling step, involves no mask estimation, attention maps, retraining, or architecture-specific modifications, and is applied on top of FlowEdit-based editors. On PIE-Bench, RAGE achieves the best overall rank among 17 methods and substantially improves background preservation on both Stable Diffusion 3 and FLUX backbones while maintaining competitive editing quality.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mei2026rage,
  title  = {RAGE: Residual-Adaptive Gating for Flow-Based Image Editing},
  author = {Ruofeng Mei and Xiangyu Xu},
  year   = {2026},
  eprint = {2611.21177},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.21177v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.21177.svg)](https://codeofpaper.com/paper/2611.21177)

Discussion