[Paper Review] Continual Learning with Knowledge Transfer for Sentiment Classification
This paper proposes KAN, a continual learning framework for sentiment classification that leverages forward and backward knowledge transfer via a knowledge base and accessibility network to improve accuracy on both new and previous tasks. KAN significantly outperforms state-of-the-art baselines, achieving the highest accuracy on 21 out of 24 tasks and demonstrating effective bidirectional knowledge transfer without catastrophic forgetting.
This paper studies continual learning (CL) for sentiment classification (SC). In this setting, the CL system learns a sequence of SC tasks incrementally in a neural network, where each task builds a classifier to classify the sentiment of reviews of a particular product category or domain. Two natural questions are: Can the system transfer the knowledge learned in the past from the previous tasks to the new task to help it learn a better model for the new task? And, can old models for previous tasks be improved in the process as well? This paper proposes a novel technique called KAN to achieve these objectives. KAN can markedly improve the SC accuracy of both the new task and the old tasks via forward and backward knowledge transfer. The effectiveness of KAN is demonstrated through extensive experiments.
Motivation & Objective
- To address the challenge of improving sentiment classification accuracy over time in a continual learning setting where data from previous tasks are not available due to confidentiality.
- To enable forward knowledge transfer from past tasks to new tasks without using previous data.
- To achieve backward knowledge transfer that enhances old models during training on new tasks.
- To reduce reliance on catastrophic forgetting mitigation by exploiting shared knowledge across similar sentiment classification tasks.
- To develop a scalable and robust continual learning framework tailored for real-world sentiment analysis applications with multiple product domains.
Proposed method
- KAN employs a dual-network architecture: a main continual learning (MCL) network with a knowledge base (KB) storing past task knowledge, and an accessibility (AC) network that selects relevant past knowledge for the current task.
- The AC network dynamically identifies and retrieves useful knowledge from the KB based on the current task, enabling effective forward knowledge transfer.
- During training on a new task, the shared knowledge in the KB is refined using the new task's data, enabling backward knowledge transfer that improves performance on previous tasks.
- The knowledge base is updated incrementally, allowing the model to retain and enhance knowledge across all previously learned tasks.
- The framework uses a loss function that combines task-specific classification loss with knowledge distillation and regularization to preserve and improve knowledge.
- Experiments use a sequence of 24 sentiment classification tasks from different product domains, with results averaged over 10 random task orderings.
Experimental results
Research questions
- RQ1Can a continual learning system effectively transfer knowledge from previous sentiment classification tasks to improve learning on new tasks without access to past data?
- RQ2Can the learning of new tasks simultaneously improve the performance of previously learned models through backward knowledge transfer?
- RQ3Does leveraging shared linguistic patterns across sentiment tasks reduce catastrophic forgetting and improve overall accuracy compared to standard continual learning methods?
- RQ4How effective are forward and backward knowledge transfer mechanisms individually and in combination for sentiment classification?
- RQ5Can a knowledge base and accessibility network architecture outperform existing continual learning baselines in terms of accuracy and robustness across diverse sentiment classification tasks?
Key findings
- KAN achieves the highest average accuracy on 21 out of 24 individual sentiment classification tasks, demonstrating superior performance and robustness.
- In the forward transfer setting, KAN achieves an average accuracy of 0.8524 after learning 24 tasks, significantly outperforming the next best baseline, N-CL, at 0.8390.
- For backward transfer, KAN improves the average accuracy of previously learned tasks from 0.7846 (ONE baseline) to 0.8524 after 24 tasks, showing strong knowledge enhancement over time.
- The forward knowledge transfer effect is stronger than backward transfer, as the former leverages prior knowledge earlier and more effectively.
- KAN's backward transfer consistently improves old task performance without additional fine-tuning or replay, indicating effective knowledge retention and enhancement.
- Even in cases where KAN does not achieve the absolute best score, its performance remains competitive, highlighting its stability and generalization across diverse product domains.
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.