Fly-CL: A Fly-Inspired Framework for Enhancing Efficient Decorrelation and Reduced Training Time in Pre-trained Model-based Continual Representation Learning

Heming Zou, Yunliang Zang, Wutong Xu, Xiangyang Ji

Continual Learning (CL) requires AI models to learn new tasks sequentially without suffering from "catastrophic forgetting"—the tendency to overwrite previously learned information. A popular modern approach to this challenge uses a frozen, pre-trained backbone (like a Vision Transformer) and treats the learning of new classes as a similarity-matching problem using "class prototypes."

However, directly leveraging pre-trained features for downstream tasks introduces a significant bottleneck: multicollinearity.

The Multicollinearity Problem

When using pre-trained models, extracted features often cluster together in a dominant direction. This clustering leads to highly correlated class prototypes and ambiguous decision boundaries, making it difficult for the model to distinguish between new, subtly different classes.

Correlation matrices showing feature decorrelation across processing stages.

While some existing methods attempt to "decorrelate" these features, they typically rely on computationally heavy operations. This makes them prohibitively slow and unsuitable for real-time, low-latency applications like edge computing or robotics.

A Bio-Inspired Solution: Fly-CL

To solve this, researchers looked to nature—specifically, the fruit fly's olfactory circuit, which evolved to distinguish complex odors with minimal energy and time. The resulting framework, Fly-CL, emulates the fly's three-stage information processing system to organize high-dimensional AI embeddings efficiently.

The Fly-CL architecture pipeline.

The Fly-CL methodology breaks down into three core biologically-inspired steps:

  1. Sparse Random Projection (Expansion): Inspired by the neural expansion from Projection Neurons to Kenyon Cells in the fly brain, Fly-CL projects low-dimensional pre-trained features into a vastly higher-dimensional space (e.g., 10,000 dimensions) using a fixed, sparse random matrix. This dramatically enhances linear separability.
  2. Top-k Sparsification (Lateral Inhibition): Mimicking the fly's "winner-take-all" neural inhibition, the model retains only the $k$ largest activation values, zeroing out the rest. This suppresses noise and further decorrelates the representations, turning dense $O(n^3)$ mathematical problems into much lighter, faster operations.
  3. Streaming Ridge Classification (Output): To simulate the final output neurons, the authors utilize a biologically plausible Hebbian learning rule. The paper provides an elegant theoretical proof showing that this simple three-factor Hebbian rule (strengthening, error-correction, and decay) mathematically converges to formal Ridge Classification. To maintain speed, they implement an online version using Generalized Cross-Validation (GCV) to automatically select the best regularization parameters on the fly, avoiding slow hyperparameter grid searches.

Key Results and Performance

The framework was rigorously evaluated across five diverse benchmarks, including CIFAR-100, CUB-200-2011, VTAB, and robustness datasets like ImageNet-R and ImageNet-A.

Fly-CL demonstrated remarkable improvements in both speed and accuracy:

  • Massive Speedups: On the CIFAR-100 dataset using a ViT-B/16 backbone, Fly-CL reduced post-extraction training time by 91% compared to state-of-the-art (SOTA) methods like RanPAC.
  • Superior Accuracy: Despite its speed, Fly-CL frequently outperformed SOTA models. On the diverse VTAB benchmark, it achieved 96.54% accuracy, surpassing the previous best of 94.68%.
  • Memory Efficiency: Fly-CL requires significantly less memory footprint (e.g., 4.3GB on VTAB compared to 16.4GB for the popular L2P method), making it highly viable for hardware-constrained deployments.
  • Robustness: The framework maintained high performance even under severe domain shifts and natural adversarial examples, where competing methods often degrade.

Limitations and Future Directions

While Fly-CL is highly efficient, the authors note that it is sensitive to normalization. Different backbones (e.g., ViT vs. ResNet) require different data normalization strategies to perform optimally, meaning the framework requires some architectural tuning before deployment.

Currently, the random projection layer in Fly-CL is fixed. Future work may explore making this layer learnable or incorporating "priors" from Large Language Models (LLMs) to improve the initial feature representation. Additionally, extending this bio-inspired decorrelation strategy to Deep Reinforcement Learning (RL) remains a promising, unexplored frontier.

Summary updated

BibTeX
@inproceedings{zou2026fly,
  author = {Heming Zou and Yunliang Zang and Wutong Xu and Xiangyang Ji},
  title = {{Fly-CL: A Fly-Inspired Framework for Enhancing Efficient Decorrelation and Reduced Training Time in Pre-trained Model-based Continual Representation Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=jNbxjdc745},
}
Figure