[论文解读] Name Your Style: An Arbitrary Artist-aware Image Style Transfer
本文提出TxST,一种基于文本的图像风格迁移方法,通过CLIP对比学习与一种新型多项式注意力模块,仅使用文本提示即可实现任意、艺术家感知的风格迁移。该方法在无需风格图像参考或昂贵优化的情况下,实现了通用与特定艺术家风格迁移的最先进性能,支持实时、感知上令人愉悦的多样化艺术风格迁移。
Image style transfer has attracted widespread attention in the past few years. Despite its remarkable results, it requires additional style images available as references, making it less flexible and inconvenient. Using text is the most natural way to describe the style. More importantly, text can describe implicit abstract styles, like styles of specific artists or art movements. In this paper, we propose a text-driven image style transfer (TxST) that leverages advanced image-text encoders to control arbitrary style transfer. We introduce a contrastive training strategy to effectively extract style descriptions from the image-text model (i.e., CLIP), which aligns stylization with the text description. To this end, we also propose a novel and efficient attention module that explores cross-attentions to fuse style and content features. Finally, we achieve an arbitrary artist-aware image style transfer to learn and transfer specific artistic characters such as Picasso, oil painting, or a rough sketch. Extensive experiments demonstrate that our approach outperforms the state-of-the-art methods on both image and textual styles. Moreover, it can mimic the styles of one or many artists to achieve attractive results, thus highlighting a promising direction in image style transfer.
研究动机与目标
- 实现无需依赖参考风格图像的灵活、文本驱动的图像风格迁移。
- 通过学习艺术风格的文本描述(如梵高或埃尔·格列柯的风格)实现艺术家感知的风格迁移。
- 克服现有方法依赖昂贵数据标注或对每个输入进行实时优化的局限性。
- 利用CLIP嵌入空间,通过对比学习将文本描述与视觉风格对齐。
- 在无需额外微调或参考图像的情况下,支持单风格与多风格迁移,仅通过自然语言提示实现。
提出的方法
- 该方法使用CLIP的图文编码器,将风格与内容特征映射到共享嵌入空间,实现跨注意力融合。
- 提出一种新型多项式注意力模块,通过建模高阶交互关系,有效融合内容与风格特征。
- 在CLIP空间中应用对比学习,最大化不同艺术家(跨类)之间的距离,最小化同一艺术家(同类别)之间的距离。
- 在WikiArt数据集上进行训练,使用文本提示(如“梵高”)学习风格表征,无需显式的风格图像监督。
- 通过优化内容图像以对齐输入文本的CLIP嵌入,实现文本驱动的风格迁移,支持实时推理。
- 该方法支持仅文本与图文结合的风格参考,实现灵活的用户引导式风格迁移。
实验结果
研究问题
- RQ1仅依靠文本提示是否能有效引导高保真、艺术家感知的图像风格迁移,而无需参考风格图像?
- RQ2基于CLIP的对比学习策略在将文本描述与视觉艺术风格对齐方面表现如何?
- RQ3新型注意力机制是否能提升在文本驱动设置下内容与风格特征的融合效果?
- RQ4该模型在多样化艺术风格(包括抽象或隐含描述的风格)上的泛化能力如何?
- RQ5通过在单一提示中组合多个艺术家名称,该方法能否实现多风格迁移?
主要发现
- 与AST和CLIPstyler等最先进方法相比,TxST在风格迁移质量上表现更优,尤其在保留内容结构的同时精准模仿复杂艺术特征(如梵高的曲线或埃尔·格列柯的深色扭曲线条)。
- 模型成功实现对多个艺术家风格的并行学习与迁移,多风格迁移结果表明其可同时处理梵高、毕卡索与莫奈等艺术家名称的组合。
- t-SNE可视化显示,风格化图像在CLIP嵌入空间中分布良好分离,表明风格解耦与多样性有效。
- 该方法可泛化至任意文本提示,包括抽象描述如“霓虹灯”或“黑色钢笔的粗糙素描”,生成感知上令人愉悦的结果。
- 在CLIP空间中进行对比训练,有效利用了艺术家与其作品之间的共线性关系,实现精准风格对齐,无需额外数据标注。
- TxST实现实时风格迁移,无需在线优化,在速度与风格保真度方面均优于CLIPstyler。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。