CoChat

Hurtful words: quantifying biases in clinical contextual word embeddings

Zhang, Haoran, Lu, Amy X., Abdalla, Mohamed, McDermott, Matthew, Ghassemi, Marzyeh · 2020 · Proceedings of the ACM Conference on Health, Inference, and Learning

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

Abstract

In this work, we examine the extent to which embeddings may encode marginalized populations differently, and how this may lead to a perpetuation of biases and worsened performance on clinical tasks. We pretrain deep embedding models (BERT) on medical notes from the MIMIC-III hospital dataset, and quantify potential disparities using two approaches. First, we identify dangerous latent relationships that are captured by the contextual word embeddings using a fill-in-the-blank method with text from real clinical notes and a log probability bias score quantification. Second, we evaluate performance gaps across different definitions of fairness on over 50 downstream clinical prediction tasks that include detection of acute and chronic conditions. We find that classifiers trained from BERT representations exhibit statistically significant differences in performance, often favoring the majority group with regards to gender, language, ethnicity, and insurance status. Finally, we explore shortcomings of using adversarial debiasing to obfuscate subgroup information in contextual word embeddings, and recommend best practices for such deep embedding models in clinical settings.

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.1145/3368555.3384448

Cites

46 of 46 references verified0 citation errors · 0 not checkable

Statistics

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

Show all 46 references

Research works printed but not linked: 31

  1. Artificial Intelligence in Medicine. January 2020
  2. Drug development gets big data analytics boost. January 2020
  3. Emily Alsentzer, John R Murphy, Willie Boag, Wei-Hung Weng, Di Jin, Tristan Naumann, Matthew A Mcdermott, arXiv:1904.03323Publicly Available Clinical BERT Embeddings. 2019. 2019
  4. Triply cursed: racism, homophobia and HIV-related stigma are barriers to regular HIV testing, treatment adherence and disclosure among young Black gay men. Emily A Arnold, Gregory M Rebchook, Susan M Kegeles, Culture, health & sexuality. 162014. 2014
  5. Christine Basta, Marta R Costa-Jussà, Noe Casas, arXiv:1904.08783Evaluating the underlying gender bias in contextualized word embeddings. 2019. 2019arXiv preprint
  6. Data Decisions and Theoretical Implications when Adversarially Learning Fair Representations. Alex Beutel, Jilin Chen, Zhe Zhao, Ed H Chi, arXiv:1707.000752017. 2017
  7. Man is to computer programmer as woman is to homemaker? debiasing word embeddings. Tolga Bolukbasi, Kai-Wei Chang, James Y Zou, Venkatesh Saligrama, Adam T Kalai, Advances in Neural Information Processing Systems. 2016
  8. Gender shades: Intersectional accuracy disparities in commercial gender classification. Joy Buolamwini, Timnit Gebru, Conference on fairness, accountability and transparency. 2018
  9. Pre-Training with Whole Word Masking for Chinese BERT. Yiming Cui, Wanxiang Che, Ting Liu, Bing Qin, Ziqing Yang, Shijin Wang, Guoping Hu, arXiv:1906.081012019. 2019
  10. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. Jacob Devlin, Ming-Wei Chang, Kenton Lee, Kristina Toutanova, Proceedings of the 2019 Conference of the North American Chapter. Long and Short Papers. the 2019 Conference of the North American ChapterHuman Language Technologies20191
  11. Effect of language on heart attack and stroke awareness among US Hispanics. Annette Dubard, Joanne Garrett, Ziya Gizlice, 2006. 200630American journal of preventive medicine
  12. Harrison Edwards, Amos Storkey, arXiv:1511.05897Censoring representations with an adversary. 2015. 2015arXiv preprint
  13. Yanai Elazar, Yoav Goldberg, arXiv:1808.06640Adversarial removal of demographic attributes from text data. 2018. 2018arXiv preprint
  14. Trends in racial disparities for injured patients admitted to trauma centers. Turner M Laurent G Glance, Dana B Osler, Wayne Mukamel, Yue Meredith, Feng Li, Andrew W Qian, Dick, Health services research. 482013. 2013
  15. Equality of opportunity in supervised learning. Moritz Hardt, Eric Price, Nati Srebro, Advances in neural information processing systems. 2016
  16. Fairness Without Demographics in Repeated Loss Minimization. Tatsunori Hashimoto, Megha Srivastava, Hongseok Namkoong, Percy Liang, International Conference on Machine Learning. 2018
  17. MIMIC-III, a freely accessible critical care database. Tom J Alistair Ew Johnson, Lu Pollard, H Shen, Mengling Lehman Li-Wei, Mohammad Feng, Benjamin Ghassemi, Peter Moody, Leo Szolovits, Roger G Anthony Celi, Mark, Scientific data. 31600352016. 2016
  18. Keita Kurita, Nidhi Vyas, Ayush Pareek, Alan W Black, Yulia Tsvetkov, arXiv:1906.07337Measuring Bias in Contextualized Word Representations. 2019. 2019arXiv preprint
  19. Deep learning. Yann Lecun, Yoshua Bengio, Geoffrey Hinton, nature. 5214362015. 2015
  20. Biobert: pre-trained biomedical language representation model for biomedical text mining. Jinhyuk Lee, Wonjin Yoon, Sungdong Kim, Donghyeon Kim, Sunkyu Kim, Chan Ho So, Jaewoo Kang, arXiv:1901.087462019. 2019arXiv preprint
  21. Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, Veselin Stoyanov, arXiv:1907.11692RoBERTa: A Robustly Optimized BERT Pretraining Approach. 2019. 2019arXiv preprint
  22. Gender and age differences in chief complaints of acute myocardial infarction (Worcester Heart Attack Study). Kerry A Milner, Viola Vaccarino, Amy L Arnold, Marjorie Funk, Robert J Goldberg, The American journal of cardiology. 932004. 2004
  23. Bias in artificial intelligence. Gregory S Nelson, North Carolina medical journal. 802019. 2019
  24. Language models are unsupervised multitask learners. Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, OpenAI Blog. 12019. 2019
  25. Laleh Seyyed-Kalantari, Guanxiong Liu, Matthew Mcdermott, Marzyeh Ghassemi, arXiv:2003.00827CheXclusion: Fairness gaps in deep chest X-ray classifiers. 2020. 2020arXiv preprint
  26. Clinical intervention prediction and understanding with deep neural networks. Harini Suresh, Nathan Hunt, Alistair Johnson, Leo Anthony Celi, Peter Szolovits, Marzyeh Ghassemi, Machine Learning for Healthcare Conference. 2017
  27. High-performance medicine: the convergence of human and artificial intelligence. Eric J Topol, Nature medicine. 25442019. 2019
  28. Machine learning in medicine: Addressing ethical challenges. Effy Vayena, Alessandro Blasimme, Glenn Cohen, PLoS medicine. 15e10026892018. 2018
  29. Tianlu Wang, Jieyu Zhao, Kai-Wei Chang, Mark Yatskar, Vicente Ordonez, arXiv:1811.08489Adversarial Removal of Gender from Deep Image Representations. 2018. 2018arXiv preprint
  30. Learning fair representations. Rich Zemel, Yu Wu, Kevin Swersky, Toni Pitassi, Cynthia Dwork, International Conference on Machine Learning. 2013
  31. Jieyu Zhao, Yichao Zhou, Zeyu Li, Wei Wang, Kai-Wei Chang, arXiv:1809.01496Learning gender-neutral word embeddings. 2018. 2018arXiv preprint

Cited by

See all 229

Metadata

Authors
Zhang, H., Lu, A. X., Abdalla, M., McDermott, M., & Ghassemi, M.
Affiliations
  • University of Toronto (CA)
  • Massachusetts Institute of Technology (US)
Venue
Proceedings of the ACM Conference on Health, Inference, and Learning
Publisher
ACM
Published
2020-04-02
Pages
110-120
OpenAlex
W3011762034
Cited by
122
References
38
Citations by year
2026: 8 · 2025: 19 · 2024: 24 · 2023: 22 · 2022: 17 · 2021: 25 · 2020: 7
FWCI
6.68
Type
conference paper
Language
en
Open access
closed
Locations
ACM Conference on Health, Inference, and Learning (CHIL) (publishedVersion)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning in Healthcare
  • Physical Sciences › Computer Science › Artificial Intelligence › Ethics and Social Impacts of AI
  • Physical Sciences › Computer Science › Artificial Intelligence › Explainable Artificial Intelligence (XAI)
Keywords
algorithmic bias, contextual word embeddings, BERT, clinical notes, MIMIC-III, marginalized communities, fairness, clinical prediction, performance gap, gender, language, ethnicity, insurance status, adversarial debiasing, clinical language models

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.