SPARC: Task-Free Class-Incremental Learning for Deep Spiking Neural Networks under a Local Rule

Lorenzo Capuano, Alessio Caviglia, Filippo Marostica, Alessandro Savino, Stefano Di CarloarXiv 2026

TL;DR

Teaching an edge device to learn new things in the wild usually means choosing between blowing up your memory budget or watching your model catastrophically forget everything it already knew. SPARC solves both problems for deep Spiking Neural Networks (SNNs) by combining ultra-lightweight one-bit memory replay with a strictly local learning rule and clever channel partitioning. Not only does it keep training memory completely flat regardless of sequence length, it actually improves accuracy over standard replay baselines while doing 12× less math.

What Problem Does This Paper Address?

Imagine deploying a low-power neuromorphic sensor out in the field. Over time, it encounters new objects or gestures it wasn't originally trained on. You want it to adapt on the fly—specifically in the tough Class-Incremental Learning (CIL) setting, where new classes arrive sequentially, and at test time, the device has to recognize any class it has ever seen without being told which "task" or batch it came from.

Spiking Neural Networks (SNNs), which process information as sparse, asynchronous binary spikes over time, are great for low-power edge inference. Training them on-device, however, hits two brick walls:

  1. Backpropagation Through Time (BPTT) is too heavy: Standard SNN training unrolls the network across $T$ timesteps, storing a massive history of activations and pushing errors backward through the whole network. Its memory footprint scales linearly with $T$, breaking edge hardware budgets.
  2. Catastrophic Forgetting: When neural networks learn new classes, they overwrite weights needed for old ones. Existing fixes either rely on BPTT, require complex dynamic network pruning/growing, or cheat at test time by using a separate classifier just to guess the task ID.

Until now, no framework combined neuromorphic-friendly local learning, memory retention, and single-pass task-free inference in deep SNNs.

Methods

SPARC (Sparse Partitioned Allocation for Replay-based Continual learning) divides the workload between an unconstrained offline workstation and the constrained edge device.

SPARC deployment workflow

Here is how the pieces fit together:

  • Cut and Truncate (New Architecture Split): Offline, a deep VGG-9 SNN backbone is pretrained using standard BPTT. Before deployment, the network is sliced at a chosen layer. Everything before the cut is frozen. Everything after the cut is thrown in the trash and replaced by a single trainable convolutional spiking layer.
  • Local Learning via TESS (Standard Base): Instead of BPTT, that single plastic layer updates online using TESS (Temporally and Spatially Local Learning Rule). TESS tracks temporal dynamics forward in time using lightweight running eligibility traces (no history storage!) and uses a fixed random matrix to both read out class predictions (logits) and project local errors back to the neurons.
  • Aligned Partitioning (The Secret Sauce): Because TESS already maintains a fixed readout/feedback matrix, SPARC carves up the single trainable layer's channels and that matrix into isolated blocks for each incoming group of classes. A simple 1-bit gate per channel turns plasticity on for the current task's channels and off for past tasks. Old channels stay active during inference so old knowledge is preserved, without needing complex synaptic masks.
  • 1-Bit Latent Replay (Calibration): Isolating channels stops old filters from being overwritten, but the new block might still fire louder than old blocks, skewing predictions. SPARC stores a tiny buffer of past intermediate spike tensors—which are binary (1-bit per element!)—at the cut point. Mixing these 1-bit latents into training calibrates the competing blocks so all classes can be compared in a single global argmax at test time.

Datasets

To simulate realistic deployments where you don't have target-domain data beforehand, the VGG-9 backbones are pretrained on disjoint "donor" datasets (e.g., CIFAR-100, Tiny-ImageNet, N-MNIST) and evaluated on four continual learning benchmarks (no new datasets were introduced):

  • Static-image benchmarks: Split-CIFAR-10 ($5 \times 2$ classes, $T=6$) and Split-CIFAR-100 ($10 \times 10$ classes and a 50-base + $5 \times 10$ split, $T=6$).
  • Event-based neuromorphic benchmarks: DVS-Gesture ($4+4+3$ classes, $T=60$) and CIFAR10-DVS ($5 \times 2$ classes, $T=10$).

Key Insights and Ideas

  • Less network is more: Because TESS generates predictions right at the local layer, SPARC doesn't need the rest of the deep network tail. Dropping it slashes writable weights (from 8.26M down to 1.18M on DVS-Gesture) with zero accuracy penalty.
  • Constant memory in time: Unlike BPTT—which chokes on long event streams because it hoards state at every timestep—SPARC computes updates forward in time. Whether a video stream is 6 timesteps or 120 timesteps long, peak training memory doesn't budge.
  • Plasticity limits help memory: Restricting new tasks to a subset of channels slightly lowers immediate accuracy on brand-new tasks compared to unconstrained methods, but it drastically prevents forgetting, winning out over the device's lifetime.
Fig. 2. Per-task (thin) and overall (bold) accuracy on CIFAR-100 B50-Inc10. Plain LR and BPTT learn new tasks better but forget them quickly; SPARC retains them.
  • Event data is surprisingly forgiving of its teacher: When testing out-of-distribution pretraining donors, static Split-CIFAR-10 accuracy dropped sharply if the frozen backbone wasn't trained on closely related image data. Conversely, event-based DVS-Gesture barely cared what dataset pretrained its backbone—even cross-modality static image donors trailed an in-domain oracle by at most 5.2 percentage points.

Key Results

  • Massive Resource Savings: At $T=60$ on DVS-Gesture, SPARC requires just 0.11 GB of peak training memory, compared to 1.64 GB for full-tail Latent Replay with BPTT (15.5× less) and 6.24 GB for end-to-end BPTT (59× less). On shorter static sequences ($T=6$), it still saves 2.3× memory, and each update requires 12× fewer synaptic operations than BPTT.
Memory and synaptic operations across insertion points
  • Beating Plain Replay: Despite being designed to save hardware costs, SPARC beats plain Latent Replay (even when giving the baseline an unfair "oracle" to pick its best layer readout) by +1.8 pp on Split-CIFAR-10 (73.5% vs. 71.7%), +3.3 pp on DVS-Gesture (90.6% vs. 87.3%), and +19.4 pp on 10-task Split-CIFAR-100 (36.3% vs. 16.9%).
  • Competitive with Global SOA: On DVS-Gesture, SPARC's single local layer (90.6%) trails full-network, end-to-end BPTT training (Energy-Aware Spike Budgeting, 91.9%) by just 1.3 pp while using a fraction of the compute. On Split-CIFAR-10, it beats full-network replay methods like STAER and DER++ at matched buffer sizes.

Limitations and Future Work

The authors are candid about where SPARC hits its ceiling:

  • Large-scale class limits: Like other local learning rules, accuracy remains modest when scaling up to many fine-grained classes, such as 100-class Split-CIFAR-100 (36.3%), where heavyweight transformer/BPTT approaches still dominate.
  • Pre-configured boundaries: SPARC assumes the device knows when a new training stage begins (though not at inference) and requires pre-allocating a maximum channel/class budget upfront. Currently, its partitioning only applies to convolutional channels.
  • Simulated hardware: All experiments were simulated in snnTorch on GPUs. Actual energy and latency measurements on physical neuromorphic silicon await hardware that natively supports these custom local primitives.

Summary updated

BibTeX
@misc{capuano2026sparc,
  author = {Lorenzo Capuano and Alessio Caviglia and Filippo Marostica and Alessandro Savino and Stefano Di Carlo},
  title = {{SPARC: Task-Free Class-Incremental Learning for Deep Spiking Neural Networks under a Local Rule}},
  year = {2026},
  eprint = {2611.38823},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.38823},
}
Figure