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

基于视觉Transformers的细粒度图像风格转换

Fine-Grained Image Style Transfer with Visual Transformers

Microsoft Research(微软研究院)

Jianbo Wang, Huan Yang, Jianlong Fu, Toshihiko Yamasaki, Baining Guo

摘要:

随着卷积神经网络的发展,图像风格的传递越来越受到人们的关注。然而,大多数现有方法采用全局特征变换来将样式模式转换为内容图像(例如,AdaIN和WCT)。这样的设计通常会破坏输入图像的空间信息,并且无法将细粒度的样式模式转换为样式转换结果。为了解决这个问题,我们提出了一种新的风格Transformer(STTR)网络,将内容和风格图像分解为视觉标记,以实现细粒度的风格转换。具体来说,我们的STTR采用了两种注意力机制。我们首先建议使用自我注意力来编码内容和风格标记,以便可以将类似的标记分组并一起学习。然后,我们在内容和样式标记之间采用交叉注意,以鼓励细粒度的样式转换。为了将STTR与现有方法进行比较,我们对Amazon Mechanical Turk(AMT)进行了用户研究,该研究由50名人类受试者进行,总共有1,000张选票。广泛的评估表明,建议的STTR在产生视觉上令人愉快的风格转移结果的有效性和效率。

英文摘要:

With the development of the convolutional neural network, image style transfer has drawn increasing attention. However, most existing approaches adopt a global feature transformation to transfer style patterns into content images (e.g., AdaIN and WCT). Such a design usually destroys the spatial information of the input images and fails to transfer fine-grained style patterns into style transfer results. To solve this problem, we propose a novel STyle TRansformer (STTR) network which breaks both content and style images into visual tokens to achieve a fine-grained style transformation. Specifically, two attention mechanisms are adopted in our STTR. We first propose to use self-attention to encode content and style tokens such that similar tokens can be grouped and learned together. We then adopt cross-attention between content and style tokens that encourages fine-grained style transformations. To compare STTR with existing approaches, we conduct user studies on Amazon Mechanical Turk (AMT), which are carried out with 50 human subjects with 1,000 votes in total. Extensive evaluations demonstrate the effectiveness and efficiency of the proposed STTR in generating visually pleasing style transfer results.

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

↑