Screening for cardiac allograft rejection among heart transplant recipients using an electrocardiogram-based deep learning model
Authors: Adedinsewo D , Hardway H , Morales-Lara C A , Johnson P , Douglass E , Dangott B , Nakhleh R , Narula T , Patel P , Goswami R , Heckman A , Lopez-Jimenez F , Noseworthy P , Yamani M , Carter R 
Published: October 2022

Abstract

Background
Current approaches utilizing non-invasive methods to screen for cardiac allograft rejection (gene expression profiling and cell free DNA) have yet to be broadly integrated into heart transplant management and have shown limited discrimination (AUCs of 0.68 and 0.77, respectively). Changes in the electrocardiogram (ECG) have been reported at the time of severe cardiac rejection, including low voltages and conduction abnormalities. It remains unknown if subtle ECG changes correlating with cardiac allograft rejection can be detected earlier using machine learning methods.

Purpose
We sought to develop an artificial intelligence (AI) model to detect cardiac allograft rejection based on the 12 lead ECG.

Methods
We identified all patients who underwent a heart transplant at 3 hospital sites within a single health system from Jan 1998 through Apr 2021 and extracted digital 12-lead ECG data as well as endomyocardial biopsy pathology results from the electronic medical record. We partitioned our data into a training (80%), validation (10%), and test set (10%) based on a group stratification sampling. Each patient was present in only one set and each set had a positivity rate of 2.6% with 6,074/758/758 ECGs belonging to 1,146/140/141 unique patients in each set respectively. Cardiac allograft rejection was defined as moderate or severe acute cellular rejection based on International Society for Heart and Lung Transplantation (ISHLT) guidelines. A convolutional neural network, using the 12-lead ECG data as input, was trained with hyperparameter optimization for regularization, learning rate adjustments, and class weights. Model performance metrics were based on the test data and estimated using the final model architecture.

Results
1,587 heart transplant recipients who had at least one endomyocardial biopsy were evaluated for inclusion. We limited our sample to ECGs performed within 30 days of the biopsy date (7,590 ECGs, representing 1,425 unique patients). Our study population had a median age of 55.8 years and 28.7% were female. The median number of ECG-biopsy pairs per patient was 5. The majority of endomyocardial biopsy results were classified as none or mild rejection (97.1%), and 2.9% had moderate/severe rejection. The ECG-based AI model detected cardiac allograft rejection with an area under the receiver operative curve (AUC) of 0.84 in the test set. The sensitivity, specificity, positive and negative predictive values were 95%, 52.6%. 5.2% and 99.7% respectively.

Conclusions
An AI-ECG model appears to outperform novel non-invasive laboratory tests (gene expression profiling and cell free DNA) for detecting cardiac allograft rejection and does not require a blood draw or the additional complexities surrounding sample processing. This model relies on a readily available and relatively inexpensive test, the ECG. In addition, AI predictions can be made available within a few minutes following ECG acquisition.

Funding Acknowledgement
Type of funding sources: Private hospital(s). Main funding source(s): Mayo Clinic