Transformer-Based Aspect Sentiment Analysis for Drug Review Mining: A Comparative Evaluation
摘要
Sentiment analysis plays a crucial role in extracting opinions from textual data, particularly within the healthcare domain. In this study, we focus on aspect-based sentiment analysis (ABSA) of patient drug reviews to identify sentiments related to the effectiveness of medications. Using a multiclass classification approach, we fine-tuned three transformer-based models: DistilBERT, ALBERT, and RoBERTa to classify sentiments into positive, negative, and neutral categories. Experimental evaluation on the Drug Review Dataset sourced from Drugs.com, available on Kaggle, consisting of 214,063 instances, revealed that DistilBERT achieved the best performance with an accuracy of 89%. These results highlight the effectiveness of transformer-based models in capturing nuanced patient feedback, thereby supporting more accurate sentiment interpretation for enhanced clinical decision-making and personalized patient care.