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

MAST:基于掩码的注意力质量分配用于无训练多风格迁移

MAST: Mask-Guided Attention Control for Training-Free Regional-Multi Style Transfer

Division of Computer Science and Artificial Intelligence, Dongguk University(计算机科学与人工智能系,东国大学)

Dongkyung Kang, Jaeyeon Hwang, Junseo Park, Minji Kang, Yeryeong Lee, Beomseok Ko, Hanyoung Roh, Jeongmin Shin, Hyeryung Jang

AI总结:

MAST提出一种无训练框架,通过布局保留查询锚定、注意力质量分配、温度缩放和细节注入模块,实现多风格迁移中无边界伪影和结构一致性的保持。

摘要:

风格迁移旨在将内容图像的视觉特性与参考风格结合,同时保持其底层语义布局和结构几何。尽管最近的扩散模型通过强大的生成先验和可控的内部表示展现出强大的风格化能力,但通常假设单一全局风格。扩展到多风格场景时,由于多种风格表示之间的干扰,常常导致边界伪影、不稳定风格化和结构不一致。为克服这些限制,我们提出了MAST(Mask-Guided Attention Mass Allocation for Training-Free Multi-Style Transfer),一种新的无训练框架,通过在扩散注意力机制中显式控制内容-风格交互。为了实现无伪影和结构保持的风格化,MAST集成了四个连接模块。首先,布局保留查询锚定通过使用内容查询牢固锚定语义结构,防止全局布局崩溃。其次,logit级注意力质量分配确定性地在空间区域上分配注意力概率质量,无缝融合多种风格而不产生边界伪影。第三,锐度感知温度缩放恢复因多风格扩展而退化的注意力锐度。最后,差异感知细节注入通过测量结构差异,自适应补偿局部高频细节损失。大量实验表明,MAST有效缓解了边界伪影并保持了结构一致性,即使应用的风格数量增加,也能保持纹理保真度和空间一致性。

英文摘要:

Style transfer applies the appearance of a reference image to a content image while preserving its spatial structure. Recent diffusion-based methods achieve strong stylization but typically assume a single global style. We instead consider regional-multi style transfer, which assigns multiple references to user-specified regions of a content image. Extending them to this setting reveals two coupled shared-attention issues: ambiguous mass allocation among content and style partitions and degraded selectivity as more styles are jointly normalized, while style aggregation at the attention output further suppresses fine details. We propose MAST (Mask-Guided Attention Control for Training-Free Regional-Multi Style Transfer), a unified attention-control framework for frozen diffusion models. Logit-level Attention Mass Allocation enforces mask-derived partition masses, Sharpness-aware Temperature Scaling adaptively restores selectivity, and Discrepancy-aware Detail Injection recovers high-frequency content. MAST jointly processes all style--mask pairs in a single denoising pass without training, optimization, or post-hoc composition. Across two to five styles, MAST achieves the best average ArtFID, FID, and R-FID among all baselines, demonstrating regional style fidelity, content preservation, and scalability.

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

↑