Abstract
Continual Learning (CL) requires models to learn new tasks sequentially without forgetting previous knowledge. Sparse Distributed Memory (SDM) architectures address this via "Top-K" activation, creating isolated subnetworks that minimize interference. However, this modularity often leads to structural isolation, preventing beneficial knowledge transfer between tasks. We propose Selective Subnetwork Distillation (SSD), a framework that identifies stable, frequently activated neurons to serve as structural conduits for distillation. Our approach enables knowledge reuse across tasks, significantly reducing forgetting and improving accuracy on benchmarks like Split CIFAR and Tiny-ImageNet without requiring data replay or task labels.
The Challenge of Structural Isolation
In Continual Learning, models often suffer from catastrophic forgetting—the tendency to overwrite old knowledge when learning new information. Sparse Distributed Memory (SDM) models, such as SDMLP, mitigate this by using sparse "Top-K" activations, where only a small fraction of neurons fire for any given input. This creates task-specific subnetworks that are effectively isolated from one another.
While this isolation prevents interference, it also creates a "representation bottleneck." Because subnetworks are structurally disconnected, the model cannot reuse features learned in Task A to assist with Task B. This lack of generalization limits the model's efficiency over its lifetime.
Selective Subnetwork Distillation (SSD)
To overcome this, we introduce Selective Subnetwork Distillation (SSD). Rather than using distillation as a simple loss regularizer, SSD treats it as a topology-aligned information conduit. The process involves three primary steps:
- Selective Neuron Identification: The model tracks activation frequencies during training. Neurons that fire frequently and exhibit low entropy are identified as "stable" components of the prior task's knowledge.
- Layer-wise Structural Mapping: SSD identifies the "Top-n" most active neurons from the previous task (the teacher) and maps their activations directly to the current model (the student). This creates explicit structural paths between task-specific subnetworks.
- Dual-Level Distillation: The framework distills both hidden layer activations (to preserve structural features) and output logits (to stabilize decision boundaries).
Crucially, SSD operates in a "task-free" manner, meaning it does not require task labels at inference time, nor does it rely on storing old data (replay-free), making it highly memory-efficient.
Experimental Evaluation
We evaluated SSD on standard benchmarks including Split CIFAR-10, Split CIFAR-100, and Split-Tiny-ImageNet. The results demonstrate that SSD consistently outperforms baseline SDMLP and other popular CL methods like Elastic Weight Consolidation (EWC).
- Accuracy Improvements: On Split CIFAR-10, SSD improved validation accuracy from 71% to 81%. When combined with EWC, performance reached 87%.
- Reduced Forgetting: Using the Backward Transfer (BWT) metric, SSD reduced catastrophic forgetting by 32.5% compared to standard SDMLP.
- Scalability: On Split-Tiny-ImageNet, SSD achieved 25.0% accuracy, significantly outperforming other replay-free methods like LwF, which remained below 8.5%.
Analysis of the model's internal state shows that SSD promotes structural convergence. Metrics such as Cosine similarity and Jaccard index remain high across tasks, indicating that the model successfully develops stable, specialized structures that are reused over time.
Conclusion and Future Work
SSD effectively bridges the gap between modularity and knowledge transfer in sparse networks. By explicitly routing information between stable neurons, it enables a "best of both worlds" scenario where interference is minimized but knowledge is shared.
Future research will focus on reducing the optimization horizon, as sparse networks currently require longer training times (e.g., 2000 epochs) to converge. Additionally, we aim to extend the selective routing logic of SSD to other sparse architectures, such as Sparse CNNs and Top-K Transformers, to further enhance performance in non-stationary environments.
Summary updated