Artificial intelligence can do a lot of things these days – from identifying people with depression by scanning their Instagram posts to almost accurately predicting which embryos will result in IVF success.
But when it comes to nude art, this particular AI has a lot to learn.
Here are some AI generated nude portraits I've been working on🍑
Usually the machine just paints people as blobs of flesh with tendrils and limbs randomly growing out – I think it's really surreal. I wonder if that's how machines see us… pic.twitter.com/tYgzCHGfse
— Robbie Barrat (@DrBeef_) March 27, 2018
Trained by Robbie Barrat, who is from West Virginia and is currently working in a research lab at Stanford University, the AI was meant to produce classical-style nude paintings but what it delivered was unnerving and borderline creepy.
But it was also intriguing at the same time.
Mr Barrat used what is called the Progressive Growing of GANs (generative adversarial network) to enable AI to create the images.
the AI *always* paints heads and faces the same way; with this weird yellow/purple texture. Have no idea why, but I like it. pic.twitter.com/aq8W6GEZUC
— Robbie Barrat (@DrBeef_) March 27, 2018
He said: “The basic idea in terms of how it works is that there are two neural networks, the generator and the discriminator, which make up the GAN.
“The generator tries to generate paintings that fool the discriminator, and the discriminator tries to learn how to tell the difference between ‘fake’ paintings that the generator feeds it and real paintings from the dataset of nude portraits.
The same woman in two different poses. pic.twitter.com/H1D2zsZqfE
— Robbie Barrat (@DrBeef_) March 27, 2018
“The two components are always trying to fool each other, and as time goes on, the generator gets better and better at making new paintings, and the discriminator gets better and better at spotting generated paintings.”
Based on this method, the AI should have mastered classical painting so why do the pieces look so, er, unsettling?
Some more nude portraits where the subjects are standing up straight and not total blobs. pic.twitter.com/bGYOO01hGn
— Robbie Barrat (@DrBeef_) March 27, 2018
Mr Barrat said: “What happened with the nude portraits is that the generator figured it could just feed the discriminator blobs of flesh, and the discriminator wasn’t able to tell the difference between strange blobs of flesh and humans, so since the generator could consistently fool the discriminator by painting these strange forms of flesh instead of realistic nude portraits.”
Wow okay so; remember how earlier I said my landscape painting neural net kept generating darker and murkier paintings as it trained more?
After letting it train for a few more days the exact opposite is true.
It's painting with such bright colours; borderline psychedelic now. pic.twitter.com/AnMho3ocre
— Robbie Barrat (@DrBeef_) April 1, 2018
The results may be jarring, but it certainly caught the attention of Twitter.
Can you get oil-painting-replica prints of these?
Like, in a really large size?
Asking for a friend.
— Aaron S. Weber (@Short_epics) March 29, 2018
this is the most uncanny valley thing i've ever seen
— Phanta (@phantamanta44) March 30, 2018
I’m fascinated yet wildly uncomfortable 😂
— ﻬ ✨🦄 (@unic0rnucopia) March 29, 2018
The machine it's dreaming. Not fully awake yet.
— Jim Flanagan (@jimflanagan) March 28, 2018
While perfecting the nude art may seem a long way off, Mr Barrat’s AI appeared to fare better with landscapes.
These are sampled from all around the latent space of landscapes, too – nearly all of the paintings it makes are super saturated and bright like these.
Not sure why it decided to switch away from the darker stuff it was making, but I'm not complaining 😁 pic.twitter.com/hNe4fLg0c0
— Robbie Barrat (@DrBeef_) April 1, 2018
However, he believes AI replicating “human” art isn’t as exciting as generating surreal paintings.
He said: “AI can already make some art that would pass as ‘human-made’, but I think that’s quite boring.
Dreaming about the latent space of flesh 💭🥩 pic.twitter.com/xWCS5Op5ls
— Robbie Barrat (@DrBeef_) April 1, 2018
“If the AI I trained learned how to make realistic nude portraits it wouldn’t be as exciting as the surreal bags of meat it paints, because everyone has already seen so many regular nude portraits before.
“I want to use AI to make its own new and original things, not just get AI to mimic things that people were making in the 1600s.”