Abstract
User-generated content on healthcare web forums, particularly drug reviews, provides valuable information on drug benefits, effectiveness, side effects, dosage, condition, cost, and overall experiences. Applying Aspect-Based Sentiment Analysis (ABSA) can help researchers categorize sentiments toward specific aspects such as drug effectiveness, side effects, and treatment experiences. These insights are highly useful for healthcare professionals, pharmaceutical companies, and researchers to assess drug efficacy and safety, utilizing the vast amount of healthcare-related user-generated content available online. However, due to scarcity of annotated data for training ABSA models in the medical domain poses challenges in accurately extracting aspect terms. Also, the identification of implicit aspects poses a huge challenge as they frequently lack explicit names or keywords that directly indicate their presence. The domain-dependent nature of ABSA and the variability of term meanings across domains necessitate the incorporation of contextual information and semantic patterns. Therefore, we propose a novel model called Multi-task Learning based Dual Bidirectional LSTM Model (MLDBM) for ABSA of drug reviews. The MLDBM leverages BERT and incorporates a multi-head self-attention mechanism to produce aspect-specific representations which are further processed through the dual BiLSTM model. This enables the model to capture and analyze sentiments related to different aspects discussed in the reviews. We also introduce various modifications to the MLDBM to identify the constraints of the proposed model. The proposed model outperforms state-of-the-art models by achieving a performance gain of 8% to 12% on two benchmark datasets, demonstrating its effectiveness when compared to various baseline models. ABSA applied to drug reviews contributes to enhancing healthcare quality by considering different aspects of drugs as shared by consumers.
Similar content being viewed by others
Data availability
The datasets analyzed during the current study are available on reasonable request.
References
Abdelgwad MM, Soliman TH, Taloba AI, Farghaly MF (2022) Arabic aspect based sentiment analysis using bidirectional GRU based models. J King Saud Univ-Comput Inf Sci 34(9):6652–6662. https://doi.org/10.48550/arXiv.2101.10539
Alsayat A (2022) Improving sentiment analysis for social media applications using an ensemble deep learning language model. Arab J Sci Eng 47(2):2499–2511. https://doi.org/10.1007/s13369-021-06227-w
Basiri ME, Abdar M, Cifci MA, Nemati S, Acharya UR (2020) A novel method for sentiment classification of drug reviews using fusion of deep and machine learning techniques. Knowl-Based Syst 198:105949. https://doi.org/10.1016/j.knosys.2020.105949
Bayraktar K, Yavanoglu U, Ozbilen A (2019) A rule-based holistic approach for Turkish aspect-based sentiment analysis. In: 2019 IEEE International Conference on Big Data (Big Data) pp 2154–2158. https://doi.org/10.1109/BigData47090.2019.9005473
Bensoltane R, Zaki T (2022) Towards Arabic aspect-based sentiment analysis: A transfer learning-based approach. Soc Netw Anal Min 2:1–6. https://doi.org/10.1007/s13278-021-00794-4
Bhatti UA, Wu G, Bazai SU, Nawaz SA, Baryalai M, Bhatti MA, Hasnain A, Nizamani MM (2022) A Pre-to Post-COVID-19 change of air quality patterns in anhui province using path analysis and regression. Pol J Environ Stud 31(5). https://doi.org/10.15244/pjoes/148065
Bonifazi G, Breve B, Cirillo S, Corradini E, Virgili L (2022) Investigating the COVID-19 vaccine discussions on Twitter through a multilayer network-based approach. Inf Process Manag 59(6):103095. https://doi.org/10.1016/j.ipm.2022.103095
Chen J, Tam D, Raffel C, Bansal M, Yang D (2013) An empirical survey of data augmentation for limited data learning in NLP. Trans Assoc Comput Linguist 11:191–211. https://doi.org/10.1162/tacl_a_00542
Colón-Ruiz C, Segura-Bedmar I (2020) Comparing deep learning architectures for sentiment analysis on drug reviews. J Biomed Inform 110:103539. https://doi.org/10.1016/j.jbi.2020.103539
Dubey G, Singh HP, Sheoran K, Dhand G, Malik P (2023) Drug review sentimental analysis based on modular lexicon generation and a fusion of bidirectional threshold weighted mapping CNN-RNN. Concurr Comput Pract Exp 35:e7512. https://doi.org/10.1002/cpe.7512
Geetha MP, Renuka DK (2021) Improving the performance of aspect based sentiment analysis using fine-tuned Bert Base Uncased model. Int J Intell Netw 2:64–69. https://doi.org/10.1016/j.ijin.2021.06.005
Gräßer F, Kallumadi S, Malberg H, Zaunseder S (2018) Aspect-based sentiment analysis of drug reviews applying cross-domain and cross-data learning. In: Proceedings of the 2018 international conference on digital health pp 121–125 https://doi.org/10.1145/3194658.3194677
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. https://doi.org/10.1109/ACCESS.2020.2969473
He R, Lee WS, Ng HT, Dahlmeier D (2018) Exploiting document knowledge for aspect-level sentiment classification. arXiv preprint arXiv:1806.04346. https://doi.org/10.48550/arXiv.1806.04346
Huang B, Ou Y, Carley KM (2018) Aspect level sentiment classification with attention-over-attention neural networks. In: Social, Cultural, and Behavioral Modeling: 11th International Conference, SBP-BRiMS 2018, Washington, DC, USA, Proceedings 11 2018 (pp 197–206). Springer International Publishing. https://doi.org/10.48550/arXiv.1804.06536
Huang S, Huang M, Zhang Y, Chen J, Bhatti U (2020) Medical image segmentation using deep learning with feature enhancement. IET Image Process 14(14):3324–3332. https://doi.org/10.1049/iet-ipr.2019.0772
Jayanto R, Kusumaningrum R, Wibowo A (2022) Aspect-based sentiment analysis for hotel reviews using an improved model of long short-term memory. Int J Adv Intell Inform 8(3):391–403. https://doi.org/10.26555/ijain.v8i3.691
Jiménez-Zafra SM, Martín-Valdivia MT, Molina-González MD, Ureña-López LA (2019) How do we talk about doctors and drugs? Sentiment analysis in forums expressing opinions for the medical domain. Artif Intell Med 93:50–57. https://doi.org/10.1016/j.artmed.2018.03.007
Karsi R, Zaim M, El Alami J (2021) Leveraging Pre-Trained Contextualized Word Embeddings to Enhance Sentiment Classification of Drug Reviews. Rev d'Intelligence Artif 35(4):307–314. https://doi.org/10.18280/ria.350405
Ke Z, Sheng J, Li Z, Silamu W, Guo Q (2021) Knowledge-guided sentiment analysis via learning from natural language explanations. IEEE Access 9:3570–3578. https://doi.org/10.1109/ACCESS.2020.3048088
Li X, Bing L, Zhang W, Lam W (2019) Exploiting BERT for end-to-end aspect-based sentiment analysis https://doi.org/10.48550/arXiv.1910.00883
Lin Y, Wang C, Song H, Li Y (2021) Multi-head self-attention transformation networks for aspect-based sentiment analysis. IEEE Access 9:8762–8770. https://doi.org/10.1109/ACCESS.2021.3049294
Liu Q, Zhang H, Zeng Y, Huang Z, Wu Z (2018) Content attention model for aspect based sentiment analysis. In: Proceedings of the 2018 world wide web conference pp 1023–1032. https://doi.org/10.1145/3178876.3186001
Ma D, Li S, Zhang X, Wang H (2017) Interactive attention networks for aspect-level sentiment classification. arXiv preprint arXiv:1709.00893. https://doi.org/10.48550/arXiv.1709.00893
Ma Y, Peng H, Cambria E (2018) Targeted aspect-based sentiment analysis via embedding commonsense knowledge into an attentive LSTM. In: Proceedings of the AAAI conference on artificial intelligence, vol. 32, no. 1. https://doi.org/10.1609/aaai.v32i1.12048
Ma Y, Peng H, Khan T, Cambria E, Hussain A (2018) Sentic LSTM: a hybrid network for targeted aspect-based sentiment analysis. Cogn Comput 10:639–650. https://doi.org/10.1007/s12559-018-9549-x
Miao YL, Cheng WF, Ji YC, Zhang S, Kong YL (2021) Aspect-based sentiment analysis in Chinese based on mobile reviews for BiLSTM-CRF. J Intell Fuzzy Syst 40(5):8697–8707. https://doi.org/10.3233/JIFS-192078
Pang B, Lee L (2008) Opinion mining and sentiment analysis. Found Trends® Inf Retr 2(1–2):1–35. https://doi.org/10.1561/1500000011
Patil RS, Kolhe SR (2022) Supervised classifiers with TF-IDF features for sentiment analysis of Marathi tweets. Soc Netw Anal Min 12(1):51. https://doi.org/10.1007/s13278-022-00877-w
Ray P, Chakrabarti A (2022) A mixed approach of deep learning method and rule-based method to improve aspect level sentiment analysis. Appl Comput Inform 18(1/2):163–178. https://doi.org/10.1016/j.aci.2019.02.002
Setiawan EI, Ferry F, Santoso J, Sumpeno S, Fujisawa K, Purnomo MH (2020) Bidirectional GRU for targeted aspect-based sentiment analysis based on character-enhanced token-embedding and multi-level attention. Computing. 1:2. https://doi.org/10.22266/ijies2020.1031.35
Sun C, Huang L, Qiu X (2019) Utilizing BERT for aspect-based sentiment analysis via constructing auxiliary sentence https://doi.org/10.48550/arXiv.1903.09588
Sweidan AH, El-Bendary N, Al-Feel H (2021) Sentence-Level Aspect-Based Sentiment Analysis for Classifying Adverse Drug Reactions (ADRs) Using Hybrid Ontology-XLNet Transfer Learning. IEEE Access 9:90828–90846. https://doi.org/10.1109/ACCESS.2021.3091394
Tang D, Qin B, Liu T (2016) Aspect level sentiment classification with deep memory network. In: Proceedings of the 2016 conference on empirical methods in natural language processing pp 214–224, Austin, Texas. Association for Computational Linguistics. https://doi.org/10.48550/arXiv.1605.08900
Wang Y, Huang M, Zhu X, Zhao L (2016) Attention-based LSTM for aspect-level sentiment classification. In: Proceedings of the 2016 conference on empirical methods in natural language processing pp 606–615. https://doi.org/10.18653/v1/D16-1058
Wilcoxon F (1945) Individual Comparisons by Ranking Methods. Biom Bull 1(6):80–83. https://doi.org/10.2307/3001968
Xiao L, Xue Y, Wang H, Hu X, Gu D, Zhu Y (2022) Exploring fine-grained syntactic information for aspect-based sentiment classification with dual graph neural networks. Neurocomputing 471:48–59. https://doi.org/10.1016/j.neucom.2021.10.091
Xu H, Liu B, Shu L, Yu PS (2019) BERT post-training for review reading comprehension and aspect-based sentiment analysis. https://doi.org/10.48550/arXiv.1904.02232
Xue W, Li T (2018) Aspect based sentiment analysis with gated convolutional networks https://doi.org/10.48550/arXiv.1805.07043
Yadav S, Ekbal A, Saha S, Bhattacharyya P (2018) Medical sentiment analysis using social media: Towards building a patient assisted system. In: Proceedings of the eleventh international conference on language resources and evaluation (LREC 2018)
Yang C, Zhang H, Jiang B, Li K (2019) Aspect-based sentiment analysis with alternating coattention networks. Inf Process Manag 56(3):463–478. https://doi.org/10.1016/j.ipm.2018.12.004
Zhao A, Yu Y (2021) Knowledge-enabled BERT for aspect-based sentiment analysis. Knowl-Based Syst 227:107220. https://doi.org/10.1016/j.knosys.2021.107220
Zhao H, Liu Z, Yao X, Yang Q (2021) A machine learning-based sentiment analysis of online product reviews with a novel term weighting and feature selection approach. Inf Process Manag 58(5):102656. https://doi.org/10.1016/j.ipm.2021.102656
Žunić A, Corcoran P, Spasić I (2022) The case of aspect in sentiment analysis: seeking attention or co-dependency? Mach Learn Knowl Extr 4(2):474–487
Funding
The authors received no financial support for the research.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare no conflicts of interest.
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
Rani, S., Jain, A. Aspect-based sentiment analysis of drug reviews using multi-task learning based dual BiLSTM model. Multimed Tools Appl 83, 22473–22501 (2024). https://doi.org/10.1007/s11042-023-16360-3
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-023-16360-3