Neural Networks for Artists

From hallucinogenic-like DeepDream composites to mesmerizing style-transfer videos, visuals provide an engaging entry point to the world of machine learning

This article was published in Scientific American’s former blog network and reflects the views of the author, not necessarily those of Scientific American


Original photo by Jen Christiansen. Transformation via Deep Dream Generator, based on open source code.

Remember last summer’s influx of convolutional neural network art, which took the form of hallucinogenic-like DeepDream images, like the one above? Prompted by a blog post and code release by a team of Google engineers, haunting composite generation—also known as inceptionism, as a nod to the movie-related internet meme “we need to go deeper”—became the poster child for artificial neural networks.

Perhaps you’re also familiar with last summer’s style transfer examples. In “A Neural Algorithm of Artistic Style” Leon Gatys, Alexander Ecker and Matthias Bethge describe it as a system that “uses neural representations to separate and recombine content and style of arbitrary images, providing a neural algorithm for the creation of artistic images.” Imagine your vacation photos rendered in the style of Pablo Picasso, or Leonardo da Vinci’s Mona Lisa painted in the style of Vincent Van Gogh’s Starry Night. You can see that example directly, in “Machines and Metaphors,” a blog post by artist and programmer Gene Kogan.


On supporting science journalism

If you're enjoying this article, consider supporting our award-winning journalism by subscribing. By purchasing a subscription you are helping to ensure the future of impactful stories about the discoveries and ideas shaping our world today.


Last month, in his talk “The Neural Aesthetic” at Eyeo Festival in Minneapolis, Kogan reviewed the basic concepts and processes behind inceptionism, style transfer, and other machine learning approaches that involve visual output. And then he upped the ante—and blew my mind—with a series of magical moving pictures. Based on the approach described in "Artistic style transfer for videos," by Manuel Ruder, Alexey Dosovitskiy and Thomas Brox, and their code, Kogan developed a series of style transfer videos rooted in footage he took out the window of New York’s J-train. Here’s a peek at a few excerpts. The first renders the video in the style of Van Gogh’s Starry Night. The second renders it with Google Map imagery.

Kogan notes that he's "fascinated by style transfer in a more general sense—applying a similar technique in the audio domain, on text, or other kinds of media. Style is such an abstract concept to us, which is what makes algorithms inferring it so interesting, even when it's not aesthetically pleasing. If they can capture style, what other kinds of intangible things can they understand?" For more examples of both static and video style transfer, as well as a near real-time style transfer “mirror,” (!) see Kogan’s website

For a few visual explanations of how deep learning works, check out “Unveiling the Hidden Layers of Deep Learning.” Too basic for you? Then move on to Machine Learning for Artists (an in-progress resource from Kogan and Francis Tseng) as well as Kogan’s NYU class notes and videos. For more from the pages of Scientific American, see  “Springtime for AI: The Rise of Deep Learning” by Yoshua Bengio. It’s even better when paired with Bengio’s “Large Scale Machine Learning” video.

Jen Christiansen is an information designer, visual science communicator and author of the book Building Science Graphics: An Illustrated Guide to Communicating Science through Diagrams and Visualizations. She began her publishing career in New York City at Scientific American, moved to Washington, D.C., to join the art department of National Geographic, spent four years as a freelance science communicator and then returned to Scientific American for a second stint, during which she became the magazine’s first graphics-specific art director. In that role, she established a consistent data visualization and diagram philosophy across all articles. She writes and presents on topics ranging from reconciling her love for art and science to her quest to learn more about the pulsar chart on Joy Division’s Unknown Pleasures album cover. Her work can be viewed at www.jenchristiansen.com

More by Jen Christiansen

Subscribe to Support Independent Journalism

Great science journalism requires human expertise, time, effort and creativity. And it costs money. That’s why I and the journalists here at Scientific American hope you’ll join our community.

When you subscribe, you are supporting staff and freelance journalists who are passionate about telling science stories that are true, important and compelling. Our editors and reporters are often experts in their fields, which means they understand the nuances of big discoveries and can untangle the breakthroughs from the hype. With a subscription, you are also supporting rigorous fact-checking to ensure the words we publish are precise and accurate. And you’re supporting original illustrations, graphics and photos that bring you closer to an advanced laboratory, an ice sheet in Antarctica or a space mission in orbit. You’re helping us craft other types of high-quality journalism as well: Our newsletters are carefully written, edited and curated by staffers you have or will come to know and love. Our Science Quickly podcast is based on original reporting, collaboration with editors and scientists and exacting production.

Subscriptions keep this engine running so we can continue to deliver thoughtful, rigorous and independent science journalism to you. In an era of viral misinformation, this work is crucial. If you value what we do, I hope you’ll consider joining us as a subscriber

Thank you,

Jeanna Bryner, Editor in Chief, Scientific American

Subscribe