[Paper Review] Lifelong Learning for Sentiment Classification
This paper proposes a lifelong sentiment classification (LSC) framework that leverages knowledge from previously learned sentiment tasks using a Bayesian optimization approach with stochastic gradient descent. By incorporating penalty terms based on sentiment word polarity from past domains, the method significantly outperforms baselines in both natural and balanced class distributions across 20 product domains.
This paper proposes a novel lifelong learning (LL) approach to sentiment classification. LL mimics the human continuous learning process, i.e., retaining the knowledge learned from past tasks and use it to help future learning. In this paper, we first discuss LL in general and then LL for sentiment classification in particular. The proposed LL approach adopts a Bayesian optimization framework based on stochastic gradient descent. Our experimental results show that the proposed method outperforms baseline methods significantly, which demonstrates that lifelong learning is a promising research direction.
Motivation & Objective
- Address the challenge of improving sentiment classification in real-world scenarios where training data may be non-representative due to sample selection bias.
- Develop a lifelong learning system that retains and reuses knowledge from past sentiment classification tasks to enhance performance on new domains.
- Overcome limitations of traditional transfer learning by integrating past learning results rather than relying solely on labeled source domain data.
- Design a scalable and effective optimization framework that dynamically incorporates domain-invariant sentiment knowledge into the learning process.
- Demonstrate the effectiveness of lifelong learning in sentiment classification using a large, diverse corpus of 20 product review domains.
Proposed method
- Formulate lifelong sentiment classification as a sequential learning problem where knowledge from N−1 past tasks improves learning on the Nth task.
- Use a Bayesian optimization framework based on stochastic gradient descent (SGD) to train the sentiment classifier with knowledge integration.
- Introduce two penalty terms in the optimization objective: one to preserve sentiment word polarity from past domains, and another to align predicted sentiment distributions with known patterns.
- Represent knowledge in a knowledge base (KB) as the ratio of positive to negative sentiment word frequencies from past tasks, using $ R_w = M_{+,w}^{KB}/(M_{+,w}^{KB} + M_{-,w}^{KB}) $.
- Incorporate past knowledge via regularization: $ \frac{1}{2}\alpha \sum_{w \in V_S} \left( X_{+,w} - R_w \cdot X_{+,w}^0 \right)^2 $ and similar for negative sentiment.
- Update gradient computations in SGD by including partial derivatives from the penalty terms, enabling end-to-end learning with knowledge transfer.
Experimental results
Research questions
- RQ1Can knowledge from previously learned sentiment classification tasks improve performance on new, unseen domains even when the target domain has sufficient labeled data?
- RQ2How can past learning results be effectively represented and reused in a way that generalizes across diverse domains?
- RQ3Does incorporating domain-invariant sentiment word polarity from past tasks lead to better generalization than standard transfer learning or single-domain training?
- RQ4How does the number of past domains influence the performance of the lifelong learning system?
- RQ5Can a Bayesian optimization framework with penalty-based knowledge injection outperform standard baselines like Naïve Bayes, SVM, and CLF in sentiment classification?
Key findings
- The proposed LSC model achieves the highest F1-score on the negative class in the natural class distribution across all 20 domains, significantly outperforming NB-T, SVM-T, NB-S, SVM-S, NB-ST, SVM-ST, and CLF (p < 0.01).
- In the balanced class distribution, LSC achieves the highest accuracy, surpassing even CLF, which previously outperformed standard baselines.
- Performance improves with an increasing number of past domains, demonstrating the system's ability to accumulate and effectively utilize knowledge over time.
- The improvement over NB-ST and CLF is statistically significant (p < 0.01), while the improvement over other baselines is highly significant (p < 0.0001).
- The method effectively handles sample selection bias by leveraging sentiment word polarity patterns from past domains, especially for rare or unseen sentiment words in the target domain.
- The use of penalty terms based on knowledge base statistics (e.g., $ R_w $) enables the model to maintain prior sentiment knowledge while adapting to new data, leading to robust performance gains.
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.