Cracking the Brain’s Enigma Code

Neuroscientists are taking cues from cryptography to translate brain activity into movements

David MalinGetty Images

Join Our Community of Science Lovers!

During World War II, cryptographers cracked Germany's Enigma code by exploiting known language patterns in the encrypted messages. Using the expected frequencies and distributions of certain letters and words helped British computer scientist Alan Turing and his colleagues find the key to translate gibberish into plain language. Now researchers are borrowing from the world of cryptography to convert brain signals into limb movements.

Many human motions, such as walking or reaching, follow predictable patterns. With this in mind, Eva Dyer, a neuroscientist at the Georgia Institute of Technology and Emory University, developed a cryptography-inspired strategy for neural decoding. She and her colleagues published their results last December in Nature Biomedical Engineering.

“I've heard of this approach before, but this is one of the first studies that's come out and been published,” says Nicholas Hatsopoulos, a neuroscientist at the University of Chicago, who was not involved in the work. “It's pretty novel.”


On supporting science journalism

If you're enjoying this article, consider supporting our award-winning journalism by subscribing. By purchasing a subscription you are helping to ensure the future of impactful stories about the discoveries and ideas shaping our world today.


Existing brain-computer interfaces, such as those that control some prosthetic limbs, typically use algorithms called supervised decoders. These rely on simultaneous recording of both neural activity and moment-by-moment movement details, including limb position and speed—a time-consuming, laborious process. This information is then used to train the decoder to translate neural patterns into their corresponding movements. In cryptography terms, this would be like comparing a number of already decrypted messages with their encrypted versions to reverse engineer the key.

In contrast, Dyer's team sought to predict movements using only the “encrypted messages” (neural activity) and a general understanding of the patterns that pop up in certain movements. The scientists trained three macaques to use arm or wrist movements to guide a cursor to a number of targets on a screen. At the same time, implanted electrodes recorded signals from about 100 neurons in each monkey's motor cortex—a brain region that controls movement. The researchers then tested a slew of computational models to find the one that best mapped patterns buried in the neural activity onto patterns they had seen in the animals' movements.

When the researchers used their best model to decode neural activity from individual trials, they could predict the macaques' actual movements on those trials about as well as some basic supervised decoders. “It's a very cool result,” says Jonathan Kao, a computational neuroscientist at the University of California, Los Angeles, who was not involved in the study.

Dyer calls her work a proof of concept and notes that much more must be done before the technique can be used widely. “By comparison to state-of-the-art decoders, this is not yet a competitive method,” she says. “We've only kind of scratched the surface.”

Helen Shen is a science writer based in Sunnyvale, Calif. She has contributed to Nature, Science and the Boston Globe.

More by Helen Shen
SA Mind Vol 29 Issue 2This article was published with the title “Cracking the Brain's Enigma Code” in SA Mind Vol. 29 No. 2 (), p. 22
doi:10.1038/scientificamericanmind0318-22

It’s Time to Stand Up for Science

If you enjoyed this article, I’d like to ask for your support. Scientific American has served as an advocate for science and industry for 180 years, and right now may be the most critical moment in that two-century history.

I’ve been a Scientific American subscriber since I was 12 years old, and it helped shape the way I look at the world. SciAm always educates and delights me, and inspires a sense of awe for our vast, beautiful universe. I hope it does that for you, too.

If you subscribe to Scientific American, you help ensure that our coverage is centered on meaningful research and discovery; that we have the resources to report on the decisions that threaten labs across the U.S.; and that we support both budding and working scientists at a time when the value of science itself too often goes unrecognized.

In return, you get essential news, captivating podcasts, brilliant infographics, can't-miss newsletters, must-watch videos, challenging games, and the science world's best writing and reporting. You can even gift someone a subscription.

There has never been a more important time for us to stand up and show why science matters. I hope you’ll support us in that mission.

Thank you,

David M. Ewalt, Editor in Chief, Scientific American

Subscribe