Can a Single ECG Predict Cancer Risk? An In-Depth Look at the ECG2Gene Deep Learning Framework

ECG2Gene uses deep learning to extract genetics-related scores from routine ECGs, enabling preliminary non-invasive cancer risk prediction.
The ECG2Gene study proposes a two-stage deep learning framework: the first stage uses carrier status of six cancer susceptibility genes (including ATM and BRCA1/2) as supervision signals to generate six ECG-derived gene scores from 12-lead ECGs; the second stage uses XGBoost with clinical variables to predict breast, ovarian, and prostate cancer risk. In the UK Biobank, the best models achieved AUROC values of 0.683, 0.633, and 0.660; in external validation, a model using only the scores and age reached 0.709 for prostate cancer in the China Kadoorie Biobank but only 0.579 on MIMIC-IV-ECG. The study also proposes EWAS to enhance interpretability. Overall AUROC is at a moderate discrimination level, with marked cross-cohort generalization decay, and the current positioning is as a proof of concept rather than a clinical screening tool.
Cancer early screening has long relied on genetic testing, imaging, or invasive biopsies—but a new study proposes a counterintuitive idea: the routine 12-lead electrocardiogram (ECG) may harbor physiological information linked to hereditary cancer susceptibility, and may even have the potential to predict future cancer risk.

ECG2Gene: A Two-Stage Framework That Turns ECGs into "Gene Scores"
The study, called ECG2Gene, builds a two-stage deep learning framework. In the first stage, known pathogenic or likely pathogenic variant carrier status is used as the supervision signal, covering six genes—ATM, BRIP1, CHEK2, PALB2, BRCA1, and BRCA2—to train a multi-task model that outputs six continuous "ECG-derived gene scores." In the second stage, XGBoost integrates these scores with clinical variables to predict future breast and ovarian cancer risk in women, and prostate cancer risk in men.
The research team also proposes an ECG-wide association study (EWAS) to characterize the associations between these ECG-derived gene scores and ECG waveforms. In other words, the model doesn't just output a risk score—it also attempts to explain the corresponding relationships at the waveform level.
AUROC (area under the receiver operating characteristic curve) is a common metric for evaluating the discriminative ability of binary classification models, ranging from 0.5 (random guessing) to 1.0 (perfect discrimination). Generally speaking, 0.6–0.7 indicates that a model has some discriminative ability but is usually insufficient to support clinical decisions on its own; 0.7–0.8 represents an acceptable level for clinical辅助 (assisted) use; and only above 0.8 is a model more suitable as a standalone screening or diagnostic tool. In cancer early screening scenarios, because positive samples are rare and heterogeneity is high, improving AUROC is often very difficult—so while results in the 0.6–0.7 range are not impressive, they are still worth attention as preliminary signals for non-invasive, opportunistic risk assessment. Understanding this scale helps objectively assess where ECG2Gene's performance stands.
EWAS (ECG-wide association study) borrows from the idea of GWAS (genome-wide association study) in genomics: systematically testing, in a large sample, the statistical association between each ECG waveform feature (such as amplitude, interval, and morphological parameters of each lead) and a target variable (here, the ECG-derived gene scores). Through EWAS, researchers can identify which waveform segments or leads are significantly associated with specific gene scores, thereby providing waveform-level interpretability clues for the black-box model. This approach does not directly prove causality, but it can reveal潜在 (potential) physiological association patterns and help determine whether the model has learned reasonable electrophysiological signals rather than data artifacts.
Performance Data: What Level Is the AUROC?
Among the multiple clinical feature combinations evaluated in the UK Biobank, the best-performing sex-specific models achieved AUROC values of 0.683, 0.633, and 0.660 for breast cancer, ovarian cancer, and prostate cancer, respectively. In external validation, a model combining only ECG-derived gene scores and age reached a prostate cancer AUROC of 0.709 in the overall male population of the China Kadoorie Biobank, and 0.579 in the MIMIC-IV-ECG cohort.
These numbers need to be understood in context. The AUROC 0.6–0.7 range represents a level of "some discriminative ability but not yet sufficient for independent clinical decision-making," and the 0.579 on MIMIC-IV-ECG in particular indicates that cross-cohort generalization still shows明显 (marked) degradation. The study itself positions these results as a demonstration of the potential for "non-invasive, opportunistic cancer risk assessment" rather than a ready-to-use screening tool.
Methodological Highlights and Limitations
The core innovation of ECG2Gene lies in bridging "genetic supervision + ECG phenotyping": using genetic variant carrier status as labels and letting the model learn related digital phenotypes from ECGs. The rationale is that some cancer susceptibility genes also participate in fundamental physiological processes such as DNA repair, and may exert weak but learnable effects on myocardial electrical activity.
The limitations are equally clear. The supervision signal depends on samples of known pathogenic variant carriers, who are rare in the population, so the model may be affected by class imbalance; the AUROC improvement is limited, far from replacing existing screening methods; and performance varies considerably across cohorts in external validation, suggesting that data distribution and population differences significantly affect results.
Class imbalance is a common problem in medical machine learning: when positive samples (such as pathogenic variant carriers) are far fewer than negative samples, models tend to favor the majority class, leading to reduced ability to identify the positive class. ECG2Gene's supervision signal depends on known pathogenic variant carriers, a population with a very low prevalence in the general population (carrier rates for many susceptibility genes are on the order of one in a thousand to one in a hundred), so the training data are significantly imbalanced. Common mitigation methods include resampling, cost-sensitive learning, or adjusting classification thresholds, but their effectiveness is limited. In addition, participants in cohorts such as the UK Biobank are subject to healthy volunteer bias, which may further affect model performance in real-world populations.
What Does This Study Mean?
What deserves the most attention is not any specific AUROC number, but the paradigm-level implication: data generated by routine examinations (such as ECGs) may be re-mined for information about genetics and disease risk. If this direction is further validated, ECGs in future health checkups might, without adding extra cost, provide辅助 (auxiliary) cancer risk hints for some populations, thereby guiding them toward more precise genetic testing or imaging screening.
However, moving from research to clinical implementation will require larger-scale, multi-ethnic prospective validation, as well as clear clinical pathway design. For now, ECG2Gene is more of a convincing proof of concept than a diagnostic product that can be directly deployed.
One-line Summary
ECG2Gene uses deep learning to extract genetics-related scores from routine ECGs, achieving preliminary non-invasive cancer risk prediction.
Paragraph Summary
The ECG2Gene study proposes a two-stage deep learning framework: the first stage uses carrier status of six cancer susceptibility genes—including ATM and BRCA1/2—as supervision signals to generate six "ECG-derived gene scores" from 12-lead ECGs; the second stage uses XGBoost combined with clinical variables to predict breast and ovarian cancer risk in women and prostate cancer risk in men. In the UK Biobank, the best models achieved AUROC values of 0.683, 0.633, and 0.660, respectively; in external validation, a model using only the scores and age reached 0.709 for prostate cancer in men in the China Kadoorie Biobank, but only 0.579 on MIMIC-IV-ECG. The study also proposes an EWAS method to enhance interpretability. Overall AUROC is at a moderate discrimination level, with marked cross-cohort generalization decay, and the current positioning is as a proof of concept rather than a clinical screening tool.
Related articles

AI Role-Play in a Barbershop: How Veda Builds Immersion Through Dialogue
From a Bilibili Veda barbershop video, explore how AI role-play builds immersion through task dialogue, relationship maintenance, and improvisation.

Why Does Python Endure? A 20-Year Developer's Firsthand Account
A senior developer shares his journey from C, Java, and other languages to Python: convinced by its concise code in 2006, he asks himself every year whether to keep using Python, and the answer is always yes. Python's flexibility and versatility are the key to its enduring popularity.

Conductive Dye Turns Hair into EEG Electrodes, Opening a New Path for Wearable Brain-Computer Interfaces
Can conductive dye turn hair into EEG electrodes? This article explains the principles, potential applications, and deployment challenges of this new wearable brain-computer interface approach.