journal article·2024-09-06Open access

Domain-Aware Neural Network with a Novel Attention-Pooling Technology for Binary Sentiment Classification

Chunyi Yue, Ang Li, Zhenjia Chen, Gan Luan, Siyao Guo

Applied Sciences· Volume 14· Issue 17

Abstract

Domain information plays a crucial role in sentiment analysis. Neural networks that treat domain information as attention can further extract domain-related sentiment features from a shared feature pool, significantly enhancing the accuracy of sentiment analysis. However, when the sentiment polarity within the input text is inconsistent, these methods are unable to further model the relative importance of sentiment information. To address this issue, we propose a novel attention neural network that fully utilizes domain information while also accounting for the relative importance of sentiment information. In our approach, firstly, dual long short-term memory (LSTM) is used to extract features from the input text for domain and sentiment classification, respectively. Following this, a novel attention mechanism is introduced to fuse features to generate the attention distribution. Subsequently, the input text vector obtained based on the weighted summation is fed into the classification layer for sentiment classification. The empirical results from our experiments demonstrate that our method can achieve superior classification accuracies on Amazon multi-domain sentiment analysis datasets.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Sentiment Analysis and Opinion Mining · Topic Modeling · Data Stream Mining Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Information and Communication Engineering, Hainan University, Haikou 570228, China

Peng Cheng Laboratory, Shenzhen 518066, China

Funding

Hainan Provincial Natural Science Foundation · Joint Funds of the National Natural Science Foundation of China

References (41)

Show source-provided references
1. Exploring Determinants of Voting for the “Helpfulness” of Online User Reviews: A Text Mining Approach10.1016/j.dss.2010.11.009 ↗
2. Manipulation of online reviews: An analysis of ratings, readability, and sentiments10.1016/j.dss.2011.11.002 ↗
3. Lexicon-Based Methods for Sentiment Analysis10.1162/COLI_a_00049 ↗
4. Park, S., and Kim, Y. (2016, January 8–10). Building Thesaurus Lexicon Using Dictionary-Based Approach for Sentiment Classification. Proceedings of the 14th IEEE International Conference on Software Engineering Research, Management and Applications (SERA), Towson, MD, USA.10.1109/SERA.2016.7516126 ↗
5. Support Vector Machines10.1109/5254.708428 ↗
6. Rasmussen, C.E. (1999, January 7). The Infinite Gaussian Mixture Model. Proceedings of the Advances in Neural Information Processing Systems 12, NIPS 1999, Denver, CO, USA.
7. O’Shea, K., and Nash, R. (2015). An Introduction to Convolutional Neural Networks. arXiv.
8. Zaremba, W., Sutskever, I., and Vinyals, O. (2014). Recurrent Neural Network Regularization. arXiv.
9. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł., and Polosukhin, I. (2017). Attention Is All You Need. Advances in Neural Information Processing Systems, Curran Associates, Inc.
10. Collobert, R., and Weston, J. (2008, January 23–29). A Unified Architecture for Natural Language Processing: Deep Neural Networks with Multitask Learning. Proceedings of the 25th International Conference on Machine Learning, COLING 2014, Dublin, Ireland.10.1145/1390156.1390177 ↗
11. Tao, H., Tong, S., Zhao, H., Xu, T., Jin, B., and Liu, Q. (February, January 27). A Radical-Aware Attention-Based Model for Chinese Text Classification. Proceedings of the 33rd AAAI Conference on Artificial Intelligence, AAAI 2019, Hilton Hawaiian Village, Honolulu, HI, USA.10.1609/aaai.v33i01.33015125 ↗
12. Shi, W., and Yu, Z. (2018, January 15–20). Sentiment Adaptive End-to-End Dialog Systems. Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2018, Melbourne, Australia.10.18653/v1/P18-1140 ↗
13. Intelligent Asset Allocation via Market Sentiment Views10.1109/MCI.2018.2866727 ↗
14. Blitzer, J., Dredze, M., and Pereira, F. (2007, January 23–30). Biographies, Bollywood, Boom-boxes and Blenders: Domain Adaptation for Sentiment Classification. Proceedings of the 45th Annual Meeting of the Association of Computational Linguistics, ACL 2007, Prague, Czech Republic.
15. Melville, P., Gryc, W., and Lawrence, R.D. (2009, January 28). Sentiment Analysis of Blogs by Combining Lexical Knowledge with Text Classification. Proceedings of the 15th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD 2009, Paris, France.10.1145/1557019.1557156 ↗
16. Cognitive-Inspired Domain Adaptation of Sentiment Lexicons10.1016/j.ipm.2018.11.002 ↗
17. Kim, Y. (2014, January 25–29). Convolutional Neural Networks for Sentence Classification. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar.10.3115/v1/D14-1181 ↗
18. Zhang, X., Zhao, J., and LeCun, Y. (2015, January 7–12). Character-Level Convolutional Networks for Text Classification. Proceedings of the 28th International Conference on Neural Information Processing Systems, NIPS 2015, Montreal, QC, Canada.
19. Tang, D., Qin, B., and Liu, T. (2015, January 17–21). Document Modeling with Gated Recurrent Neural Network for Sentiment Classification. Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, EMNLP 2015, Lisbon, Portugal.10.18653/v1/D15-1167 ↗
20. Lai, S., Xu, L., Liu, K., and Zhao, J. (2015, January 25–30). Recurrent Convolutional Neural Networks for Text Classification. Proceedings of the Twenty-Ninth AAAI Conference on Artificial Intelligence, AAAI 2015, Austin, TX, USA.10.1609/aaai.v29i1.9513 ↗
21. Transformer and Graph Convolutional Network for Text Classification10.1007/s44196-023-00337-z ↗
22. Rocktäschel, T., Grefenstette, E., Hermann, K.M., Kočiský, T., and Blunsom, P. (2016, January 2–4). Reasoning about Entailment with Neural Attention. Proceedings of the 4th International Conference on Learning Representations, ICLR 2016, San Juan, Puerto Rico.
23. Kumar, A., Irsoy, O., Ondruska, P., Iyyer, M., Bradbury, J., Gulrajani, I., Zhong, V., Paulus, R., and Socher, R. (2016, January 19–24). Ask Me Anything: Dynamic Memory Networks for Natural Language Processing. Proceedings of the 33rd International Conference on International Conference on Machine Learning, New York, NY, USA.
24. Neural Attentive Network for Cross-Domain Aspect-level Sentiment Classification10.1109/TAFFC.2019.2897093 ↗
25. Domain Attention Model for Multi-Domain Sentiment Classification10.1016/j.knosys.2018.05.004 ↗
26. ImageNet Classification with Deep Convolutional Neural Networks10.1145/3065386 ↗
27. Long Short-Term Memory10.1162/neco.1997.9.8.1735 ↗
28. Li, S., and Zong, C. (2008, January 15–20). Multi-Domain Sentiment Classification. Proceedings of the 46th Annual Meeting of the Association for Computational Linguistics, ACL 2008, Columbus, OH, USA.10.3115/1557690.1557765 ↗
29. Collaboratively Training Sentiment Classifiers for Multiple Domains10.1109/TKDE.2017.2669975 ↗
30. Evgeniou, T., and Pontil, M. (2004, January 22–25). Regularized Multi-Task Learning. Proceedings of the Tenth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Seattle, WA, USA.10.1145/1014052.1014067 ↗
31. Malsar: Multi-task learning via structural regularization
32. Liu, P., Qiu, X., and Huang, X. (August, January 30). Adversarial Multi-task Learning for Text Classification. Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics, ACL 2017, Vancouver, BC, Canada. Available online: https://aclanthology.org/P17-1001/.10.18653/v1/P17-1001 ↗
33. Liu, X., Gao, J., He, X., Deng, L., Duh, K., and Wang, Y. (June, January 31). Representation Learning Using Multi-Task Deep Neural Networks for Semantic Classification and Information Retrieval. Proceedings of the 2015 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL 2015, Denver, CO, USA.10.3115/v1/N15-1092 ↗
34. Liu, P., Qiu, X., and Huang, X. (2016, January 1–4). Deep Multi-Task Learning with Shared Memory for Text Classification. Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, EMNLP 2016, Austin, TX, USA.10.18653/v1/D16-1012 ↗
35. A Neural Word Embeddings Approach for Multi-Domain Sentiment Analysis10.1109/TAFFC.2017.2717879 ↗
36. Katsarou, K., Douss, N., and Stefanidis, K. (2023, January 27–31). REFORMIST: Hierarchical Attention Networks for Multi-Domain Sentiment Classification with Active Learning. Proceedings of the 38th ACM/SIGAPP Symposium on Applied Computing, Tallinn, Estonia.10.1145/3555776.3577689 ↗
37. Katsarou, K., Jeney, R., and Stefanidis, K. (2023, January 27–31). MUTUAL: Multi-Domain Sentiment Classification via Uncertainty Sampling. Proceedings of the 38th ACM/SIGAPP Symposium on Applied Computing, Tallinn, Estonia.10.1145/3555776.3577765 ↗
38. Dai, Y., and El-Roby, A. DaCon: Multi-Domain Text Classification Using Domain Adversarial Contrastive Learning. Proceedings of the International Conference on Artificial Neural Networks.
39. Bidirectional Recurrent Neural Networks10.1109/78.650093 ↗
40. Zeiler, M.D. (2012). Adadelta: An Adaptive Learning Rate Method. arXiv.
41. Pennington, J., Socher, R., and Manning, C. (2014, January 25–29). Glove: Global Vectors for Word Representation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, EMNLP 2015, Doha, Qatar.10.3115/v1/D14-1162 ↗