CoChat

Assessing Racial and Ethnic Bias in Text Generation for Healthcare-Related Tasks by ChatGPT 1

Open access

The DOI matches its Crossref record; 16 of the 16 references it cites were found in a registry or an index.

Abstract

Large Language Models (LLM) are AI tools that can respond human-like to voice or free-text commands without training on specific tasks. However, concerns have been raised about their potential racial bias in healthcare tasks. In this study, ChatGPT was used to generate healthcare-related text for patients with HIV, analyzing data from 100 deidentified electronic health record encounters. Each patient’s data were fed four times with all information remaining the same except for race/ethnicity (African American, Asian, Hispanic White, Non-Hispanic White). The text output was analyzed for sentiment, subjectivity, reading ease, and most used words by race/ethnicity and insurance type. Results showed that instructions for African American, Asian, Hispanic White, and Non-Hispanic White patients had an average polarity of 0.14, 0.14, 0.15, and 0.14, respectively, with an average subjectivity of 0.46 for all races/ethnicities. The differences in polarity and subjectivity across races/ethnicities were not statistically significant. However, there was a statistically significant difference in word frequency across races/ethnicities and a statistically significant difference in subjectivity across insurance types with commercial insurance eliciting the most subjective responses and Medicare and other payer types the lowest. The study suggests that ChatGPT is relatively invariant to race/ethnicity and insurance type in terms of linguistic and readability measures. Further studies are needed to validate these results and assess their implications.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1101/2023.08.28.23294730

Cites

16 of 16 references verified0 citation errors · 0 not checkable

Statistics

Figures

Fig. 1. Polarity and subjectivity of ChatGPT-generated text by race/ethnicity.
Fig. 1. Polarity and subjectivity of ChatGPT-generated text by race/ethnicity.CC BY-ND · PubMed Central
Fig. 2. Entity Counts of ChatGPT generated text by race/ethnicity.
Fig. 2. Entity Counts of ChatGPT generated text by race/ethnicity.CC BY-ND · PubMed Central
Fig. 3. Readability Scores of ChatGPT generated text by race/ethnicity
Fig. 3. Readability Scores of ChatGPT generated text by race/ethnicityCC BY-ND · PubMed Central
Fig. 4. Average text length of ChatGPT generated text by race/ethnicity.
Fig. 4. Average text length of ChatGPT generated text by race/ethnicity.CC BY-ND · PubMed Central
Fig. 5. Word frequencies of the top 10 most frequent words utilized by ChatGPT for each examined race/ethnicity.
Fig. 5. Word frequencies of the top 10 most frequent words utilized by ChatGPT for each examined race/ethnicity.CC BY-ND · PubMed Central
Fig. 6. Subjectivity, polarity, entity count, text length, and readability scores of ChatGPT generated text by race/ethnicity.
Fig. 6. Subjectivity, polarity, entity count, text length, and readability scores of ChatGPT generated text by race/ethnicity.CC BY-ND · PubMed Central

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Cited by

See all 36

Metadata

Authors
Hanna, J. J., Wakene, A. D., Lehmann, C. U., & Medford, R. J.
Affiliations
The University of Texas Southwestern Medical Center (US)
Corresponding author
Hanna, John J.
Venue
medRxiv
Publisher
openRxiv
Published
2023-08-28
OpenAlex
W4386245555
Cited by
28
References
13
Citations by year
2026: 3 · 2025: 8 · 2024: 14 · 2023: 3
Type
posted content
Language
en
Open access
Licence
cc-by-nd
Locations
  • medRxiv (acceptedVersion, cc-by-nd)
  • PubMed (publishedVersion)
  • PubMed Central (submittedVersion, cc-by-nd)
Funders
National Institutes of Health (UL1TR003163)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Ethics and Social Impacts of AI
  • Health Sciences › Medicine › Health Informatics › Artificial Intelligence in Healthcare and Education
  • Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning in Healthcare
Keywords
ChatGPT, large language models, racial bias, ethnic prejudice, HIV, electronic health records, sentiment analysis, subjectivity, readability, word frequency, insurance type, Medicare, private insurance

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.