Related Experiment Video
Updated: Jan 15, 2026

Evidence-based Knowledge Synthesis and Hypothesis Validation: Navigating Biomedical Knowledge Bases via Explainable AI and Agentic Systems
Published on: June 13, 2025
Retrieval augmented large language model system for comprehensive drug contraindications
Byeonghun Bang1, Jongsuk Yoon1, Dong-Jin Chang2
1Department of Computer Engineering, Hongik University, Seoul, 04066 South Korea.
This study enhances large language models (LLMs) for pharmaceutical contraindications using a Retrieval Augmented Generation (RAG) pipeline. The RAG approach significantly improved accuracy in identifying drug interactions, ensuring safer medication guidance.
Area of Science:
- Medical Informatics
- Artificial Intelligence in Healthcare
- Pharmacovigilance
Background:
- Large language models (LLMs) show versatility but face challenges in healthcare, especially for critical data like pharmaceutical contraindications.
- Accurate and reliable information on drug contraindications is essential for patient safety and effective healthcare.
- Existing LLM applications require enhancement to reliably handle complex medical information, such as drug-drug interactions and patient-specific warnings.
Purpose of the Study:
- To enhance the capability of LLMs in identifying pharmaceutical contraindications accurately.
- To implement and evaluate a Retrieval Augmented Generation (RAG) pipeline for improved contraindication detection.
- To reduce uncertainty in prescription and drug intake decisions through precise contraindication information.
Main Methods:
- Utilized OpenAI's GPT-4o-mini as the base LLM and text-embedding-3-small for embeddings.
- Integrated a hybrid retrieval system with re-ranking using the LangChain framework.
- Leveraged Drug Utilization Review (DUR) data focusing on age, pregnancy, and concomitant drug use contraindications.
Main Results:
- Baseline LLM accuracy for contraindications ranged from 0.49 to 0.57.
- The RAG pipeline significantly improved accuracy to 0.94 (age), 0.87 (pregnancy), and 0.89 (concomitant use).
- Demonstrated substantial reduction in uncertainty for prescription and drug intake decisions.
Conclusions:
- Augmenting LLMs with a RAG framework substantially improves the accuracy of pharmaceutical contraindication information.
- The developed RAG pipeline offers a promising solution for reliable drug safety information retrieval.
- This approach can enhance clinical decision-making and patient safety in medication management.
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 Nomenclature
Drug Dosage Regimen: Overview
Typically, the starting dose and dosing interval are guided by the manufacturer's recommendations based on clinical trials conducted during and after drug...
Therapeutic Drug Monitoring: Overview and Classification
Bioequivalence of Drugs: Drugs with Multiple Indications
Drug-Receptor Interactions
Several parameters, such as the drug's affinity for its receptor and its efficacy, which is its ability to activate the receptor, determine the drug's effect on the tissue....

