MIT’s Nightmare Machine uses AI to make ordinary photos skin crawling

In “Playtest,” a recent episode of Charlie Brooker’s superb show Black Mirror, audiences got a glimpse at how the future of horror might look in a world of advanced neural networks and augmented reality. As with everything about Black Mirror, the world the episode portrays is a near-future dystopia, in which the technology is recognizable, but ever-so-slightly out of reach.

It may be a bit closer than you think, though, based on a new machine learning project coming out of MIT, bearing a name from Charlie Brooker’s twisted imagination. In short, MIT’s “Nightmare Machine” uses cutting-edge deep learning technology to conjure up images designed to scare the bejesus out of us.

And not only could it tell us more about how we get scared, but our fear is helping train it to become scarier all the time!

“We use state-of-the-art deep learning algorithms to learn how haunted houses, or toxic cities look like. Then we apply the learned style to famous landmarks.”

“There have been a rising number of intellectuals, including Elon Musk and Stephen Hawking, raising alarms about the potential threat of superintelligent AI on humanity,” researcher Pinar Yanardag Delul, a Ph.D. student at MIT’s Media Lab, told Digital Trends. “In the spirit of Halloween and following the traditional MIT hack culture, we wanted to playfully commemorate humanity’s fear of AI, which is a growing theme in popular culture.”

In a sense, the Nightmare Machine is an extension of Google’s Deep Dream art generation tool. Deep Dream, for those unfamiliar with it, played on a funny quirk of Google’s image classification algorithms: the tools which let Google Images recognize, say, chair in unlabelled pictures of chairs. Taking advantage of what Google called “training mishaps” Deep Dream used its pattern recognition abilities to start accentuating details found in pictures. The results were gloriously surreal: skies filled with imagined birds, trees transformed into ornate buildings, and empty oceans becoming alien cityscapes.

MIT’s Nightmare Machine is the sinister flip side to Deep Dream; the AI equivalent of taking two identical twins and raising one as a perfect child (Google’s project), while locking the other away in the attic with a bucket of fish heads to eat (MIT’s project.)

“We use state-of-the-art deep learning algorithms to learn how haunted houses, or toxic cities look like,” Delul continued. “Then, we apply the learned style to famous landmarks, and it is surprising how well the algorithm is able to extract the element from the haunted templates and plant it into the landmarks. Most of the outcomes are indeed quite scary.”

As with any good horror movie mad scientist, of course, the researchers didn’t didn’t stop there. Human testing was called for. “We [observed some] interesting outcomes,” Dr. Manuel Cebrian, Principal Research Scientist, told Digital Trends. “Say we train a neural network on places, like a haunted house, and apply it to a person or group of people. The result is equally haunting!”

“Our research group’s main goal is to understand the barriers between human and machine cooperation.”

By applying the Nightmare Machine neural network to any image they could think of, suddenly nothing was off limit. An image from one of the recent U.S. presidential debates (pretty haunting to begin with!) suddenly morphed into two skeletons insulting one another on-stage. A couch gag from The Simpsons looked like a spooky apparition from a J-horror movie, and countless user portraits were defiled to look like the kind of selfies George Romero’s zombies might snap with the leftover smartphones following an undead apocalypse.

(For a closer look, check out the handy Instagram account the researchers set up to show off their ghoulish creations.)

“For now, this is just a fun experiment, in the spirit of Halloween, to explore a new way which machines can scare us in the more visceral sense,” Dr. Cebrian continued. “We are, however, asking people to vote on what they find scary. So far we have collected over 100,000 individual evaluations of our fully computer-generated images.”

This is where the human factor comes into play. After all, a neural network can do all the Deep Dreaming it wants, but it takes a human to have nightmares. In this case, by ranking how scary you find the images the Nightmare Machine generates, it can hone its abilities to scare us even more.

“Interesting to note, the generated faces are equally creepy from the AI’s point of view, but people find some of them quite scary, while others not so much,” Delul said. “That reveals that there is extra information in how human perceive horror that can be exploited to make even scarier faces as you suggest. Maybe in the future, we can [even] generate ‘personalized’ horror images were we to tailor the generation process to [an individual’s] data.”

And we’re back where we started with Black Mirror’s “Playtest” episode!

“Maybe this technology is closer to than we think,” Iyad Rahwan, Associate Professor at MIT Media Lab, told us. “Our research group’s main goal is to understand the barriers between human and machine cooperation. Psychological perceptions of what makes humans tick and what make machines tick are important barrier for such cooperation to emerge. This project tries to shed some light on that front — of course in a goofy, hackerish, Halloween manner.”

We’re blaming you if we can’t sleep tonight, MIT! We hope you’re proud of yourselves…


Car parts maker ZF is using drones to deliver components to its factories

ZF recently became the first entity in Germany to receive approval to use drones to deliver spare parts, and the company now uses them to deliver parts from its central warehouses to its workshops.

Google’s Gboard now uses A.I. to recommend GIFs based on your conversation

Google is bringing a new feature to Gboard that should make it better for those that regularly use GIFs and stickers. The feature essentially uses A.I. to recommend GIFs and stickers based on your conversation.
Movies & TV

The best shows on Netflix, from 'The Haunting of Hill House’ to ‘The Good Place’

Looking for a new show to binge? Lucky for you, we've curated a list of the best shows on Netflix, whether you're a fan of outlandish anime, dramatic period pieces, or shows that leave you questioning what lies beyond.
Home Theater

The best movies on Netflix in November, from 'The Witch’ to ‘Dracula’

Save yourself from hours wasted scrolling through Netflix's massive library by checking out our picks for the streamer's best movies available right now, whether you're into explosive action, witty humor, or anything else.
Emerging Tech

Alibaba’s Singles’ Day sale smashes online shopping records

The annual online shopping frenzy that is Singles' Day this year raked in $30.8 billion, up from $25 billion last time around. The Alibaba-organized event generates more in sales than Black Friday and Cyber Monday combined.
Emerging Tech

Watch this lab-grown heart tissue beat just like the real thing

A team of researchers in Germany have used stem cells to create a lab-grown human heart tissue which actually beats, as well as responding to drugs in the same way as the real thing.
Emerging Tech

Michigan’s former transportation chief has some advice for wannabe smart cities

After 31 years as Michigan’s transportation director, Kirk Steudle has seen it all, particularly with smart city projects. He spoke with Digital Trends recently about what makes smart cities work, and offers advice along the way.
Emerging Tech

Shipping crate filled with 3D-printing robots may be the future of construction

Autodesk has created a robot-filled shipping container which may represent the future of construction work. The crate contains two robots able to 3D print custom components for building sites.
Emerging Tech

Sticking these tiny needles in your eye may help fight blindness

An eye patch covered in tiny needles sounds like a torture device. In fact, it's a potential new medical treatment for eye diseases like glaucoma and macular degeneration. Here's how it works.
Emerging Tech

Bottle-flipping robots may be the most millennial thing we’ve ever seen

Until drones start vaping, you're unlikely to see anything more millennial than a recent contest in Japan in which robots competed to pull off some seriously impressive bottle-flipping feats.
Emerging Tech

New simulation shows how Elon Musk’s internet satellite network might work

Elon Musk has the dream of building a network for conveying internet traffic via thousands of satellites. A new simulation created by a computer scientist looks at how feasible the idea is.
Emerging Tech

Meet the 4K selfie drone that folds like a book, follows you like a paparrazzo

Having a drone that could follow you everywhere while taking high-quality images without crashing has been a flight of fantasy. With ZeroZero's Hover 2, not only can you have a fully autonomous 4K selfie drone, you can have it for $400.
Emerging Tech

These Alexa-stuffed retro phones don’t listen until you take them off the hook

Looking for an Amazon Echo with a cool vintage touch? Los Angeles-based Grain Design is taking old, non-working antique phones and transforming them into amazing Alexa smart speakers.
Smart Home

This alarm clock uses targeted light and sound to wake you, but not your partner

The Wake v2 isn't like your typical bedside alarm. Instead, it wakes you by shining a soft light directly into your face, thereby not disturbing the person sharing a bed with you. Pretty smart, huh?