Abstract
Artificial Neural Networks (ANNs) suffer from catastrophic forgetting when learning sequential tasks, where new knowledge overwrites existing information. This paper introduces Selective Attention-driven Modulation (SAM), a biologically-inspired framework that leverages the stability of saliency detection to anchor classification learning. By modulating classifier features with a stable saliency branch and blocking gradients to prevent corruption of attention priors, SAM significantly improves performance across various continual learning benchmarks.
Introduction
The phenomenon of catastrophic forgetting remains a primary hurdle for lifelong machine learning. While standard models attempt complex categorization from early layers, human vision relies on stable "primordial biases" in the primary visual cortex (V1) to focus on selective attention before categorization. This research proposes that these stable attention mechanisms can serve as a "genetic legacy" to stabilize learning in non-stationary environments. The authors observe that while classification accuracy typically plummets as tasks change, saliency prediction remains remarkably stable, effectively acting as an i.i.d. task hidden within non-i.i.d. data streams.
Methodology: Selective Attention-driven Modulation (SAM)
SAM employs a dual-branch architecture designed to emulate the interplay between attention and categorization in the human brain.
Architecture Components
- Saliency Branch: A pre-trained network that predicts which parts of an image are salient to a human observer.
- Classification Branch: The primary network learning the sequence of tasks.
- Feature Modulation: At multiple stages (specifically after each residual block in a ResNet-18), features from the saliency branch are multiplied (Hadamard product) with the features of the classification branch. This "modulates" the classifier, forcing it to focus on regions the attention branch deems important.
- Gradient Blocking: To prevent the classification task from corrupting the stable attention features, the authors stop the gradient flow from the classification loss to the saliency encoder. This ensures the attention mechanism remains a stable, "forgetting-free" anchor.
Experimental Results
The proposed method was evaluated on Split Mini-ImageNet and Split FG-ImageNet (a fine-grained version featuring 100 animal classes) across 20 sequential tasks.
Performance Gains
As shown in the results table, SAM is method-agnostic and consistently improves baseline performance. Notably, on Split Mini-ImageNet, SAM enhanced the DER++ method's accuracy by over 10 percentage points in class-incremental settings. The improvements are even more pronounced in fine-grained scenarios, where distinguishing between similar classes requires precise spatial focus rather than background noise.
Robustness and Efficiency
SAM demonstrates superior robustness to spurious features compared to high-level representation learning methods like DualNet. In experiments where "cheating" features (like class-specific brightness) were added to training data, SAM-enabled models maintained high accuracy by focusing on actual objects. Furthermore, SAM is computationally efficient, avoiding the heavy overhead of contrastive loss calculations or complex distillation during the main training loop.
Conclusion
SAM demonstrates that low-level selective attention is a remarkably stable task that can effectively mitigate catastrophic forgetting. By treating saliency as a stable spatial anchor, SAM provides a robust foundation for continual learning, paving the way for more biologically-plausible and stable AI systems.
Summary updated