arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.25907cs.CV
收藏

基于上下文区域的拖拽:将任意区域拖拽至任意形状

In-context Region-based Drag: Drag Any Region to Any Shape

Shanghai Jiao Tong University(上海交通大学)

Jiacheng Sui, Tianyu Hao, Bingjie Gao, Li Niu, Guangtao Zhai

AI总结:

提出ICRDrag方法,通过上下文学习框架和两种注意力正则化,实现区域级拖拽编辑,在精度和视觉保真度上显著优于现有方法。

摘要:

扩散模型在拖拽式编辑中展现出潜力。先前的工作主要关注基于点的拖拽,这本质上是模糊的。本文聚焦于基于区域的拖拽,并引入了一种新颖的基于上下文区域的拖拽(ICRDrag)方法。在上下文学习框架下,ICRDrag 接受源图像、源区域掩码和目标区域掩码,生成目标拖拽图像。基于基本的上下文学习模型,我们引入了两种新颖的注意力正则化:1)图像-掩码注意力一致性,确保目标区域在图像和掩码模态上关注相似的源区域;2)源-目标注意力对应,确保源区域和目标区域之间的相互对应。为了促进基于区域的拖拽,我们还构建了配对区域数据集(PRD),这是一个包含配对掩码和图像的大规模数据集。大量实验表明,ICRDrag 在定量指标和用户研究中均显著优于现有方法,实现了卓越的编辑精度和视觉保真度。数据集、代码和模型可在 https://this https URL 获取。

英文摘要:

Diffusion models have shown promise in drag-style editing. Previous works mainly focus on point-based drag, which is inherently ambiguous. This paper focuses on region-based drag and introduces a novel In-Context Region-based Drag (ICRDrag) method. Under the in-context learning framework, ICRDrag consumes a source image, a source region mask, and a target region mask, producing the target dragged image. Built upon the basic in-context learning model, we introduce two novel attention regularization: 1) image-mask attention consistency to ensure that a target region attends to similar source regions for image and mask modalities; 2) source-target attention correspondence to ensure the mutual correspondence between source and target regions. To facilitate region-based drag, we also construct Paired Region Dataset (PRD), a large-scale dataset with paired masks and images. Extensive experiments show that ICRDrag significantly outperforms existing methods in both quantitative metrics and user studies, achieving superior editing accuracy and visual fidelity. The dataset, code, and model are available at https://github.com/bcmi/ICRDrag-Region-Drag-Editing.

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

↑