arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2508.06145cs.AI
收藏

用于全面药物禁忌症的检索增强大型语言模型系统

Retrieval Augmented Large Language Model System for Comprehensive Drug Contraindications

Hongik University(弘益大学);HD Junction

Byeonghun Bang, Jongsuk Yoon, Dong-Jin Chang, Seho Park, Yong Oh Lee

AI总结:

本研究通过实施RAG流水线并集成Langchain混合检索系统,有效提升了LLMs在药物禁忌症领域的准确率,显著降低了处方与用药决策的不确定性。

摘要:

大型语言模型(LLMs)的多功能性已在各个领域得到探索,但其在医疗保健中的应用面临挑战,特别是在需要准确可靠信息的药物禁忌症领域。本研究通过实施检索增强生成(RAG)流水线,增强了LLMs有效处理禁忌症的能力。我们以OpenAI的GPT-4o-mini作为基础模型,使用text-embedding-3-small模型进行嵌入,并集成Langchain来编排一个带有重排序的混合检索系统。该系统利用来自公共数据库的药物利用审查(DUR)数据,重点关注特定年龄组、怀孕期及合并用药的禁忌症。数据集包含三个类别的300个问答对,基线模型准确率在0.49到0.57之间。在集成RAG流水线后,我们观察到模型准确率显著提升,在年龄组、怀孕期和合并用药相关禁忌症上分别达到了0.94、0.87和0.89。结果表明,用RAG框架增强LLMs,可以通过提供更精确可靠的药物禁忌症信息,大幅减少处方和用药决策中的不确定性。

英文摘要:

The versatility of large language models (LLMs) has been explored across various sectors, but their application in healthcare poses challenges, particularly in the domain of pharmaceutical contraindications where accurate and reliable information is required. This study enhances the capability of LLMs to address contraindications effectively by implementing a Retrieval Augmented Generation (RAG) pipeline. Utilizing OpenAI's GPT-4o-mini as the base model, and the text-embedding-3-small model for embeddings, our approach integrates Langchain to orchestrate a hybrid retrieval system with re-ranking. This system leverages Drug Utilization Review (DUR) data from public databases, focusing on contraindications for specific age groups, pregnancy, and concomitant drug use. The dataset includes 300 question-answer pairs across three categories, with baseline model accuracy ranging from 0.49 to 0.57. Post-integration of the RAG pipeline, we observed a significant improvement in model accuracy, achieving rates of 0.94, 0.87, and 0.89 for contraindications related to age groups, pregnancy, and concomitant drug use, respectively. The results indicate that augmenting LLMs with a RAG framework can substantially reduce uncertainty in prescription and drug intake decisions by providing more precise and reliable drug contraindication information.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑