arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.07232cs.CVcs.AIcs.GRcs.LG
收藏

Add-it:使用预训练扩散模型在图像中免训练插入对象

Add-it: Training-Free Object Insertion in Images With Pretrained Diffusion Models

NVIDIA(英伟达);Tel-Aviv University(特拉维夫大学);Bar-Ilan University(巴伊兰大学)

Yoad Tewel, Rinon Gal, Dvir Samuel, Yuval Atzmon, Lior Wolf, Gal Chechik

AI总结:

提出免训练方法Add-it,通过加权扩展注意力机制融合场景图像、文本提示和生成图像信息,在图像对象插入任务中实现自然放置与细节保留,优于有监督方法并在超80%人类评估中获偏好。

摘要:

基于文本指令向图像中添加对象是语义图像编辑中的一项具有挑战性的任务,需要在保留原始场景与将新对象无缝整合到合适位置之间取得平衡。尽管已有大量努力,现有模型往往难以实现这种平衡,特别是在复杂场景中寻找自然位置来添加对象方面。我们引入了Add-it,这是一种免训练方法,它扩展了扩散模型的注意力机制,以融合来自三个关键来源的信息:场景图像、文本提示和生成的图像本身。我们的加权扩展注意力机制在确保对象自然放置的同时,保持了结构一致性和精细细节。无需特定任务的微调,Add-it在真实和生成图像插入基准上均取得了最先进的结果,包括我们新构建的用于评估对象放置合理性的“Additing Affordance Benchmark”,其表现优于有监督方法。人类评估显示,Add-it在超过80%的案例中更受青睐,并且在各种自动化指标上也展现出改进。

英文摘要:

Adding Object into images based on text instructions is a challenging task in semantic image editing, requiring a balance between preserving the original scene and seamlessly integrating the new object in a fitting location. Despite extensive efforts, existing models often struggle with this balance, particularly with finding a natural location for adding an object in complex scenes. We introduce Add-it, a training-free approach that extends diffusion models' attention mechanisms to incorporate information from three key sources: the scene image, the text prompt, and the generated image itself. Our weighted extended-attention mechanism maintains structural consistency and fine details while ensuring natural object placement. Without task-specific fine-tuning, Add-it achieves state-of-the-art results on both real and generated image insertion benchmarks, including our newly constructed "Additing Affordance Benchmark" for evaluating object placement plausibility, outperforming supervised methods. Human evaluations show that Add-it is preferred in over 80% of cases, and it also demonstrates improvements in various automated metrics.

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

↑