arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2411.16783cs.CV
收藏

CoCoNO: 文本到图像合成中初始噪声优化的注意力对比与补全

CoCoNO: Attention Contrast-and-Complete for Initial Noise Optimization in Text-to-Image Synthesis

Indian Institute of Technology Madras(印度马德拉斯理工学院);Indian Institute of Technology Bombay(印度孟买理工学院);Adobe Research(奥多比研究院)

Aravindan Sundaram, Ujjayan Pal, Abhimanyu Chauhan, Aishwarya Agarwal, Srikrishna Karanam

AI总结:

针对文本到图像扩散模型中初始 latent 优化存在的注意力忽略与干扰问题,提出 CoCoNO 算法,通过注意力对比与补全损失优化初始 latent,无需重训基础模型,显著提升文本-图像对齐效果。

摘要:

尽管文本到图像模型近年来取得了进展,但在文本到图像扩散模型中生成语义准确的图像仍是一项持续挑战。现有初始 latent 优化方法虽表现出色,但我们发现两个关键局限:(a)注意力忽略,即合成图像遗漏输入提示中的某些主体,尽管这些主体有高响应交叉注意力,但其自注意力图中无指定区域;(b)注意力干扰,即不同主体的交叉与自注意力图冲突重叠,导致生成图像混合多个主体的属性。为解决这些局限,我们提出 CoCoNO 算法,通过利用自注意力与交叉注意力图内的互补信息优化初始 latent。该方法引入两种损失函数:注意力对比损失,通过确保每个自注意力区域仅链接特定主体的交叉注意力图,最小化不良重叠;注意力补全损失,最大化这些区域内的激活,保证每个主体被完整清晰地表示。我们的方法在噪声优化框架内运行,无需重新训练基础模型。通过在多个基准上的广泛实验,我们证明 CoCoNO 显著提升文本-图像对齐效果,优于当前最先进方法。

英文摘要:

Despite recent advancements in text-to-image models, achieving semantically accurate images in text-to-image diffusion models is a persistent challenge. While existing initial latent optimization methods have demonstrated impressive performance, we identify two key limitations: (a) attention neglect, where the synthesized image omits certain subjects from the input prompt because they do not have a designated segment in the self-attention map despite despite having a high-response cross-attention, and (b) attention interference, where the generated image has mixed-up properties of multiple subjects because of a conflicting overlap between cross- and self-attention maps of different subjects. To address these limitations, we introduce CoCoNO, a new algorithm that optimizes the initial latent by leveraging the complementary information within self-attention and cross-attention maps. Our method introduces two new loss functions: the attention contrast loss, which minimizes undesirable overlap by ensuring each self-attention segment is exclusively linked to a specific subject's cross attention map, and the attention complete loss, which maximizes the activation within these segments to guarantee that each subject is fully and distinctly represented. Our approach operates within a noise optimization framework, avoiding the need to retrain base models. Through extensive experiments on multiple benchmarks, we demonstrate that CoCoNO significantly improves text-image alignment and outperforms the current state of the art.

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

↑