Why AI's Next Big Leap in Smell Comes From the Fruit Fly
Artificial intelligence has mastered how to see the world and how to hear it, but teaching a machine how to smell has proven to be a surprisingly stubborn...

Artificial intelligence has mastered how to see the world and how to hear it, but teaching a machine how to smell has proven to be a surprisingly stubborn challenge. The core issue isn't just engineering sensors that can detect chemicals in the air; it's getting the underlying software to remember them.
Today's most advanced "electronic noses" suffer from a severe case of amnesia. In the field of machine learning, this phenomenon is known as "catastrophic forgetting." The moment an electronic nose is trained to recognize a new scent—say, a specific industrial chemical leak—it tends to overwrite its memory of the previous odors it learned. Add to this the fact that current e-noses are notoriously expensive and highly limited in the spectrum of odors they can detect, and it becomes clear why AI olfactory technology has lagged so far behind computer vision and speech recognition.
Looking for a permanent fix to this memory wipe issue, researchers Kevin Max and Yang Shen at the Okinawa Institute of Science and Technology (OIST) turned to an unlikely hero: the common fruit fly (Drosophila).
While fruit flies are often dismissed as summer pests prone to drowning in unattended wine glasses, their olfactory system is an evolutionary marvel. With a brain smaller than a single poppy seed and containing only about 140,000 neurons, a fruit fly can instantly sort through a massive array of scents and, crucially, retain those memories long-term without confusing them with new smells.
By mimicking this highly efficient biological architecture, the researchers developed a new algorithm called "Spi-Fly," recently detailed in the journal Neuromorphic Computing and Engineering. Unlike traditional AI models that struggle to compartmentalize new data without erasing the old, Spi-Fly replicates the fruit fly’s neural pathways. This allows electronic noses to continuously learn and catalogue new smells sequentially, preserving old scent profiles just as a living creature would.
Solving the catastrophic forgetting problem is a monumental step for neuromorphic computing—a field dedicated to designing hardware and software that mimic the human (or in this case, insect) brain. The implications of the Spi-Fly algorithm stretch far beyond the laboratory.
In the near future, an electronic nose equipped with this bio-inspired algorithm could revolutionize multiple industries. It could be deployed in medical clinics to "sniff out" metabolic diseases from a patient's breath, used in environmental monitoring to detect complex, evolving airborne pollutants, or integrated into smart food safety systems to instantly identify spoilage before it reaches consumers. Sometimes, building the most advanced technological solutions requires us to look closely at the smallest, most easily overlooked creatures around us.
Key Points
- Current AI 'electronic noses' suffer from catastrophic forgetting, erasing old scent memories when learning new ones.
- Fruit flies, despite having only 140,000 neurons, can instantly process and permanently remember a vast array of smells.
- OIST researchers created the 'Spi-Fly' algorithm based on the fruit fly's brain to solve AI's olfactory memory problem.
- This neuromorphic breakthrough allows e-noses to learn smells sequentially, opening doors for advanced medical, environmental, and safety applications.
Why It Matters
By solving the memory limitations of electronic noses, the Spi-Fly algorithm paves the way for affordable, continuous-learning sensors that could detect diseases, pollution, and food spoilage in real-time.
Sources:
- Just like a fruit fly, a new algorithm never forgets old scents — Ars Technica AI
更多专栏

Your Next Coworker is a Blob That Orders Burritos
For decades, enterprise software has been synonymous with sterile dashboards, en...

The Midnight Bill: Why AI Agents Demand Hard Budget Caps
The dream of artificial intelligence is to have a tireless digital assistant wor...

Beyond Transformers: How Mamba is Rewriting the Rules of AI Memory
Think about how a human reads a sprawling, thousand-page fantasy series. You don...