Dedicated Class Subnetworks for SNN Class Incremental Learning

Katy Warr, Jonathon Hare, David Thomas2025

Abstract

We explore an unconventional approach to the Class Incremental Learning (CIL) problem that dedicates a separate subnetwork for the independent learning of each class. This separation ensures that the learning of a new class has no effect on the model’s previously acquired knowledge. We present a learning strategy loosely inspired by biological neuron apoptosis (neuron death) and neurogenesis (neuron birth) combined with other methods to achieve effective learning and minimize the model’s resource requirements. The network is entirely feed-forward and uses low precision inter-neuron spikes combined with simple neuron behaviors, making it suitable for very low power Spiking Neural Network (SNN) realization on appropriate future neuromorphic platforms. We demonstrate the model in an abstract setting to explore the tradeoffs between optimizing for accuracy, network size, and run-time costs and show that, despite no competition between the classes during learning, it is possible to achieve top-1 accuracy of 85% on MNIST.

Introduction

In standard machine learning, models typically assume that data is Independent and Identically Distributed (IID), receiving a balanced mix of all classes during training. However, real-world edge devices, such as autonomous robots or smart sensors, often encounter Class Incremental Learning (CIL) scenarios where they must learn new classes sequentially. The primary obstacle in CIL is catastrophic forgetting, where the weights optimized for previous tasks are overwritten when learning new information.

This paper proposes a modular Spiking Neural Network (SNN) architecture designed for resource-constrained hardware. By ensuring that the learning of a new class physically cannot interfere with previously acquired knowledge, the model bypasses the need for memory-intensive data replay or complex regularization strategies.

Methodology: Independent Subnetworks and Biological Learning

The core of the proposed architecture is the use of dedicated class subnetworks. Each subnetwork is trained exclusively on its specific class with zero interaction between modules during the training phase. At inference, all subnetworks process the input in parallel, and the final prediction is determined by the subnetwork with the highest output score.

Overview of the network architecture (A) and the subnetwork inference/learning mechanisms (B).

To optimize these subnetworks, the authors employ a strategy inspired by biological neurogenesis and apoptosis:

  1. Learning Pool: Each subnetwork maintains a pool of immature neurons. New neurons are "born" (neurogenesis) to replace those that fail to learn specific patterns.
  2. Apoptosis and Maturation: Neurons that do not respond effectively to training samples have their permanence scores reduced until they are pruned (apoptosis). Conversely, neurons that successfully learn a pattern "mature" and move into the permanent hidden layer.
  3. Local Learning Rules: Instead of traditional backpropagation, the model utilizes a local "winner-take-all" rule. Synaptic plasticity is governed by a neuron's own activation, facilitating efficient implementation on neuromorphic hardware.
  4. Novelty Detection: To maintain a compact network size, a novelty test is performed. Training samples that are too similar to already learned patterns are ignored, preventing redundant neuron maturation.

Experimental Evaluation

The model was evaluated using a Split-MNIST protocol, where the standard digit dataset was divided into ten sequential tasks. To simulate the constraints of low-power hardware, pixel values were reduced from 32 levels to 8. The training set consisted of 50,000 examples (5,000 per class), with 10,000 examples used for testing.

Key Results

  • Accuracy: The model achieved a peak top-1 accuracy of approximately 85-86%. While slightly lower than non-incremental state-of-the-art models, this is a significant achievement for a system lacking inter-class competition during training.
  • Efficiency: The feed-forward nature and low-precision binary spike encoding make the architecture a prime candidate for ultra-low-power neuromorphic chips.
  • Scalability: Performance remained stable regardless of the class presentation order, demonstrating high resilience to catastrophic forgetting.
Confusion matrix showing classification performance across MNIST digits, highlighting confusion between similar shapes.

Discussion and Limitations

A primary challenge identified is the "similarity trap." Because subnetworks are isolated during training, the model does not learn the features that distinguish one class from another (e.g., what makes a '4' different from a '9'). As shown in the confusion matrix, visually similar digits can cause multiple subnetworks to fire, leading to misclassification.

Furthermore, while MNIST provides a useful benchmark, further research is required to determine if this modular approach scales to high-dimensional datasets like ImageNet. Future work will also focus on deploying the algorithm onto physical neuromorphic platforms to empirically measure power savings compared to conventional hardware simulations.

Summary updated

BibTeX
@misc{warr2025dedicated,
  author = {Katy Warr and Jonathon Hare and David Thomas},
  title = {{Dedicated Class Subnetworks for SNN Class Incremental Learning}},
  year = {2025},
  doi = {10.1109/nice65350.2025.11064919},
}
Figure