arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.17829cs.CVcs.AI
收藏

QK-Edit:重新审视MM-DiT中基于注意力的注入以用于图像与视频编辑

QK-Edit: Revisiting Attention-based Injection in MM-DiT for Image and Video Editing

UC Merced(加州大学默塞德分校);ByteDance(字节跳动);ByteDance Intelligent Creation(字节跳动智能创作);CUHK(香港中文大学)

Tiancheng Shen, Zilong Huang, Xiangtai Li, Zhijie Lin, Jiyang Liu, Yitong Wang, Jiashi Feng, Ming-Hsuan Yang, Jun Hao Liew

AI总结:

本文提出无需训练的QK-Edit框架,通过查询-键操控策略实现文本引导的图像与视频编辑,在FLUX、HunyuanVideo等模型上表现优异,弥合了MM-DiT生成能力与编辑灵活性的差距。

摘要:

多模态扩散变换器(MM-DiT)作为一种强大的框架,近期在统一文本-视觉合成领域崭露头角,在生成任务中超越了传统的U-Net架构。其核心创新之一在于多模态自注意力(MM-SA)交互机制,该机制将图像与文本标记拼接后通过自注意力处理。然而,这一机制给编辑任务带来了重大挑战,导致传统基于U-Net的注意力操控方法失效。为解决该局限,本文提出QK-Edit,这是一种无需训练的框架,利用MM-DiT独特的注意力动态特性实现精确的文本引导图像与视频编辑。通过引入新颖的查询-键操控策略,本方法可分离并调整关键注意力组件,在提示词保真度与结构一致性间实现最优平衡,从而在对象添加、对象移除、对象替换、背景更改、材质更改、颜色更改及风格转换等各类任务中实现无缝编辑。值得注意的是,该方法可在推理阶段通过特征替换轻松实现。QK-Edit在FLUX、HunyuanVideo等当前最先进的模型上展现出卓越的编辑性能,有效弥合了MM-DiT的生成能力与编辑灵活性之间的差距,为可扩展的多模态内容创作铺平了道路。

英文摘要:

Multimodal Diffusion Transformers (MM-DiTs) have recently emerged as a powerful framework for unified text-vision synthesis, surpassing traditional U-Net architectures in generative tasks. One key innovation lies in its Multimodal Self-Attention (MM-SA) interaction, where image and text tokens are concatenated and processed via self-attention. However, this mechanism poses significant challenges for editing, rendering conventional U-Net-based attention manipulation methods ineffective. To address this limitation, we propose QK-Edit, a training-free framework that exploits the unique attention dynamics of MM-DiTs for precise text-guided image and video editing. By introducing a novel query-key manipulation strategy, our method isolates and adjusts critical attention components to achieve an optimal balance between prompt fidelity and structural consistency. This enables seamless edits across various tasks, including object addition, object removal, object replacement, changing background, changing material, changing color, and style transformation. Notably, it can be easily implemented with feature replacement in inference. QK-Edit demonstrates superior editing performance on state-of-the-art models, such as FLUX and HunyuanVideo, effectively bridging the gap between generative power and editable flexibility in MM-DiTs, and paving the way for scalable multimodal content creation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑