journal article·2023Open access

Analyzing Arabic Twitter-Based Patient Experience Sentiments Using Multi-Dialect Arabic Bidirectional Encoder Representations from Transformers

Sarab AlMuhaideb, Yasmeen AlNegheimish, Taif AlOmar, Reem AlSabti, Maha AlKathery, Ghala AlOlyyan

Computers, Materials & Continua· Volume 76· Issue 1

Abstract

Healthcare organizations rely on patients’ feedback and experiences to evaluate their performance and services, thereby allowing such organizations to improve inadequate services and address any shortcomings. According to the literature, social networks and particularly Twitter are effective platforms for gathering public opinions. Moreover, recent studies have used natural language processing to measure sentiments in text segments collected from Twitter to capture public opinions about various sectors, including healthcare. The present study aimed to analyze Arabic Twitter-based patient experience sentiments and to introduce an Arabic patient experience corpus. The authors collected 12,400 tweets from Arabic patients discussing patient experiences related to healthcare organizations in Saudi Arabia from 1 January 2008 to 29 January 2022. The tweets were labeled according to sentiment (positive or negative) and sector (public or private), and thereby the Hospital Patient Experiences in Saudi Arabia (HoPE-SA) dataset was produced. A simple statistical analysis was conducted to examine differences in patient views of healthcare sectors. The authors trained five models to distinguish sentiments in tweets automatically with the following schemes: a transformer-based model fine-tuned with deep learning architecture and a transformer-based model fine-tuned with simple architecture, using two different transformer-based embeddings based on Bidirectional Encoder Representations from Transformers (BERT), Multi-dialect Arabic BERT (MARBERT), and multilingual BERT (mBERT), as well as a pre-trained word2vec model with a support vector machine classifier. This is the first study to investigate the use of a bidirectional long short-term memory layer followed by a feedforward neural network for the fine-tuning of MARBERT. The deep-learning fine-tuned MARBERT-based model—the authors’ best-performing model—achieved accuracy, micro-F1, and macro-F1 scores of 98.71%, 98.73%, and 98.63%, respectively.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Sentiment Analysis and Opinion Mining · Social Media in Health Education · Mental Health via Writing

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

References (66)

Show source-provided references
1. Measuring patient experience: Concepts and methods, The Patient10.1007/s40271-014-0060-5 ↗
2. The validity of surveys: Online and offline
3. Big data for healthcare industry 4.0: Applications, challenges and future perspectives10.1016/j.eswa.2022.116912 ↗
4. The Internet’s role in undermining the credibility of the healthcare industry10.54489/ijcim.v2i1.74 ↗
5. Digital health literacy as a super determinant of health: More than simply the sum of its parts10.1016/j.invent.2022.100500 ↗
6. Arabic tweets sentiment analysis—A hybrid scheme10.1177/0165551515610513 ↗
7. Similarweb, “Top Websites ranking in Saudi Arabia in September 2021,” 2021. [Online]. Available: https://www.similarweb.com/top-websites/saudi-arabia/
8. SDCT: Multi-dialects corpus classification for Saudi tweets10.14569/IJACSA.2020.0111128 ↗
9. ASTD: Arabic sentiment tweets dataset
10. ArSAS: An Arabic speech-act and sentiment corpus of tweets
11. From Arabic sentiment analysis to sarcasm detection: The ArSarcasm dataset
12. Sentiment analysis of Twitter data for predicting stock market movements
13. Political sentiment analysis using Twitter data
14. Arabic sentiment analysis of users’ opinions of governmental mobile applications10.32604/cmc.2022.027311 ↗
15. Detecting indicators for startup business success: Sentiment analysis using text data mining10.3390/su11030917 ↗
16. Sentiment analysis of movie reviews using machine learning techniques10.5120/ijca2017916005 ↗
17. Multi-tier sentiment analysis of social media text using supervised machine learning10.32604/cmc.2023.033190 ↗
18. A survey of opinion mining in Arabic: A comprehensive system perspective covering challenges and advances in tools, resources, models, applications, and visualizations10.1145/3295662 ↗
19. Recent trends in deep learning based natural language processing10.1109/MCI.2018.2840738 ↗
20. Attention is all you need
21. Long short-term memory
22. BERT: Pre-training of deep bidirectional transformers for language understanding
23. Jurafsky · Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition · 2009
24. D. E. Rumelhart, G. E. Hinton and R. J. Williams, “Learning Internal Representations by Error Propagation, Technical Report No. ICS–8506. La Jolla Institute for Cognitive Science, University of California, San Diego, CA, USA,” 1985.
25. ARBERT & MARBERT: Deep bidirectional transformers for Arabic
26. A comparative study of effective approaches for Arabic sentiment analysis10.1016/j.ipm.2020.102438 ↗
27. Fine-tuning BERT for sentiment analysis of Vietnamese reviews
28. Portuguese named entity recognition using BERT-CRF10.48550/arXiv.1909.10649 ↗
29. Natural language processing: An introduction
30. Using TF-IDF to determine word relevance in document queries
31. Efficient estimation of word representations in vector space
32. Comparative study of word embeddings models and their usage in Arabic language applications
33. Arabic text classification based on word and document embeddings
34. Comparison of deep learning approaches for sentiment classification
35. Building an enhanced sentiment classification framework based on natural language processing10.3233/JIFS-219278 ↗
36. Cambria · A Practical Guide to Sentiment Analysis · 2017 · 5 · 110.1007/978-3-319-55394-8_1 ↗
37. Using Twitter to examine web-based patient experience sentiments in the United States: Longitudinal study
38. Leveraging transfer learning to analyze opinions, attitudes, and behavioral intentions toward COVID-19 vaccines: Social media content and temporal analysis
39. Arabic language sentiment analysis on health services
40. A sentiment analysis approach to predict an individual’s awareness of the precautionary procedures to prevent COVID-19 outbreaks in Saudi Arabia10.3390/ijerph18010218 ↗
41. Sentiment analysis of Saudi dialect using deep learning techniques
42. Word embeddings and convolutional neural network for Arabic sentiment classification
43. Sentiment analysis of Arabic tweets using deep learning10.1016/j.procs.2018.10.466 ↗
44. AraVec: A set of Arabic word embedding models for use in Arabic NLP10.1016/j.procs.2017.10.117 ↗
45. Pre-training BERT on Arabic tweets: Practical considerations10.48550/arXiv.2102.10684 ↗
46. ArSarcasm shared task: An ensemble BERT model for sarcasm detection in Arabic tweets
47. Arabic sentiment analysis using BERT model
48. Unsupervised cross-lingual representation learning at scale
49. Benchmarking transformer-based language models for Arabic sentiment and sarcasm detection
50. AraBERT: Transformer-based model for Arabic language understanding
51. iCompass at shared task on sarcasm and sentiment detection in Arabic
52. Convolutional neural networks for sentence classification
53. Character-level convolutional networks for text classification
54. Convolutional recurrent neural networks for text classification10.4018/JDM.2021100105 ↗
55. Conditional random fields: Probabilistic models for segmenting and labeling sequence data
56. The evolution of language models applied to emotion analysis of Arabic tweets10.3390/info12020084 ↗
57. C. Zacharias, “TWINT project: Open-source Twitter intelligence,” 2021. [Online]. Available: https://github.com/twintproject/twint
58. Cybermetrics Lab, Consejo Superior de Investigaciones Científicas (CSIC), “Ranking web of hospitals—Saudi Arabia,” 2021. [Online]. Available: https://hospitals.webometrics.info/en/aw/saudi%20arabia%20
59. Saudi Central Board for Accreditation of Healthcare Institutions (CBAHI), “Hospitals accreditation status till 4 Jan 2021,” 2021. [Online]. Available: https://portal.cbahi.gov.sa/Library/Assets/eng-hospital-123206.pdf
60. Measuring nominal scale agreement among many raters10.1037/h0031619 ↗
61. The measurement of observer agreement for categorical data
62. Arabic emoji sentiment lexicon (Arab-ESL): A comparison between Arabic and European emoji sentiment lexicons
63. Google, “Welcome to colaboratory,” 2022. [Online]. Available: https://colab.research.google.com/
64. C. W. Hsu, C. C. Chang and C. J. Lin, “A practical guide to support vector classification, Technical Report. Department of Computer Science, National Taiwan University, Taipei, Taiwan,” 2003. [Online]. Available: https://www.csie.ntu.edu.tw/~cjlin/papers/guide/guide.pdf
65. Deep learning for emotion analysis in Arabic tweets10.1186/s40537-021-00523-w ↗
66. Deep multi-task model for sarcasm detection and sentiment analysis in Arabic language