Related Experiment Video
Updated: Jun 11, 2025

Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
Sentiment analysis in medication adherence: using ruled-based and artificial intelligence-driven algorithms to
Wallace Entringer Bottacin1, Alexandre Luquetta2, Luiz Gomes-Jr2
1Postgraduate Program in Pharmaceutical Services and Policies, Federal University of Paraná, Avenida Prefeito Lothário Meissner, 632 - Jardim Botânico, Curitiba, CEP 80210-170, PR, Brazil. wallace.bottacin@gmail.com.
Sentiment analysis models like VADER and DistilRoBERTa can effectively gauge patient emotions and sentiments regarding their medications, improving pharmacy practice. These AI tools offer valuable insights for personalized patient care strategies.
Area of Science:
- Artificial Intelligence in Pharmacy
- Natural Language Processing Applications
- Computational Linguistics in Healthcare
Background:
- Sentiment analysis (SA) is an underutilized AI innovation in pharmacy for assessing patient feelings towards medications.
- SA utilizes artificial intelligence and natural language processing to analyze text for emotions and sentiments.
Purpose of the Study:
- To evaluate Valence Aware Dictionary for Sentiment Reasoning (VADER) and Emotion English DistilRoBERTa-base (DistilRoBERTa) models.
- To identify patient sentiments and emotions concerning pharmacotherapy using SA.
Main Methods:
- Utilized a dataset of 320,095 anonymized patient medication experiences.
- VADER analyzed sentiment polarity (-1 to +1); DistilRoBERTa classified emotions into seven categories.
- Employed scikit-learn's Python module for performance metrics.
Main Results:
- VADER achieved 0.70 overall accuracy, with strong recall for negative sentiments (0.80) and good precision for positive sentiments (0.73).
- DistilRoBERTa revealed positive emotions correlated with medication effectiveness, ease of use, and satisfaction.
- Both models demonstrated consistent and reliable results in analyzing patient pharmacotherapy sentiments.
Conclusions:
- VADER and DistilRoBERTa successfully analyzed patient sentiments and emotions towards pharmacotherapy.
- Findings support the integration of SA in clinical pharmacy for enhanced patient care.
- This research paves the way for more personalized and effective patient management strategies.
Related Concept Videos
Drug Therapy
Antianxiety Medications
Issues And Trends In Healthcare Delivery System
Cost Containment
Payment for healthcare services has historically promoted adoption of costly and often unnecessary or inefficient...
Structure-Activity Relationships and Drug Design
SAR studies the intricate relationship between a drug's chemical structure and biological activity. It focuses on understanding how modifications to a drug's structure can influence...
Dosage Regimen: Fixed Dose
Fixed-dose regimens can be used for various routes of administration, including intravenous (IV) injections and oral medications. For IV administration, a predetermined amount of the drug is...
Stereotype Content Model
Pharmacovigilance
This process, termed pharmacovigilance, aims to detect, evaluate, and minimize harmful effects related to medication use. The data collection for pharmacovigilance depends on spontaneous reporting systems, where healthcare professionals or patients voluntarily report suspected ADRs.
In some cases, there...

