Back

MASHA: A Multi-Agent System for Healthcare Sentiment Analysis Using AI for Migraine Detection in Arabic Tweets

Baroud, S.

2026-05-22 health informatics
10.64898/2026.05.21.26352626 medRxiv
Show abstract

Migraine detection and sentiment analysis in healthcare have become increasingly important, particularly with the rise of social media platforms like Twitter, where users often share their personal health experiences. This study presents MASHA (Multi-Agent System for Healthcare Sentiment Analysis), an artificial intelligence (AI)-driven framework that integrates multiple machine learning (ML) models for sentiment analysis of Arabic tweets related to migraines. The system leverages a multi-agent architecture to handle tasks such as data acquisition, pre-processing, model training and real-time decision-making. Key ML models, including Support Vector Machines (SVM), Naive Bayes (NB) and Logistic Regression (LR), are integrated using ensemble techniques, leading to improved classification performance. Experiments conducted on a dataset of Arabic tweets demonstrate that MASHA outperforms traditional methods, achieving an accuracy of 90.0% and an F1-score of 89.46%. Moreover, the system's scalability and flexibility make it suitable for real-time public health monitoring, offering valuable insights into patient experiences and public sentiment regarding healthcare services. MASHA's adaptability suggests its potential application for analysing other healthcare-related conditions, reinforcing the system's scalability and broader relevance. Future work will focus on incorporating deep learning (DL) models and expanding the dataset with content from additional social media platform.

Matching journals

The top 4 journals account for 50% of the predicted probability mass.

1
Journal of Medical Internet Research
85 papers in training set
Top 0.1%
18.5%
2
BMC Medical Informatics and Decision Making
39 papers in training set
Top 0.1%
14.6%
3
IEEE Journal of Biomedical and Health Informatics
34 papers in training set
Top 0.1%
12.2%
4
PLOS Digital Health
91 papers in training set
Top 0.3%
6.7%
50% of probability mass above
5
Computers in Biology and Medicine
120 papers in training set
Top 0.6%
4.3%
6
npj Digital Medicine
97 papers in training set
Top 1%
4.1%
7
Journal of Biomedical Informatics
45 papers in training set
Top 0.4%
3.9%
8
JMIR Formative Research
32 papers in training set
Top 0.4%
3.6%
9
International Journal of Medical Informatics
25 papers in training set
Top 0.4%
3.6%
10
JMIR Medical Informatics
17 papers in training set
Top 0.4%
3.0%
11
JAMIA Open
37 papers in training set
Top 0.6%
2.1%
12
Scientific Reports
3102 papers in training set
Top 55%
1.8%
13
PLOS ONE
4510 papers in training set
Top 54%
1.7%
14
Frontiers in Physiology
93 papers in training set
Top 3%
1.7%
15
Frontiers in Public Health
140 papers in training set
Top 5%
1.7%
16
Frontiers in Digital Health
20 papers in training set
Top 0.7%
1.7%
17
Artificial Intelligence in Medicine
15 papers in training set
Top 0.4%
1.5%
18
Journal of Personalized Medicine
28 papers in training set
Top 1%
0.7%
19
Informatics in Medicine Unlocked
21 papers in training set
Top 1%
0.7%
20
Frontiers in Artificial Intelligence
18 papers in training set
Top 1.0%
0.6%
21
Sensors
39 papers in training set
Top 2%
0.6%
22
Biology Methods and Protocols
53 papers in training set
Top 3%
0.6%
23
International Journal of Environmental Research and Public Health
124 papers in training set
Top 8%
0.6%