arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.04034cs.CVcs.AI
收藏

Prompt-to-Prompt:基于交叉注意力机制的文本驱动图像编辑——关于增强现有框架的超参数与新型机制的研究

Prompt-to-Prompt: Text-Based Image Editing Via Cross-Attention Mechanisms -- The Research of Hyperparameters and Novel Mechanisms to Enhance Existing Frameworks

Massachusetts Institute of Technology(麻省理工学院)

Linn Bieske, Carla Lorente

AI总结:

针对文本驱动图像编辑结果波动的问题,研究通过优化超参数、提出注意力重加权方法及CL P2P框架,提升了prompt-to-prompt编辑的精度与可靠性,深化了对注意力机制影响生成效果的理解。

摘要:

图像编辑领域的最新进展已从手动像素操作转向采用stable diffusion models(稳定扩散模型)等深度学习方法,这类模型如今利用交叉注意力机制实现文本驱动的控制。这一转变简化了编辑流程,但也带来了结果的波动性,例如头发颜色更改效果不一致的问题。本研究旨在通过探索和优化超参数,提升prompt-to-prompt图像编辑框架的精度与可靠性。我们对“word swap(词替换)”方法开展了全面研究,开发了“attention re-weight method(注意力重加权方法)”以实现更好的适配性,并提出“CL P2P”框架以解决循环不一致等现有局限性。这项工作有助于理解并改善超参数设置与神经网络模型架构选择(尤其是其注意力机制)之间的相互作用,而注意力机制会显著影响生成图像的构图与质量。

英文摘要:

Recent advances in image editing have shifted from manual pixel manipulation to employing deep learning methods like stable diffusion models, which now leverage cross-attention mechanisms for text-driven control. This transition has simplified the editing process but also introduced variability in results, such as inconsistent hair color changes. Our research aims to enhance the precision and reliability of prompt-to-prompt image editing frameworks by exploring and optimizing hyperparameters. We present a comprehensive study of the "word swap" method, develop an "attention re-weight method" for better adaptability, and propose the "CL P2P" framework to address existing limitations like cycle inconsistency. This work contributes to understanding and improving the interaction between hyperparameter settings and the architectural choices of neural network models, specifically their attention mechanisms, which significantly influence the composition and quality of the generated images.

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

↑