Real-time Continual Learning on Intel Loihi 2
Elvin Hajizada, Danielle Rager, Timothy Shea, Leobardo Campos-Macias, Andreas Wild, Eyke Hüllermeier, Yulia Sandamirskaya, Mike Davies
TL;DR
This work addresses online continual learning (OCL) on edge devices under open-world conditions, where distributions shift and novel classes appear. It proposes CLP-SNN, a spiking neural network on Intel Loihi 2 that realizes continual learning through event-driven local updates, a self-normalizing three-factor rule $\Delta w = \alpha r (\mathbf{x} - \mathbf{w} y)$ with $y = \mathbf{w}^T \mathbf{x}$, neurogenesis for capacity expansion, and metaplasticity to mitigate forgetting. On OpenLORIS, CLP-SNN matches or surpasses replay-based baselines while being rehearsal-free, and achieves 70× lower learning latency and 5,600× higher energy efficiency than the best edge-GPU OCL method, with additional gains from input sparsity and temporal sparsity. The work includes cross-platform benchmarking, a principled derivation of the learning rule, and open-source simulation code, illustrating the potential of co-designing brain-inspired algorithms with neuromorphic hardware for real-time edge AI.
Abstract
AI systems on edge devices face a critical challenge in open-world environments: adapting when data distributions shift and novel classes emerge. While offline training dominates current paradigms, online continual learning (OCL)--where models learn incrementally from non-stationary streams without catastrophic forgetting--remains challenging in power-constrained settings. We present a neuromorphic solution called CLP-SNN: a spiking neural network architecture for Continually Learning Prototypes and its implementation on Intel's Loihi 2 chip. Our approach introduces three innovations: (1) event-driven and spatiotemporally sparse local learning, (2) a self-normalizing three-factor learning rule maintaining weight normalization, and (3) integrated neurogenesis and metaplasticity for capacity expansion and forgetting mitigation. On OpenLORIS few-shot learning experiments, CLP-SNN achieves accuracy competitive with replay methods while being rehearsal-free. CLP-SNN delivers transformative efficiency gains: 70\times faster (0.33ms vs 23.2ms), and 5,600\times more energy efficient (0.05mJ vs 281mJ) than the best alternative OCL on edge GPU. This demonstrates that co-designed brain-inspired algorithms and neuromorphic hardware can break traditional accuracy-efficiency trade-offs for future edge AI systems.
