Abstract
Online continual learning (OCL) enables AI systems to adaptively learn from non-stationary data streams. While experience replay (ER)-based methods are commonly used to retain knowledge, they often suffer from prediction bias due to deviations in parameter update directions. This paper identifies parameter variation imbalance as a critical factor contributing to this bias. We propose the Parameter Variation Balancing Framework (PVBF), which mitigates imbalance through three key components: a Manhattan distance-based parameter correlation metric (ParamCC), an encourage-and-consolidate (E&C) gradient adjustment strategy, and a dual-layer copy weights with reinit (D-CWR) strategy for the output layer. Experiments show that PVBF significantly reduces prediction bias, achieving up to 47% higher accuracy than existing ER-based methods.
The Challenge: Parameter Variation Imbalance
Online Continual Learning (OCL) requires models to learn from a one-pass data stream without forgetting previous tasks. Experience Replay (ER) is the standard defense against "catastrophic forgetting," but it frequently leads to prediction bias, where the model favors recently seen classes.
The authors identify two types of parameter variation imbalance that drive this bias:
- Correlation-induced Imbalance: A small subset of neurons undergoes massive changes while the majority remain inactive. This leads to inefficient learning and risks overwriting critical "memory" neurons.
- Layer-wise Imbalance: The output classifier layer updates significantly faster than earlier feature-extraction layers, causing the model to quickly "forget" the mapping for older classes.
The PVBF Framework
To restore balance, PVBF introduces three novel components to the training process:
1. ParamCC (Parameter Correlation Calculate)
This method quantifies the "correlation" of specific parameters to previous tasks. By tracking relative weight changes after each task using a normalized Manhattan distance metric, the system identifies which neurons are critical for past knowledge.
2. E&C (Encourage-and-Consolidate)
E&C is a gradient-adjustment strategy that uses ParamCC values as divisors for gradients.
- Encourage: Parameters with low correlation to past tasks (the "inactive majority") receive larger gradient updates to help them learn new features.
- Consolidate: Parameters with high correlation (the "memory" neurons) have their gradients dampened, preserving existing knowledge.
3. D-CWR (Dual-layer Copy Weights with Reinit)
Inspired by bio-inspired dual-memory systems (hippocampus and neocortex), D-CWR targets the output layer. It selectively transfers class-specific knowledge through sensory, short-term, and long-term memory pools. This slows down the update rate of the classifier, preventing it from flipping too quickly to new classes.
Key Insights and Results
The research highlights that in standard OCL, most parameters are "lazy." By forcing the model to distribute the learning load more effectively, PVBF achieves near-IID performance.
Experimental Performance
PVBF was evaluated on Split Cifar10, Cifar100, and MiniImageNet. Key results include:
- Massive Accuracy Gains: PVBF outperformed standard ER by 31% to 47% across various benchmarks.
- Efficiency: On the MiniImageNet dataset, PVBF reached 97.5% of the accuracy achieved by a model trained on the full dataset at once (IID), using a tiny replay buffer of only 500 samples.
- Reduced Forgetting: In constrained memory scenarios, PVBF reduced the Forgetting Ratio (FR) from 50.4% (standard ER) to 24.0%.
Conclusion
PVBF addresses the root cause of prediction bias in OCL by identifying and mitigating parameter variation imbalance. By dynamically protecting task-critical neurons and stabilizing the output classifier, it provides a robust framework for learning from non-stationary data streams with minimal forgetting.
Summary updated