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

© 2023. The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature..

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.

Medienart:

E-Artikel

Erscheinungsjahr:

2024

Erschienen:

2024

Enthalten in:

Zur Gesamtaufnahme - volume:51

Enthalten in:

Journal of pharmacokinetics and pharmacodynamics - 51(2024), 2 vom: 29. Apr., Seite 101-108

Sprache:

Englisch

Beteiligte Personen:

Shin, Euibeom [VerfasserIn]
Ramanathan, Murali [VerfasserIn]

Links:

Volltext

Themen:

Bioavailability
ChatGPT
Drug development
Graphing
Journal Article
PK/PD
Pharmacokinetics
Prompt engineering

Anmerkungen:

Date Completed 01.04.2024

Date Revised 01.04.2024

published: Print-Electronic

Citation Status MEDLINE

doi:

10.1007/s10928-023-09892-6

funding:

Förderinstitution / Projekttitel:

PPN (Katalog-ID):

NLM364436611