Demystifying Neural Style Transfer

Abstract

Neural Style Transfer has recently demonstrated very exciting results which catches eyes in both academia and industry. Despite the amazing results, the principle of neural style transfer, especially why the Gram matrices could represent style remains unclear. In this paper, we propose a novel interpretation of neural style transfer by treating it as a domain adaptation problem. Specifically, we theoretically show that matching the Gram matrices of feature maps is equivalent to minimize the Maximum Mean Discrepancy (MMD) with the second order polynomial kernel. Thus, we argue that the essence of neural style transfer is to match the feature distributions between the style images and the generated images. To further support our standpoint, we experiment with several other distribution alignment methods, and achieve appealing results. We believe this novel interpretation connects these two important research fields, and could enlighten future researches.

Cite

Text

Li et al. "Demystifying Neural Style Transfer." International Joint Conference on Artificial Intelligence, 2017. doi:10.24963/IJCAI.2017/310

Markdown

[Li et al. "Demystifying Neural Style Transfer." International Joint Conference on Artificial Intelligence, 2017.](https://mlanthology.org/ijcai/2017/li2017ijcai-demystifying/) doi:10.24963/IJCAI.2017/310

BibTeX

@inproceedings{li2017ijcai-demystifying,
  title     = {{Demystifying Neural Style Transfer}},
  author    = {Li, Yanghao and Wang, Naiyan and Liu, Jiaying and Hou, Xiaodi},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year      = {2017},
  pages     = {2230-2236},
  doi       = {10.24963/IJCAI.2017/310},
  url       = {https://mlanthology.org/ijcai/2017/li2017ijcai-demystifying/}
}