Related Experiment Video
Updated: Jun 14, 2025

Drug Repurposing Hypothesis Generation Using the "RE:fine Drugs" System
Published on: December 11, 2016
AI-Powered Drug Classification and Indication Mapping for Pharmacoepidemiologic Studies: Prompt Development and
Benjamin Ogorek1, Thomas Rhoads1, Eric Finkelman1
1Spencer Health Solutions, Inc, Morrisville, NC, United States.
Large language models (LLMs) can accurately classify drugs using real-world data (RWD), offering a cost-effective solution for pharmacoepidemiologic research. This AI-driven approach improves drug classification efficiency and accessibility for research teams.
Area of Science:
- Artificial Intelligence in Medicine
- Health Informatics
- Computational Pharmacology
Background:
- Pharmacoepidemiologic studies require accurate Anatomical Therapeutic Chemical Classification System (ATC) drug classification within real-world data (RWD).
- Existing drug classification tools are often costly, unreliable, or have restrictive usage terms.
- There is a need for context-aware classification methods that leverage RWD effectively.
Purpose of the Study:
- To establish large language models (LLMs) as an effective assisting technology for drug classification.
- To develop AI prompts that enable LLMs to reason about drug classifications using RWD.
- To demonstrate the superior accuracy, efficiency, and effectiveness of LLM-based classification compared to alternative methods.
Main Methods:
- An LLM prompt was designed to classify aspirin's therapeutic use (analgesic vs. antithrombotic) using chain-of-thought reasoning.
- The prompt was evaluated on 12,294 anonymized daily dose strings from patients in the US and Canada.
- Performance was benchmarked against a Google Programmable Search Engine using regex-based extraction.
Main Results:
- The LLM achieved 92.5% accuracy in classifying drugs, outperforming the search-based algorithm (82.5%).
- Chain-of-thought reasoning effectively distinguished between different therapeutic uses based on dosage information.
- While generally successful, the prompt formulation faced challenges with drugs having multiple complex classifications.
Conclusions:
- GPT-4o provides a cost-effective and accessible method for drug classification from RWD, adhering to terms of service.
- LLMs, particularly with chain-of-thought prompting, can infer drug class based on dosage and context.
- The widespread availability of LLMs empowers research teams to perform large-scale drug classification, crucial for pharmacoepidemiology.
More Related Videos
06:55Inverse Probability of Treatment Weighting Propensity Score using the Military Health System Data Repository and National Death Index
Published on: January 8, 2020
08:31Biosensor-based High Throughput Biopanning and Bioinformatics Analysis Strategy for the Global Validation of Drug-protein Interactions
Published on: December 1, 2020
Related Concept Videos
Analysis of Population Pharmacokinetic Data
Drug Discovery: Overview
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...
Preclinical Development: Overview
Drug Administration and Therapy Phases: Overview
The pharmaceutical phase focuses on leveraging the physicochemical properties of the drug to design and manufacture an effective product. Variants include orally administered tablets or capsules, topical creams or ointments, and parenteral-delivery solutions or emulsions.
The pharmacokinetic phase...
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...