Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: JMIR AI

Date Submitted: Feb 12, 2024
Open Peer Review Period: Feb 14, 2024 - Apr 10, 2024
Date Accepted: Nov 18, 2024
(closed for review but you can still tweet)

The final, peer-reviewed published version of this preprint can be found here:

Investigating the Classification of Living Kidney Donation Experiences on Reddit and Understanding the Sensitivity of ChatGPT to Prompt Engineering: Content Analysis

Nielsen J, Chen X, Davis L, Waterman A, Gentili M

Investigating the Classification of Living Kidney Donation Experiences on Reddit and Understanding the Sensitivity of ChatGPT to Prompt Engineering: Content Analysis

JMIR AI 2025;4:e57319

DOI: 10.2196/57319

PMID: 39918869

Classification of Living Kidney Donation Experiences on Reddit: Understanding the Sensitivity of ChatGPT to Prompt Engineering

  • Joshua Nielsen; 
  • Xiaoyu Chen; 
  • LaShara Davis; 
  • Amy Waterman; 
  • Monica Gentili

ABSTRACT

Background:

Living kidney donation (LKD), where individuals donate one kidney while alive, plays a critical role in increasing the number of kidneys available for those suffering from kidney failure. Prior studies show that many generous people are interested in becoming living donors, but a huge gap exists between the number of patients on the waiting list and the number of living donors yearly.

Objective:

To bridge this gap, we investigated how to identify potential living donors from discussion on public social media forums so that educational interventions could later be directed to them.

Methods:

Utilizing Reddit forums as an example, this study describes the classification of Reddit content shared about LKD into three classes: (1) Present (presently dealing with LKD personally), (2) Past (dealt with LKD personally in the past), and Other (LKD general comments). An evaluation comparing a fine-tuned DistilBERT model (hereafter written BERT for simplicity) and inference with GPT-3.5 (ChatGPT) occurred. To systematically evaluate ChatGPT’s sensitivity to distinguishing between the three prompt categories, we employed a comprehensive prompt engineering strategy encompassing a full factorial analysis in 48 runs. A novel prompt engineering approach, Dialogue Until Classification Consensus (DUCC), was introduced to simulate a deliberation between two domain experts until a consensus on classification was achieved.

Results:

BERT and GPT-3.5 exhibited classification accuracies of approximately 75% and 78%, respectively. Recognizing the inherent ambiguity between classes, a post-hoc analysis of incorrect predictions was performed, revealing sensible reasoning and acceptable errors from the predictive models. Considering these acceptable mis-matched predictions, the accuracy improved to 89.33% for BERT, 90.67% for GPT-3.5, and 92.67% for GPT-4.

Conclusions:

Large Language Models (LLMs) like GPT-3.5 are highly capable of detecting and categorizing LKD targeted content on social media forums. They are sensitive to instructions, and the introduced DUCC method exhibited superior performance over standalone reasoning, highlighting the merit in advancing prompt engineering methodologies. The models can produce appropriate contextual reasoning, even when final conclusions differ from human counterparts.


 Citation

Please cite as:

Nielsen J, Chen X, Davis L, Waterman A, Gentili M

Investigating the Classification of Living Kidney Donation Experiences on Reddit and Understanding the Sensitivity of ChatGPT to Prompt Engineering: Content Analysis

JMIR AI 2025;4:e57319

DOI: 10.2196/57319

PMID: 39918869

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.