[Paper Review] Continual Learning in Deep Neural Network by Using a Kalman Optimiser
This paper proposes a Kalman Optimiser for continual learning in deep neural networks by partitioning network parameters into long-term and short-term memory units to mitigate catastrophic forgetting. By leveraging uncertainty estimates from gradients, the method preserves previously learned knowledge while adapting to new tasks, achieving high accuracy retention on MNIST, CIFAR10, and CIFAR100 across sequential tasks.
Learning and adapting to new distributions or learning new tasks sequentially without forgetting the previously learned knowledge is a challenging phenomenon in continual learning models. Most of the conventional deep learning models are not capable of learning new tasks sequentially in one model without forgetting the previously learned ones. We address this issue by using a Kalman Optimiser. The Kalman Optimiser divides the neural network into two parts: the long-term and short-term memory units. The long-term memory unit is used to remember the learned tasks and the short-term memory unit is to adapt to the new task. We have evaluated our method on MNIST, CIFAR10, CIFAR100 datasets and compare our results with state-of-the-art baseline models. The results show that our approach enables the model to continually learn and adapt to the new changes without forgetting the previously learned tasks.
Motivation & Objective
- Address catastrophic forgetting in continual learning, where models lose performance on previously learned tasks when trained on new data.
- Overcome limitations of standard deep learning models that require all tasks to be trained simultaneously or retrain from scratch.
- Develop an optimisation method that preserves knowledge from past tasks while efficiently adapting to new tasks without storing old data.
- Integrate uncertainty estimation into the training process to guide parameter updates and improve stability across sequential learning.
- Propose a novel optimiser that uses Kalman filtering principles to dynamically control parameter updates based on task-specific importance and uncertainty.
Proposed method
- Divide the neural network into long-term memory (LTM) and short-term memory (STM) units, where LTM preserves learned knowledge and STM adapts to new tasks.
- Use gradient-based uncertainty estimation to identify which parameters are most critical for previously learned tasks and assign them to LTM.
- Apply a Kalman filter update rule to adjust parameters, where LTM parameters are updated with controlled, conservative adjustments to prevent forgetting.
- Maintain a running estimate of parameter uncertainty for each task, updating only the uncertainty of parameters relevant to the current task.
- Implement a multi-head loss mechanism that computes loss only for the current task’s classes, enabling efficient sequential training without interference.
- Use the Kalman update procedure to balance learning speed and stability, allowing STM parameters to adapt quickly while LTM parameters remain stable.
Experimental results
Research questions
- RQ1Can a Kalman filter-based optimiser effectively reduce catastrophic forgetting in continual learning scenarios?
- RQ2How does separating parameters into long-term and short-term memory units improve knowledge retention across sequential tasks?
- RQ3To what extent can uncertainty estimation from gradients enhance parameter stability and prevent performance degradation on prior tasks?
- RQ4How does the proposed method compare to state-of-the-art continual learning baselines on standard benchmarks like MNIST, CIFAR10, and CIFAR100?
- RQ5Can the Kalman optimiser maintain high average accuracy across all tasks while learning new ones, even without storing past data?
Key findings
- The Kalman Optimiser maintains near-perfect accuracy (close to 1.0) on previously learned tasks in the disjoint MNIST experiment, even after training on all five tasks.
- On the disjoint CIFAR10 experiment, the proposed method achieves steadily increasing fraction accuracy (average performance across all previous tasks), while the baseline model's performance declines.
- For CIFAR100, where tasks are split into ten-class subsets, the model with the Kalman Optimiser preserves performance on earlier tasks, demonstrating robustness to task shift and class imbalance.
- The average accuracy across all tasks remains high and increases over time with the proposed method, indicating effective continual learning without performance collapse.
- The method outperforms standard training and baseline models by significantly reducing forgetting, especially in scenarios with non-overlapping class distributions.
- The uncertainty-based parameter grouping and Kalman update mechanism successfully stabilize learning, preventing large parameter shifts that lead to catastrophic forgetting.
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.