Related Experiment Video
Updated: Oct 23, 2025

Drug Repurposing Hypothesis Generation Using the "RE:fine Drugs" System
Published on: December 11, 2016
Pharmacovigilance with Transformers: A Framework to Detect Adverse Drug Reactions Using BERT Fine-Tuned with FARM
Sajid Hussain1, Hammad Afzal1, Ramsha Saeed1
1National University of Sciences and Technology (NUST), Islamabad, Pakistan.
This study introduces FARM-BERT, an efficient system for detecting adverse drug reactions (ADRs) in text. The model achieves high accuracy and is computationally faster than BERT for ADR detection.
Area of Science:
- Pharmacovigilance
- Natural Language Processing
- Computational Linguistics
Background:
- Adverse drug reactions (ADRs) are significant health concerns.
- Social media platforms are increasingly used for sharing health-related information, including ADR experiences.
- Existing methods for ADR detection from text face challenges in efficiency and end-to-end system development.
Purpose of the Study:
- To develop an end-to-end system for modeling and detecting adverse drug reactions (ADRs) from natural language text.
- To improve the computational efficiency of ADR detection systems compared to standard BERT models.
- To integrate text classification and ADR mention extraction into a unified, faster framework.
Main Methods:
- Fine-tuning BERT using the Framework for Adapting Representation Models (FARM) to create a FARM-BERT model.
- Implementing a multitask learning approach with multiple prediction heads for text classification and ADR sequence labeling.
- Evaluating the system on diverse datasets including Twitter, PubMed, TwiMed-Twitter, and TwiMed-PubMed.
Main Results:
- The FARM-BERT model achieved high F-scores across all tested datasets: 89.6% (Twitter), 97.6% (PubMed), 84.9% (TwiMed-Twitter), and 95.9% (TwiMed-PubMed).
- The proposed model demonstrated significantly faster training and testing times compared to the standard BERT model.
- The modular FARM framework facilitated easier and computationally faster training of the end-to-end ADR extraction system.
Conclusions:
- FARM-BERT offers a computationally efficient and effective solution for end-to-end ADR detection from text.
- The multitask learning approach within the FARM framework streamlines the development and improves the performance of ADR extraction systems.
- This approach holds promise for real-world applications in pharmacovigilance and public health monitoring.
More Related Videos
08:31Biosensor-based High Throughput Biopanning and Bioinformatics Analysis Strategy for the Global Validation of Drug-protein Interactions
Published on: December 1, 2020
07:40A Data Integration Workflow to Identify Drug Combinations Targeting Synthetic Lethal Interactions
Published on: May 27, 2021
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...
Drug Regulation
Measurement of Bioavailability: Pharmacodynamic Methods
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 Regimens: Partial Pharmacokinetic Parameters
Therapeutic Drug Monitoring: Drug Analysis Methods