IDEAS home Printed from https://ideas.repec.org/a/nat/natcom/v14y2023i1d10.1038_s41467-023-43715-z.html
   My bibliography  Save this article

TransformEHR: transformer-based encoder-decoder generative model to enhance prediction of disease outcomes using electronic health records

Author

Listed:
  • Zhichao Yang

    (University of Massachusetts Amherst)

  • Avijit Mitra

    (University of Massachusetts Amherst)

  • Weisong Liu

    (University of Massachusetts Lowell
    VA Bedford Health Care System)

  • Dan Berlowitz

    (VA Bedford Health Care System
    University of Massachusetts Lowell)

  • Hong Yu

    (University of Massachusetts Amherst
    University of Massachusetts Lowell
    VA Bedford Health Care System
    University of Massachusetts Lowell)

Abstract

Deep learning transformer-based models using longitudinal electronic health records (EHRs) have shown a great success in prediction of clinical diseases or outcomes. Pretraining on a large dataset can help such models map the input space better and boost their performance on relevant tasks through finetuning with limited data. In this study, we present TransformEHR, a generative encoder-decoder model with transformer that is pretrained using a new pretraining objective—predicting all diseases and outcomes of a patient at a future visit from previous visits. TransformEHR’s encoder-decoder framework, paired with the novel pretraining objective, helps it achieve the new state-of-the-art performance on multiple clinical prediction tasks. Comparing with the previous model, TransformEHR improves area under the precision–recall curve by 2% (p

Suggested Citation

  • Zhichao Yang & Avijit Mitra & Weisong Liu & Dan Berlowitz & Hong Yu, 2023. "TransformEHR: transformer-based encoder-decoder generative model to enhance prediction of disease outcomes using electronic health records," Nature Communications, Nature, vol. 14(1), pages 1-10, December.
  • Handle: RePEc:nat:natcom:v:14:y:2023:i:1:d:10.1038_s41467-023-43715-z
    DOI: 10.1038/s41467-023-43715-z
    as

    Download full text from publisher

    File URL: https://www.nature.com/articles/s41467-023-43715-z
    File Function: Abstract
    Download Restriction: no

    File URL: https://libkey.io/10.1038/s41467-023-43715-z?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Takaya Saito & Marc Rehmsmeier, 2015. "The Precision-Recall Plot Is More Informative than the ROC Plot When Evaluating Binary Classifiers on Imbalanced Datasets," PLOS ONE, Public Library of Science, vol. 10(3), pages 1-21, March.
    2. William Yuan & Brett K. Beaulieu-Jones & Kun-Hsing Yu & Scott L. Lipnick & Nathan Palmer & Joseph Loscalzo & Tianxi Cai & Isaac S. Kohane, 2021. "Temporal bias in case-control design: preventing reliable predictions of the future," Nature Communications, Nature, vol. 12(1), pages 1-10, December.
    3. Nicholas R. Powell & Tiebing Liang & Joseph Ipe & Sha Cao & Todd C. Skaar & Zeruesenay Desta & Hui-Rong Qian & Philip J. Ebert & Yu Chen & Melissa K. Thomas & Naga Chalasani, 2023. "Clinically important alterations in pharmacogene expression in histologically severe nonalcoholic fatty liver disease," Nature Communications, Nature, vol. 14(1), pages 1-16, December.
    4. Sonia A. Melo & Linda B. Luecke & Christoph Kahlert & Agustin F. Fernandez & Seth T. Gammon & Judith Kaye & Valerie S. LeBleu & Elizabeth A. Mittendorf & Juergen Weitz & Nuh Rahbari & Christoph Reissf, 2015. "Glypican-1 identifies cancer exosomes and detects early pancreatic cancer," Nature, Nature, vol. 523(7559), pages 177-182, July.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Shaopeng Yang & Zhuoyao Xin & Weijing Cheng & Pingting Zhong & Riqian Liu & Ziyu Zhu & Lisa Zhuoting Zhu & Xianwen Shang & Shida Chen & Wenyong Huang & Lei Zhang & Wei Wang, 2025. "Photoreceptor metabolic window unveils eye–body interactions," Nature Communications, Nature, vol. 16(1), pages 1-16, December.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Christopher J Greenwood & George J Youssef & Primrose Letcher & Jacqui A Macdonald & Lauryn J Hagg & Ann Sanson & Jenn Mcintosh & Delyse M Hutchinson & John W Toumbourou & Matthew Fuller-Tyszkiewicz &, 2020. "A comparison of penalised regression methods for informing the selection of predictive markers," PLOS ONE, Public Library of Science, vol. 15(11), pages 1-14, November.
    2. Le, Hong Hanh & Viviani, Jean-Laurent, 2018. "Predicting bank failure: An improvement by implementing a machine-learning approach to classical financial ratios," Research in International Business and Finance, Elsevier, vol. 44(C), pages 16-25.
    3. João Chang Junior & Fábio Binuesa & Luiz Fernando Caneo & Aida Luiza Ribeiro Turquetto & Elisandra Cristina Trevisan Calvo Arita & Aline Cristina Barbosa & Alfredo Manoel da Silva Fernandes & Evelinda, 2020. "Improving preoperative risk-of-death prediction in surgery congenital heart defects using artificial intelligence model: A pilot study," PLOS ONE, Public Library of Science, vol. 15(9), pages 1-21, September.
    4. Arthur De Sá Ferreira & Ney Meziat-Filho & Ana Paula Antunes Ferreira, 2021. "Double threshold receiver operating characteristic plot for three-modal continuous predictors," Computational Statistics, Springer, vol. 36(3), pages 2231-2245, September.
    5. Masabho P Milali & Samson S Kiware & Nicodem J Govella & Fredros Okumu & Naveen Bansal & Serdar Bozdag & Jacques D Charlwood & Marta F Maia & Sheila B Ogoma & Floyd E Dowell & George F Corliss & Maggy, 2020. "An autoencoder and artificial neural network-based method to estimate parity status of wild mosquitoes from near-infrared spectra," PLOS ONE, Public Library of Science, vol. 15(6), pages 1-16, June.
    6. Kajal Lahiri & Cheng Yang, 2023. "ROC and PRC Approaches to Evaluate Recession Forecasts," Journal of Business Cycle Research, Springer;Centre for International Research on Economic Tendency Surveys (CIRET), vol. 19(2), pages 119-148, September.
    7. Tzu-Hsuan Lin & Jehn-Ruey Jiang, 2021. "Credit Card Fraud Detection with Autoencoder and Probabilistic Random Forest," Mathematics, MDPI, vol. 9(21), pages 1-16, October.
    8. Alfred Krzywicki & David Muchlinski & Benjamin E. Goldsmith & Arcot Sowmya, 2022. "From academia to policy makers: a methodology for real-time forecasting of infrequent events," Journal of Computational Social Science, Springer, vol. 5(2), pages 1489-1510, November.
    9. Dueñas, Marco & Ortiz, Víctor & Riccaboni, Massimo & Serti, Francesco, 2021. "Assessing the Impact of COVID-19 on Trade: a Machine Learning Counterfactual Analysis," Working papers 79, Red Investigadores de Economía.
    10. Wei-Hsuan Lo-Ciganic & Julie M Donohue & Eric G Hulsey & Susan Barnes & Yuan Li & Courtney C Kuza & Qingnan Yang & Jeanine Buchanich & James L Huang & Christina Mair & Debbie L Wilson & Walid F Gellad, 2021. "Integrating human services and criminal justice data with claims data to predict risk of opioid overdose among Medicaid beneficiaries: A machine-learning approach," PLOS ONE, Public Library of Science, vol. 16(3), pages 1-18, March.
    11. Nica-Avram, Georgiana & Harvey, John & Smith, Gavin & Smith, Andrew & Goulding, James, 2021. "Identifying food insecurity in food sharing networks via machine learning," Journal of Business Research, Elsevier, vol. 131(C), pages 469-484.
    12. Ali J. Ghandour & Huda Hammoud & Samar Al-Hajj, 2020. "Analyzing Factors Associated with Fatal Road Crashes: A Machine Learning Approach," IJERPH, MDPI, vol. 17(11), pages 1-13, June.
    13. Song, Kwonsik & Anderson, Kyle & Lee, SangHyun, 2020. "An energy-cyber-physical system for personalized normative messaging interventions: Identification and classification of behavioral reference groups," Applied Energy, Elsevier, vol. 260(C).
    14. Fisnik Doko & Slobodan Kalajdziski & Igor Mishkovski, 2021. "Credit Risk Model Based on Central Bank Credit Registry Data," JRFM, MDPI, vol. 14(3), pages 1-17, March.
    15. Abouelmagd THM, 2018. "A New Flexible Distribution Based on the Zero Truncated Poisson Distribution: Mathematical Properties and Applications to Lifetime Data," Biostatistics and Biometrics Open Access Journal, Juniper Publishers Inc., vol. 8(1), pages 10-16, August.
    16. Bouvatier, Vincent & El Ouardi, Sofiane, 2023. "Credit gaps as banking crisis predictors: A different tune for middle- and low-income countries," Emerging Markets Review, Elsevier, vol. 54(C).
    17. Faith M. Hartley & Aaron E. Maxwell & Rick E. Landenberger & Zachary J. Bortolot, 2022. "Forest Type Differentiation Using GLAD Phenology Metrics, Land Surface Parameters, and Machine Learning," Geographies, MDPI, vol. 2(3), pages 1-25, August.
    18. Artur Sokolovsky & Luca Arnaboldi & Jaume Bacardit & Thomas Gross, 2021. "Volume-Centred Range Bars: Novel Interpretable Representation of Financial Markets Designed for Machine Learning Applications," Papers 2103.12419, arXiv.org, revised May 2022.
    19. Soyoung Oh & Honggeun Ji & Jina Kim & Eunil Park & Angel P. del Pobil, 2022. "Deep learning model based on expectation-confirmation theory to predict customer satisfaction in hospitality service," Information Technology & Tourism, Springer, vol. 24(1), pages 109-126, March.
    20. John Muschelli, 2020. "ROC and AUC with a Binary Predictor: a Potentially Misleading Metric," Journal of Classification, Springer;The Classification Society, vol. 37(3), pages 696-708, October.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:nat:natcom:v:14:y:2023:i:1:d:10.1038_s41467-023-43715-z. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.nature.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.