The Need for Guardrails with Large Language Models in Medical Safety-Critical Settings: An Artificial Intelligence Application in the Pharmacovigilance Ecosystem
On the map: LLM safety and security → Safety alignment, refusal and guardrails
Abstract (arXiv)
Large language models (LLMs) are useful tools with the capacity for performing specific types of knowledge work at an effective scale. However, LLM deployments in high-risk and safety-critical domains pose unique challenges, notably the issue of ``hallucination,'' where LLMs can generate fabricated information. This is particularly concerning in settings such as drug safety, where inaccuracies could lead to patient harm. To mitigate these risks, we have developed and demonstrated a proof of concept suite of guardrails specifically designed to mitigate certain types of hallucinations and errors for drug safety, and potentially applicable to other medical safety-critical contexts. These guardrails include mechanisms to detect anomalous documents to prevent the ingestion of inappropriate data, identify incorrect drug names or adverse event terms, and convey uncertainty in generated content. We integrated these guardrails with an LLM fine-tuned for a text-to-text task, which involves converting both structured and unstructured data within adverse event reports into natural language. This method was applied to translate individual case safety reports, demonstrating effective application in a pharmacovigilance processing task. Our guardrail framework offers a set of tools with broad applicability across various domains, ensuring LLMs can be safely used in high-risk situations by eliminating the occurrence of key errors, including the generation of incorrect pharmacovigilance-related terms, thus adhering to stringent regulatory and quality standards in medical safety-critical environments.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 10 of its 27 references that are in the map. First posted on arXiv 1 Jul 2024.
Builds on
10 of 27 references.
Closest ancestors · 1
Same direction, newest first
Other references · 9
- 2022Large Language Models Encode Clinical Knowledgecited by 1,807
- 2018A Call for Clarity in Reporting BLEU Scorescited by 1,790
- 2023Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMscited by 946
- 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 695
- 2020Improving Massively Multilingual Neural Machine Translation and Zero-Shot Translationcited by 277
- 2022A Contrastive Framework for Neural Text Generationcited by 224
- 2023Sources of Hallucination by Large Language Models on Inference Taskscited by 168
- 2023Empirical evaluation of Uncertainty Quantification in Retrieval-Augmented Language Models for Sciencecited by 7
- 2024RAmBLA: A Framework for Evaluating the Reliability of LLMs as Assistants in the Biomedical Domaincited by 4
Built on by
Citing papers per year: 2025: 7; 2026: 4.
11 papers.
- 2025Towards Agents That Know When They Don't Know: Uncertainty as a Control Signal for Structured Reasoningcited by 10
- 2025Knowledge Augmented Complex Problem Solving with Large Language Models: A Surveycited by 6
- 2025RAGulating Compliance: A Multi-Agent Knowledge Graph for Regulatory QAcited by 6
- 2025PROMPTEVALS: A Dataset of Assertions and Guardrails for Custom Production Large Language Model Pipelinescited by 5
- 2025Constrained Sliced Wasserstein Embeddingcited by 2
- 2025A Systematic Analysis of Declining Medical Safety Messaging in Generative AI Modelscited by 1
- 2026Trust but Verify: Mitigating Medical Hallucinations via Post-Hoc Adversarial Auditing and Multi-Agent Feedback Loopscited by 1
- 2025Taxonomy of Comprehensive Safety for Clinical Agentscited by 0
- 2026Boundary-targeted Membership Inference Attacks on Safety Classifierscited by 0
- 2026When Medical Safety Alignment Fails: A Benchmark for Evaluating LLMs on High-Risk Medical Queriescited by 0
- 2026Dissecting Training-Free Uncertainty Estimation in Multimodal Large Language Modelscited by 0
- 2026Dissecting Training-Free Uncertainty Estimation in Multimodal Large Language Models1 Sep 2026
- 2026Trust but Verify: Mitigating Medical Hallucinations via Post-Hoc Adversarial Auditing and Multi-Agent Feedback Loops12 Jun 2026
- 2026When Medical Safety Alignment Fails: A Benchmark for Evaluating LLMs on High-Risk Medical Queries26 May 2026
- 2026Boundary-targeted Membership Inference Attacks on Safety Classifiers21 May 2026
- 2025Taxonomy of Comprehensive Safety for Clinical Agents26 Sep 2025
- 2025Towards Agents That Know When They Don't Know: Uncertainty as a Control Signal for Structured Reasoning2 Sep 2025
- 2025RAGulating Compliance: A Multi-Agent Knowledge Graph for Regulatory QA13 Aug 2025
- 2025A Systematic Analysis of Declining Medical Safety Messaging in Generative AI Models8 Jul 2025
- 2025Constrained Sliced Wasserstein Embedding2 Jun 2025
- 2025Knowledge Augmented Complex Problem Solving with Large Language Models: A Survey6 May 2025
- 2025PROMPTEVALS: A Dataset of Assertions and Guardrails for Custom Production Large Language Model Pipelines20 Apr 2025