Employing General-Purpose and Biomedical Large Language Models with Advanced Prompt Engineering for Pharmacoepidemiologic Study Design.

IF 4.1 3区 医学 Q2 CHEMISTRY, MULTIDISCIPLINARY
Xinyao Zhang, Nicole Sonne Heckmann, Manuela Del Castillo Suero, Francesco Paolo Speca, Maurizio Sessa
{"title":"Employing General-Purpose and Biomedical Large Language Models with Advanced Prompt Engineering for Pharmacoepidemiologic Study Design.","authors":"Xinyao Zhang, Nicole Sonne Heckmann, Manuela Del Castillo Suero, Francesco Paolo Speca, Maurizio Sessa","doi":"10.1007/s11095-026-04190-5","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>The potential of large language models (LLMs) to automate and support pharmacoepidemiologic study design is an emerging area of interest, yet their reliability remains insufficiently characterized. General-purpose LLMs often display inaccuracies, while the comparative performance of specialized biomedical LLMs in this domain remains unknown.</p><p><strong>Methods: </strong>This study evaluated general-purpose LLMs (GPT-4o and DeepSeek-R1) versus biomedically fine-tuned LLMs (QuantFactory/Bio-Medical-Llama-3-8B-GGUF and Irathernotsay/qwen2-1.5B-medical_qa-Finetune) using 46 protocols (2018-2024) from the HMA-EMA Catalogue and Sentinel System. Performance was assessed across relevance, logic of justification, and ontology-code agreement across multiple coding systems using Least-to-Most (LTM) and Active Prompting strategies.</p><p><strong>Results: </strong>GPT-4o and DeepSeek-R1 paired with LTM prompting achieved the highest relevance and logic of justification scores, with GPT-4o-LTM reaching a median relevance score of 4 in 8 of 9 questions for HMA-EMA protocols. Biomedical LLMs showed lower relevance overall and frequently generated insufficient justification. All LLMs demonstrated limited proficiency in ontology-code mapping.</p><p><strong>Conclusion: </strong>Off-the-shelf general-purpose LLMs currently offered more reliable support for pharmacoepidemiologic study design than the smaller biomedical LLMs evaluated. In the model-controlled comparison (GPT-4o with Least-to-Most versus Active prompting), prompt strategy did not significantly affect performance (paired p = 0.93), and prompt comparisons are therefore reported descriptively. Because the two model groups also differed in scale and instruction-tuning, this contrast should be interpreted as a comparison of readily deployable options rather than of biomedical specialization alone.</p>","PeriodicalId":20027,"journal":{"name":"Pharmaceutical Research","volume":" ","pages":""},"PeriodicalIF":4.1000,"publicationDate":"2026-09-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Pharmaceutical Research","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1007/s11095-026-04190-5","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"CHEMISTRY, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

Background: The potential of large language models (LLMs) to automate and support pharmacoepidemiologic study design is an emerging area of interest, yet their reliability remains insufficiently characterized. General-purpose LLMs often display inaccuracies, while the comparative performance of specialized biomedical LLMs in this domain remains unknown.

Methods: This study evaluated general-purpose LLMs (GPT-4o and DeepSeek-R1) versus biomedically fine-tuned LLMs (QuantFactory/Bio-Medical-Llama-3-8B-GGUF and Irathernotsay/qwen2-1.5B-medical_qa-Finetune) using 46 protocols (2018-2024) from the HMA-EMA Catalogue and Sentinel System. Performance was assessed across relevance, logic of justification, and ontology-code agreement across multiple coding systems using Least-to-Most (LTM) and Active Prompting strategies.

Results: GPT-4o and DeepSeek-R1 paired with LTM prompting achieved the highest relevance and logic of justification scores, with GPT-4o-LTM reaching a median relevance score of 4 in 8 of 9 questions for HMA-EMA protocols. Biomedical LLMs showed lower relevance overall and frequently generated insufficient justification. All LLMs demonstrated limited proficiency in ontology-code mapping.

Conclusion: Off-the-shelf general-purpose LLMs currently offered more reliable support for pharmacoepidemiologic study design than the smaller biomedical LLMs evaluated. In the model-controlled comparison (GPT-4o with Least-to-Most versus Active prompting), prompt strategy did not significantly affect performance (paired p = 0.93), and prompt comparisons are therefore reported descriptively. Because the two model groups also differed in scale and instruction-tuning, this contrast should be interpreted as a comparison of readily deployable options rather than of biomedical specialization alone.

采用通用和生物医学大语言模型与先进的提示工程进行药物流行病学研究设计。
背景:大型语言模型(llm)自动化和支持药物流行病学研究设计的潜力是一个新兴的兴趣领域,但其可靠性仍然没有充分表征。通用法学硕士经常显示不准确性,而专业生物医学法学硕士在该领域的比较性能仍然未知。方法:本研究使用来自HMA-EMA目录和Sentinel System的46个协议(2018-2024)评估通用llm (gpt - 40和DeepSeek-R1)与生物医学微调llm (QuantFactory/Bio-Medical-Llama-3-8B-GGUF和Irathernotsay/qwen2-1.5B-medical_qa-Finetune)。使用最小到最多(Least-to-Most, LTM)和主动提示策略,跨多个编码系统通过相关性、论证逻辑和本体代码协议来评估性能。结果:与LTM提示配对的gpt - 40和DeepSeek-R1获得了最高的相关性和证明逻辑得分,HMA-EMA协议的9个问题中有8个问题的gpt - 40 -LTM的中位相关性得分为4分。生物医学法学硕士总体上的相关性较低,并且经常产生不充分的理由。所有法学硕士在本体代码映射方面都表现出有限的熟练程度。结论:目前,现成的通用法学硕士为药物流行病学研究设计提供了比小型生物医学法学硕士更可靠的支持。在模型控制的比较(gpt - 40与最少到最多的提示和积极提示)中,提示策略对表现没有显著影响(配对p = 0.93),因此,提示比较是描述性的。由于两个模型组在规模和指令调整方面也存在差异,因此这种对比应该被解释为易于部署的选项的比较,而不仅仅是生物医学专业化的比较。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Pharmaceutical Research
Pharmaceutical Research 医学-化学综合
CiteScore
6.60
自引率
5.40%
发文量
276
审稿时长
3.4 months
期刊介绍: Pharmaceutical Research, an official journal of the American Association of Pharmaceutical Scientists, is committed to publishing novel research that is mechanism-based, hypothesis-driven and addresses significant issues in drug discovery, development and regulation. Current areas of interest include, but are not limited to: -(pre)formulation engineering and processing- computational biopharmaceutics- drug delivery and targeting- molecular biopharmaceutics and drug disposition (including cellular and molecular pharmacology)- pharmacokinetics, pharmacodynamics and pharmacogenetics. Research may involve nonclinical and clinical studies, and utilize both in vitro and in vivo approaches. Studies on small drug molecules, pharmaceutical solid materials (including biomaterials, polymers and nanoparticles) biotechnology products (including genes, peptides, proteins and vaccines), and genetically engineered cells are welcome.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书