Inject Where It Matters: Objective-Dependent Feature Control in Rectified-Flow Image Editing
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. 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.
Create a lesson
Related papers
Beyond Self-Critique: Epistemic Convergence Control for Multi-Agent Research Verification
Shared title terminology · Chrisantus Eze
When Are Images Needed in Multimodal Machine Translation? Text-Only Routing for On-Demand Visual Context
Shared title terminology · Xinyu Wang, Yingfeng Luo, Yuxin Gao et al.
GRACE: Controlled Evidence Interventions for Diagnosing and Improving Knowledge Integration in GraphRAG
Shared title terminology · Minh Pham, Quang Nguyen, Phong Kieu et al.
LiDAR Signals for Robot Locomotion: Spherical Range Images Enable Robust Sim-to-Real Transfer
Shared title terminology · Nian Liu, Xinyi Tong, Ming Ren et al.
Portable Active Recovery under Timed and Position-Dependent Visual Outages
Shared title terminology · Jinyuan Zhang, Shengshuo Jiao
Towards Robust Partial-Edit Deepfake Localization: An edit and Generator Conditioned Analysis
Shared title terminology · Aishwarya Fursule, Vamshi Nallaguntla, Yuan Tseng et al.