top of page

Watching Your Nightmares

How AI is turning our sleep into cinema



Imagine waking up from a particularly vivid dream — one where you were flying over a city made of glass or talking to a long-lost friend — only to have the details evaporate the moment your feet touch the cold bedroom floor. For as long as humans have existed, our dreams have been the ultimate private cinema, a theatre with an audience of one. We have spent centuries trying to describe, paint, or analyse them on a therapist’s sofa, but the actual footage has always remained locked inside our skulls. However, thanks to a marriage between neuroscience and artificial intelligence, we are finally beginning to crack the code of the sleeping mind, and the view from the other side is as haunting as it is fascinating.


The breakthrough comes from the realisation that when we see something in the real world, our brain processes the information in a very specific, measurable way. When you look at a red London bus or a golden retriever, blood flows to specific regions of your visual cortex in a distinct pattern. Researchers, most notably at Kyoto University in Japan, decided to see if an AI could learn this ‘language’ of blood flow. They placed volunteers inside fMRI scanners — large, doughnut-shaped machines that track brain activity — and showed them thousands of images, ranging from simple letters to complex photographs of aeroplanes and owls. As the subjects looked at these pictures, the AI watched their brains, learning to associate specific neural flickers with specific shapes and colours. It was essentially building a dictionary: one side was ‘human brain activity,’ and the other was ‘visual reality.’


Once the AI was sufficiently trained, the real experiment began. The subjects were told to fall asleep inside the scanner. This was no easy feat, given the machine's mechanical whirring, but as they drifted into the early stages of sleep — a state known as hypnagogia — the AI remained vigilant. It was not just waiting for the person to wake up and report their dreams; it was attempting to livestream them. By examining the patterns of blood flow in the sleeping brain and comparing them to the dictionary it had built during waking hours, the AI attempted to reverse-engineer what the dreamer was seeing.


The results are nothing short of surreal. We are not yet at the stage of watching high-definition, 4K ‘dream movies’ with crisp edges and clear dialogue. Instead, the AI produces what can only be described as digital ghosts. If the dreamer sees a dog, the AI might generate a morphing, multi-limbed shape resembling a cross between a golden retriever and a cloud. If they are dreaming of a person, a hazy, impressionistic face might shimmer into view. These images are often blurry, shifting, and strangely beautiful, resembling a watercolour painting that refuses to dry. In one instance, when a brain pattern resembled a man and a dog, the AI generated a bizarre, unsettling hybrid — a ‘dog-man’ that would look right at home in a Victorian ghost story.


Despite the low resolution, the accuracy is startling. The AI is remarkably good at identifying the category of the dream. It can tell with a high degree of certainty whether you are dreaming about a building, a piece of furniture, a man, or a woman. We have effectively moved from guessing what happens behind closed doors to actually peering through the keyhole. It is a milestone that feels like the ‘silent film’ era of neuroscience; we are watching the first glimmering, grainy frames of a technology that will only become more lucid with time.


While the prospect of recording our dreams is exhilarating for artists and psychologists, it also carries a hint of the ‘nightmare’ suggested by the title. The inner sanctum of the mind — the last place on Earth where we have total, unadulterated privacy — is being mapped. We are learning to translate the soul's private language into something that can be played back on a screen. As technology evolves, we may eventually have to ask ourselves: once we can record our dreams, will we ever truly be alone with our thoughts again?


Illustration by Isabelle Holloway



Comments


bottom of page