about
Demystifying Neural Style Transfer (arxiv.org)
3 points by groar on Jan 6, 2017 | hide | past | pdf | discuss on HN

In plain words: Style transfer usually copies an image's look by matching Gram matrices, grids showing how image features relate to each other. That trick turns out to just make the new image's features spread out like the style image's, and other ways of matching those spreads work well too.

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.

Yanghao Li, Naiyan Wang, Jiaying Liu, Xiaodi Hou
arXiv:1701.01036 · cs.CV, cs.LG, cs.NE · submitted Jan 4, 2017 · updated Jul 1, 2017
abstract · pdf · html · Accepted by IJCAI 2017

add comment on HN