arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.00668cs.CVeess.IV
收藏

通用风格转换的一种封闭形式解决方案

A Closed-form Solution to Universal Style Transfer

Tsinghua University(清华大学);Intel Labs China(英特尔中国研究院)

Ming Lu, Hao Zhao, Anbang Yao, Yurong Chen, Feng Xu, Li Zhang

摘要:

通用风格迁移试图显式地最小化特征空间中的损失,因此它不需要在任何预定义的风格上进行训练。它通常使用VGG网络的不同层作为编码器,并训练多个解码器将特征转化为图像。因此,风格转换的效果是通过特征变换来实现的。虽然已经提出了大量的方法,但对特征变换的理论分析仍然缺乏。在本文中,我们首先提出了一个新的解释,将其视为最优运输问题。然后,我们证明了我们的配方与以前的作品,如自适应实例归一化(AdaIN)和白化和着色变换(WCT)的关系。最后,我们推导出一个封闭形式的解决方案,命名为最佳风格转移(OST)根据我们的配方,另外考虑Gatys的内容损失。相比之下,我们的解决方案可以保持更好的结构,并实现视觉上令人愉快的结果。它是简单而有效的,我们证明了它的优点,定量和定性。此外,我们希望我们的理论分析能对未来的神经风格迁移研究有所启发。代码可在https://github.com/lu-m13/OptimalStyleTransfer上获得。

英文摘要:

Universal style transfer tries to explicitly minimize the losses in feature space, thus it does not require training on any pre-defined styles. It usually uses different layers of VGG network as the encoders and trains several decoders to invert the features into images. Therefore, the effect of style transfer is achieved by feature transform. Although plenty of methods have been proposed, a theoretical analysis of feature transform is still missing. In this paper, we first propose a novel interpretation by treating it as the optimal transport problem. Then, we demonstrate the relations of our formulation with former works like Adaptive Instance Normalization (AdaIN) and Whitening and Coloring Transform (WCT). Finally, we derive a closed-form solution named Optimal Style Transfer (OST) under our formulation by additionally considering the content loss of Gatys. Comparatively, our solution can preserve better structure and achieve visually pleasing results. It is simple yet effective and we demonstrate its advantages both quantitatively and qualitatively. Besides, we hope our theoretical analysis can inspire future works in neural style transfer. Code is available at https://github.com/lu-m13/OptimalStyleTransfer.

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

↑