在医疗安全关键场景中大型语言模型需要防护栏:药物警戒生态系统中的一种人工智能应用
The Need for Guardrails with Large Language Models in Medical Safety-Critical Settings: An Artificial Intelligence Application in the Pharmacovigilance Ecosystem
AI总结:
本文针对LLM在药物警戒等医疗安全关键场景中的幻觉风险,提出并验证了一套防护栏框架,通过异常文档检测、错误术语识别和不确定性表达等机制,结合微调LLM实现安全可靠的药物安全报告转换。
摘要:
大型语言模型(LLMs)是有用的工具,能够以有效的规模执行特定类型的知识工作。然而,在高风险和安全关键领域中部署LLM带来了独特的挑战,尤其是“幻觉”问题,即LLM可能生成虚构信息。这在药物安全等场景中尤其令人担忧,因为不准确可能导致患者受到伤害。为了降低这些风险,我们开发并演示了一套概念验证的防护栏,专门设计用于缓解药物安全中某些类型的幻觉和错误,并可能适用于其他医疗安全关键场景。这些防护栏包括检测异常文档以防止不当数据被摄入的机制、识别错误药物名称或不良事件术语的机制,以及在生成内容中传达不确定性的机制。我们将这些防护栏与一个针对文本到文本任务进行微调的LLM集成,该任务涉及将不良事件报告中的结构化和非结构化数据转换为自然语言。该方法被应用于翻译个例安全性报告,展示了在药物警戒处理任务中的有效应用。我们的防护栏框架提供了一套在不同领域具有广泛适用性的工具,通过消除关键错误的发生(包括生成不正确的药物警戒相关术语),确保LLM可以在高风险情况下安全使用,从而在医疗安全关键环境中遵守严格的监管和质量标准。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。