A new website lets users click through an endless library of fake human faces created by artificial intelligence. Called ThisPersonDoesNotExist.com, the results are startlingly lifelike and may make you question what's real and what isn't.

Every time a user refreshes their browser, the site spits out a randomly generated face, spanning from older men and women to even children. A few images may appear glitchy or blurred in some areas, but most would make you think the subject is a real human being.
Philip Wang, a software engineer at Uber, said he built the website using research first released by chipmaker Nvidia last year. Nvidia researchers built an algorithm using a neural network called General Adversarial Networks (GAN) that's able to create customized and realistic looking faces.

GANs are able to learn from large sets of data to look for patterns and produce new data. They supplied it with 7,000 images of human faces from Flickr. It learned by starting with low-resolution images and recognizing more and more details as the resolution of each image increases, according to Lyrn.ai.
In the case of Nvidia's algorithm, called StyleGAN, it's trained to generate random human faces, but the software is able to randomly generate any number of things, ranging from fake animals, anime characters and fonts, to even fake documents.
Wang explained in a Facebook post: 'Faces are most salient to our cognition so I've decided to put that specific pretrained model up… Each time you refresh the site, the network will generate a new facial image from scratch from a 512 dimensional vector.'
In all, the process takes only a matter of seconds before a seemingly real, yet fake face appears before the viewer.
'Most people do not understand how good AIs will be at synthesizing images in the future,' Wang told Motherboard.
A video explains in further detail how Nvidia's StyleGAN is able to generate fake human faces on demand.
'Our generator thinks of an image as a collection of "styles," where each style controls the effects at a particular scale,' Nvidia researchers explained.
These three categories include coarse styles, or the subject's pose, hair and face shape; middle styles, or their facial features and eyes; as well as fine styles, which includes the color scheme.

In the image, the top row are the only legitimate photographs of real people, the rest have been computer generated. The AI uses various traits to create randomly generated people
The researchers said: 'We can choose the strength to which each style is applied, with respect to an "average face". By selecting the strength appropriately, we can get good images out every time (with slightly reduced variation.)'
While ThisPersonDoesNotExist.com and Nvidia's research showcase the impressive abilities of AI, they also undoubtedly raise questions about the tech's possible implications. For example, GANs have been used to create 'deep fakes,' or artificially manipulated videos that use AI to swap celebrity faces onto porn star bodies.
The same technology has also been used to create digitally-altered videos of world leaders, including former President Barack Obama and Russian president Vladimir Putin.
'The idea that someone could put another person's face on an individual's body would be like a homerun for anyone who wants to interfere in a political process. This is now going to be the new reality, surely by 2020, but potentially as early as this year,' Virginia senator Mark Warner, who has led a crackdown on political ads on social media platforms, told CBS.
Extracted from: www.dailymail.co.uk