轻量级大语言模型用于药物咨询:Med-Pal
Lightweight Large Language Model for Medication Enquiry: Med-Pal
AI总结:
Med-Pal基于Mistral-7b微调,用于药物咨询,经SCORE评估和对抗性护栏,在231个问题上优于Biomistral,性能与Meerkat相当,验证了轻量级LLM在数字健康中的可行性。
摘要:
大语言模型(LLMs)已成为辅助数字健康发展的潜在解决方案,用于患者教育,通常涉及与药物相关的咨询。我们训练并验证了Med-Pal,一个针对药物领域的LLM聊天机器人,它基于一个细粒度且由专家整理的数据集进行微调,该数据集选自五个轻量级开源LLM,这些模型参数规模较小(70亿或更少),以考虑计算约束并优先保证运营效率。一个多学科团队使用SCORE标准对LLM的响应进行了临床评估,重点关注安全性、准确性、偏见、可重复性和易理解性。表现最佳的轻量级LLM被选为Med-Pal,并通过对抗性提示进行护栏工程化进一步开发。Med-Pal和现有的轻量级LLM,包括预训练的Biomistral和微调的Meerkat,在一个独立数据集上进行了验证,该数据集涵盖广泛的药物相关问题(共231个),涉及14个不同药物类别下的12种不同问题类型。Mistral-7b在选定的轻量级LLM中脱颖而出,成为表现最佳的模型,在准确性和安全性领域取得了最高的中位数得分14分和71.9%的高质量响应,因此被选为Med-Pal的骨干LLM。与Biomistral相比,Med-Pal在生成适合患者沟通的响应方面表现更优,显著减少了通用LLM常见的偏见和错误。与Meerkat相比,Med-Pal表现出相当的性能。Med-Pal展示了开发和部署微调后的轻量级LLM以增强数字健康沟通的可行性。
英文摘要:
Large Language Models (LLMs) have emerged as a potential solution to assist digital health development with patient education, commonly medication-related enquires. We trained and validated Med-Pal, a medication domain-specific LLM-chatbot fine-tuned with a fine-grained and expert curated dataset from a selection of five light-weighted open-source LLMs of smaller parameter size (7 billion or less) regarding computational constraints and prioritizing operational efficiency. A multi-disciplinary team performed a clinical evaluation of LLMs responses using the SCORE criteria, focusing on safety, accuracy, bias, reproducibility, and ease of understanding. Best performing light-weighted LLM was chosen as Med-Pal for further engineering with guard-railing using adversarial prompting. Med-Pal and existing light-weighted LLMs, including pretrained Biomistral and finetuned Meerkat, were validated on an independent dataset on a broad range of medication-related questions (231 in total), 12 different question types across 14 different medication classes. Mistral-7b emerged as the top performer among selected lightweight LLMs, achieving the highest median score of 14 and 71.9% high-quality responses in accuracy and safety domains, hence chosen as the backbone LLM for Med-Pal. When compared against Biomistral, Med-pal outperformed in generating responses appropriate for patient communication, with significant reductions bias and errors typical of general LLMs. Comparable performance was observed when comparing Med-Pal with Meerkat. Med-Pal showcases the feasibility of developing and employing fine-tuned light-weighted LLMs to enhance digital health communications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。