How to improve ChatGPT performance for nephrologists: a technique guide

J Nephrol. 2024 Jun;37(5):1397-1403. doi: 10.1007/s40620-024-01974-z. Epub 2024 May 21.

Abstract

Background: The integration of ChatGPT into nephrology presents opportunities for enhanced decision-making and patient care. However, refining its performance to meet the specific needs of nephrologists remains a challenge. This guide offers a strategic roadmap for advancing ChatGPT's effectiveness in nephrological applications.

Methods: Utilizing the advanced capabilities of GPT-4, we customized user profiles to optimize the model's response quality for nephrological inquiries. We assessed the efficacy of chain-of-thought prompting versus standard prompting in delineating the diagnostic pathway for nephrogenic diabetes insipidus-associated hypernatremia and polyuria. Additionally, we explored the influence of integrating retrieval-augmented generation on the model's proficiency in detailing pharmacological interventions to decelerate the progression from chronic kidney disease (CKD) G3 to end-stage kidney disease (ESKD), comparing it to responses without retrieval-augmented generation.

Results: In contrast to the standard prompting, the chain-of-thought method offers a step-by-step diagnostic process that mirrors the intricate thought processes needed for diagnosing nephrogenic diabetes insipidus-related hypernatremia and polyuria. This begins with an initial assessment, notably including a water deprivation test. After evaluating the outcomes of this test, the approach continues by identifying potential causes. Furthermore, if a patient's history suggests lithium usage, the chain-of-thought model adjusts by proposing a more customized course of action. In response to "List medication treatment to help slow progression of CKD G3 to ESKD?", GPT-4 only provides a general summary of medication options. Nevertheless, a specialized GPT-4 model equipped with a retrieval-augmented generation system delivers more precise responses, including renin-angiotensin system inhibitors, sodium-glucose cotransporter-2 inhibitors, and mineralocorticoid receptor antagonists. This aligns well with the 2024 KDIGO guidelines.

Conclusions: GPT-4, when integrated with chain-of-thought prompting and retrieval-augmented generation techniques, demonstrates enhanced performance in the nephrology domain. This guide underscores the transformative potential of chain-of-thought and retrieval-augmented generation techniques in optimizing ChatGPT for nephrology, and highlights the ongoing need for innovative, tailored AI solutions in specialized medical fields.

Keywords: Artificial intelligence; ChatGPT; LLM; Large language model; Nephrology; Technique guide.

MeSH terms

  • Diabetes Insipidus, Nephrogenic* / diagnosis
  • Disease Progression
  • Humans
  • Hypernatremia / diagnosis
  • Hypernatremia / therapy
  • Kidney Failure, Chronic / therapy
  • Nephrologists*
  • Nephrology*
  • Polyuria
  • Renal Insufficiency, Chronic / complications
  • Renal Insufficiency, Chronic / diagnosis
  • Renal Insufficiency, Chronic / therapy