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

arXiv: https://arxiv.org/abs/2611.21177 · HTML: https://mlsanity.com/paper/2611.21177/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Builds on 2 of its 22 references that are in the map.
- Submitted 16 Nov 2026.

## Builds on (most cited first, 2 of 2)

- [Direct Inversion: Boosting Diffusion-based Editing with 3 Lines of Code](https://mlsanity.com/paper/2310.01506/) (2023)
- [SAM-Flow: Source-Anchored Masked Flow for Training-Free Image Editing](https://mlsanity.com/paper/2606.06228/) (2026)

## Abstract (arXiv)

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. 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.
