[Paper Review] BiRT: Bio-inspired Replay in Vision Transformers for Continual Learning
BiRT proposes a bio-inspired continual learning method for Vision Transformers that uses controlled noise injection during representation rehearsal to combat catastrophic forgetting. By enforcing prediction consistency between a working model and its exponential moving average semantic memory, BiRT achieves superior accuracy, robustness to corruptions, and memory efficiency compared to raw image and vanilla representation rehearsal on CIFAR-100, ImageNet-100, and TinyImageNet benchmarks.
The ability of deep neural networks to continually learn and adapt to a sequence of tasks has remained challenging due to catastrophic forgetting of previously learned tasks. Humans, on the other hand, have a remarkable ability to acquire, assimilate, and transfer knowledge across tasks throughout their lifetime without catastrophic forgetting. The versatility of the brain can be attributed to the rehearsal of abstract experiences through a complementary learning system. However, representation rehearsal in vision transformers lacks diversity, resulting in overfitting and consequently, performance drops significantly compared to raw image rehearsal. Therefore, we propose BiRT, a novel representation rehearsal-based continual learning approach using vision transformers. Specifically, we introduce constructive noises at various stages of the vision transformer and enforce consistency in predictions with respect to an exponential moving average of the working model. Our method provides consistent performance gain over raw image and vanilla representation rehearsal on several challenging CL benchmarks, while being memory efficient and robust to natural and adversarial corruptions.
Motivation & Objective
- To address catastrophic forgetting in continual learning for Vision Transformers, a major challenge in lifelong AI.
- To overcome the limitations of raw image rehearsal, including memory inefficiency and privacy concerns.
- To improve generalization in representation rehearsal by introducing biologically inspired noise mechanisms.
- To develop a memory-efficient, robust continual learning framework that mimics the brain’s dual-memory system.
- To achieve stable performance across task sequences with strong forward transfer and robustness to natural and adversarial corruptions.
Proposed method
- BiRT employs a dual-memory system: a working model and a semantic memory formed via exponential moving average (EMA) of the working model’s weights.
- Constructive noise is injected at multiple stages: mixed-up representations, noisy attention maps, noisy semantic memory outputs, and noisy targets.
- Consistency regularization enforces that predictions from the working model match those of the semantic memory under noise perturbations.
- The method stores high-level representations from previous tasks in a buffer, enabling efficient rehearsal without raw image storage.
- Noise types are designed to emulate biological trial-to-trial variability, promoting generalization and reducing overfitting in rehearsal.
- The approach is applied end-to-end in Vision Transformers, leveraging self-attention mechanisms for robust feature learning.
Experimental results
Research questions
- RQ1Can controlled noise injection in representation rehearsal improve generalization and reduce overfitting in continual learning for Vision Transformers?
- RQ2Does a bio-inspired dual-memory system with EMA-based semantic memory enhance stability and reduce catastrophic forgetting?
- RQ3How does BiRT compare to raw image rehearsal and vanilla representation rehearsal in terms of accuracy, robustness, and memory efficiency?
- RQ4To what extent does noise injection improve robustness to natural and adversarial corruptions in continual learning?
- RQ5Can the proposed method preserve attention maps of salient image regions across task sequences, indicating reduced forgetting?
Key findings
- BiRT achieves consistent performance gains over raw image rehearsal and vanilla representation rehearsal on CIFAR-100, ImageNet-100, and TinyImageNet benchmarks.
- On CIFAR-100 with 500 buffer size, BiRT outperforms DyTox in top-1 accuracy across all metrics, demonstrating superior stability and plasticity.
- BiRT shows strong robustness to both natural and adversarial corruptions, maintaining high performance under diverse attack strengths.
- Attention map analysis confirms that BiRT preserves salient region attention from the first task better than DyTox, indicating reduced forgetting.
- The method is memory-efficient and does not raise privacy concerns, as it stores only high-level representations, not raw images.
- Empirical results show BiRT is not highly sensitive to hyperparameters, indicating robustness and practical deployability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.