Prompt-to-Prompt Image Editing with Cross Attention Control

图像编辑 计算机科学 图像(数学) 词(群论) 图像合成 忠诚 生成语法 钥匙(锁) 财产(哲学) 生成模型 人工智能 自然语言处理 情报检索 语言学 电信 认识论 计算机安全 哲学
作者
Amir Hertz,Ron Mokady,Jay M. Tenenbaum,Kfir Aberman,Yael Pritch,Daniel Cohen‐Or
出处
期刊:Cornell University - arXiv [Cornell University]
被引量:360
标识
DOI:10.48550/arxiv.2208.01626
摘要

Recent large-scale text-driven synthesis models have attracted much attention thanks to their remarkable capabilities of generating highly diverse images that follow given text prompts. Such text-based synthesis methods are particularly appealing to humans who are used to verbally describe their intent. Therefore, it is only natural to extend the text-driven image synthesis to text-driven image editing. Editing is challenging for these generative models, since an innate property of an editing technique is to preserve most of the original image, while in the text-based models, even a small modification of the text prompt often leads to a completely different outcome. State-of-the-art methods mitigate this by requiring the users to provide a spatial mask to localize the edit, hence, ignoring the original structure and content within the masked region. In this paper, we pursue an intuitive prompt-to-prompt editing framework, where the edits are controlled by text only. To this end, we analyze a text-conditioned model in depth and observe that the cross-attention layers are the key to controlling the relation between the spatial layout of the image to each word in the prompt. With this observation, we present several applications which monitor the image synthesis by editing the textual prompt only. This includes localized editing by replacing a word, global editing by adding a specification, and even delicately controlling the extent to which a word is reflected in the image. We present our results over diverse images and prompts, demonstrating high-quality synthesis and fidelity to the edited prompts.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
平常的芝麻完成签到,获得积分10
刚刚
1秒前
1秒前
豌豆射手完成签到,获得积分10
1秒前
刘刘发布了新的文献求助10
2秒前
沉默的无施完成签到,获得积分10
2秒前
科研通AI6.2应助yy采纳,获得10
2秒前
3秒前
洛七落发布了新的文献求助10
3秒前
3秒前
3秒前
的的得的发布了新的文献求助10
4秒前
4秒前
久远寺有珠完成签到,获得积分10
4秒前
4秒前
han发布了新的文献求助10
4秒前
健忘的臻完成签到,获得积分10
4秒前
年华驳回了所所应助
4秒前
琦琦完成签到,获得积分10
4秒前
Yuki完成签到,获得积分10
4秒前
4秒前
ale应助Atong采纳,获得10
4秒前
wmz发布了新的文献求助10
5秒前
彭于晏应助Kody采纳,获得10
5秒前
密友发布了新的文献求助10
5秒前
禾目香完成签到,获得积分10
5秒前
ada发布了新的文献求助10
6秒前
6秒前
辉099411完成签到,获得积分10
6秒前
热心的寄灵完成签到,获得积分10
7秒前
ys完成签到,获得积分10
7秒前
周末不上发条完成签到,获得积分10
8秒前
rr发布了新的文献求助10
8秒前
默默依珊发布了新的文献求助10
8秒前
zwhy完成签到,获得积分10
8秒前
8秒前
奶王发布了新的文献求助10
8秒前
科研通AI6.2应助苹果灰狼采纳,获得10
8秒前
科研通AI6.3应助hh采纳,获得10
8秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
2026年中国辛酸癸酸聚乙二醇甘油酯行业市场现状调查及投资机会研判报告 1000
2026年中国辛酸癸酸聚乙二醇甘油酯行业市场规模及竞争格局分析报告 1000
模型平均及其应用 900
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 700
Évora na Idade Média 555
作者名:Kristopher P. Plain,悉尼大学的,目前只能查到其四篇论文,想找到其博士论文 550
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7342939
求助须知:如何正确求助?哪些是违规求助? 8955314
关于积分的说明 19013131
捐赠科研通 6995076
什么是DOI,文献DOI怎么找? 3219333
关于科研通互助平台的介绍 2384567
邀请新用户注册赠送积分活动 2199509