TL;DR
FlyGCL introduces a brain-inspired hierarchical modular framework for general continual learning under realistic, unpredictable data streams. By mimicking the Drosophila (fruit fly) olfactory system, the method combines mixture-of-experts routing with multi-timescale ensemble learning to separate conflicting experiences and integrate compatible ones. This approach yields massive performance leaps over standard replay-free methods, particularly in embodied robotic manipulation tasks.
What Problem Does This Paper Address?
Artificial intelligence models excel at learning from static, neatly curated datasets. However, when deployed in the real world, they face General Continual Learning (GCL)—an environment where data arrives as an online, non-stationary, and "blurry" stream without clear task boundaries or explicit task labels.
Under these conditions, standard neural networks suffer from catastrophic forgetting (overwriting old knowledge with new data) or a loss of plasticity (becoming too rigid to learn new things). The fundamental challenge of GCL is balancing two opposing forces:
- Separation: Conflicting experiences must be isolated to prevent interference and forgetting.
- Integration: Compatible experiences must be merged to exploit shared structures and promote generalization.
Existing machine learning techniques usually tackle these forces in isolation using either Mixture-of-Experts (MoE) for separation or Ensemble Learning (EL) for integration. Directly combining them is notoriously difficult because their structural goals conflict.
Methods
To resolve this tension, the authors look to biology—specifically, the olfactory learning and memory system of the fruit fly (Drosophila melanogaster).
The resulting framework, FlyGCL, implements a three-level hierarchical architecture downstream of a stable, frozen pretrained foundation model:
- Sparse Random Expansion: Inspired by how the fly's projection neurons expand sensory signals into thousands of Kenyon cells, FlyGCL projects the foundation model's latent features into a high-dimensional space using a fixed random matrix and a non-linear activation function. This enhances pattern separation.
- Analytic Expert Routing (MoE-like): Instead of using slow, iterative gradient descent to train a routing network (which fails in fast online streams), FlyGCL uses a closed-form ridge regression solution. This analytic router instantly assigns incoming data to specialized spatial experts based on accumulated feature statistics.
- Temporal Ensemble Integration (EL-like): Within each expert, FlyGCL maintains multiple output heads operating at different timescales via varying Exponential Moving Average (EMA) decay rates. Fast-updating heads capture immediate, short-term changes, while slow-updating heads preserve stable, long-term decision boundaries.
Datasets
The authors evaluated FlyGCL across four distinct, challenging domains under online, blurry stream configurations:
- Visual Recognition: CIFAR-100, ImageNet-R (distribution-shifted concepts), and CUB-200 (fine-grained bird categories).
- Vision-Language Learning: CLIP-based classification benchmarks on CIFAR-100 and ImageNet-R.
- Ego-Exo Video Understanding: EgoExoLearn and EgoExo-Fitness, which require models to connect first-person (egocentric) and third-person (exocentric) video perspectives of human activities.
- Embodied Vision-Language-Action Learning: The LIBERO robotic manipulation benchmark suite, including its Spatial, Object, Goal, and Long-horizon task variations.
Key Insights and Ideas
- The Fly's Hierarchical Blueprint: The core "aha moment" is that the fruit fly's mushroom body doesn't just separate patterns or store memories; it coordinates both functions hierarchically. It uses spatial compartmentalization to separate distinct distributions and distinct lobes to handle short-, mid-, and long-term memory timescales.
- Pretraining Minimizes the Coordination Cost: The authors provide a rigorous theoretical risk decomposition showing that combining MoE and EL introduces a "coordination cost" (the penalty of making imperfect routing decisions). Crucially, they prove mathematically that utilizing a stable, semantically organized pretrained backbone minimizes this penalty, making hierarchical modularity highly robust.
- Closed-Form Efficiency: Replacing gradient-based routing with closed-form ridge regression removes the instability of online router optimization, making it perfectly suited for single-pass data streams.
Key Results
FlyGCL consistently outperformed state-of-the-art continual learning baselines (such as L2P, DualPrompt, CODA-Prompt, and MISA) across all benchmarks without requiring a data replay buffer.
- Robotic Manipulation (LIBERO): The most dramatic results occurred in embodied learning. On the LIBERO-Spatial and LIBERO-Object suites, FlyGCL achieved final success rates of 83.1% and 86.1%, respectively—outperforming the strongest replay-free baselines by 49.5 to 58.8 percentage points.
- Visual Recognition: FlyGCL achieved an anytime accuracy (AUC) improvement of up to 13.8% on ImageNet-R and 12.6% on CUB-200 compared to competing methods.
- Cross-Modal Stability: In vision-language tasks, representation analysis showed that FlyGCL successfully adapted to new visual concepts while tightly preserving the original, pretrained image-text semantic alignment space.
Limitations and Future Work
While FlyGCL represents a major step forward, the authors note several limitations that pave the way for future research:
- Simplified Biology: The model abstracts away complex biological features like richer neuromodulatory dynamics (e.g., dopamine/serotonin interactions) and behavioral feedback loops.
- Passive Learning: The current framework operates on a predetermined data stream. It does not yet incorporate active exploration or dynamic resource allocation, which are essential for truly open-ended, autonomous agents.
- Lightweight Plasticity: Plasticity is currently restricted to lightweight parameter-efficient modules (like LoRA or adapters). Extending this hierarchical coordination to deeper, structural updates within massive foundation models remains an open challenge.
Summary updated