arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.24043cs.CV
收藏

HAM: 一种通过异构注意力调节的无训练风格迁移方法用于扩散模型

HAM: A Training-Free Style Transfer Approach via Heterogeneous Attention Modulation for Diffusion Models

Hangzhou Dianzi University(杭州电子科技大学);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);Macao Polytechnic University(澳门 polytechnic 大学)

Yeqi He, Liang Li, Zhiwen Yang, Xichun Sheng, Zhidong Zhao, Chenggang Yan

AI总结:

本文提出一种无训练的风格迁移方法HAM,通过异构注意力调节保护内容图像的身份信息,解决风格与内容的平衡问题。

摘要:

扩散模型在图像生成中表现出色,特别是在风格迁移领域。现有方法通常利用预训练扩散模型的鲁棒特征提取能力结合外部模块控制路径来显式施加风格指导信号。然而,这些方法往往无法捕捉复杂的风格参考或保留用户提供的内容图像的身份,从而陷入风格与内容平衡的陷阱。因此,我们提出一种通过异构注意力调节(HAM)的无训练风格迁移方法,以在图像/文本引导的风格参考迁移中保护身份信息,从而解决风格与内容的权衡挑战。具体来说,我们首先引入风格噪声初始化来初始化扩散的潜在噪声。然后在扩散过程中,创新性地采用HAM进行不同的注意力机制,包括全局注意力调节(GAR)和局部注意力移植(LAT),从而在保留内容图像细节的同时捕捉复杂的风格参考。我们的方法通过一系列定性和定量实验得到验证,在多个定量指标上实现了最先进的性能。

英文摘要:

Diffusion models have demonstrated remarkable performance in image generation, particularly within the domain of style transfer. Prevailing style transfer approaches typically leverage pre-trained diffusion models' robust feature extraction capabilities alongside external modular control pathways to explicitly impose style guidance signals. However, these methods often fail to capture complex style reference or retain the identity of user-provided content images, thus falling into the trap of style-content balance. Thus, we propose a training-free style transfer approach via $\textbf{h}$eterogeneous $\textbf{a}$ttention $\textbf{m}$odulation ($\textbf{HAM}$) to protect identity information during image/text-guided style reference transfer, thereby addressing the style-content trade-off challenge. Specifically, we first introduces style noise initialization to initialize latent noise for diffusion. Then, during the diffusion process, it innovatively employs HAM for different attention mechanisms, including Global Attention Regulation (GAR) and Local Attention Transplantation (LAT), which better preserving the details of the content image while capturing complex style references. Our approach is validated through a series of qualitative and quantitative experiments, achieving state-of-the-art performance on multiple quantitative metrics.

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

↑