Related Experiment Video
Updated: Jan 8, 2026

Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
Transformer-based models for ADR detection: cross-drug validation and benchmarking against large language models
Minjung Kim1, Kyoung Eun Kim1, Jae-Hee Kwon1
1College of Pharmacy and Graduate School of Pharmaceutical Sciences, Ewha Womans University, Seoul, Republic of Korea.
Large language models (LLMs) significantly outperform transformer-based models in detecting adverse drug reactions (ADRs) from social media data. ChatGPT 4o-mini demonstrated superior performance in identifying ADRs in tweets about GLP-1 receptor agonists.
Area of Science:
- Pharmacovigilance and computational linguistics.
- Application of machine learning in drug safety monitoring.
Background:
- Adverse drug reactions (ADRs) are critical safety concerns.
- Social media offers valuable real-time patient data but requires advanced processing.
- Natural language processing (NLP) and transfer learning are key to analyzing unstructured text.
Purpose of the Study:
- To assess transformer models fine-tuned for ADR classification on tweets about GLP-1 receptor agonists.
- To benchmark these models against state-of-the-art large language models (LLMs).
Main Methods:
- Fine-tuning BERT-base, BERTweet-base, and GPT-2 models using ADR datasets.
- Testing models on 396 tweets mentioning GLP-1 receptor agonists.
- Evaluating performance using F1 scores and comparing against ChatGPT 4o, ChatGPT 4o-mini, and Gemini 2.5 Flash.
Main Results:
- BERTweet-base achieved the highest F1 score (0.729) among fine-tuned transformer models.
- LLMs demonstrated superior performance, with ChatGPT 4o-mini achieving an F1 score of 0.948.
- LLMs substantially outperformed fine-tuned transformer models in ADR classification.
Conclusions:
- Fine-tuned transformer models show potential for ADR detection in social media.
- State-of-the-art LLMs, especially ChatGPT 4o-mini, offer significantly improved capabilities for pharmacovigilance.
- LLMs represent a powerful advancement for real-time drug safety surveillance.
Related Concept Videos
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...
Therapeutic Drug Monitoring: Drug Analysis Methods
Model Approaches for Pharmacokinetic Data: Distributed Parameter Models
The distributed parameter models are specifically designed to account for variations and differences in some drug classes. This model is particularly useful for assessing regional concentrations of anticancer or...
