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

一个可概括的风格迁移的统一框架:风格与内容分离

A Unified Framework for Generalizable Style Transfer: Style and Content Separation

Cooperative Medianet Innovation Center, Shanghai Jiao Tong University(上海交通大学协同媒体网络创新中心);Microsoft(微软)

Yexun Zhang, Ya Zhang, Wenbin Cai

摘要:

近年来,图像风格转换引起了广泛的关注。然而,大多数现有的方法的目的是显式地建模不同风格之间的转换,因此,学习的模型是不可推广到新的风格。我们在这里提出了一个统一的风格转换框架,用于字符字体转换和神经风格转换任务,利用风格和内容分离。这种框架的一个主要优点是它对新的风格和内容的普遍性。整体框架由风格编码器、内容编码器、混合器和解码器组成。样式编码器和内容编码器用于从对应的参考图像中提取样式和内容表示。混合器集成上述两种表示并将其馈送到解码器中以生成具有目标样式和内容的图像。在训练期间,编码器网络学习从有限大小的样式/内容参考图像中提取样式和内容。这种学习框架允许在多种风格之间同时进行风格迁移,可以被视为一种特殊的“多任务”学习场景。编码器被期望捕获不同样式和内容的底层特征,这些特征可推广到新的样式和内容。在此框架下,我们设计了两个独立的网络,分别用于字符字体传输和神经风格传输。对于字符字体转换,为了分离样式特征和内容特征,我们利用给定图像的样式和内容的条件依赖性。对于神经风格传递,我们利用某些层中特征映射的统计信息来表示风格。大量的实验结果表明,所提出的方法的有效性和鲁棒性。

英文摘要:

Image style transfer has drawn broad attention in recent years. However, most existing methods aim to explicitly model the transformation between different styles, and the learned model is thus not generalizable to new styles. We here propose a unified style transfer framework for both character typeface transfer and neural style transfer tasks leveraging style and content separation. A key merit of such framework is its generalizability to new styles and contents. The overall framework consists of style encoder, content encoder, mixer and decoder. The style encoder and content encoder are used to extract the style and content representations from the corresponding reference images. The mixer integrates the above two representations and feeds it into the decoder to generate images with the target style and content. During training, the encoder networks learn to extract styles and contents from limited size of style/content reference images. This learning framework allows simultaneous style transfer among multiple styles and can be deemed as a special `multi-task' learning scenario. The encoders are expected to capture the underlying features for different styles and contents which is generalizable to new styles and contents. Under this framework, we design two individual networks for character typeface transfer and neural style transfer, respectively. For character typeface transfer, to separate the style features and content features, we leverage the conditional dependence of styles and contents given an image. For neural style transfer, we leverage the statistical information of feature maps in certain layers to represent style. Extensive experimental results have demonstrated the effectiveness and robustness of the proposed methods.

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

↑