Deep Photo Style Transfer | Two Minute Papers #150

A neural network technique that transfers the style of one photo onto another while keeping the result photorealistic. The method uses a regularization term to prevent color distortions that plague other style transfer approaches.
Chapters
Dear fellow scholars, this is two minute papers with. Let's have a look at this majestic technique that is about style transfer for photos. Style transfer is a magical algorithm where we have one photograph with content and one with an interesting style and the output is a third image with these two photos fused together. This is typically achieved by a classical machine learning technique that we call a convolutional neural network. The more layers these networks contain, the more powerful they are and the more capable they are in building an intuitive understanding of an image. We had several earlier episodes on visualizing the inner workings of these neural networks. As always, the links are available in the video description. Don't miss out. I'm sure you'll be as amazed by the results as I was when I have first seen them. These previous neural style transfer techniques work amazingly well if we are looking for a painterly result. However, for photo style transfer, the close ups here reveal that they introduce unnecessary distortions to the image. They won't look realistic anymore, but not with this new one. Have a look at these results. This is absolute insanity. They are just right. In some sense. There is an elusive quality to them and this is the challenge. We not only have to put what we are searching for into words, but but we have to find a mathematical description of these words to make the computer execute it. So what would this definition be? Just think about this. This is a really challenging question. The authors decided that the photorealism of the output image is to be maximized. Well, this sounds great, but who really knows a rigorous mathematical description of photorealism? One possible solution would be to stipulate that the changes in the output color would have to preserve the ratios and dist of the input style colors. Similar rules are used in linear algebra and computer graphics to make sure shapes don't get distorted as we are tormenting them with rotations, translations and more. We like to call these operations affine transformations. So the fully scientific description would be that we add a regularization term that stipulates that these colors only undergo affine transformations. But we've used one more new word here. What does this regularization term mean? This means that there are a ton of different possible solutions for transferring the colors. And we are trying to steer the optimizer towards solutions that adhere to some additional criterion, in our case the affine transformations. In the mathematical description of this problem, these additional stipulations appear in the form of a regularization term. I am so happy that you fellow scholars have been watching two minute papers for so long that we can finally talk about techniques like this. It's fantastic to have an audience that has this level of understanding of these topics. Love it. Just absolutely love it. The source code of this project is also available. Also, make sure to have a look at Distill, an absolutely amazing new science journal from the Google Brain team. But this is no ordinary journal, because what they are looking for is not necessarily novel techniques, but novel and intuitive ways of explaining already existing works. There is also an excellent write up on Research Debt that can almost be understood as a manifesto for this journal. A worthy read indeed. I love this new initiative and I am sure we'll hear about this journal a lot in the near future. Make sure to have a look. There is a link to all of these in the video description. Thanks for watching and for your generous support, and I'll see you next time.










