Abstract
Using a machine to mine public opinion saves money and time. Traditional sentiment analysis approaches are typically unable to handle multi-meaning phrases, syntactically complex structured statements, and a large number of characteristics. We proposed a new knowledge-based hybrid deep learning method (KHACDD) for sentiment classification that integrates a hierarchical attention-based capsule infrastructure with both the dual along with bidirectional recurrent neural network (RNN), Dilated convolutional neural network (CNN), and domain-based knowledge to fix these problems. Our innovative hybrid approach enhances the structure of feature representation as well as feature extraction as well as sentiment classification by dynamically routing capsules its hierarchy structure toward an attention capsule. The suggested hybrid neural network model is based on modified capsules and therefore can learn implicit semantics effectively. The BiGRU-BiLSTM is used all through this system to achieve proper long-distance and interdependent contextual information functioning. In addition, the capsule network may be capable of extracting rich textual information in order to improve express ability. GloVe embedding is used before the RNN layer to incorporate local context into global statistics. To improve performance, the proposed technique leveraged domain-specific information to handle misclassification. Adding adaptive domain-specific knowledge produces a margin of roughly 1% for multilabel ER(Emotion Recognition) social media data as well as 4% for multifeatured and multilabel MHER(Mental Health Emotion Recognition) clinical data, according to the experimental results. In the future, we will improve our model to handle more classes of sentiment with less complexity.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Data availability
All the data and information can be found in the GitHub repository. The relevant data can be accessed at the following location: .
References
AlBadani B, Shi R, Dong J (2022) A novel machine learning approach for sentiment analysis on twitter incorporating the universal language model fine-tuning and svm. Appl Syst Innov 5:13
Bilal M, Almazroi AA (2023) Effectiveness of fine-tuned bert model in classification of helpful and unhelpful online customer reviews. Electron Commer Res 23:2737–2757
Chiny M, Chihab M, Bencharef O, Chihab Y (2021). Lstm, vader and tf-idf based hybrid sentiment analysis model. Int J Adv Comput Sci Appl, 121
Cho K, Van Merriënboer B, Gulcehre C, Bahdanau D, Bougares F, Schwenk H, Bengio Y (2014). Learning phrase representations using rnn encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078
Dong Y, Fu Y, Wang L, Chen Y, Dong Y, Li J (2020) A sentiment analysis method of capsule network based on bilstm. IEEE Access 8:37014–37020
Du Y, Zhao X, He M, Guo W (2019) A novel capsule based hybrid neural network for sentiment classification. IEEE Access 7:39321–39328
Han Y, Liu M, Jing W (2020) Aspect-level drug reviews sentiment analysis based on double bigru and knowledge transfer. IEEE Access 8:21314–21325
Hasan MM, Islam MS, Bakar SA, Rahman MM, Kabir MN (2021). Applications of artificial neural networks in engine cooling system, In: 2021 international conference on software engineering & computer systems and 4th international conference on computational science and information management (ICSECS-ICOCSIM), IEEE. pp. 471–476
Islam MS, Ab Ghani N (2022). A novel bigrubilstm model for multilevel sentiment analysis using deep neural network with bigru-bilstm, in: Recent Trends in Mechatronics Towards Industry 4.0. Springer, pp. 403–414
Islam MS, Sultana S, Roy UK, Al Mahmud J, Jahidul S (2021) Harc-new hybrid method with hierarchical attention based bidirectional recurrent neural network with dilated convolutional neural network to recognize multilabel emotions from text. Jurnal Ilmiah Teknik Elektro Komputer dan Informatika (JITEKI) 7:142–153
Islam S, Ab Ghani N, Ahmed M (2020) A review on recent advances in deep learning for sentiment analysis: performances, challenges and limitations. Compusoft 9:3775–3783
Jojoa M, Eftekhar P, Nowrouzi-Kia B, Garcia-Zapirain B (2022). Natural language processing analysis applied to covid-19 open-text opinions using a distilbert model for sentiment categorization. AI & society , 1–8
Kenarang A, Farahani M, Manthouri M (2022) Bigru attention capsule neural network for persian text classification. J Ambient Intell Humanized Comput 13(8):3923–3933
Khan L, Amjad A, Afaq KM, Chang HT (2022) Deep sentiment analysis using cnn-lstm architecture of english and roman urdu text shared in social media. Appl Sci 12:2694
Khanday AMUD, Rabani ST, Khan QR, Rouf N, Din MMU (2020) Machine learning based approaches for detecting covid-19 using clinical text data. Int J Inf Technol 12:731–739
Lai S, Xu L, Liu K, Zhao J (2015). Recurrent convolutional neural networks for text classification, in: Twenty-ninth AAAI conference on artificial intelligence
Li J, Xu Y, Shi H (2019). Bidirectional lstm with hierarchical attention for text classification, in: 2019 IEEE 4th advanced information technology, electronic and automation control conference (IAEAC), IEEE. pp. 456–459
Li L, Zhou A, Liu Y, Qian S, Geng H (2019) Aspect-based sentiment analysis based on dynamic attention gru. Scientia Sinica Inf 49:1019–1030
Liu J (2010) Fuzzy modularity and fuzzy community structure in networks. Eur Phys J B 77:547–557
Liu R, Shi Y, Ji C, Jia M (2019) A survey of sentiment analysis based on transfer learning. IEEE access 7:85401–85412
Mewada A, Dewang RK (2023) Sa-asba: a hybrid model for aspect-based sentiment analysis using synthetic attention in pre-trained language bert model with extreme gradient boosting. J Supercomput 79:5516–5551
Palomo BAB, Velarde FHV, Cantu-Ortiz FJ, Ceballos Cancino HG (2023). Sentiment analysis of imdb movie reviews using deep learning techniques, In: International congress on information and communication technology, Springer. pp. 421–434
Pasupa K, Ayutthaya Seneewong Na T (2022) Hybrid deep learning models for thai sentiment analysis. Cogn Comput 14:167–193
Pennington J, Socher R, Manning CD (2014). Glove: Global vectors for word representation, In: Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), pp. 1532–1543
Roy D, Dutta M (2022) Optimal hierarchical attention network-based sentiment analysis for movie recommendation. Soc Netw Anal Min 12:138
Saravia E, Liu HCT, Huang YH, Wu J, Chen YS (2018). Carer: Contextualized affect representations for emotion recognition, In: Proceedings of the 2018 conference on empirical methods in natural language processing, pp. 3687–3697
Schuster M, Paliwal KK (1997) Bidirectional recurrent neural networks. IEEE Trans Signal Process 45:2673–2681
Shofiqul MSI, Ab Ghani N, Ahmed MM (2020). A review on recent advances in deep learning for sentiment analysis: Performances, challenges and limitations
Singh M, Jakhar AK, Pandey S (2021) Sentiment analysis on the impact of coronavirus in social life using the bert model. Soc Netw Anal Min 11:33
Srivastava S, Khurana P, Tewari V (2018). Identifying aggression and toxicity in comments using capsule network, In: Proceedings of the first workshop on trolling, aggression and cyberbullying (TRAC-2018), pp. 98–105
Talaat AS (2023) Sentiment analysis classification system using hybrid bert models. J Big Data 10:1–18
Thiengburanathum P, Charoenkwan P (2023). Setar: Stacking ensemble learning for thai sentiment analysis using roberta and hybrid feature representation. IEEE Access
Wang X, Jiang W, Luo Z (2016). Combination of convolutional and recurrent neural network for sentiment analysis of short texts, In: Proceedings of COLING 2016, the 26th international conference on computational linguistics: Technical papers, pp. 2428–2437
Wu F, Gao B, Pan X, Su Z, Ji Y, Liu S, Liu Z (2023) Facapsnet: fusion capsule network with congruent attention for cyberbullying detection. Neurocomputing 542:126253
Xu J, Chen D, Qiu X, Huang X (2016). Cached long short-term memory neural networks for document-level sentiment classification. arXiv preprint arXiv:1610.04989
Yang P, Zhang P, Li B, Ji S, Yi M (2023). Aspect-based sentiment analysis using adversarial bert with capsule networks. Neural Processing Letters , pp 1–18
Zhang Y, Wallace B (2015). A sensitivity analysis of (and practitioners’ guide to) convolutional neural networks for sentence classification. arXiv preprint arXiv:1510.03820
Zhang Y, Wallace B, (2015). A sensitivity analysis of (and practitioners’ guide to) convolutional neural networks for sentence classification. arXiv preprint arXiv:1510.03820
Acknowledgments
This research is supported in part by two grants, one grant (Grant no. FRGS/1/2018/ICT02/UMP /02/12) from the Fundamental Research Grant Scheme (FRGS) by the Government of Malaysia to Universiti Malaysia Pahang Al-Sultan Abdullah (UMPSA), another grant (Grant no. PGRS200394) from Post Graduate Research Scheme(PGRS) by the Government of Malaysia to Universiti Malaysia Pahang Al-Sultan Abdullah (UMPSA).
Author information
Authors and Affiliations
Corresponding authors
Ethics declarations
Conflict of interest
We affirm that there is no Conflict of interest present in our activities or engagements.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Islam, M.S., Ghani, N.A., Zamli, K.Z. et al. KHACDD: a knowledge-based hybrid method for multilabel sentiment analysis on complex sentences using attentive capsule and dual structured recurrent network. Neural Comput & Applic 36, 18065–18086 (2024). https://doi.org/10.1007/s00521-024-09934-1
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00521-024-09934-1