Watch a test of EmoNet
Could a computer, at a glance, tell the difference between a joyful image and a depressing one?
Could it distinguish, in a few milliseconds, a romantic comedy from a horror film?
Yes, and so can your brain, according to research published this week by 抖阴旅行射 Boulder neuroscientists.
鈥淢achine learning technology is getting really good at recognizing the content of images鈥攐f deciphering what kind of object it is,鈥 said senior author Tor Wager, who worked on the study while a professor of psychology and neuroscience at 抖阴旅行射 Boulder. 鈥淲e wanted to ask: Could it do the same with emotions? The answer is yes.鈥
Part machine-learning innovation, part human brain-imaging study, the paper, published Wednesday in the journal Science Advances, marks an important step forward in the application of 鈥渘eural networks鈥濃攃omputer systems modeled after the human brain鈥攖o the study of emotion.
It also sheds a new, different light on how and where images are represented in the human brain, suggesting that what we see鈥攅ven briefly鈥攃ould have a greater, more swift impact on our emotions than we might assume.
鈥淎 lot of people assume that humans evaluate their environment in a certain way and emotions follow from specific, ancestrally older brain systems like the limbic system,鈥 said lead author Philip Kragel, a postdoctoral research associate at the Institute of Cognitive Science. 鈥淲e found that the visual cortex itself also plays an important role in the processing and perception of emotion.鈥
The birth of EmoNet
For the study, Kragel started with an existing neural network, called AlexNet, which enables computers to recognize objects. Using prior research that identified stereotypical emotional responses to images, he retooled the network to predict how a person would feel when they see a certain image.
抖阴旅行射 Boulder postdoctoral researcher Philip Kragel. (Credit: Glenn Asakawa/抖阴旅行射 Boulder)
He then 鈥渟howed鈥 the new network, dubbed EmoNet, 25,000 images ranging from erotic photos to nature scenes and asked it to categorize them into 20 categories such as craving, sexual desire, horror, awe and surprise.
EmoNet could accurately and consistently categorize 11 of the emotion types. But it was better at recognizing some than others. For instance, it identified photos that evoke craving or sexual desire with more than 95 percent accuracy. But it had a harder time with more nuanced emotions like confusion, awe and surprise.
Even a simple color elicited a prediction of an emotion: When EmoNet saw a black screen, it registered anxiety. Red conjured craving. Puppies evoked amusement. If there were two of them, it picked romance. 听EmoNet was also able to reliably rate the intensity of images, identifying not only the emotion it might illicit but how strong it might be.
When the researchers showed EmoNet brief movie clips and asked it to categorize them as romantic comedies, action films or horror movies, it got it right three-quarters of the time.
What you see is how you feel
To further test and refine EmoNet, the researchers then brought in 18 human subjects.
As a functional magnetic resonance imaging (fMRI) machine measured their brain activity, they were shown 4-second flashes of 112 images. EmoNet saw the same pictures, essentially serving as the 19th subject.
When activity in the neural network was compared to that in the subjects鈥 brains, the patterns matched up.
鈥淲e found a correspondence between patterns of brain activity in the occipital lobe and units in EmoNet that code for specific emotions. This means that EmoNet learned to represent emotions in a way that is biologically plausible, even though we did not explicitly train it to do so,鈥 said Kragel.
The brain imaging itself also yielded some surprising findings. Even a brief, basic image 鈥 an object or a face 鈥 could ignite emotion-related activity in the visual cortex of the brain. And different kinds of emotions lit up different regions.
鈥淭his shows that emotions are not just add-ons that happen later in different areas of the brain,鈥 said Wager, now a professor at Dartmouth College. 鈥淥ur brains are recognizing them, categorizing them and responding to them very early on.鈥
Ultimately, the resesarchers say, neural networks like EmoNet could be used in technologies to help people digitally screen out negative images or find positive ones. It could also be applied to improve computer-human interactions and help advance emotion research.
The takeaway for now, says Kragel:听
鈥淲hat you see and what your surroundings are can make a big difference in your emotional life.鈥