Abstract
In the text sentiment classification task, some words are seemingly unrelated to the classification task, but they have a direct impact on the performance of classification model. For example, in the sentences “I have terminal cancer” and “Cancer is a very common disease”, it can be clearly found that the word “cancer” has two different sentiment tendencies in the daily life domain and the medical domain. In the daily life domain, the word “cancer” shows an extremely negative sentiment tendency. While in the medical domain, the word “cancer” is just a simple term with a relatively neutral sentiment tendency. Although current deep learning models have already achieved good performance through their powerful feature learning capabilities, there are serious deficiencies in dealing with the above problem. Therefore, from a new perspective, this paper proposes the Graph Domain Adversarial Transfer Network (GDATN) based on the idea of adversarial learning, which uses the labeled source domain data to predict the sentiment label of unlabeled target domain data. Firstly, GDATN extracts feature representations through the Bidirectional Long Short-Term Memory (BiLSTM) Network and Graph Attention Network (GAT) successively. Then, GDATN introduces the domain classifier to capture the domain-shared text feature representation with the Gradient Reversal Layer (GRL). In addition, an auxiliary task named the projection mechanism is constructed to further capture the domain-specific text feature representation in response to the text domain problem. Extensive experimental results on two benchmark datasets show that GDATN proposed in this paper outperforms the other six benchmark sentiment classification models, and GDATN has a better stability on different cross-domain pairs.
Funding Information
  • Beijing Key Laboratory of Intelligent Logistics System (BZ0211)
  • Beijing Intelligent Logistics System Collaborative Innovation Center
  • National Natural Science Foundation of China
  • Beijing Youth Top-Notch Talent Plan of High-Creation Plan (2017000026833ZK25)
  • Canal Plan-Leading Talent Project of Beijing Tongzhou District (YHLB2017038)
  • General program of science and technology development project of Beijing Municipal Education Commission (KM202110037002, KM202010037002)
  • Grass-roots Academic Team Building Project of Beijing Wuzi University (2019XJJCTD04)