Inject Where It Matters: Objective-Dependent Feature Control in Rectified-Flow Image Editing

Nina Goncharova, Alexandra Ivanova, Aibek Alanov
11/19/2026
cs.AI

No confident code implementation found for this paper.

Abstract

Many prompt-driven FLUX editing methods rely on injecting source features into target-conditioned generation, creating an inherent trade-off between source preservation and the desired edit. We address this problem by controlling where source features are injected and which transformer blocks are used.

Show full abstract

First, we introduce adaptive masks that spatially gate feature injection using differences between source- and target-conditioned block outputs at matched inversion states. Second, we use REINFORCE to select Top-K injection blocks under different preservation-editability objectives. The selected blocks are fixed at inference and require no online search. On PIE-Bench with FLUX.1-dev, spatial masking controls the alignment-preservation trade-off. On 60 validation examples, a learned nine-block set gives lower whole-image LPIPS than the 18-block RF-Edit set within the same masked pipeline, with slightly lower alignment. Among 50 random nine-block sets, it has the lowest LPIPS but not the highest reward. Separate objective sweeps reveal different block preferences for preservation and alignment.

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{goncharova2026inject,
  title  = {Inject Where It Matters: Objective-Dependent Feature Control in Rectified-Flow Image Editing},
  author = {Nina Goncharova and Alexandra Ivanova and Aibek Alanov},
  year   = {2026},
  eprint = {2611.25811},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.25811v1}
}

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.25811.svg)](https://codeofpaper.com/paper/2611.25811)

Discussion