跳到正文
arXiv (AI + Vision + Imaging)· Nina Goncharova, Alexandra Ivanova, Aibek Alanov·· 5 天前AI 评分20

FLUX图像编辑新方法:按目标选择特征注入位置与Transformer模块

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

AI 导读

针对FLUX提示词驱动编辑中源特征保留与目标编辑的固有取舍,研究提出用自适应掩码在匹配反演状态下按源与目标条件块输出差异对特征注入做空间门控,并用REINFORCE按不同保留-可编辑性目标选择Top-K注入块,所选块在推理时固定、无需在线搜索。在PIE-Bench上基于FLUX.1-dev,60个验证样本中学习得到的九块组合在同掩码流程下整图LPIPS低于18块RF-Edit组合,对齐度略低。

正文 · 原文

arXiv:2611.25811v1 Announce Type: new 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.

来源:arXiv (AI + Vision + Imaging) · arxiv.org