Borrowing Nature's Code

Algorithms inspired by Mother Nature help us run our vast digital biosphere

Join Our Community of Science Lovers!

AS COMPUTER SCIENTISTS try and figure out how to manage an increasingly complex digital world, they are increasingly turning for inspiration to Mother Nature. “Life runs on sunlight and information,” says Janine Benyus, president of the Biomimicry Institute in Missoula, Mont. A species is constantly evolving to find the optimal way to survive in a particular habitat. “Organisms really do lend themselves to people looking for novel ways to solve information-processing problems,” she says.

Dendritic cells, for instance, would seem at first glance to have nothing to do with computer security. But these cells are Paul Reveres of the mammalian immune system, sounding the alarm on invading pathogens. Computer scientist Julie Greensmith of the University of Nottingham in England designed a “dendritic cell algorithm” that detects computer viruses and other malicious code in the same way that our immune systems sense real viruses.

Ants and other social insects have inspired another team of cybersecurity researchers, at Pacific Northwest National Laboratory in Richland, Wash. They have created “digital ants” that can roam a computer network the same way that real ants patrol a nest and quickly swarm around any perceived threat.


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.


Such “bioinspired” algorithms are as old as Turing machines and other classical models of computation, says Melanie Mitchell, a computer scientist at Portland State University. But in a Web-connected world increasingly saturated by “Big Data”—hundreds of exabytes of information are generated every year—code based on nature may be the best way to deal with the load. “There's a huge amount of interest in new collaborations between biological and computer sciences because people are realizing that computation goes beyond what we call ‘computers,’” Mitchell explains. “One of the main things that all these biological systems do so well is pattern recognition—pulling signal out of the noise even when they're inundated with information. Brains do it, individual cells do it, insect colonies do it—that's what all biological systems do in order to live. And we'd like computers to do that, too.”

John Pavlus is a writer and filmmaker focusing on science, technology and design. His work has appeared in Bloomberg Businessweek, MIT Technology Review, and The Best American Science and Nature Writing series. He lives in Portland, Ore.

More by John Pavlus
Scientific American Magazine Vol 303 Issue 6This article was published with the title “Borrowing Nature's Code” in Scientific American Magazine Vol. 303 No. 6 (), p. 49
doi:10.1038/scientificamerican1210-49

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