跳到正文
arXiv cs.AI· Tiancheng Shen, Zilong Huang, Xiangtai Li, Zhijie Lin, Jiyang Liu, Yitong Wang, Jiashi Feng, Ming-Hsuan Yang, Jun Hao Liew·· 3 天前AI 评分25

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

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

AI 导读

QK-Edit 是一个无需训练的框架,通过新的 query-key 操控策略利用 MM-DiT 的多模态自注意力动态,实现文本引导的图像与视频编辑。该方法支持物体添加、移除、替换、背景/材质/颜色更改和风格转换等任务,并可通过推理时的特征替换实现。在 FLUX 和 HunyuanVideo 等模型上,QK-Edit 展现出更优的编辑性能,该工作已被 ICCV 2025 接收。

正文 · 原文

View PDF HTML (experimental)

Abstract: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.
Comments: Accepted at ICCV 2025
Subjects: Computer Vision and Pattern Recognition (cs.CV); Artificial Intelligence (cs.AI)
Cite as: arXiv:2610.17829 [cs.CV]
  (or arXiv:2610.17829v2 [cs.CV] for this version)
  https://doi.org/10.48550/arXiv.2610.17829

arXiv-issued DOI via DataCite

Submission history

From: Tiancheng Shen [view email]
[v1] Tue, 13 Oct 2026 06:49:25 UTC (24,081 KB)
[v2] Wed, 14 Oct 2026 05:32:56 UTC (24,081 KB)

来源:arXiv cs.AI · arxiv.org