Evaluation of prompt engineering strategies for pharmacokinetic data analysis with the ChatGPT large language model.

IF 2.2 4区 医学 Q3 PHARMACOLOGY & PHARMACY Journal of Pharmacokinetics and Pharmacodynamics Pub Date : 2024-04-01 Epub Date: 2023-11-11 DOI:10.1007/s10928-023-09892-6
Euibeom Shin, Murali Ramanathan
{"title":"Evaluation of prompt engineering strategies for pharmacokinetic data analysis with the ChatGPT large language model.","authors":"Euibeom Shin, Murali Ramanathan","doi":"10.1007/s10928-023-09892-6","DOIUrl":null,"url":null,"abstract":"<p><p>To systematically assess the ChatGPT large language model on diverse tasks relevant to pharmacokinetic data analysis. ChatGPT was evaluated with prototypical tasks related to report writing, code generation, non-compartmental analysis, and pharmacokinetic word problems. The writing task consisted of writing an introduction for this paper from a draft title. The coding tasks consisted of generating R code for semi-logarithmic graphing of concentration-time profiles and calculating area under the curve and area under the moment curve from time zero to infinity. Pharmacokinetics word problems on single intravenous, extravascular bolus, and multiple dosing were taken from a pharmacokinetics textbook. Chain-of-thought and problem separation were assessed as prompt engineering strategies when errors occurred. ChatGPT showed satisfactory performance on the report writing, code generation tasks and provided accurate information on the principles and methods underlying pharmacokinetic data analysis. However, ChatGPT had high error rates in numerical calculations involving exponential functions. The outputs generated by ChatGPT were not reproducible: the precise content of the output was variable albeit not necessarily erroneous for different instances of the same prompt. Incorporation of prompt engineering strategies reduced but did not eliminate errors in numerical calculations. ChatGPT has the potential to become a powerful productivity tool for writing, knowledge encapsulation, and coding tasks in pharmacokinetic data analysis. The poor accuracy of ChatGPT in numerical calculations require resolution before it can be reliably used for PK and pharmacometrics data analysis.</p>","PeriodicalId":16851,"journal":{"name":"Journal of Pharmacokinetics and Pharmacodynamics","volume":" ","pages":"101-108"},"PeriodicalIF":2.2000,"publicationDate":"2024-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Pharmacokinetics and Pharmacodynamics","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1007/s10928-023-09892-6","RegionNum":4,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2023/11/11 0:00:00","PubModel":"Epub","JCR":"Q3","JCRName":"PHARMACOLOGY & PHARMACY","Score":null,"Total":0}
引用次数: 0

Abstract

To systematically assess the ChatGPT large language model on diverse tasks relevant to pharmacokinetic data analysis. ChatGPT was evaluated with prototypical tasks related to report writing, code generation, non-compartmental analysis, and pharmacokinetic word problems. The writing task consisted of writing an introduction for this paper from a draft title. The coding tasks consisted of generating R code for semi-logarithmic graphing of concentration-time profiles and calculating area under the curve and area under the moment curve from time zero to infinity. Pharmacokinetics word problems on single intravenous, extravascular bolus, and multiple dosing were taken from a pharmacokinetics textbook. Chain-of-thought and problem separation were assessed as prompt engineering strategies when errors occurred. ChatGPT showed satisfactory performance on the report writing, code generation tasks and provided accurate information on the principles and methods underlying pharmacokinetic data analysis. However, ChatGPT had high error rates in numerical calculations involving exponential functions. The outputs generated by ChatGPT were not reproducible: the precise content of the output was variable albeit not necessarily erroneous for different instances of the same prompt. Incorporation of prompt engineering strategies reduced but did not eliminate errors in numerical calculations. ChatGPT has the potential to become a powerful productivity tool for writing, knowledge encapsulation, and coding tasks in pharmacokinetic data analysis. The poor accuracy of ChatGPT in numerical calculations require resolution before it can be reliably used for PK and pharmacometrics data analysis.

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
用ChatGPT大型语言模型评估药代动力学数据分析的即时工程策略。
系统地评估ChatGPT大语言模型在与药代动力学数据分析相关的各种任务上的应用。ChatGPT通过与报告撰写、代码生成、非区隔分析和药代动力学单词问题相关的原型任务进行评估。写作任务包括根据草稿题目为这篇论文写一篇引言。编码任务包括生成浓度-时间曲线半对数图形的R代码,计算从时间0到无穷远的曲线下面积和力矩曲线下面积。单次静脉给药、血管外给药和多次给药的药代动力学问题摘自一本药代动力学教科书。当错误发生时,思维链和问题分离被评估为及时的工程策略。ChatGPT在报告撰写、代码生成任务方面表现良好,并提供了药代动力学数据分析原理和方法的准确信息。然而,ChatGPT在涉及指数函数的数值计算中有很高的错误率。ChatGPT生成的输出是不可重复的:输出的精确内容是可变的,尽管对于同一提示符的不同实例不一定是错误的。快速工程策略的结合减少了数值计算中的误差,但不能消除误差。ChatGPT有潜力成为一个强大的生产力工具,用于药物动力学数据分析中的写作、知识封装和编码任务。ChatGPT在数值计算中的准确性较差,需要进行分辨率才能可靠地用于PK和药物计量学数据分析。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
CiteScore
4.90
自引率
4.00%
发文量
39
审稿时长
6-12 weeks
期刊介绍: Broadly speaking, the Journal of Pharmacokinetics and Pharmacodynamics covers the area of pharmacometrics. The journal is devoted to illustrating the importance of pharmacokinetics, pharmacodynamics, and pharmacometrics in drug development, clinical care, and the understanding of drug action. The journal publishes on a variety of topics related to pharmacometrics, including, but not limited to, clinical, experimental, and theoretical papers examining the kinetics of drug disposition and effects of drug action in humans, animals, in vitro, or in silico; modeling and simulation methodology, including optimal design; precision medicine; systems pharmacology; and mathematical pharmacology (including computational biology, bioengineering, and biophysics related to pharmacology, pharmacokinetics, orpharmacodynamics). Clinical papers that include population pharmacokinetic-pharmacodynamic relationships are welcome. The journal actively invites and promotes up-and-coming areas of pharmacometric research, such as real-world evidence, quality of life analyses, and artificial intelligence. The Journal of Pharmacokinetics and Pharmacodynamics is an official journal of the International Society of Pharmacometrics.
期刊最新文献
Novel endpoints based on tumor size ratio to support early clinical decision-making in oncology drug-development. Translational pharmacokinetic and pharmacodynamic modelling of the anti-ADAMTS-5 NANOBODY® (M6495) using the neo-epitope ARGS as a biomarker. QSP modeling of a transiently inactivating antibody-drug conjugate highlights benefit of short antibody half life. A PopPBPK-RL approach for precision dosing of benazepril in renal impaired patients. Comparison of the power and type 1 error of total score models for drug effect detection in clinical trials.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1