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

MixSA:基于自注意力混合的训练无关参考草图提取方法

MixSA: Training-free Reference-based Sketch Extraction via Mixture-of-Self-Attention

School of Computer Sciences, Shaanxi Normal University(陕西师范大学计算机科学学院);School of Computing and Information Systems, Singapore Management University(新加坡管理大学计算与信息系统学院)

Rui Yang, Xiaojun Wu, Shengfeng He

AI总结:

MixSA提出一种无需训练的参考草图提取方法,通过自注意力混合将参考笔触融入初始轮廓,实现风格插值与纹理密度控制,在草图质量和灵活性上优于现有方法。

摘要:

当前的草图提取方法要么需要大量训练,要么难以捕捉广泛的艺术风格,限制了其实用性和通用性。我们提出Mixture-of-Self-Attention(MixSA),这是一种无需训练的草图提取方法,利用强大的扩散先验来增强草图感知能力。其核心采用自注意力混合技术,通过用参考草图的键和值替换自注意力层中的键和值来操纵自注意力层。这使得笔触元素能够无缝融入初始轮廓图像,提供对纹理密度的精确控制,并支持在不同风格之间进行插值以生成新颖的、未见过的风格。通过将笔触风格与彩色图像的纹理和轮廓对齐,尤其是在处理局部纹理的后期解码器层中,MixSA通过调整初始轮廓解决了颜色平均的常见问题。在使用多种感知指标进行评估后,MixSA在草图质量、灵活性和适用性方面表现出优越的性能。该方法不仅克服了现有方法的局限性,还使用户能够生成多样化、高保真的草图,更准确地反映广泛的艺术表现。

英文摘要:

Current sketch extraction methods either require extensive training or fail to capture a wide range of artistic styles, limiting their practical applicability and versatility. We introduce Mixture-of-Self-Attention (MixSA), a training-free sketch extraction method that leverages strong diffusion priors for enhanced sketch perception. At its core, MixSA employs a mixture-of-self-attention technique, which manipulates self-attention layers by substituting the keys and values with those from reference sketches. This allows for the seamless integration of brushstroke elements into initial outline images, offering precise control over texture density and enabling interpolation between styles to create novel, unseen styles. By aligning brushstroke styles with the texture and contours of colored images, particularly in late decoder layers handling local textures, MixSA addresses the common issue of color averaging by adjusting initial outlines. Evaluated with various perceptual metrics, MixSA demonstrates superior performance in sketch quality, flexibility, and applicability. This approach not only overcomes the limitations of existing methods but also empowers users to generate diverse, high-fidelity sketches that more accurately reflect a wide range of artistic expressions.

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

↑