← Latest papers
💻 computer science

Brain-inspired hierarchical modularity for general continual learning

Inspired by the hierarchical modular organization of the *Drosophila* learning system, this paper proposes a lightweight framework that combines expert specialization and ensemble integration to enable foundation models to effectively learn from online, uncertain, and evolving data streams while significantly outperforming existing replay-free continual learning methods.

Original authors: Liyuan Wang, Hongwei Yan, Kanglei Zhou, Qi Cheng, Weiyi Dong, Chunyan Lan, Guanglong Sun, Jun Zhou, Qian Li, Yi Zhong

Published 2026-11-27
📖 7 min read🧠 Deep dive

Original authors: Liyuan Wang, Hongwei Yan, Kanglei Zhou, Qi Cheng, Weiyi Dong, Chunyan Lan, Guanglong Sun, Jun Zhou, Qian Li, Yi Zhong

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Intelligence, in its most robust form, is not a static library of facts but a living process of adaptation. It is the ability to learn from a new experience, retain what was learned, and then use that knowledge to navigate a future that is slightly different from the past. For decades, artificial intelligence has excelled at learning from vast, pre-assembled collections of data, much like a student memorizing a textbook before a final exam. However, the real world does not offer such clean breaks between lessons. It presents a continuous, unbroken stream of information where old and new experiences mix, where the rules of the game shift without warning, and where the system must decide, in the moment, what to keep and what to discard. This challenge, known as continual learning, asks how a machine can grow smarter over time without forgetting what it already knows or becoming confused by conflicting information.

The core difficulty lies in a tension between two needs. To learn a new skill, a system must be flexible enough to change its internal structure. Yet, to remember an old skill, it must be rigid enough to protect its existing knowledge from being overwritten. In the current state of the art, most artificial intelligence systems struggle with this balance, often suffering from "catastrophic forgetting," where learning a new task causes the system to instantly lose the ability to perform previous ones. Researchers have long looked to the natural world for solutions, observing that biological brains manage this flow of experience with remarkable ease. They do not simply store data; they organize it, separating conflicting memories while weaving compatible ones together into a coherent whole. The question driving this research is whether the specific organizational principles found in nature can be translated into a new kind of artificial intelligence that thrives in the messy, evolving reality of the external world.

A team of researchers at Tsinghua University and Sun Yat-sen University has taken a direct path to answering this question by studying the fruit fly, a tiny insect whose brain is small enough to be mapped in exquisite detail but complex enough to learn and remember. They focused on the fly's olfactory system, the network responsible for smelling and remembering scents. In this system, signals from the nose travel to a central processing hub called the mushroom body. Here, the brain performs a clever trick: it takes the incoming scent signals and expands them into a much larger, sparse representation. This expansion allows the brain to separate similar smells into distinct patterns, preventing them from blurring together. Downstream from this expansion, the brain organizes its memory into different compartments, each specialized for a specific type of memory, ranging from short-term impressions to long-term knowledge.

The researchers, led by Liyuan Wang, realized that this biological architecture offered a blueprint for solving the problem of continual learning in machines. They proposed that an artificial intelligence system should mimic this two-part strategy. First, it needs a mechanism to separate conflicting experiences, ensuring that learning a new concept does not corrupt an old one. Second, it needs a way to integrate compatible experiences, allowing the system to recognize that different situations share a common structure and can be learned together. In the language of computer science, these are known as "mixture-of-experts" and "ensemble learning," but the researchers found that the fruit fly does not use these tools independently. Instead, it coordinates them in a hierarchy, using the expansion of signals to route information to the right specialist, and then combining the outputs of different memory pathways to form a stable, generalizable understanding.

To test this idea, the team built a new framework they call FlyGCL. They started with powerful, pre-trained artificial intelligence models—systems that have already learned a great deal about the world from massive datasets. Rather than retraining these entire systems from scratch, which is computationally expensive and prone to forgetting, they kept the core "brain" of the model frozen and stable. They then added a lightweight, flexible layer on top, inspired by the fly's mushroom body. This layer includes a "router" that directs new information to specific, specialized experts, much like the fly's brain directs scent signals to different memory compartments. It also includes multiple "heads" that process information at different speeds, some focusing on the immediate past and others on the distant past, mimicking the fly's short-term and long-term memory systems.

The researchers put this system to the test in a series of rigorous experiments designed to mimic the uncertainty of the real world. They did not give the system clear instructions about when one task ended and another began. Instead, they fed it a continuous, blurry stream of data where new and old concepts were mixed together, just as they are in daily life. They tested the system on a wide variety of challenges, from recognizing images of birds and cars to understanding complex videos of human activities and even controlling a robot arm to manipulate objects based on language instructions. In every scenario, the system had to learn new things while holding onto the old, without any external help or a memory bank of past examples to review.

The results were striking. In the task of recognizing visual objects, FlyGCL consistently outperformed the best existing methods, maintaining high accuracy even as the data became more complex and overlapping. When tested on vision-language tasks, where the system had to understand the relationship between images and text, it preserved the delicate connections between words and pictures far better than its competitors. The most dramatic success, however, came in the realm of embodied learning. When tasked with learning to manipulate objects in a simulated environment, FlyGCL achieved success rates that were nearly 50 percentage points higher than the strongest alternative methods that did not use memory replay. For instance, in tasks requiring the robot to pick up specific items or follow complex instructions over long sequences, the new system succeeded in over 90% of attempts, while other methods often failed completely after learning just a few new tasks.

The study suggests that the key to this success was not just having specialized experts or having multiple memory speeds, but in how they were organized together. The researchers found that using one without the other led to significant drops in performance. The hierarchical coordination allowed the system to separate conflicting information effectively while still integrating compatible knowledge, creating a robust learning process that could adapt to changing conditions without losing its core identity. By grounding their design in the biological principles of the fruit fly, the researchers demonstrated that the solutions to some of the most difficult problems in artificial intelligence may already exist in the natural world, waiting to be discovered and adapted.

This work does not claim to have solved all the mysteries of machine learning, nor does it suggest that fruit flies are the only source of inspiration for intelligent systems. The researchers acknowledge that their model captures the overall organization of the fly's learning system but leaves out finer details of how the brain consolidates memories or how it uses chemical signals to modulate learning. Furthermore, the current implementation relies on stable pre-trained models, and it remains an open question how these principles might apply if the foundational representations themselves were to evolve continuously. However, the findings provide a strong, biologically grounded principle for organizing learning in dynamic environments. They show that by separating conflicting experiences and integrating compatible ones through a hierarchical structure, artificial systems can move closer to the kind of flexible, enduring intelligence that characterizes living organisms. As the field of artificial intelligence moves toward agents that must operate in the open, unstructured world, this approach offers a promising path forward, suggesting that the future of learning may lie not in building bigger databases, but in organizing knowledge more like a brain.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →