Deep Learning Structure for Cross-Domain Sentiment Classification Based on Improved Cross Entropy and Weight
Within the sentiment classification field, the convolutional neural network (CNN) and long short-term memory (LSTM) are praised for their classification and prediction performance, but their accuracy, loss rate, and time are not ideal. To this purpose, a deep learning structure combining the improve...
Main Authors: | , , , , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
Hindawi Limited
2020-01-01
|
Series: | Scientific Programming |
Online Access: | http://dx.doi.org/10.1155/2020/3810261 |
id |
doaj-375120fdb67c46e8892d1fe2363c85ae |
---|---|
record_format |
Article |
spelling |
doaj-375120fdb67c46e8892d1fe2363c85ae2021-07-02T15:24:18ZengHindawi LimitedScientific Programming1058-92441875-919X2020-01-01202010.1155/2020/38102613810261Deep Learning Structure for Cross-Domain Sentiment Classification Based on Improved Cross Entropy and WeightRong Fei0Quanzhu Yao1Yuanbo Zhu2Qingzheng Xu3Aimin Li4Haozheng Wu5Bo Hu6College of Computer Science and Engineering, Xi’an University of Technology, Xi’an 710048, ChinaCollege of Computer Science and Engineering, Xi’an University of Technology, Xi’an 710048, ChinaChina Railway First Survey and Design Institute, Abu Dhabi 710043, ChinaCollege of Information and Communication, National University of Defense Technology, Changsha, Hunan 710106, ChinaCollege of Computer Science and Engineering, Xi’an University of Technology, Xi’an 710048, ChinaCollege of Computer Science and Engineering, Xi’an University of Technology, Xi’an 710048, ChinaBeijing Huadian Youkong Technology Co., Ltd., Beijing 100091, ChinaWithin the sentiment classification field, the convolutional neural network (CNN) and long short-term memory (LSTM) are praised for their classification and prediction performance, but their accuracy, loss rate, and time are not ideal. To this purpose, a deep learning structure combining the improved cross entropy and weight for word is proposed for solving cross-domain sentiment classification, which focuses on achieving better text sentiment classification by optimizing and improving recurrent neural network (RNN) and CNN. Firstly, we use the idea of hinge loss function (hinge loss) and the triplet loss function (triplet loss) to improve the cross entropy loss. The improved cross entropy loss function is combined with the CNN model and LSTM network which are tested in the two classification problems. Then, the LSTM binary-optimize (LSTM-BO) model and CNN binary-optimize (CNN-BO) model are proposed, which are more effective in fitting the predicted errors and preventing overfitting. Finally, considering the characteristics of the processing text of the recurrent neural network, the influence of input words for the final classification is analysed, which can obtain the importance of each word to the classification results. The experiment results show that within the same time, the proposed weight-recurrent neural network (W-RNN) model gives higher weight to words with stronger emotional tendency to reduce the loss of emotional information, which improves the accuracy of classification.http://dx.doi.org/10.1155/2020/3810261 |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Rong Fei Quanzhu Yao Yuanbo Zhu Qingzheng Xu Aimin Li Haozheng Wu Bo Hu |
spellingShingle |
Rong Fei Quanzhu Yao Yuanbo Zhu Qingzheng Xu Aimin Li Haozheng Wu Bo Hu Deep Learning Structure for Cross-Domain Sentiment Classification Based on Improved Cross Entropy and Weight Scientific Programming |
author_facet |
Rong Fei Quanzhu Yao Yuanbo Zhu Qingzheng Xu Aimin Li Haozheng Wu Bo Hu |
author_sort |
Rong Fei |
title |
Deep Learning Structure for Cross-Domain Sentiment Classification Based on Improved Cross Entropy and Weight |
title_short |
Deep Learning Structure for Cross-Domain Sentiment Classification Based on Improved Cross Entropy and Weight |
title_full |
Deep Learning Structure for Cross-Domain Sentiment Classification Based on Improved Cross Entropy and Weight |
title_fullStr |
Deep Learning Structure for Cross-Domain Sentiment Classification Based on Improved Cross Entropy and Weight |
title_full_unstemmed |
Deep Learning Structure for Cross-Domain Sentiment Classification Based on Improved Cross Entropy and Weight |
title_sort |
deep learning structure for cross-domain sentiment classification based on improved cross entropy and weight |
publisher |
Hindawi Limited |
series |
Scientific Programming |
issn |
1058-9244 1875-919X |
publishDate |
2020-01-01 |
description |
Within the sentiment classification field, the convolutional neural network (CNN) and long short-term memory (LSTM) are praised for their classification and prediction performance, but their accuracy, loss rate, and time are not ideal. To this purpose, a deep learning structure combining the improved cross entropy and weight for word is proposed for solving cross-domain sentiment classification, which focuses on achieving better text sentiment classification by optimizing and improving recurrent neural network (RNN) and CNN. Firstly, we use the idea of hinge loss function (hinge loss) and the triplet loss function (triplet loss) to improve the cross entropy loss. The improved cross entropy loss function is combined with the CNN model and LSTM network which are tested in the two classification problems. Then, the LSTM binary-optimize (LSTM-BO) model and CNN binary-optimize (CNN-BO) model are proposed, which are more effective in fitting the predicted errors and preventing overfitting. Finally, considering the characteristics of the processing text of the recurrent neural network, the influence of input words for the final classification is analysed, which can obtain the importance of each word to the classification results. The experiment results show that within the same time, the proposed weight-recurrent neural network (W-RNN) model gives higher weight to words with stronger emotional tendency to reduce the loss of emotional information, which improves the accuracy of classification. |
url |
http://dx.doi.org/10.1155/2020/3810261 |
work_keys_str_mv |
AT rongfei deeplearningstructureforcrossdomainsentimentclassificationbasedonimprovedcrossentropyandweight AT quanzhuyao deeplearningstructureforcrossdomainsentimentclassificationbasedonimprovedcrossentropyandweight AT yuanbozhu deeplearningstructureforcrossdomainsentimentclassificationbasedonimprovedcrossentropyandweight AT qingzhengxu deeplearningstructureforcrossdomainsentimentclassificationbasedonimprovedcrossentropyandweight AT aiminli deeplearningstructureforcrossdomainsentimentclassificationbasedonimprovedcrossentropyandweight AT haozhengwu deeplearningstructureforcrossdomainsentimentclassificationbasedonimprovedcrossentropyandweight AT bohu deeplearningstructureforcrossdomainsentimentclassificationbasedonimprovedcrossentropyandweight |
_version_ |
1721327207743225856 |