Assessing Racial and Ethnic Bias in Text Generation for Healthcare-Related Tasks by ChatGPT 1
Open accessThe 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.
Integrity signals
Registry
Cites
Statistics
Figures






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.
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?
The source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“the accompanying integration risks include potential biases and inaccuracies in generated content [7]”
From Applications, Challenges, and Prospects of Generative Artificial Intelligence Empowering Medical Education: Scoping Review (2025) · cites this paper as [7]
Experimental — accuracy not yet measured
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
Language Models are Few-Shot Learners
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.14165 · Cited by 23,372
Kaugeranna, R., Kaugeranna, E., & Aion, (. S. 4. 6. (2023) · DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · doi:10.4230/lipics.giscience.2023.43 · Cited by 13,690
A guide to deep learning in healthcare
Esteva, A., Robicquet, A., Ramsundar, B., Kuleshov, V., DePristo, M., Chou, K., Cui, C., Corrado, G., Thrun, S., & Dean, J. (2019) · Nature Medicine · doi:10.1038/s41591-018-0316-z · Cited by 5,312
Kung, T. H., Cheatham, M., Medenilla, A., Sillos, C., De Leon, L., Elepaño, C., Madriaga, M., Aggabao, R., Diaz-Candido, G., Maningo, J., et al. (2023) · PLOS Digital Health · doi:10.1371/journal.pdig.0000198 · Cited by 4,115
Large Language Models Encode Clinical Knowledge
Singhal, K., Azizi, S., Tu, T., Mahdavi, S. S., Wei, J., Chung, H. W., Scales, N., Tanwani, A., Cole-Lewis, H., Pfohl, S., et al. (2022) · arXiv · doi:10.48550/arxiv.2212.13138 · Cited by 4,083
Large language models encode clinical knowledge
Singhal, K., Azizi, S., Tu, T., Mahdavi, S. S., Wei, J., Chung, H. W., Scales, N., Tanwani, A., Cole-Lewis, H., Pfohl, S., et al. (2023) · Nature · doi:10.1038/s41586-023-06291-2 · Cited by 4,083
Large language models in medicine
Thirunavukarasu, A. J., Ting, D. S. J., Elangovan, K., Gutierrez, L., Tan, T. F., & Ting, D. S. W. (2023) · Nature Medicine · doi:10.1038/s41591-023-02448-8 · Cited by 3,944
Ayers, J. W., Poliak, A., Dredze, M., Leas, E. C., Zhu, Z., Kelley, J. B., Faix, D. J., Goodman, A. M., Longhurst, C. A., Hogarth, M., et al. (2023) · JAMA Internal Medicine · doi:10.1001/jamainternmed.2023.1838 · Cited by 2,613
Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddings
Bolukbasi, T., Chang, K.-W., Zou, J., Saligrama, V., & Kalai, A. (2016) · arXiv · doi:10.48550/arxiv.1607.06520 · Cited by 1,615
Lyu, Q., Tan, J., Zapadka, M. E., Ponnatapura, J., Niu, C., Myers, K. J., Wang, G., & Whitlow, C. T. (2023) · arXiv · doi:10.48550/arxiv.2303.09038 · Cited by 393
Cited by
Bedi, S., Liu, Y., Orr-Ewing, L., Dash, D., Koyejo, S., Callahan, A., Fries, J. A., Wornow, M., Swaminathan, A., Lehmann, L. S., et al. (2024) · doi:10.1101/2024.04.15.24305869 · Cited by 738
“Within this review, only one study conducted a financial impact or cost-effectiveness analysis.”
Testing and Evaluation of Health Care Applications of Large Language Models: A Systematic Review
Bedi, S., Liu, Y., Orr-Ewing, L., Dash, D., Koyejo, S., Callahan, A., Fries, J. A., Wornow, M., Swaminathan, A., Lehmann, L. S., et al. (2025) · JAMA · doi:10.1001/jama.2024.21700 · Cited by 662
Current applications and challenges in large language models for patient care: a systematic review
Busch, F., Hoffmann, L., Rueger, C., van Dijk, E. H., Kader, R., Ortiz-Prado, E., Makowski, M. R., Saba, L., Hadamitzky, M., Kather, J. N., et al. (2025) · Communications Medicine · doi:10.1038/s43856-024-00717-2 · Cited by 358
“24,31,43,48,49,57,59,62,67,79,88 – 91,97,102,106,107 , including clinical documentation”
Moulaei, K., Yadegari, A., Baharestani, M., Farzanbakhsh, S., Sabet, B., & Reza Afrash, M. (2024) · International Journal of Medical Informatics · doi:10.1016/j.ijmedinf.2024.105474 · Cited by 244
Wang, L., Wan, Z., Ni, C., Song, Q., Li, Y., Clayton, E., Malin, B., & Yin, Z. (2024) · Journal of Medical Internet Research · doi:10.2196/22769 · Cited by 165
Mathis, W. S., Zhao, S., Pratt, N., Weleff, J., & Paoli, S. D. (2024) · Computer Methods and Programs in Biomedicine · doi:10.1016/j.cmpb.2024.108356 · Cited by 131
Unmasking and quantifying racial bias of large language models in medical report generation
Yang, Y., Liu, X., Jin, Q., Huang, F., & Lu, Z. (2024) · Communications Medicine · doi:10.1038/s43856-024-00601-z · Cited by 92
“The dif fi culty of detect bias in LLMsiscompoundedby LLMs ’ linguisticpro fi ciency, with studiesshowing little difference in sentiment and readability across racial groups in medical texts generated by LLMs 7 .”
Omar, M., Sorin, V., Agbareia, R., Apakama, D. U., Soroush, A., Sakhuja, A., Freeman, R., Horowitz, C. R., Richardson, L. D., Nadkarni, G. N., et al. (2025) · International Journal for Equity in Health · doi:10.1186/s12939-025-02419-0 · Cited by 110
“Gender bias manifestations in LLMs text generation [17].”
Unmasking and Quantifying Racial Bias of Large Language Models in Medical Report Generation
Yang, Y., Liu, X., Jin, Q., Huang, F., & Lu, Z. (2024) · arXiv · doi:10.48550/arxiv.2401.13867 · Cited by 94
Lynch, C. J., Jensen, E. J., Zamponi, V., O’Brien, K., Frydenlund, E. F., & Gore, R. J. (2023) · Future Internet · doi:10.3390/fi15120375 · Cited by 40
ChatGPT-Based Learning: Generative Artificial Intelligence in Medical Education
Stretton, B., Kovoor, J., Arnold, M., & Bacchi, S. (2023) · Medical Science Educator · doi:10.1007/s40670-023-01934-5 · Cited by 34
“This may limit its insight, so whilst provisional analyses suggest that ChatGPT is relatively invariant to ethnicity or racial profiles, care is required to ensure that no discriminatory behaviour or inappropriate stereotypes are reinforced [11].”
VITO, A. D., Colpani, A., Moi, G., Babudieri, S., Calcagno, A., Calvino, V., Ceccarelli, M., Colpani, G., d’Ettorre, G., Biagio, A. D., et al. (2024) · AIDS and Behavior · doi:10.1007/s10461-024-04391-2 · Cited by 33
“A recently published article investigated the presence of biases regarding ethnicity and insurance type; the findings suggest no signifi - cant discrepancies regarding these domains [ 31 ].”
BackgroundBias in Large Language Models Across Clinical Applications: A Systematic Review
Suenghataiphorn, T., Tribuddharat, N., Danpanichkul, P., & Kulthamrongsri, N. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2504.02917 · Cited by 43
Lin, Y., Luo, Z., Ye, Z., Zhong, N., Zhao, L., Zhang, L., Li, X., Chen, Z., & Chen, Y. (2025) · JMIR Medical Education · doi:10.2196/71125 · Cited by 58
“Nevertheless, the accompanying integration risks include potential biases and inaccuracies in generated content [7] and possible inhibition of critical thinking through over-reliance [8].”
Mixed methods assessment of the influence of demographics on medical advice of ChatGPT
Andreadis, K., Newman, D. R., Twan, C., Shunk, A., Mann, D. M., & Stevens, E. R. (2024) · Journal of the American Medical Informatics Association · doi:10.1093/jamia/ocae086 · Cited by 20
A Multidisciplinary Assessment of ChatGPT’s Knowledge of Amyloidosis: Observational Study
King, R. C., Samaan, J. S., Yeo, Y. H., Peng, Y., Kunkel, D. C., Habib, A. A., & Ghashghaei, R. (2024) · JMIR Cardio · doi:10.2196/53421 · Cited by 20
Luo, X., Tahabi, F. M., Marc, T., Haunert, L., & Storey, S. (2024) · Journal of the American Medical Informatics Association · doi:10.1093/jamia/ocae145 · Cited by 22
“48,49 As discussed earlier, LLMs may generate information not originally present in the guidelines, potentially introducing biases into the extraction process.”
BackgroundRen, R., Xu, Y., Yao, X., & Cole, S. T. (2025) · Current Issues in Tourism · doi:10.1080/13683500.2025.2609218 · Cited by 20
“In healthcare, some studies found no significant biases in ChatGPT-4’s diagnostic accuracy (Andreadis et al., 2024; Ito et al., 2023; Hanna et al., 2023).”
Evaluating for Evidence of Sociodemographic Bias in Conversational AI for Mental Health Support
Yeo, Y. H., Peng, Y., Mehra, M., Samaan, J. S., Hakimian, J. K., Clark, A., Suchak, K. K., Krut, Z., Andersson, T., Persky, S., et al. (2025) · Cyberpsychology Behavior and Social Networking · doi:10.1089/cyber.2024.0199 · Cited by 17
“17 Given the con fl icting evidence, it is imperative to establish a thorough and stringent approach when investigating the presence of bias within LLMs.”
Liu, C., Zheng, J., Liu, Y., Wang, X., Zhang, Y., Fu, Q., Yu, W., Yu, T., Jiang, W., Wang, D., et al. (2025) · International Journal for Equity in Health · doi:10.1186/s12939-025-02581-5 · Cited by 18
“Furthermore, while previous investigations have largely quantified social biases within individual models [19, 20], this research synthesizes findings from three distinct LLMs, yielding a more nuanced understanding of how different models may exhibit varying degrees—and sometimes contradictory…”
InfluentialMethodological foundations for artificial intelligence ‐driven survey question generation
Mburu, T., Rong, K., McColley, C. J., & Werth, A. (2025) · Journal of Engineering Education · doi:10.1002/jee.70012 · Cited by 18
Cheng, H. Y. (2025) · JMIR Formative Research · doi:10.2196/63494 · Cited by 10
ChatGPT as a Tool for Equitable Education in Engineering Classes
Ghosh, S. (2024) · ASEE Annual Conference & Exposition · doi:10.18260/1-2--48458 · Cited by 12
A comparative analysis of CDC and AI-generated health information using computer-aided text analysis
Young, A., & Omosun, F. (2025) · Journal of Communications In Healthcare · doi:10.1080/17538068.2025.2487378 · Cited by 5
“A number of studies looked specifically at gender, race [92] and ethnicity [93] bias in information provided by large language models.”
Inclusive AI in Healthcare: Enhancing Bariatric Surgery Education for Diverse Patient Populations
Samaan, J. S., Yeo, Y. H., Rajeev, N. D., Ng, W. H., Srinivasan, N., & Samakar, K. (2023) · Obesity Surgery · doi:10.1007/s11695-023-06969-6 · Cited by 2
Evaluation of ChatGPT and Gemini in Answering Patient Questions after Gynecologic Surgery
Voigt, P., Sharma, R., Chaudhari, A., Tsai, S. C., Milad, M. P., & Yang, L. C. (2026) · Applied Clinical Informatics · doi:10.1055/a-2818-1611 · Cited by 1
A commentary on ‘ChatGPT in medicine: prospects and challenges: a review article’ – correspondence
MohanaSundaram, A., & Emran, T. B. (2024) · International Journal of Surgery · doi:10.1097/js9.0000000000001487 · Cited by 1
“[13] have analyzed the EHR data of 100 deidenti fi ed HIV patients and found that ChatGPT didn ’ t show any signi fi cant racial/ethnic bias.”
BackgroundIs it time for the neurologist to use Large Language Models in everyday practice?Preprint
Maiorana, N. V., Marceglia, S. R. F., Treddenti, M., Tosi, M., Guidetti, M., Creta, M. F., Bocci, T., Oliveri, S., Boneschi, F. M., & Priori, A. (2025) · medRxiv · doi:10.1101/2025.01.23.25320945 · Cited by 4
“In addition, other studies observed that LLMs have limitations reflecting data-driven biases, particularly in domains requiring high sensitivity to demographic or clinical subcategories 50 .”
Cordella, N., & Moses, J. M. (2024) · The Joint Commission Journal on Quality and Patient Safety · doi:10.1016/j.jcjq.2024.05.007
From Words to Waves: How Gender Bias Perpetuates AI-Based Music Generation
Wu, B. (2025) · Highlights in Science Engineering and Technology · doi:10.54097/ykbyh440
Chapter 22. De-Centering GenAI Outputs and Re-Centering Student Labor
Adams, K., & Baker, M. (2026) · The WAC Clearinghouse; University Press of Colorado eBooks · doi:10.37514/per-b.2026.2791.2.22
Actes de la journée d’étude sur l’utilisation des LLM à l’hôpital: llm@hopital.fr
Michelucci, R., Rance, B., & Coulet, A. (2026) · HAL
Library-AI Handshake Model: Solving the Ethical AI Conundrum in Higher Institutions of Learning
Bakare-Fatungase, O. D. (2026) · Advances in computational intelligence and robotics book series · doi:10.4018/406023
Unveiling Biases Via Proactive Detection and Analysis of Racism in GPT-4o-mini
Deo, A., & Rao, A. (2026) · Lecture notes in networks and systems · doi:10.1007/978-3-032-27669-8_14
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
- PMC
- PMC10491360
- 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
- green
- doi.org
- 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.