New Issue: Orbital Catastrophe Ahead? Read Now

Insect Brain System Knows What You Want

Computer scientists borrowed insights from the fruit fly brain to create a more accurate search algorithm. Christopher Intagliata reports.

Illustration of a Bohr atom model spinning around the words Science Quickly with various science and medicine related icons around the text

Join Our Community of Science Lovers!

The goal for a lot of tech companies today: figure out what you, their customer, want next, before you even ask. It's driven by something called similarity search.

"If you go to YouTube and you watch a video they're going to suggest similar videos to the one you're watching. That's similarity search. If you go to Amazon and look for similar products to the one you're going to buy, that's similarity search."

Saket Navlakha, a computer scientist at the Salk Institute. He says we do similarity searches, too, for example, when we scan faces in a crowd for the one we know. And even fruit files do a version, related to smell:


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.


"So the fly is having to solve a similar problem, of kind of searching through its database of previous experiences and previous odors it has smelled, to determine what should be the most appropriate behavioral response to that odor."

But flies tag incoming odors differently from the way modern search algorithms parse similarity. A small group of neurons makes an initial evaluation of the smell. Then a much larger set of neurons is activated to make a final decision about the smell. Rather than the way a computer similarity search does it, taking something with many dimensions, and simplifying it down to a few.

So Navlakha and his colleagues tweaked computer similarity search functions to do it fly style. And then pitted the fly-inspired algorithms against conventional ones. And the biologically inspired code won out, better at telling "like" from "unlike" on an image-similarity test.

"You know evolution figured it out, it figured out a very elegant solution to this very important problem." The report is in the journal Science. [Sanjoy Dasgupta et al., A neural algorithm for a fundamental computing problem]

Navlakha says he and his team are looking to partner with tech companies now, in hopes of endowing machines with the time-tested problem-solving abilities of the brain. Even if it’s a fruit fly brain.

—Christopher Intagliata

[The above text is a transcript of this podcast.]

Subscribe to Support Independent Journalism

Great science journalism requires human expertise, time, effort and creativity. And it costs money. That’s why I and the journalists here at Scientific American hope you’ll join our community.

When you subscribe, you are supporting staff and freelance journalists who are passionate about telling science stories that are true, important and compelling. Our editors and reporters are often experts in their fields, which means they understand the nuances of big discoveries and can untangle the breakthroughs from the hype. With a subscription, you are also supporting rigorous fact-checking to ensure the words we publish are precise and accurate. And you’re supporting original illustrations, graphics and photos that bring you closer to an advanced laboratory, an ice sheet in Antarctica or a space mission in orbit. You’re helping us craft other types of high-quality journalism as well: Our newsletters are carefully written, edited and curated by staffers you have or will come to know and love. Our Science Quickly podcast is based on original reporting, collaboration with editors and scientists and exacting production.

Subscriptions keep this engine running so we can continue to deliver thoughtful, rigorous and independent science journalism to you. In an era of viral misinformation, this work is crucial. If you value what we do, I hope you’ll consider joining us as a subscriber

Thank you,

Jeanna Bryner, Editor in Chief, Scientific American

Subscribe