[Paper Review] Keep and Learn: Continual Learning by Constraining the Latent Space for Knowledge Preservation in Neural Networks
This paper proposes a continual learning method that preserves knowledge in neural networks by constraining feature vectors to lie within a modeled high-level latent space, using a reconstruction loss to maintain mutual informativeness between the latent and output spaces. The approach outperforms LwF, EWC, and their variants in preserving knowledge across sequential tasks, achieving 88.22% and 69.34% accuracy on CIFAR-10 and CIFAR-100 stage-1 data at stage-4, respectively.
Data is one of the most important factors in machine learning. However, even if we have high-quality data, there is a situation in which access to the data is restricted. For example, access to the medical data from outside is strictly limited due to the privacy issues. In this case, we have to learn a model sequentially only with the data accessible in the corresponding stage. In this work, we propose a new method for preserving learned knowledge by modeling the high-level feature space and the output space to be mutually informative, and constraining feature vectors to lie in the modeled space during training. The proposed method is easy to implement as it can be applied by simply adding a reconstruction loss to an objective function. We evaluate the proposed method on CIFAR-10/100 and a chest X-ray dataset, and show benefits in terms of knowledge preservation compared to previous approaches.
Motivation & Objective
- Address catastrophic forgetting in multi-center single-task learning where data from previous stages are unavailable after training.
- Overcome limitations of existing methods like LwF and EWC that constrain model parameters or output logits without modeling the high-level feature space.
- Improve knowledge retention by explicitly modeling and constraining the latent feature space to preserve representations learned from earlier data.
- Demonstrate effectiveness on both benchmark image datasets (CIFAR-10/100) and a real-world medical imaging dataset (chest X-rays for TB).
Proposed method
- Model the high-level feature space during the first training stage to be mutually informative with the output (logit) space.
- Apply a reconstruction loss during subsequent training stages to constrain feature vectors to lie within the modeled latent space.
- Integrate the reconstruction loss into the standard objective function, enabling simple implementation with minimal architectural changes.
- Use a shared encoder to extract features and a separate head for classification, with the reconstruction loss applied to the bottleneck (latent) representation.
- Train the model incrementally, reusing the same encoder while fine-tuning the classifier and enforcing latent space constraints.
- Leverage the mutual informativeness between latent and output spaces to preserve knowledge without requiring access to old data.
Experimental results
Research questions
- RQ1Can modeling the high-level feature space and constraining it during training improve knowledge preservation in continual learning?
- RQ2How does the proposed method compare to LwF, EWC, and their combinations in terms of retaining performance on previously learned tasks?
- RQ3Does the method generalize to real-world medical imaging tasks with privacy constraints and sequential data access?
- RQ4To what extent does the reconstruction loss on the latent space outperform methods that constrain model parameters or output logits?
- RQ5Can the method maintain high performance on early tasks even after multiple incremental learning stages?
Key findings
- The proposed method achieved 88.22% accuracy on CIFAR-10 stage-1 training data at stage-4, outperforming FT (85.75%), EWC (85.97%), LwF (88.64%), and LwF+ (89.40%).
- On CIFAR-100, the method preserved 69.34% of stage-1 data accuracy at stage-4, surpassing LwF+ (66.91%) and EWCLwF+ (69.34%) in the final stage.
- In the chest X-ray TB dataset, the proposed method achieved an AUC of 0.909 at stage-4 for stage-1 data, exceeding LwF+ (0.898) and EWCLwF+ (0.884).
- The method showed consistent improvement in knowledge retention across all stages, with the largest gains observed in later stages where forgetting is most severe.
- The ensemble performance of the proposed method (AUC 0.9363) was the highest among all baselines on the TB dataset, indicating robustness across trials.
- The ROC curves in Figure 5 show that the proposed method maintains significantly higher sensitivity to stage-1 data at stage-4, confirming superior knowledge preservation.
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.