Abstract
Background
Deep neural network (DNN) have been used to estimate age from electrocardiograms (ECGs), the electrocardiographic age (ECG-age), which predicts adverse outcomes. However, this prediction ability has been restricted to clinical settings or relatively short periods. We hypothesized that ECG-age is associated with death and cardiovascular outcomes in the longstanding community-based Framingham Heart Study (FHS).
Methods
We tested the association of ECG-age with chronological age in the FHS cohorts in ECGs from 1986 to 2021. We calculated the gap between chronological and ECG-age (Δage) and classified individuals as having normal, accelerated, or decelerated aging, if Δage was within, higher or lower than the mean absolute error of the model, respectively. We assessed the associations of Δage, accelerated and decelerated aging with death or cardiovascular outcomes [atrial fibrillation (AF), myocardial infarction (MI), and heart failure (HF)] using Cox proportional hazards models adjusted for age, sex, and clinical factors.
Results
The study population included 9,877 FHS participants (mean age 55±13 years, 54.9% women) with 34,948 ECGs. ECG-age was correlated to chronological age (r=0.81, mean absolute error=9±7 years). After 17±8 years of follow-up, every 10-year increase of Δage was associated with 18% increase in all-cause mortality (HR 1.18, 95%CI 1.12–1.23), 23% increase in AF risk (HR 1.23, 1.17–1.29), 14% increase in MI risk (HR 1.14, 95% CI 1.05–1.23), and 40% increase in HF risk (HR 1.40, 95% CI 1.30–1.52), in multivariable models. In addition, accelerated aging was associated with 28% increase in all-cause mortality (HR 1.28, 95%CI 1.14–1.45), whereas decelerated aging was associated with 16% decrease (HR 0.84, 95%CI 0.74–0.95).
Conclusions
ECG-age was highly correlated with chronological age in FHS. The difference between ECG-age and chronological age was associated with death, MI, AF, and HF. Given the wide availability and low cost of ECG, ECG-age could be a scalable biomarker of cardiovascular risk.
Keywords: electrocardiogram, artificial intelligence, risk factor, cardiovascular disease, cohort studies
Introduction
Worldwide, cardiovascular diseases (CVD) were the leading cause of years of life lost and disability-adjusted life years in 2019.1 With the global population aging, the health and economic impact of CVD are expected to increase.2 The electrocardiogram (ECG) is a simple non-invasive method widely used to diagnose and screen for CVD. Recently, artificial intelligence (AI) technology applied to the ECG has provided accurate models for CVD risk prediction, including the risk of left ventricular dysfunction, atrial fibrillation (AF), and death.3–5 One of these models was a deep neural network (DNN)-based age-prediction model developed on the CODE (Clinical Outcomes in Digital Electrocardiography) dataset to predict an individual’s age based on ECG waveform: the electrocardiographic age (ECG-age).
The DNN estimated ECG-age is correlated to, but often remains distinct from chronological age, with the gap between ECG-age and chronological age being a predictor of overall mortality in adjusted models. In a prior study, accelerated ECG-age compared to chronological age was strongly correlated with overall mortality after 9-years follow-up.6 Moreover, in two other studies with different ECG-age algorithms, accelerated ECG-age was related to 12 to 15-year cardiovascular outcomes in healthcare settings, using either vital statistics or electronic medical records for ascertainment.7,8 However, information is lacking on whether ECG-age can predict cardiovascular outcomes in the community, and for longer follow-up periods. Thus, we aimed to evaluate, whether the DNN estimated ECG-age algorithm developed by the CODE study is associated with clinical outcomes in the large and longstanding community-based Framingham Heart Study (FHS), accounting for potential confounders.
Methods
Data availability
The data that support the findings of this study are available through FHS for Researchers Portal https://www.framinghamheartstudy.org/fhs-for-researchers/ upon reasonable request. The DNN- based ECG-age model developed by the CODE study is publicly available (doi.org/10.5281/zenodo.4892365).
Study design
FHS is a longitudinal study that originally recruited adults residing in the city of Framingham, Massachusetts, US, in 1948, and subsequently their next two generations – in 1971 the Offspring (along with spouses of the Offspring), and in 2002 the Third Generation Cohorts (along with some additional spouses of the Offspring cohort and parent of Third Generation participant). To add representativeness to the study, 2 cohorts of residents from underrepresented racial and ethnic groups were added in 1994 (Omni 1) and in 2003 (Omni 2). In 2003, the New Offspring Spouse (NOS) cohort was added, which included new spouses of participants in the Offspring Cohort. The design of the study and detailed information about these cohorts is published elsewhere.9 Of the eligible participants, for the CVD outcome analysis, we excluded participants who had a prevalent case of the respective outcome [n= 219 for AF, n= 316 for myocardial infarction (MI); and n= 70 for heart failure (HF)], as shown in the flowchart of study participants (Supplemental Figure 1)
Clinical variables
We accounted for traditional CVD risk factors to evaluate the relationship between ECG-age and outcomes. Participants underwent interviews, physical examinations, and laboratory measurements, as previously detailed.9–10 Current cigarette smoking (within the year before examination), and medications for blood pressure, diabetes mellitus, and lipid-lowering were assessed by self-report. Body mass index (BMI) was calculated as weight in kilograms divided by height in meters squared. Systolic and diastolic blood pressure (SBP and DBP, respectively) were measured according to the FHS protocol. Diabetes mellitus was defined as treatment with a hypoglycemic agent, or fasting blood glucose ≥126 mg/dL or non-fasting plasma glucose of ≥200 mg/dL. The ratio of total cholesterol to high-density lipoprotein (HDL) cholesterol, HDL cholesterol, and/or triglycerides levels were used to assess lipid levels. CVD and cancer were adjudicated. MI was defined when the participant had two or more out of three findings: (1) symptoms indicative of ischemia; (2) changes in blood biomarkers of myocardial necrosis; (3) serial changes in the ECG. HF was defined by FHS uniform criteria11 and AF was adjudicated by an FHS cardiologist reviewing ECGs from the FHS research center and outside medical records.
Electrocardiographic Age
Deep neural network (DNN) estimated ECG-age
The ECG-age was predicted by a DNN that uses the raw ECG waveform in an end-to-end approach.12 The model was trained to predict an individual’s age learning to detect and extract features directly from the data, not relying on traditional ECG interpretation.12,13 The goal of the learning was to capture how aging affects ECG waveform.
The raw ECG signals used to derive the ECG-age model herein were from the CODE study.14 The CODE study is part of the Telehealth Network of Minas Gerais, Brazil, and its database comprises ECGs obtained from 2010 to 2017 in Brazilian primary care settings.14 The CODE dataset has been recognized as the largest ECG database in the world used to develop deep-learning AI–ECG applications with 1,558,415 patients.15 The development of the ECG-age model in the CODE study has been previously described.6 The ECG-age model uses a convolutional neural network to make the predictions, similar to the residual network proposed for image classification, but adapted to unidimensional signals. This architecture was also used for other ECG analysis tasks.12 The code for the DNN estimated ECG-age model training, evaluation and statistical analysis are available at https://github.com/antonior92/ecg-age-prediction.
Accelerated and Decelerated ECG-age definitions
To use the DNN estimated ECG-age information as a variable for CVD risk prediction, which therefore captures the excess risk caused by a greater decline in functional status than expected by chronological aging, we divided the participants in three categories, as previously described.6 Those with a DNN estimated ECG-age in the range of ± 9 years, which was the mean absolute error (MAE) of the studied sample (considered as reference), those with an ECG-age older than the chronological age by 9 years or more (named “accelerated ECG-age”), and those with an ECG-age younger than the chronological age by 9 years or more (named “decelerated ECG-age”).
Application to The Framingham Heart Study
The ECG was performed as standard practice in all FHS participants. In 1986, the FHS adopted machines that allowed digital ECGs storage (Marquette MAC/PC followed by the Marquette MAC 5000, General Electric). Currently, the system being used is the MUSE 8 ECG Management System (General Electric), which allows contemporary analysis of all ECG data since the digital ECG adoption.16 We opted to use all ECGs available collected from 1986 and 2021 to validate the algorithm in relation to the chronological age. In order to study the correlation between the DNN estimated ECG-age with clinical outcomes, we included only the first available ECG after 40 years old for each participant.
Study Outcomes
We evaluated all-cause death and specific cardiovascular outcomes for our analysis. Cardiovascular outcomes were incident AF, MI, and HF. The outcomes were confirmed after adjudication by the Framingham Endpoint Review Committee (a panel of 2–3 clinicians) with information from the study’s research examinations and outside medical records (hospital and clinic) as previously stated for the respective condition.17
Statistical Analyses
Descriptive statistics were calculated using means and standard deviations for continuous variables, or frequency counts and percentages for categorical variables. We defined the difference between DNN estimated ECG-age and chronological age as delta age (Δage). The association of Δage with all-cause mortality or cardiovascular outcomes was assessed using Cox proportional hazards models, with follow-up times censored at the last follow-up time or death. The proportional hazards assumption was assessed using Schoenfeld residuals.18,19 Participants who developed the cardiovascular outcomes of interest before ECG exams were excluded from the Cox models. All models were adjusted for age and sex. In addition, the models were also adjusted for specific clinical factors related to each cardiovascular outcome using information from previously published risk prediction models that have been validated in diverse populations. For death, the models were additionally adjusted for BMI, smoking, diabetes, SBP, hypertension treatment, HDL cholesterol, triglycerides, lipid treatment, prevalent CVD, and prevalent cancer.20 For AF, additional covariates were from the CHARGE-AF score, namely height, weight, smoking, diabetes, SBP, DBP, hypertension treatment, prevalent MI, and prevalent HF.21, 22,23 Additional covariates for MI were smoking, diabetes, SBP, DBP, hypertension medication, and the ratio of total cholesterol to HDL cholesterol.24 For HF, additional covariates were BMI, smoking, diabetes, SBP, hypertension treatment, the ratio of total cholesterol to HDL cholesterol, and prevalent MI.25
In the secondary analyses, to account for the competing risk of mortality, we used Fine-Gray models to calculate subdistribution hazard ratios.26 In a sensitivity analysis, we excluded ECGs with prevalent MI and AF and tested the association with mortality. We also examined the association of Δage with each clinical outcome stratified by sex. We tested for effect modification by sex in relation to each clinical outcome by including interaction terms in the Cox models. . To examine the association of accelerated/decelerated aging with different clinical risk factors, we used logistic regression models adjusted for age and sex. Lastly, we included Δage in the multivariable prediction models for all-cause mortality and the different CVD outcomes to evaluate its incremental discriminatory value and net-reclassification improvement. All the statistical analyses were performed using R software version 4.0.3 (https://www.r-project.org/).
Ethical Considerations
This study complies with all relevant ethical regulations. The Boston University Medical Center Institutional Review Board approved the FHS study, and all participants provided written informed consent. The CODE Study was approved by the Research Ethics Committee of the Universidade Federal de Minas Gerais, protocol 49368496317.7.0000.5149. We followed the STROBE guidelines for reporting our study.
Results
We included 9,877 participants from the FHS cohorts with 34,948 valid digital ECGs. The clinical characteristics of the study participants are shown in Table 1, including the prevalence of traditional cardiovascular risk factors. The mean age was 55±13 years, and 54.9% were women. The detailed age distribution of the sample is depicted in Supplemental Figure 2. There was a strong correlation between chronological age and DNN estimated ECG-age among the study participants, with a correlation coefficient of 0.81 (Figure 1). The MAE of DNN estimated ECG-age was 9±7 years (Supplemental Figure 3). No significant correlation between chronological age and the age gap was found in this study, revealing that the difference between chronological age and ECG-age occurs along the whole age spectrum (Supplemental Figure 4).
Table 1.
Clinical characteristics of study participants when first electrocardiogram done after age 40.
| Characteristics* | N=9877 |
|---|---|
| Age, years | 55 ± 13 |
| Women, n (%) | 5424 (54.9) |
| Current smoker, n (%) | 1747 (17.7) |
| BMI, kg/m2 | 27.2 ± 5.3 |
| Diabetes mellitus, n (%) | 376 (3.8) |
| SBP, mmHg | 127 ± 20 |
| DBP, mmHg | 77 ± 10 |
| Hypertension treatment, n (%) | 2209 (22.4) |
| Total cholesterol, mg/dL | 202 ± 40 |
| HDL, mg/dL | 52 ± 16 |
| Ratio of total cholesterol to HDL | 3.9 (3.1, 5.1) |
| Triglycerides, mg/dL | 100 (68, 150) |
| Lipid treatment, n (%) | 655 (6.6) |
| Height, cm | 169 ± 39 |
| Weight, kg | 66 ± 4 |
| Prevalent AF, n (%) | 219 (2.2) |
| Prevalent MI, n (%) | 316 (3.2) |
| Prevalent HF, n (%) | 70 (0.7) |
| Prevalent CVD, n (%) | 663 (6.7) |
| Prevalent cancer, n (%) | 752 (7.6) |
BMI: body mass index; SBP: systolic blood pressure; DBP: diastolic blood pressure; HDL: high-density lipoprotein; AF: atrial fibrillation; MI: myocardial infarction; HF: heart failure; CVD: cardiovascular disease.
Values are n (%) for dichotomous variables, mean ± standard deviation (or median [25%, 75%] if skewed distribution) for continuous variables.
Figure 1.

Correlation between chronological age and deep neural network estimated electrocardiographic (ECG)-age (Pearson correlation coefficient=0.81, p<2.2×10−16).
Association of Δage with all-cause mortality
Table 2 shows that the association of Δage with all-cause mortality in the age- and sex-adjusted model, and the multivariable-adjusted model. After 17±8 years of follow-up, every 10-year increase in Δage was associated with 18% of all-cause mortality (HR 1.18, 95%CI 1.12–1.23) even after adjusting for known risk factors. The result remained largely the same after excluding participants with prevalent AF or MI (HR 1.17, 95% CI 1.11–1.24). Moreover, accelerated aging (Δage≥9 years) was associated with 28% increase of all-cause mortality (HR 1.28, 95% CI 1.14–1.45), while decelerated aging (Δage≤9 years) was associated with 16% decrease of all-cause mortality (HR 0.84, 95% CI 0.74–0.95). Figure 2 shows survival curves computed from the multivariable-adjusted Cox proportional hazards models. During a mean follow-up of 17±8 years, individuals with accelerated aging showed a higher mortality rate than those with normal aging. In contrast, individuals with decelerated aging showed a lower mortality rate than those with normal aging (P<0.001). It should also be noted that the number of patients at risk decreased over time, which contributed to a relatively wider confidence interval at the later stage of follow-up, especially after 20 years of follow-up.
Table 2.
Association of the difference between deep neural network ECG-age and chronological age (Δage), accelerated and decelerated ECG-aging with all-cause mortality in age- and sex-adjusted models and in the multivariable-adjusted models.
|
|
||||||
|---|---|---|---|---|---|---|
| Adjusted for age and sex | Multivariable model* | |||||
|
| ||||||
| All-cause deaths; #events=3332 | ||||||
|
| ||||||
| HR | 95% CI | P | HR | 95% CI | P | |
| 10-year Δage | 1.20 | 1.16–1.24 | <0.001 | 1.18 | 1.12–1.23 | <0.001 |
| Accelerated vs normal aging | 1.37 | 1.25–1.50 | <0.001 | 1.28 | 1.14–1.45 | <0.001 |
| Decelerated vs normal aging | 0.79 | 0.73–0.86 | <0.001 | 0.84 | 0.74–0.95 | 0.006 |
ECG: electrocardiographic; HR: hazard ratio (after adjusting for covariates); CI: confidence interval; Accelerated aging: Participants with predicted ECG-age older than the chronological age by 9 years (1 mean absolute error); Decelerated aging: Participants with predicted ECG-age younger than the chronological age by 9 years.
Adjusted for: age, sex, BMI, current smoking, diabetes, SBP, hypertension treatment, HDL, triglyceride, lipid treatment, prevalent CVD, and prevalent cancer.
Figure 2.

Survival curves computed from the multivariable-adjusted Cox proportional model for all-cause mortality, stratified into 3 groups of participants: those with deep neural network estimated electrocardiographic (ECG)-age 9 or more years less than the chronological age (decelerated aging); those with deep neural network estimated ECG-age within a range of ± 9 years from their chronological age (normal aging); and those with deep neural network estimated ECG-age 9 or more years greater than the chronological age (accelerated aging).
Association of ECG-age with cardiovascular outcomes
Table 3 shows the association of DNN estimated ECG-age with different cardiovascular outcomes. Every 10- year increase of Δage was associated with 23% increase of AF risk (HR 1.23, 95% CI 1.17–1.29), 14% increase of MI risk (HR 1.14, 95% CI 1.05–1.23), and 40% increase of HF risk (HR 1.40, 95% CI 1.30–1.52). When competing risk of death was taken into account in secondary analysis, most of the associations were attenuated but remained significant (HR 1.18, 95% CI 1.12–1.24 for AF; HR 1.10 95% CI 1.01–1.20 for MI; and HR 1.31 95% CI 1.21–1.43 for HF) (Supplemental Table 1). The survival curves for AF/MI/HF were shown in Supplemental Figures 5, 6, and 7, respectively. Similar to the association with all-cause mortality, different aging groups had different risks to develop cardiovascular outcomes. The difference becomes more obvious when participants got older, and more events were observed.
Table 3.
Association of the difference between deep neural network ECG-age and chronological age (Δage), accelerated, and decelerated ECG-aging with cardiovascular outcomes (incident atrial fibrillation, myocardial infarction, and heart failure) in age- and sex-adjusted models and in the multivariable-adjusted models.
|
|
||||||
|---|---|---|---|---|---|---|
| Adjusted for age and sex | Multivariable modelx* | |||||
|
| ||||||
| HR | 95% CI | P | HR | 95% CI | P | |
|
| ||||||
| Atrial Fibrillation (AF); #events=1443 | ||||||
| 10-year Δage | 1.26 | 1.20–1.32 | <0.001 | 1.23 | 1.17–1.29 | <0.001 |
| Accelerated vs normal aging | 1.49 | 1.31–1.70 | <0.001 | 1.44 | 1.23–1.69 | <0.001 |
| Decelerated vs normal aging | 0.74 | 0.65–0.84 | <0.001 | 0.89 | 0.75–1.05 | 0.16 |
| Myocardial Infarction (MI); #events=732 | ||||||
| 10-year Δage | 1. 23 | 1.15–1.32 | <0.001 | 1.14 | 1.05–1.23 | 0.002 |
| Accelerated vs normal aging | 1.30 | 1.07–1.57 | 0.008 | 1.17 | 0.94–1.47 | 0.16 |
| Decelerated vs normal aging | 0.76 | 0.63–0.91 | 0.003 | 0.89 | 0.72–1.11 | 0.32 |
| Heart Failure (HF); #events=965 | ||||||
| 10-year Δage | 1.40 | 1.32–1.49 | <0.001 | 1.40 | 1.30–1.52 | <0.001 |
| Accelerated vs normal aging | 1.71 | 1.46–2.00 | <0.001 | 1.75 | 1.45–2.12 | <0.001 |
| Decelerated vs normal aging | 0.65 | 0.55–0.76 | <0.001 | 0.70 | 0.56–0.88 | 0.002 |
ECG: electrocardiographic; HR: hazard ratio (after adjusting for covariates); CI: confidence interval; Accelerated aging: Participants with predicted ECG-age older than the chronological age by 9 years (1 mean absolute error); Decelerated aging: Participants with predicted ECG-age younger than the chronological age by 9 years
Adjusted for: For AF, height, weight, smoking, diabetes, SBP, DBP, hypertension treatment, prevalent MI, prevalent HF. For MI, SBP, DBP, hypertension medication, diabetes mellitus, ratio of total cholesterol to high-density lipoprotein cholesterol, and smoking status. For HF, additionally adjusted for BMI, SBP, hypertension treatment, diabetes mellitus, ratio of total cholesterol to high-density lipoprotein cholesterol, smoking status, and prevalent MI. These results were not adjusted for the competing risk of death, which are presented in Supplemental Table 2.
Aligned with the results for mortality, accelerated aging also was associated with incident AF, MI, and HF in the age- and sex-adjusted models, but only for AF and HF in the multivariable-adjusted multivariable models. Similarly, decelerated aging was associated with reduced risk of incident MI, AF, and HF in the age- and sex-adjusted models, but only for HF in the multivariable model (HR 0.70, 95% CI 0.56–0.88, Table 3).
We also examined the effect modification by sex for the association between Δage and clinical outcomes. As shown in Supplemental Table 2, the association of Δage with incident AF was more significant for women than men (interaction p-value = 0.004). For women, a 10-year increase of Δage was associated with 33% higher AF risk (HR 1.33, 95% CI 1.24–1.44), compared to 13% for men (HR 1.13, 95% CI 1.06–1.21). However, we did not observe significant sex-related differences for the association with all-cause mortality, MI or HF.
To better understand the potential mechanism of accelerated and decelerated aging, we also examined their association with different clinical risk factors, including smoking, hypertension, diabetes, obesity, and dyslipidaemia. As shown in Supplemental Table 3, smoking, hypertension, and diabetes were associated with a higher risk of accelerated aging. On the other hand, people with smoking, hypertension, and obesity were also less likely to have decelerated aging.
Lastly, when we included Δage in the multivariable prediction models for the different outcomes, the increase in C-statistics ranged from 0.0% for all-cause mortality to 0.7% for HF (all with p>0.05), suggesting that ECG-age only provided limited incremental discriminatory value to existing multivariable models. No significant net-reclassification improvement was observed.
Discussion
In the large and longstanding FHS, we observed that the DNN estimated ECG-age was highly correlated to chronological age. The difference between DNN estimated ECG-age and chronological age (referred as Δage) was associated with all-cause mortality and adjudicated cardiovascular outcomes – AF, MI, and HF – in the FHS. Our study suggests that ECG-age may reflect an accelerated compromise in cardiac electrical function, possibly captured from the ECG waveform through AI. On the other hand, decelerated aging was a protective factor for mortality, corroborating our findings. For specific cardiovascular outcomes, accelerated and decelerated aging were able to predict AF and HF in multivariable models, but not MI. Taken together, our results suggest that ECG-age is related to adverse events in the community, with the potential to be scalable considering the broad availability, low cost, and simplicity of the ECG.
Previous studies have linked traditional electrocardiographic data, not including DNN estimated ECG-age, to cardiovascular risk. In a posthoc analysis of a randomized controlled trial of the Women’s Health Initiative, Denes et al. observed that ECG abnormalities were related to cardiovascular mortality after 3 years of follow-up in 14,749 asymptomatic women.27 In the Multi-Ethnic Study of Atherosclerosis, ECG abnormalities were also associated with a higher incidence of cardiovascular outcomes, in 6,765 asymptomatic individuals (mean age 60± 9 years old, follow-up 12 years).28 In the Brazilian Longitudinal Study of Adult Health (ELSA-Brasil cohort study, n=13,428 mean age 51± 8 years old, 45% men, follow-up 8±1 years), having a major ECG abnormality was an independent predictor of all-cause death in the community with an HR of 2.3 (95% CI 1.7–2.9), and cardiovascular death with an HR 4.6 (3.0–7.0).29 Additionally, in the FHS, non-specific ECG abnormalities and left ventricular hypertrophy have been identified as predictors of coronary artery disease, while longer electrocardiographic QRS was associated with increased CHF risk.30–32
Regarding ECG-age, Raghunath et al. developed a DNN model based on ECG waveforms, which predicted 1-year all-cause mortality with an area under the curve of 0.86.3 The ECG-age model developed by the CODE study itself has also been tested for all-cause mortality in the derivation and two validation cohorts from Brazil.6 One of these validation cohorts is the community-based ELSA-Brasil cohort study (n=15,105, mean age 52±9 years, women 54%), for which accelerated aging was able to predict 1-year overall mortality in age- and sex-adjusted Cox models, with an area under the curve of 0.77 (95% CI 0.66–0.87).6 Ladejobi et al. and Chang et al. have also explored the relation of an age gap between the ECG and chronological ages using different AI algorithms. In both studies, DNN estimated ECG-age was a predictor of cardiovascular mortality in healthcare settings, with an HR of 1.94 (95% CI 1.48–2.54) and 3.49 (95% CI 1.74–7.01).7,8 Our study adds to these findings, revealing that ECG-age is also able to predict adjudicated cardiovascular outcomes in the community setting in a longer follow-up compared with previous validation cohorts both from Brazil, a racially-admixed middle-income country.
The mechanisms by which DNN estimated ECG-age can explain cardiovascular risk may be complicated, since the DNN model remains partially unclear in terms of interpretation. In a previous analysis in more than 88,000 participants, no significant differences were observed between regular ECG features (heart rate, P duration, QRS axis and duration, RR intervals, and QTc interval) among individuals with accelerating, normal, or decelerating aging.6 To better comprehend the phenomenon, an analysis restricted to normal ECGs classified by traditional analysis reported that even for normal ECGs, the DNN estimated ECG-age association withdeath remained significant.6 It seems that, at least in part, ECG-age prediction was not related to traditional ECG abnormalities.6 The hypothesis is further confirmed by studies merging traditional and deep learning features, suggesting that the traditional ECG features alone do not account for the good performance in age prediction from ECGs.13 In the present analysis, the association of DNN estimated ECG-age with all-cause death did not change when excluding ECGs from individuals with previous MI and AF. Previous studies have found that known ECG features that better capture the excess risk are related to low-frequency components of the ECG, usually related to P and T waves, but are not restricted to them.6
Prior data suggest that DNN estimated ECG-age is able to capture changes that are not completely determined by known cardiovascular risk factors.6,7 In fact, the presence of cardiovascular risk factors has been correlated to accelerated aging in previous studies and in the present analysis.6,7 However, in our analysis and others, these risk factors did not fully explain the association of accelerated and decelerated ECG-age with adverse outcomes, particularly for AF and HF.
Comprehending the risk associated with accelerated aging or the benefit of decelerated aging is more intuitive, since the concept of biological aging (decline in functional status) versus chronological aging (time from birth) has already been examined using different types of biomarkers, including those from inflammatory and epigenetic pathways33–36 However, these were not compared to DNN estimated ECG-age. Clinical, inflammatory, and genomic markers of biological aging were complementary in predicting mortality in an FHS 30-year follow-up study.34 The interesting aspect of DNN estimated ECG-age is that it appears to be a proxy for biological aging from a single input, perhaps capturing the residual risk from traditional and unknown factors.
However, the drawbacks to the applicability of DNN estimated ECG-age must be acknowledged. The obscurity about what ECG-age indeed measures leads to uncertainty about interpreting the results. Future research should focus on understanding the determinants associated with DNN estimated ECG-age, investigating if ECG-age measures modifiable excess risk, and how to translate the knowledge to clinical practice. For this reason, we did not aim to evaluate the incremental discriminatory value provided by Δage on traditional cardiovascular risk scores in the present analysis. Moreover, the prediction models for DNN estimated ECG-age may be specific to certain populations, based on sociodemographic characteristics or the prevalence of cardiovascular risk factors. As such, using large and representative derivation datasets to develop the algorithms are fundamental to improving ECG-age prediction, along with evaluating the ECG-age prediction ability in the community setting and for different cardiovascular outcomes.
Our study addresses some of these barriers. First, we replicated the DNN estimated ECG-age algorithm derived from the largest digital ECG dataset currently available (CODE study)6,15, which is from a population with diverse backgrounds from FHS participants. Moreover, we evaluated DNN estimated ECG-age prediction ability for different cardiovascular outcomes in the community setting in the longstanding FHS, which has a comprehensive assessment of risk factors, comorbidities, and adjudicated outcomes. Previous studies have only assessed mortality,6–8 or specific cardiovascular outcomes ascertained in administrative data.8 However, our limitations must also be acknowledged. We were not able to include all ECGs from FHS participants because some were not digitalized, and others did not pass quality control. We did not find significant improvement by adding DNN estimated ECG-age to multivariable clinical risk models in terms of c-statistics or net reclassification improvement. In addition, we cannot implicate the causality of ECG-age to cardiovascular outcomes or death due to the observational nature of our study and potential residual confounding. In addition, the FHS was a single-site cohort, largely of European ancestry, and the generalizability of the findings to more diverse populations are unknown.
In conclusion, DNN estimated ECG-age correlates with chronological age and was associated with all-cause death, MI, AF, and HF in the community setting. Due to the wide availability and low cost of the ECG, DNN estimated ECG-age has the potential to be a scalable marker of cardiovascular risk, as a strategy to promote cardiovascular health.
Supplementary Material
What is known
Electrocardiographic age (ECG-age) can be predicted by deep neural network (DNN) models in healthcare-based data.
A DNN estimated ECG-age higher than the chronological age of an individual, considering the model’s mean absolute error, predicts mortality in the community setting with 9-years follow-up and in healthcare settings using vital statistics after 12-years follow-up. ECG-age also predicts cardiovascular outcomes in a single healthcare setting, ascertained in administrative data.
What the study adds
In the present study, we observed that DNN estimated ECG-age was associated with adjudicated atrial fibrillation (AF), myocardial infarction, heart failure (HF), and mortality in the longstanding community-based Framingham Heart Study.
Having accelerated ECG-age was related to a higher risk of AF, HF, and death, whereas having decelerated ECG-age was associated with decreased risk of HF and death.
Considering that ECGs are low-cost and widely available – even in areas with limited health access through telemedicine, ECG-age has the potential to be a scalable marker of cardiovascular risk.
Sources of Funding
The Framingham Heart Study acknowledges the support of contracts NO1-HC-25195, HHSN268201500001I and 75N92019D00031 from the National Heart, Lung and Blood Institute. LCCB is supported in part by CNPq (307329/2022-4). EJB was supported by NIH 2R01 HL092577; 2U54HL120163; 1R01AG066010; R01AG028321; American Heart Association Grant (18SFRN34110082). HL is supported by the NIH grant (U01AG068221), Alzheimer’s Association Grant (AARG-NTF-20-643020), American Heart Association Grant (20SFRN35360180), and European Commission grant (No: 847770). AHR is funded by Kjell och Märta Beijer Foundation. ALPR is supported in part by CNPq (465518/2014-1, 310790/2021-2 and 409604/2022-4) and by FAPEMIG (PPM-00428-17, RED-00081-16 and PPE-00030-21).
Abbreviations:
- AI
artificial intelligence
- AF
atrial fibrillation
- BMI
body mass index
- CODE
Clinical Outcomes in Digital Electrocardiography Study
- CVD
cardiovascular diseases
- DBP
diatolic blood pressure
- ECG
electrocardiogram
- ECG-age
eletrocardiographic-age
- DNN
deep neural network
- FHS
Framingham Heart Study
- HDL
high-density lipoprotein
- HF
heart failure
- MAE
mean absolute error
- MI
myocardial infarction
- NOS
New Offspring Spouse
- SBP
systolic blood pressure
Footnotes
Disclosures
All authors report no conflicts of interest.
References
- 1.Roth GA, Mensah GA, Johnson CO, Addolorato G, Ammirati E, Baddour LM, et al. Global Burden of Cardiovascular Diseases and Risk Factors, 1990–2019: Update From the GBD 2019 Study. J Am Coll Cardiol. 2020;76(25):2982–3021. doi: 10.1016/j.jacc.2020.11.010. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Arnett DK, Blumenthal RS, Albert MA, Buroker AB, Goldberger ZD, Hahn EJ, et al. 2019 ACC/AHA Guideline on the Primary Prevention of Cardiovascular Disease: A Report of the American College of Cardiology/American Heart Association Task Force on Clinical Practice Guidelines. Circulation. 2019;140(11):e596–e646. doi: 10.1161/CIR.0000000000000678. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Raghunath S, Cerna AEU, Jing L, vanMaanen DP, Stough J, Hartzel DN, et al. Prediction of Mortality from 12-Lead Electrocardiogram Voltage Data Using a Deep Neural Network. Nat Med. 2020;26(6):886–891. doi: 10.1038/s41591-020-0870-z. [DOI] [PubMed] [Google Scholar]
- 4.Attia ZI, Kapa S, Lopez-Jimenez F, McKie PM, Ladewig DJ, Satam G, et al. Screening for Cardiac Contractile Dysfunction Using an Artificial Intelligence-Enabled Electrocardiogram. Nat Med. 2019;25(1):70–74. doi: 10.1038/s41591-018-0240-2. [DOI] [PubMed] [Google Scholar]
- 5.Khurshid S, Friedman S, Reeder C, Di Achille P, Diamant N, Singh P, et al. ECG-Based Deep Learning and Clinical Risk Factors to Predict Atrial Fibrillation. Circulation. 2022;145(2):122–33. doi: 10.1161/CIRCULATIONAHA.121.057480. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Lima EM, Ribeiro AH, Paixão GMM, Ribeiro MH, Pinto-Filho MM, Gomes PR, et al. Deep Neural Network-Estimated Electrocardiographic Age as a Mortality Predictor. Nat Commun. 2021;12(1):5117. doi: 10.1038/s41467-021-25351-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Ladejobi AO, Medina-Inojosa JR, Cohen MS, Attia ZI, Scott CG, LeBrasseue NK. The 12-lead Electrocardiogram as a Biomarker of Biological Age. Eur Heart J Digital Health. 2021;2:379–89. doi: 10.1093/ehjdh/ztab043. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Chang CH, Lin CS, Luo YS, Lee YT, Lin C. Electrocardiogram-Based Heart Age Estimation by a Deep Learning Model Provides More Information on the Incidence of Cardiovascular Disorders. Front Cardiovasc Med. 2022;9:754909. doi: 10.3389/fcvm.2022.754909. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Mahmood SS, Levy D, Vasan RS, Wang TJ. The Framingham Heart Study and the Epidemiology of Cardiovascular Disease: A Historical Perspective. Lancet. 2014;383(9921):999–1008. doi: 10.1016/S0140-6736(13)61752-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Tsao CW, Vasan RS. Cohort Profile: The Framingham Heart Study (FHS): Overview of Milestones in Cardiovascular Epidemiology. Int J Epidemiol. 2015;44(6):1800–13. doi: 10.1093/ije/dyv337. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Levy D, Kenchaiah S, Larson MG, Benjamin EJ, Kupka MJ, Ho KKL, et al. Long-Term Trends in the Incidence of and Survival with Heart Failure. N Engl J Med. 2002;347(18):1397–402. doi: 10.1056/NEJMoa020265. [DOI] [PubMed] [Google Scholar]
- 12.Ribeiro AH, Ribeiro MH, Paixão GMM, Oliveira DM, Gomes PR, Canazart JA, et al. Automatic Diagnosis of the 12-lead ECG Using a Deep Neural Network. Nat Commun. 2020;11(1):1760. doi: 10.1038/s41467-020-15432-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Zvuloni E, Read J, Ribeiro AH, Ribeiro ALP, Behar JA. On Merging Feature Engineering and Deep Learning for Diagnosis, Risk-Prediction and Age Estimation Based on the 12-Lead ECG. arXiv:2207.06096v2 [cs.LG]. 2022. doi: 10.48550/arXiv.2207.06096. [DOI] [PubMed] [Google Scholar]
- 14.Ribeiro ALP, Paixão GMM, Gomes PR, Ribeiro MH, Ribeiro AH, Canazart JA, et al. Tele-Electrocardiography and Bigdata: The CODE (Clinical Outcomes in Digital Electrocardiography) study. J Electrocardiol. 2019;57S:S75–S78. doi: 10.1016/j.jelectrocard.2019.09.008. [DOI] [PubMed] [Google Scholar]
- 15.Siontis KC, Noseworthy PA, Attia ZI, Friedman PA. Artificial Intelligence-Enhanced Electrocardiography in Cardiovascular Disease Management. Nat Rev Cardiol. 2021;18(7):465–478. doi: 10.1038/s41569-020-00503-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Magnani JW, Newton-Cheh C, O’Donnell CJ, Levy D. Development and Application of a Longitudinal Electrocardiogram Repository: the Framingham Heart Study. J Electrocardiol. 2012;45(6):673–6. doi: 10.1016/j.jelectrocard.2012.06.016. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Cupples L, D’Agostino R. Some Risk Factors Related to the Annula Incidence of Cardiovascular Disease and Death Using Pooled Repeated Biennial Measurement Framingham Heart Study, 30 years follow-up. In: Kannel W, Wolf P, Garrison R, editors. The Framingham Study: An Epidemiological Investigation of Cardiovascualr Disease, Section 34. Bethesda, MD: National Institutes of Health; 1987. p. 9–13. [Google Scholar]
- 18.Rossello X, Gonzalez-Del-Hoyo M. Survival Analyses in Cardiovascular Reserach. Part I: the essentials. Rev Esp Cardiol. 2022;75(1):67–76. doi: 10.1016/j.rec.2021.06.003. [DOI] [PubMed] [Google Scholar]
- 19.Rossello X, Gonzalez-Del-Hoyo M. Survival Analyses in Cardiovascular Reserach. Part II: statistical methods in challenging situations. Rev Esp Cardiol. 2022;75(1):77–85. doi: 10.1016/j.rec.2021.07.001. [DOI] [PubMed] [Google Scholar]
- 20.Zhang WB, Pincus Z. Predicting All-Cause Mortality from Basic Physiology in the Framingham Heart Study. Aging Cell. 2016;15(1):39–48. doi: 10.1111/acel.12408. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Benjamin EJ, Levy D, Vaziri SM, D’Agostino RB, Belanger AJ, Wolf PA. Independent Risk Factors for Atrial Fibrillation in a Population-Based Cohort. The Framingham Heart Study. JAMA. 1994;271(11):840–4. doi: 10.1001/jama.1994.03510350050036. [DOI] [PubMed] [Google Scholar]
- 22.Schnabel RB, Sullivan LM, Levy D, Pencina MJ, Massaro JM, D’Agostino RB Sr, et al. Development of a Risk Score for Atrial Fibrillation (Framingham Heart Study): A Community-Based Cohort Study. Lancet. 2009;373(9665):739–45. doi: 10.1016/S0140-6736(09)60443-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.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. 2013. Mar 18;2(2):e000102. doi: 10.1161/JAHA.112.000102. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Goff DC Jr, Lloyd-Jones DM, Bennett G, Coady S, D’Agostino RB, Gibbons R, et al. 2013 ACC/AHA Guideline on the Assessment of Cardiovascular Risk: A Report of the American College of Cardiology/American Heart Association Task Force on Practice Guidelines. Circulation. 2014;129(25 Suppl 2):S49–73. doi: 10.1161/01.cir.0000437741. [DOI] [PubMed] [Google Scholar]
- 25.Sinha A, Gupta DK, Yancy CW, Shah SJ, Rasmussen-Torvik LJ, McNally EM, et al. Risk-Based Approach for the Prediction and Prevention of Heart Failure. Circ Heart Fail. 2021;14(2):e007761. doi: 10.1161/CIRCHEARTFAILURE.120.007761. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Fine JP, Gray RJ. A Proportional Hazards Model for the Subdistribution of a Competing Risk. J Am Stat Assoc. 1999;94(46):496–509. doi: 10.2307/2670170. [DOI] [Google Scholar]
- 27.Denes P, Larson JC, Lloyd-Jones DM, Prineas RJ, Greenland P. Major and Minor ECG Abnormalities in Asymptomatic Women and Risk of Cardiovascular Events and Mortality. JAMA. 2007;297(9):978–85. doi: 10.1001/jama.297.9.978. [DOI] [PubMed] [Google Scholar]
- 28.Rezaeian P, Ezekiel DN, Diaz T, Blumenthal R, Darwin C, McClelland R, et al. Association of Major and Minor Electrocardiographic Abnormalities with Cardiovascular Morbidity and Mortality in the Multi-Ethnic Study of Atherosclerosis Cohort. J Am Coll Cardiol 2016;67(3):831. [Google Scholar]
- 29.Pinto-Filho MM, Brant LC, Reis RP, Giatti L, Duncan BB, Lotufo PA, et al. Prognostic Value of Electrocardiographic Abnormalities in Adults from the Brazilian Longitudinal Study of Adults’ Health. Heart. 2021;107(19):1560–66. doi: 10.1136/heartjnl-2020-318097. [DOI] [PubMed] [Google Scholar]
- 30.Kannel WB, Anderson K, McGee DL, Degatano LS, Stampfer MJ. Nonspecific Electrocardiographic Abnormality as a Predictor of Coronary Heart Disease: The Framingham Study. Am Heart J. 1987;113(2 Pt 1):370–6. doi: 10.1016/0002-8703(87)90280-8. [DOI] [PubMed] [Google Scholar]
- 31.Kannel WB, Gordon T, Castelli WP, Margolis JR. Electrocardiographic Left Ventricular Hypertrophy and Risk of Coronary Heart Disease. The Framingham Study. Ann Intern Med. 1970;72(6):813–22. doi: 10.7326/0003-4819-72-6-813. [DOI] [PubMed] [Google Scholar]
- 32.Dhingra R, Pencina MJ, Wang TJ, Nam BH, Benjamin EJ, Levy D, et al. Electrocardiographic QRS Duration and the Risk of Congestive Heart Failure: The Framingham Heart Study. Hypertension. 2006;47:861–7. [DOI] [PubMed] [Google Scholar]
- 33.Horvath S. DNA Methylation Age of Human Tissues and Cell Types. Genome Biol. 2013;14(10):R115. doi: 10.1186/gb-2013-14-10-r115. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Murabito JM, Zhao Q, Larson MG, Rong J, Lin H, Benjamin EJ, et al. Measures of Biologic Age in a Community Sample Predict Mortality and Age-Related Disease: The Framingham Offspring Study. J Gerontol A Biol Sci Med Sci. 2018;73(6):757–62. doi: 10.1093/gerona/glx144. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Shaw LJ, Raggi P, Berman DS, Callister TQ. Coronary Artery Calcium as a Measure of Biologic Age. Atherosclerosis. 2006;188(1):112–9. doi: 10.1016/j.atherosclerosis.2005.10.010. [DOI] [PubMed] [Google Scholar]
- 36.Hannum G, Guinney J, Zhao L, Zhang L, Hughes G, Sadda S, et al. Genome-wide Methylation Profiles Reveal Quantitative Views of Human Aging Rates. Mol Cell. 2013; 49(2):359–67. doi: 10.1016/j.molcel.2012.10.016. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The data that support the findings of this study are available through FHS for Researchers Portal https://www.framinghamheartstudy.org/fhs-for-researchers/ upon reasonable request. The DNN- based ECG-age model developed by the CODE study is publicly available (doi.org/10.5281/zenodo.4892365).
