Skip to main content

ORIGINAL RESEARCH article

Front. Cardiovasc. Med., 28 September 2022
Sec. Cardiovascular Imaging
This article is part of the Research Topic Systems Biology and Data-Driven Machine Learning-Based Models in Personalized Cardiovascular Medicine View all 17 articles

Machine learning prediction of atrial fibrillation in cardiovascular patients using cardiac magnetic resonance and electronic health information

\nSteven Dykstra,Steven Dykstra1,2Alessandro Satriano,,Alessandro Satriano1,2,3Aidan K. Cornhill,Aidan K. Cornhill1,2Lucy Y. Lei,Lucy Y. Lei1,2Dina Labib,Dina Labib1,2Yoko Mikami,,Yoko Mikami1,2,3Jacqueline FlewittJacqueline Flewitt1Sandra Rivest,Sandra Rivest1,2Rosa Sandonato,Rosa Sandonato1,2Patricia Feuchter,,Patricia Feuchter1,2,3Andrew G. Howarth,,Andrew G. Howarth1,2,3Carmen P. Lydell,,Carmen P. Lydell1,2,3Nowell M. FineNowell M. Fine2Derek V. ExnerDerek V. Exner2Carlos A. MorilloCarlos A. Morillo2Stephen B. WiltonStephen B. Wilton2Marina L. GavrilovaMarina L. Gavrilova4James A. White,,
James A. White1,2,3*
  • 1Stephenson Cardiac Imaging Centre, Libin Cardiovascular Institute of Alberta, University of Calgary, Calgary, AB, Canada
  • 2Department of Cardiac Sciences, Cumming School of Medicine, University of Calgary, Calgary, AB, Canada
  • 3Department of Diagnostic Imaging, Cumming School of Medicine, University of Calgary, Calgary, AB, Canada
  • 4Department of Computer Science, University of Calgary, Calgary, AB, Canada

Background: Atrial fibrillation (AF) is a commonly encountered cardiac arrhythmia associated with morbidity and substantial healthcare costs. While patients with cardiovascular disease experience the greatest risk of new-onset AF, no risk model has been developed to predict AF occurrence in this population. We hypothesized that a patient-specific model could be delivered using cardiovascular magnetic resonance (CMR) disease phenotyping, contextual patient health information, and machine learning.

Methods: Nine thousand four hundred forty-eight patients referred for CMR imaging were enrolled and followed over a 5-year period. Seven thousand, six hundred thirty-nine had no prior history of AF and were eligible to train and validate machine learning algorithms. Random survival forests (RSFs) were used to predict new-onset AF and compared to Cox proportional-hazard (CPH) models. The best performing features were identified from 115 variables sourced from three data domains: (i) CMR-based disease phenotype, (ii) patient health questionnaire, and (iii) electronic health records. We evaluated discriminative performance of optimized models using C-index and time-dependent AUC (tAUC).

Results: A RSF-based model of 20 variables (CIROC-AF-20) delivered an overall C-index of 0.78 for the prediction of new-onset AF with respective tAUCs of 0.80, 0.79, and 0.78 at 1-, 2- and 3-years. This outperformed a novel CPH-based model and historic AF risk scores. At 1-year of follow-up, validation cohort patients classified as high-risk of future AF by CIROC-AF-20 went on to experience a 17.3% incidence of new-onset AF, being 24.7-fold higher risk than low risk patients.

Conclusions: Using phenotypic data available at time of CMR imaging we developed and validated the first described risk model for the prediction of new-onset AF in patients with cardiovascular disease. Complementary value was provided by variables from patient-reported measures of health and the electronic health record, illustrating the value of multi-domain phenotypic data for the prediction of AF.

Introduction

Atrial Fibrillation (AF) is the most common arrhythmia encountered in clinical practice, affecting over 30 million patients worldwide (1, 2). Beyond the age of 40, ~26% of men and 23% of women will develop AF (3, 4), a diagnosis associated with elevated risk of cardioembolic stroke (5), reduced quality of life (4), and higher risk of heart failure (HF) related events (69). Targeted efforts to develop and validate AF risk scores have been described (6, 8, 1012) leveraging data from healthy populations without cardiovascular disease. The Framingham Heart Study (6), Atherosclerosis Risk in Communities (ARIC) Study (12), and Cohorts for Heart and Aging Research in Genomic Epidemiology (CHARGE)-AF consortium (8) each constructed risk models with modest predictive accuracy. The C2HEST score demonstrated superior performance through broader inclusion of patient phenotypic features (11). However, while patients with established cardiovascular disease experiencing greatest incident risk of AF (4), no risk model has been developed in this population.

The prediction of cardiac outcomes in diseased referral populations is anticipated to require a central emphasis on patient-specific disease phenotypes followed by their contextualization to patient demographics, comorbid states, current pharmacologic care, and cardiovascular symptoms. In this study we tested the predictive utility of multi-domain data resources being routinely captured at time of diagnostic testing for the prediction of time to future AF in patients with cardiovascular disease. This was tested in 7,639 consecutive patients referred to cardiovascular magnetic resonance (CMR) at two tertiary care referral institution. Collective data resources were provided to machine learning based modeling for the patient-specific prediction of time to future AF. Prediction performance using machine learning was then compared to traditional statistical modeling using a Cox proportional-hazard models and published AF risk models.

Materials and methods

Dataset available for risk modeling

Data from 9,448 unique patients was available from the Cardiovascular Imaging Registry of Calgary (CIROC, NCT04367220), a prospective clinical outcomes study of the Libin Cardiovascular Institute. Patients referred for CMR at two tertiary care centers were engaged at time of diagnostic testing to provide informed consent and complete a standardized patient health questionnaire. All imaging studies were triaged, protocolled, and interpreted using EHR-integrated software (cardioDITM, Cohesic Inc, Calgary) for the standardized collection of qualitative and quantitative phenotypic markers. Electronic health data was abstracted from the institutional data warehouse to provide patient-related laboratory, pharmacy, 12-lead ECG, Holter, and ICD-10 coded diagnostic and procedural data, as shown in Figure 1. Patients enrolled between February 2015 and November 2019 subsequently completing a minimum follow-up of 120 days were considered for model development and validation.

FIGURE 1
www.frontiersin.org

Figure 1. Central Illustration providing an overview of the multi-domain data collection and modeling process.

For the purposes of the described prediction model, all patients with a prior history of AF were excluded followed by the exclusion of patients with complex congenital heart disease (given their unique data model). Of 9,448 unique Registry patients, 7,802 met inclusion criteria with 7,639 having completed 120 days of clinical follow-up.

Data element generation and collection

Patient reported health data

A standardized patient reported health (PRH) questionnaire was used to collect baseline demographic information, inclusive of ethnicity, education level, employment status, comorbid cardiac and non-cardiac diseases, alcohol consumption, smoking history, patient-reported shortness of breath based upon the New-York Heart Association (NYHA) classification, and QoL using the EQ-5D tool (13).

CMR imaging-based disease phenotype

CMR imaging was performed on 3-T clinical scanners (Prisma or Skyra, Siemens Healthcare, Erlangen, Germany) using standardized protocols inclusive of breath-held cine and late gadolinium enhancement (LGE) imaging in sequential short-axis views and 2-,3-, and 4-chamber long axis views. Quantitative image analyses were performed using commercial software (cvi42; Circle Cardiovascular Inc., Calgary). Left ventricular (LV) and right ventricular (RV) volumes and function were assessed on short axis cine images using semi-automated contour tracing of the endocardial and epicardial borders followed by manual adjustment. Maximal left atrial volume was assessed in the phase immediately prior to mitral valve opening using the bi-plane area-length method. All measurements were indexed to body surface area (BSA), where appropriate, using the Mosteller formula (14). Chamber volumes, mass and function were coded by z-score comparison to age and sex-based reference values (15). LGE images were scored for the presence, distribution, and burden of fibrosis, as previously described (16, 17). All other disease features were coded in accordance with guidelines provided by the SCMR and European Association of Cardiovascular Imaging (EACVI) or the American Society of Echocardiography (ASE) (18, 19).

Electronic health record-derived data

Electronic health information was abstracted from the institutional data warehouse, inclusive of laboratory, pharmacy, 12-lead ECG, Holter, and ICD-10 coded diagnostic and procedural data. ICD-10 coding was abstracted from the Discharge Abstract Database (DAD) and the National Ambulatory Care Reporting System (NACRS). 12-lead ECG and Holter data were obtained from archival systems (MUSE and MARS, GE Healthcare Milwaukee, USA) using custom scripts to extract vendor-coded detection of AF and identify text-based reporting of AF through internally validated natural language processing. Mortality data was obtained from Vital Statistics Alberta.

Primary clinical outcome

Patients were followed for the primary outcome of new-onset AF, defined as one or more of the following: (i) ICD-10 coded admission for AF (I48.0-I48.2, I48.9), atrial flutter (Aflut: I48.3-I48.4), (ii) any 12-lead ECG or Holter-based detection of AF, (iii) ICD-10 coded direct-current (DC) cardioversion (1HZ09) or ablative procedure (025S3ZZ, 025T3ZZ) for the treatment of AF. Atrial flutter was included in the primary outcome due to common co-existence, similar clinical management, and sequelae. A 2-month blackout period was applied to ensure outcomes were unrelated to any clinical events triggered by performance of diagnostic testing. The primary outcome was described in days from index CMR test performance.

Statistical analysis

Descriptive statistics are reported as mean ± standard deviation (SD) for continuous variables with categorical variables expressed in counts with percentages. Categorical data were compared using the chi-square test/Fisher's exact test, continuous data compared using Mann-Whitney U test for non-parametric variables and independent t-tests for dependent variables. Missing data points were excluded from comparison for respective variables. A total of 115 variables routinely captured at time of patient encounter by the CIROC Registry were considered for risk modeling (Supplementary Table 1), inclusive of imaging-based disease phenotype (n = 33), patient-reported health measures (n = 48), and EHR abstracted variables (n = 34). Variables with rare missing data (< 15%) were imputed using Multivariate Imputation via Chained Equations (MICE) (20).

Variable selection and model development

Population data was split into training and validation datasets using 5-fold cross validation. In this process four training folds were combined (80%) and the remaining fold (20%) reserved as a hold-out for model validation. We performed a nested cross-validation for feature selection and hyperparameter tuning. Due to the relatively rare nature of new-onset AF, each outer fold was stratified to ensure balanced event rates across folds. The validation cohorts were used for estimation of final model performance and generalizability. Missing data was imputed using Python Scikit-Learns single iterative imputer (20) separately in each fold of the cross-validation process to ensure no data leakage.

Six independent risk models were trained to predict new-onset AF over 4-years of clinical follow-up. These included two random survival forest (RSF)-based models, a novel penalized Cox proportional-hazard (CPH) model using the least absolute shrinkage and selection operator (LASSO) for variable selection, and three CPH models based on variables from published AF risk scores [C2HEST (11), Aronson et al. (10), and CHARGE-AF (8)]. For CPH models, non-linearities in continuous variables were modeled using restricted cubic splines (21) and tested to ensure proportional hazard assumptions were satisfied by way of regression analysis relating Schoenfeld residuals to time. Clinical records were reviewed for patients taking anti-arrhythmic and anti-coagulant drugs to confirm prescription for non-AF related conditions.

RSF-based modeling was performed to consider non-linear interactions between variables and risk contribution to future events (22), an extension of Random Forest algorithms for right censored survival data (23). RSF also are fully data driven and independent of model assumption and can handle high dimensional data without the need for apriori feature selection (24). A RSF model was selected for its capacity to deliver an explainable prioritization of contributory model features in the form of permutation importance rank, this aimed at allowing for direct comparison to variables selected by traditional statistical modeling. First, we trained a RSF using all eligible (n = 115) CIROC variables (CIROC-AF-115). Second, with desire for a clinically translatable model, and recognizing that removal of variables with low predictive value can improve performance (25), we constructed a parsimonious RSF model using the 20 top performing variables (CIROC-AF-20), as shown in Figure 2. Variable performance was established by calculating each variable's permutation importance over 100 bootstrap samples from within the nested training cohort and training an RSF on each bootstrapped sample for the prediction of new-onset AF. Each variable's permutation importance was determined by the out-of-bag sample for each forest and its average importance calculated across the bootstraps (Figure 2). To determine optimal hyperparameters for each RSF-based model we performed an exhaustive grid search using a nested 5-fold CV in the training cohort (Supplementary Table 2). In the same fashion, the alpha parameter for LASSO was determined by hyperparameter tuning within the nested folds. Within each training fold data for LASSO CPH modeling was normalized to zero mean and unit variance, while categorical variables were one-hot encoded.

FIGURE 2
www.frontiersin.org

Figure 2. Top 20 variables for prediction of new-onset atrial fibrillation ranked by mean permutation importance calculated over 100 bootstrap samples of training data within each fold of cross-validation. VHD: valvular heart disease defined as ≥ moderate mitral or aortic valve insufficiency or stenosis. COPD: Chronic Obstructive Pulmonary Disease. EHR, Electronic Health Records; CMR, Cardiac Magnetic Resonance; PRH, Patient Reported Health (Questionnaires).

Performance evaluation

Each model's performance was assessed by discrimination and calibration measures. For discrimination we calculated the C-index, describing each model's ability to correctly rank event-free survival from patient scores, and the integrated brier score, which reports a measure of model performance over all time points. We reported mean C-index and integrated brier score over the five validation folds. Since C-index is shift invariant, time-dependent AUC is superior for assessing temporally sensitive risk predictions (26, 27) and was calculated at 1-, 2-, and 3-years, as well as mean value over the study duration. To assess calibration, we plotted the mean difference between predicted and observed rates of new-onset AF at each decile of risk for the best performing model's validation set, using 500 bootstrap estimates to generate 95% confidence intervals. Finally, for each risk model we compared the number needed to diagnose (NND) and the number needed to predict (NNP) at 1-, 2-, and 3-years to permit a comparison of clinical utility across models. NND estimates the number of patients who must be evaluated to correctly detect the disease of interest, NNP the number to correctly predict this disease will occur in the future (28); the former being insensitive to variation in disease prevalence. All statistical analysis and modeling were performed in Python 3.6 and R 3.6.3. Model development and validation were done in accordance with the TRIPOD reporting guidelines (Supplementary Table 3).

Results

Study population characteristics

The baseline characteristics of 7,639 patients contributing to each prediction model are presented in Table 1. The mean age was 52.2 ± 15.7 years with 40.8% female. The prevalence of hypertension, diabetes and coronary artery disease was 33, 12, and 11%, respectively. Referral indications are provided in Supplementary Table 4. Imaging features showed a mean left ventricular ejection fraction (LVEF) of 55.5 ± 13.7%, right ventricular ejection fraction (RVEF) of 55.1 ± 9.7%, indexed left ventricular mass (LVMi) of 59.8 ± 19.9 g/m2, and indexed left atrial volume (LAVi) of 35.9 ± 14.1 ml/m2.

TABLE 1
www.frontiersin.org

Table 1. Baseline Clinical Demographics in patient with and without the primary outcome of incident atrial fibrillation.

Following 17,697 patient-years of follow-up with median duration of 931 days (IQR 849), 314 patients (4.1%) experienced new-onset AF (crude incidence rate: 17.7 per 1,000 patient-years, with 283 diagnosed as atrial fibrillation and 31 diagnosed as atrial flutter). Patients experiencing AF showed significant differences in characteristics across all data domains (Table 1). Patients developing new-onset AF were older, more likely male, had higher rates of diabetes, hypertension, chronic obstructive pulmonary disease (COPD), hyperlipidemia, and taking more cardiovascular medications. Imaging-based phenotype revealed significantly higher LA and LV volumes, higher LV mass, lower LVEF and RVEF, and a higher prevalence of moderate-severe valvular disease (Table 2).

TABLE 2
www.frontiersin.org

Table 2. Baseline imaging phenotypic features in patient with and without the primary outcome of incident atrial fibrillation.

For model development and validation that 7,639 patients were spilt into 5 folds for cross validation. Each fold contains 1,527–1,528 patients, with 62–63 of them developing future atrial fibrillation in the following 4 years.

Historical cox proportional hazard AF risk model performance

Performance measures for CPH-based models trained using validated risk score variables (8, 10, 11) are listed in Table 3. Each showed similar discriminative performance with C-index scores of 0.70 to 0.72 averaged over the training folds. All models showed age and hypertension to be significant (p < 0.01) independent predictors. Model performance (mean C-index) for the C2HEST, Aronson, and CHARGE-AF models in validation datasets ranged between 0.69 and 0.71, with CHARGE-AF performing best at 0.71 ± 0.02. Each model showed a similar IBS of 0.034, indicating good performance and calibration across all time points. All models showed relatively stable validation c-indexes across each fold, with the largest difference between folds being 0.08 c-index. All historic models performed similarly over 1, 2, and 3 years by time dependent AUC (Table 4). AUC stability was modest, declining over time (Figure 3A).

TABLE 3
www.frontiersin.org

Table 3. Historic Cox Proportional Hazard model variables and corresponding variables chosen from the CIROC Registry.

TABLE 4
www.frontiersin.org

Table 4. Model discriminative performance at 1-, 2-, and 3-years, as well as overall performance by C-index and time dependent AUC.

FIGURE 3
www.frontiersin.org

Figure 3. Comparison of discrimination performance for the prediction of new-onset atrial fibrillation. (A) Time-dependent AUC for CPH and RSF models averaged over the 5-fold validation cohorts, calculated at 15 time points for each model throughout the first 1,450 days. Dotted lines represent the mean time dependent AUC for each model. (B) Receiver operating characteristic (ROC) curves for each model generated at 1-year, 2-years, and 3-years.

LASSO-based cox proportional hazard model performance

The novel penalized-CPH model (CIROC-AF-Cox) reduced the variable set to 11 non-co-linear variables. CIROC-AF-Cox provided a mean C-index of 0.75 ± 0.01 over the training folds and mean validation C-index of 0.74 ± 0.02 and mean validation IBS of 0.034 ± 0.001. It showed similarly stable validation across each of the 5-folds (Table 4). CIROC-AF-Cox showed time-dependent AUC values at 1-, 2- and 3-years of 0.75 ± 0.02, 0.75 ± 0.03, 0.73 ± 0.03, and 0.75 ± 0.01, respectively. CIROC-AF-Cox showed improved stability in AUC values over time vs. historic models (Figure 3A).

Machine learning based AF risk prediction model performance

Our novel RSF-based models showed improved discrimination performance vs. historic CPH-based models, and vs. our novel CIROC-AF-Cox model. The CIROC-AF-115 model achieved a mean C-index of 0.77 ± 0.02, with the parsimonious CIROC-AF-20 model providing similar performance with mean C-index of 0.78 ± 0.01. Both RSF models had mean IBS of 0.033 ± 0.001 and showed model stability on par with the best CPH model (CHARGE-AF) with a maximum variation of 0.05 c-index between the folds. RSF models also outperformed CPH based approaches when assessed by time-dependent AUC. CIROC-AF-115 provided respective AUCs at 1-, 2- and 3-years of 0.80, 0.80, and 0.77 while CIROC-AF-20 provided respective AUCs of 0.80, 0.79, and 0.78 (Table 4).RSF Model stability was similar to the CPH models, declining slightly over the 4 year study time (50 days−1,450 days) (Figure 3A).

CIROC-AF-20 and CIROC-AF-Cox models were compared to determine how they correctly predicted low, intermediate, and high risk of incident AF. High risk was considered a predicted risk >4% per year, chosen as a 10-fold higher rate than the general population (29). Low risk was considered < 1.5%. As shown in Figure 4, predicted risk estimates appropriately discriminated the future occurrence of AF. High risk patients predicted by CIROC-AF-20 experienced a 24.7-fold higher rate of AF at 1-year, 14.3-fold at 2-years, and 13.0-fold at 3-years vs. low-risk patients (p < 0.001 for all).

FIGURE 4
www.frontiersin.org

Figure 4. Kaplan-Meier survival curves and hazard ratios for risk of new-onset atrial fibrillation based on tertiles of predicted risk by (A) CIROC-AF-Cox and (B) CIROC-AF-20 models. The shaded area indicates a 95% confidence interval. Number at risk indicates the number of patients each model has predicted to be within each group at a given time. Intermediate risk is an estimated risk of > 1.5% and < 4%, where high risk is patients estimated at a risk of > 4%. These curves show a single fold's model performance on the fold's validation set. The log rank test p-values between each survival curve are shown in the table and have been adjusted via the Benjamini-Hochberg Procedure.

Time interval-based AUC performance and calibration

AUC curves for each model generated at 1-, 2-, and 3-years are shown in Figure 3B. RSF-based models showed improved discrimination across all time intervals vs. CIROC-AF-Cox and historic risk models. Calibration plots describing observed vs. predicted probabilities of new-onset AF at a 1-, 2-, and 3-years are shown in Figure 5. Both novel models showed good calibration across all deciles of predicted risk.

FIGURE 5
www.frontiersin.org

Figure 5. Comparison of model calibration for CIROC-AF-Cox and CIROC-AF-20 for new-onset atrial fibrillation prediction at (A) 1-year, (B) 2-years, and (C) 3-years. Differences between predicted and observed event rates is plotted across each decile of predicted risk. Black points indicate estimates from validation data sets and error bars indicate the 95% confidence interval from 500 bootstrapped validation data sets.

Clinical diagnostic performance

To compare diagnostically relevant performance markers, NND and NNP were calculated at 1-, 2- and 3-years. RSF models consistently outperformed CIROC-AF-Cox and all historic CPH models. RSF based models showed lowest NND between 1.97 and 2.32, with NNP ranging from 4.73 to 15.73 (Table 5).

TABLE 5
www.frontiersin.org

Table 5. Number needed to diagnose (NND) and number needed to predict (NNP) performance indicators for all constructed prediction models of new-onset atrial fibrillation.

Discussion

This study demonstrated the capacity for machine learning to deliver accurate patient-specific predictions of future AF occurrence in patients with cardiovascular disease using routinely reported CMR phenotypic markers contextualized to patient-reported and EHR-abstracted health information. Versus historic AF risk models (8, 10, 11) we observed significant performance gains through expanded access to multiple data domains and through the use of machine learning-based methods.

With the exception of two studies focused in critically ill patients (30, 31), machine learning-based predictions of incident AF have been restricted to community practice settings using administrative health record data (32, 33). Despite the limited translation of these models to cardiovascular disease referral populations, these studies provided foundational evidence for machine learning to provide incremental value for the prediction of incident AF. Hill et al., used administrative health data from the UK Clinical Practice Research Datalink (CPRD) to predict future AF occurrence from 18 variables, delivering an AUC of 0.827 at 10-years vs. 0.725 using the CHARGE-AF risk score (32). A subsequent study confirmed similar findings but highlighted that much of the observed value in this referral population was being provided by conventional AF risk factors (33). Due to a low annual incidence of AF in community population settings, both studies required long term surveillance (e.g., 10-years) to identify patients at a meaningful risk of incident AF, this significantly limiting future implementation of cost-effective surveillance strategies. The alternate consideration of diagnostic testing data to assist in machine learning-based AF prediction has, to date, focused on 12-lead ECG data (34). In a single study, a model trained from ECG vector data in a community referral population showed potential for the identification of patients at elevated risk. However, whether such approaches can discriminate risk in patients with cardiovascular disease (where ECG abnormalities are more consistently observed) remains unknown. Our study uniquely focused on the prediction of AF risk in patients undergoing diagnostic imaging for cardiovascular disease, demonstrating the complementary value of disease phenotypic markers, patient-reported health measures, and EHR-abstracted health information to inform risk modeling. Importantly, all these data assets were routinely captured by, or automatically migrated to a central reporting solution. By eliminating any need for manual data collection or abstraction at time of diagnostic testing this study offers pragmatic evidence for the real-world delivery of multi-domain data collection in routine clinical practice.

As shown in Table 3, many predictors adopted by historical AF risk models (in primary care populations) failed to reach significance in patients with cardiovascular disease. Our machine learning based model objectively chose seven of the top 10 predictive variables from the imaging-based phenotype data domain. LA volume ranked first, a marker recognized as a dominant predictor of AF in both healthy (3538) and disease-specific cohorts (29, 39). Left atrioventricular coupling index (LACI) and its change have also been shown to have an independent association with new-onset AF in the Multi-Ethnic Study of Atherosclerosis (MESA) (40). Incrementally, LVEF, LVEDVi and LV mass were important contributors; the latter acknowledged by CHARGE-AF (8). Of interest, RV EDVi was highly ranked, justifying value for multi-chamber phenotyping using CMR.

The cumulative risk of new-onset AF in our cardiovascular disease population was 4.1% at a median follow-up of 2.6 years; representing 17.7 AF events per 1,000 patient-years. This event confirms a higher incident risk of AF in this referral population vs. primary care where incident rates are between 4.0 and 6.7 events per 1,000 person-years (6, 8, 12, 29). This unique risk distribution emphasizes the need for population-specific risk models.

Finally, new-onset AF represents an ideal disease target for personalized prediction modeling at time of diagnostic testing given the availability of validated therapies for reduction of cardio-embolic risk (41). With our model's observed 17.8% 1-year incident rate of new-onset AF in patients classified to be high-risk, actionable justification exists for the implementation of surveillance programs using Holter or wearable device-based tools for the prevention of AF-related cardiovascular events.

Limitations

Several important limitations are recognized for the current study. Our study was performed at two tertiary care hospitals within the same healthcare system. The initial study only validated the model through cross-validation and needs further hold-out validation and accordingly, external validation prior to model implementation beyond our local institution. Incremental model calibrations through expanded population exposures are also advisable for all risk models, particularly to address varying ethnic distributions (42). Of the 7,639 studied patients, 5,195 (68%) were Caucasian. At time of risk modeling, the CIROC Registry had prospectively tracked clinical outcomes for a period of 4 years, and therefore uncertainty remains in the capacity of the presented model to deliver risk estimation beyond this period. Our models were trained using CMR-specific phenotypic variables. Matched echocardiographic data was not routinely available given high rates of private outpatient laboratory use, as is commonly encountered in cardiology practice. Accordingly, direct comparison to similar models trained from echocardiographic variables was not feasible. Implementation for other imaging modalities requires unique variable training and validation, recognizing unique differences in variable characteristics and referral bias. Similarly, our study did not include patients with congenital heart disease given unique anatomic phenotypes and disease profiles to routine adult cardiovascular disease. Accordingly, the current risk model is not applicable to this patient population. Finally, alternate machine learning-based techniques can be exploited for the prediction of outcomes from complex health data (32) and are planned for future investigation. In this inaugural study we did not comprehensively examine the comparative performance of alternate machine learning methodologies for survival-based prediction. Future research aimed at optimizing the presented AF prediction tool using alternate models is planned.

Conclusions

In this study we demonstrated capacity for multi-domain patient data collected at time of CMR-based phenotyping to support machine learning-based prediction of future AF in patients with cardiovascular disease. As the first described prediction model of AF risk in a cardiovascular disease population, our optimized model identified de-novo patients who experienced a 25-fold higher risk of incident AF over a 12-month period. This work provides foundational support for phenotype-based prediction modeling at time of diagnostic imaging for the delivery of personalized care. Future studies assessing the impact of AF prediction modeling at time of diagnostic imaging are warranted.

Data availability statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

Ethics statement

The studies involving human participants were reviewed and approved by Conjoint Health Research Ethics Board at the University of Calgary. The patients/participants provided their written informed consent to participate in this study.

Author contributions

SD performed all data analysis, statistical, machine learning based modeling, and manuscript authorship. JW was senior author and conceived, designed, edited, and finalized manuscript content. All other authors either assisted in data collection and adjudication (DL, YM, LL, AC, JF, SR, RS, AS, and PF), study design and manuscript review (NF, CL, AH, CM, SW, and DE) or data modeling (MG). All authors contributed to the article and approved the submitted version.

Funding

This study was partially funded by the Calgary Health Foundation.

Conflict of interest

Authors JW, AH, and JF each contributed to development of the novel software platform that is now supported by Cohesic Inc., and hold equity (shares) in this company. Author JW is the Chief Medical Officer of Cohesic Inc. Author JW has received research funding from Siemens Healthineers, Circle Cardiovascular Inc., and Pfizer Inc. Author AH has received funding from Amgen. Author SD receives funding from Alberta Innovates.

The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher's note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Supplementary material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fcvm.2022.998558/full#supplementary-material

Abbreviations

AF, Atrial Fibrillation; AUC, Area Under the Receiver Operator Characteristic Curve; CIROC, Cardiovascular Imaging Registry of Calgary; CPH, Cox Proportional-Hazards; CV, Cross Validation; EHR, Electronic Health Record; NND, Number Needed to Diagnose; NNP, Number Needed to Predict; RSF, Random Survival Forest; SCD, Sudden Cardiac Death; VHD, Valvular Heart Disease.

References

1. Chugh SS, Havmoeller R, Narayanan K, Singh D, Rienstra M, Benjamin EJ, et al. Worldwide epidemiology of atrial fibrillation: a global burden of disease 2010. Study Circulation. (2014) 129:837–47. doi: 10.1161/CIRCULATIONAHA.113.005119

PubMed Abstract | CrossRef Full Text | Google Scholar

2. Stewart S, Hart C, Hole D, McMurray J. Population prevalence, incidence, and predictors of atrial fibrillation in the Renfrew/Paisley study. Heart. (2001) 86:516–21. doi: 10.1136/heart.86.5.516

PubMed Abstract | CrossRef Full Text | Google Scholar

3. Staerk L, Wang B, Preis SR, Larson MG, Lubitz SA, Ellinor PT, et al. Lifetime risk of atrial fibrillation according to optimal, borderline, or elevated levels of risk factors: cohort study based on longitudinal data from the Framingham Heart Study. BMJ. (2018) 361:k1453. doi: 10.1136/bmj.k1453

PubMed Abstract | CrossRef Full Text | Google Scholar

4. Staerk L, Sherer JA, Ko D, Benjamin EJ, Helm RH. Atrial fibrillation: epidemiology, pathophysiology, and clinical outcomes. Circ Res. (2017) 120:1501–17. doi: 10.1161/CIRCRESAHA.117.309732

PubMed Abstract | CrossRef Full Text | Google Scholar

5. O'Donnell MJ, Chin SL, Rangarajan S, Xavier D, Liu L, Zhang H, et al. Global and regional effects of potentially modifiable risk factors associated with acute stroke in 32 countries (INTERSTROKE): a case-control study. Lancet. (2016) 388:761–75. doi: 10.1016/S0140-6736(16)30506-2

PubMed Abstract | CrossRef Full Text | Google Scholar

6. Schnabel RB, Sullivan LM, Levy D, Pencina MJ, Massaro JM, D'Agostino RB, et al. Development of a risk score for atrial fibrillation (Framingham Heart Study): a community-based cohort study. Lancet. (2009) 373:739–45. doi: 10.1016/S0140-6736(09)60443-8

PubMed Abstract | CrossRef Full Text | Google Scholar

7. Chamberlain AM, Alonso A, Gersh BJ, Manemann SM, Killian JM, Weston SA, et al. Multimorbidity and the risk of hospitalization and death in atrial fibrillation: a population-based study. Am Heart J. (2017) 185:74–84. doi: 10.1016/j.ahj.2016.11.008

PubMed Abstract | CrossRef Full Text | Google Scholar

8. Alonso A, Krijthe BP, Aspelund T, Stepas KA, Pencina MJ, Moser CB, et al. Simple risk model predicts incidence of atrial fibrillation in a racially and geographically diverse population: the CHARGE-AF Consortium. J Am Heart Assoc Cardiovasc Cerebrovasc Dis. (2013) 2:e000102. doi: 10.1161/JAHA.112.000102

PubMed Abstract | CrossRef Full Text | Google Scholar

9. Schnabel RB, Rienstra M, Sullivan LM, Sun JX, Moser CB, Levy D, et al. Risk assessment for incident heart failure in individuals with atrial fibrillation. Eur J Heart Fail. (2013) 15:843–9. doi: 10.1093/eurjhf/hft041

PubMed Abstract | CrossRef Full Text | Google Scholar

10. Aronson D, Shalev V, Katz R, Chodick G, Mutlak D. Risk score for prediction of 10-year atrial fibrillation: a community-based study. Thromb Haemost. (2018) 118:1556–63. doi: 10.1055/s-0038-1668522

PubMed Abstract | CrossRef Full Text | Google Scholar

11. Li YG, Pastori D, Farcomeni A, Yang PS, Jang E, Joung B, et al. A simple clinical risk score (C2HEST) for predicting incident atrial fibrillation in Asian subjects. Chest. (2019) 155:510–8. doi: 10.1016/j.chest.2018.09.011

PubMed Abstract | CrossRef Full Text | Google Scholar

12. Chamberlain AM, Agarwal SK, Folsom AR, Soliman EZ, Chambless LE, Crow R, et al. A clinical risk score for atrial fibrillation in a biracial prospective cohort (from the atherosclerosis risk in communities (ARIC) study). Am J Cardiol. (2011) 107:85–91. doi: 10.1016/j.amjcard.2010.08.049

PubMed Abstract | CrossRef Full Text | Google Scholar

13. EuroQol Group. EuroQol–a new facility for the measurement of health-related quality of life. Health Policy Amst Neth. (1990) 16:199–208.

PubMed Abstract | Google Scholar

14. Mosteller RD. Simplified calculation of body-surface area. N Engl J Med. (1987) 317:1098. doi: 10.1056/NEJM198710223171717

PubMed Abstract | CrossRef Full Text | Google Scholar

15. Petersen SE, Aung N, Sanghvi MM, Zemrak F, Fung K, Paiva JM, et al. Reference ranges for cardiac structure and function using cardiovascular magnetic resonance (CMR) in Caucasians from the UK Biobank population cohort. J Cardiovasc Magn Reson. (2017) 19:1–19. doi: 10.1186/s12968-017-0327-9

PubMed Abstract | CrossRef Full Text | Google Scholar

16. Fine NM, Tandon S, Kim HW, Shah DJ, Thompson T, Drangova M, et al. Validation of sub-segmental visual scoring for the quantification of ischemic and nonischemic myocardial fibrosis using late gadolinium enhancement MRI. J Magn Reson Imaging JMRI. (2013) 38:1369–76. doi: 10.1002/jmri.24116

PubMed Abstract | CrossRef Full Text | Google Scholar

17. Satoh H, Sano M, Suwa K, Saitoh T, Nobuhara M, Saotome M, et al. Distribution of late gadolinium enhancement in various types of cardiomyopathies: Significance in differential diagnosis, clinical features and prognosis. World J Cardiol. (2014) 6:585–601. doi: 10.4330/wjc.v6.i7.585

PubMed Abstract | CrossRef Full Text | Google Scholar

18. Messroghli DR, Moon JC, Ferreira VM, Grosse-Wortmann L, He T, Kellman P, et al. Clinical recommendations for cardiovascular magnetic resonance mapping of T1, T2, T2 and extracellular volume: a consensus statement by the Society for Cardiovascular Magnetic Resonance (SCMR) endorsed by the European Association for Cardiovascular Imaging. J Cardiovasc Magn Reson. (2017) 19:75. doi: 10.1186/s12968-017-0389-8

PubMed Abstract | CrossRef Full Text | Google Scholar

19. Zoghbi WA, Adams D, Bonow RO, Enriquez-Sarano M, Foster E, Grayburn PA, et al. Recommendations for noninvasive evaluation of native valvular regurgitation: a report from the American Society of Echocardiography Developed in Collaboration with the Society for Cardiovascular Magnetic Resonance. J Am Soc Echocardiogr. (2017) 30:303–71. doi: 10.1016/j.echo.2017.01.007

PubMed Abstract | CrossRef Full Text | Google Scholar

20. Buuren Sv, Groothuis-Oudshoorn K. MICE: Multivariate Imputation by Chained Equations in R. J Stat Softw. (2011) 45:1–67. doi: 10.18637/jss.v045.i03

CrossRef Full Text | Google Scholar

21. Roshani D, Ghaderi E. Comparing smoothing techniques for fitting the nonlinear effect of covariate in cox models. Acta Inform Medica. (2016) 24:38–41. doi: 10.5455/aim.2016.24.38-41

PubMed Abstract | CrossRef Full Text | Google Scholar

22. Kelly CJ, Karthikesalingam A, Suleyman M, Corrado G, King D. Key challenges for delivering clinical impact with artificial intelligence. BMC Med. (2019) 17:195. doi: 10.1186/s12916-019-1426-2

PubMed Abstract | CrossRef Full Text | Google Scholar

23. Ishwaran H, Kogalur UB, Blackstone EH, Lauer MS. Random survival forests. Ann Appl Stat. (2008) 2:841–60. doi: 10.1214/08-AOAS169

CrossRef Full Text | Google Scholar

24. Wang H, Li G. A selective review on random survival forests for high dimensional data. Quant Bio-Sci. (2017) 36:85–96. doi: 10.22283/qbs.2017.36.2.85

PubMed Abstract | CrossRef Full Text | Google Scholar

25. Genuer R, Poggi JM, Tuleau-Malot C. Variable selection using random forests. Pattern Recognit Lett. (2010) 31:2225–36. doi: 10.1016/j.patrec.2010.03.014

CrossRef Full Text | Google Scholar

26. Blanche P, Kattan MW, Gerds TA. The c-index is not proper for the evaluation of $t$-year predicted risks. Biostatistics. (2019) 20:347–57. doi: 10.1093/biostatistics/kxy006

PubMed Abstract | CrossRef Full Text | Google Scholar

27. Antolini L, Boracchi P, Biganzoli E. A time-dependent discrimination index for survival data. Stat Med. (2005) 24:3927–44. doi: 10.1002/sim.2427

PubMed Abstract | CrossRef Full Text | Google Scholar

28. Linn S, Grunau PD. New patient-oriented summary measure of net total gain in certainty for dichotomous diagnostic tests. Epidemiol Perspect Innov. (2006) 3:11. doi: 10.1186/1742-5573-3-11

PubMed Abstract | CrossRef Full Text | Google Scholar

29. Johansson C, Dahlqvist E, Andersson J, Jansson JH, Johansson L. Incidence, type of atrial fibrillation and risk factors for stroke: a population-based cohort study. Clin Epidemiol. Volume. (2017) 9:53–62. doi: 10.2147/CLEP.S122916

PubMed Abstract | CrossRef Full Text | Google Scholar

30. Bashar SK, Ding EY, Walkey AJ, McManus DD, Chon KH. Atrial fibrillation prediction from critically ill sepsis patients. Biosensors. (2021) 11:269. doi: 10.3390/bios11080269

PubMed Abstract | CrossRef Full Text | Google Scholar

31. Lip GYH, Genaidy A, Tran G, Marroquin P, Estes C. Incident atrial fibrillation and its risk prediction in patients developing COVID-19: a machine learning based algorithm approach. Eur J Intern Med. (2021) 91:53–8. doi: 10.1016/j.ejim.2021.04.023

PubMed Abstract | CrossRef Full Text | Google Scholar

32. Hill NR, Ayoubkhani D, McEwan P, Sugrue DM, Farooqui U, Lister S, et al. Predicting atrial fibrillation in primary care using machine learning. Azuero A, editor. PLOS ONE. (2019) 14:e0224582. doi: 10.1371/journal.pone.0224582

PubMed Abstract | CrossRef Full Text | Google Scholar

33. Tiwari P, Colborn KL, Smith DE, Xing F, Ghosh D, Rosenberg MA. Assessment of a machine learning model applied to harmonized electronic health record data for the prediction of incident atrial fibrillation. JAMA Netw Open. (2020) 3:e1919396. doi: 10.1001/jamanetworkopen.2019.19396

PubMed Abstract | CrossRef Full Text | Google Scholar

34. Raghunath S, Pfeifer JM, Ulloa-Cerna AE, Nemani A, Carbonati T, Jing L, et al. Deep neural networks can predict new-onset atrial fibrillation from the 12-lead ECG and help identify those at risk of atrial fibrillation–related stroke. Circulation. (2021) 143:1287–98. doi: 10.1161/CIRCULATIONAHA.120.047829

PubMed Abstract | CrossRef Full Text | Google Scholar

35. Tsang TSM, Barnes ME, Bailey KR, Leibson CL, Montgomery SC, Takemoto Y, et al. Left atrial volume: important risk marker of incident atrial fibrillation in 1655 older men and women. Mayo Clin Proc. (2001) 76:467–75. doi: 10.4065/76.5.467

PubMed Abstract | CrossRef Full Text | Google Scholar

36. Tsang TSM, Gersh BJ, Appleton CP, Tajik AJ, Barnes ME, Bailey KR, et al. Left ventricular diastolic dysfunction as a predictor of the first diagnosed nonvalvular atrial fibrillation in 840 elderly men and women. J Am Coll Cardiol. (2002) 40:1636–44. doi: 10.1016/S0735-1097(02)02373-2

PubMed Abstract | CrossRef Full Text | Google Scholar

37. Abhayaratna WP, Fatema K, Barnes ME, Seward JB, Gersh BJ, Bailey KR, et al. Left atrial reservoir function as a potent marker for first atrial fibrillation or flutter in persons ≥ 65 years of age. Am J Cardiol. (2008) 101:1626–9. doi: 10.1016/j.amjcard.2008.01.051

PubMed Abstract | CrossRef Full Text | Google Scholar

38. Habibi M, Samiei S, Venkatesh BA, Opdahl A, Helle-Valle TM, Zareian M, et al. CMR-measured left atrial volume and function and incident atrial fibrillation: results from the multi-ethnic study of atherosclerosis (MESA). Circ Cardiovasc Imaging. (2016) 9:e004299. doi: 10.1161/CIRCIMAGING.115.004299

PubMed Abstract | CrossRef Full Text | Google Scholar

39. Christopher M, Kramer MD, John P, DiMarco MD, Paul Kolm P, Carolyn Y, et al. Predictors of major atrial fibrillation endpoints in the national heart, lung, and blood institute HCMR. Clin Electrophysiol. (2021) 7:1376–86. doi: 10.1016/j.jacep.2021.04.004

PubMed Abstract | CrossRef Full Text | Google Scholar

40. Pezel T, Ambale-Venkatesh B, Quinaglia T, Heckbert SR, Kato Y, de Vasconcellos HD, et al. Change in left atrioventricular coupling index to predict incident atrial fibrillation: the multi-ethnic study of atherosclerosis (MESA). Radiology. (2022) 303:317–26. doi: 10.1093/ehjci/jeab289.377

PubMed Abstract | CrossRef Full Text | Google Scholar

41. Hart RG, Pearce LA, Aguilar MI. Meta-analysis: antithrombotic therapy to prevent stroke in patients who have nonvalvular atrial fibrillation. Ann Intern Med. (2007) 146:857–67. doi: 10.7326/0003-4819-146-12-200706190-00007

PubMed Abstract | CrossRef Full Text | Google Scholar

42. Alonso A, Roetker NS, Soliman EZ, Chen LY, Greenland P, Heckbert SR. Prediction of atrial fibrillation in a racially diverse cohort: the multi-ethnic study of atherosclerosis (MESA). J Am Heart Assoc Cardiovasc Cerebrovasc Dis. (2016) 5:e003077. doi: 10.1161/JAHA.115.003077

PubMed Abstract | CrossRef Full Text | Google Scholar

Keywords: machine learning, atrial fibrillation, risk prediction, random survival forest, Cox proportional-hazard models

Citation: Dykstra S, Satriano A, Cornhill AK, Lei LY, Labib D, Mikami Y, Flewitt J, Rivest S, Sandonato R, Feuchter P, Howarth AG, Lydell CP, Fine NM, Exner DV, Morillo CA, Wilton SB, Gavrilova ML and White JA (2022) Machine learning prediction of atrial fibrillation in cardiovascular patients using cardiac magnetic resonance and electronic health information. Front. Cardiovasc. Med. 9:998558. doi: 10.3389/fcvm.2022.998558

Received: 20 July 2022; Accepted: 05 September 2022;
Published: 28 September 2022.

Edited by:

Yael Yaniv, Technion Israel Institute of Technology, Israel

Reviewed by:

John Adeoye, The University of Hong Kong, Hong Kong SAR, China
Jorge Rodríguez Capitán, Centro de Investigación Biomédica en Red en Enfermedades Cardiovasculares (CIBERCV), Spain

Copyright © 2022 Dykstra, Satriano, Cornhill, Lei, Labib, Mikami, Flewitt, Rivest, Sandonato, Feuchter, Howarth, Lydell, Fine, Exner, Morillo, Wilton, Gavrilova and White. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: James A. White, amF3aGl0JiN4MDAwNDA7dWNhbGdhcnkuY2E=

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.