arXiv:2611.00614cs.LGOct 2026

Manuscript Offprint

arXiv:2611.00614

ECG2Gene: Deep Learning-Based Germline Tumor Susceptibility Gene Risk Assessment Using Electrocardiograms

Shanwei Zhang, Qinghao Zhao, Yize Zhao, Jun Li, Yongchao Long, Jinshuai Gu, Ling Yang, Huaidong Du, Yiping Chen, Zhengming Chen, Dianjianyi Sun, Jun Lv, Liming Li, Iona Y. Millwood, Robin G. Walters, Canqing Yu, Yuxi Zhou, Shenyong Chen, Shenda Hong

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Shanwei Zhang 1,4,#^{1,4,\#}, Qinghao Zhao 2,#^{2,\#}, Yize Zhao 3,#^{3,\#}, Jun Li 4,5^{4,5}, Yongchao Long 1,4,⊖^{1,4,\ominus}, Jinshuai Gu 1,4^{1,4}, Ling Yang 6^{6}, Huaidong Du 6^{6}, Yiping Chen 6^{6}, Zhengming Chen 6^{6}, Dianjianyi Sun 3,7,8^{3,7,8}, Jun Lv 3,7,8,9^{3,7,8,9}, Liming Li 3,7,8^{3,7,8}, Iona Y. Millwood 10^{10}, Robin G. Walters 10^{10}, Canqing Yu 3,7,8,∗^{3,7,8,*}, Yuxi Zhou 1,11,∗^{1,11,*}, Shenyong Chen 1,∗^{1,*}, and Shenda Hong 4,5,∗,⊖^{4,5,*,\ominus}

1^{1}Department of Computer Science, Tianjin University of Technology, Tianjin, China

2^{2}Department of Cardiology, Peking University People's Hospital, Beijing, China

3^{3}Department of Epidemiology & Biostatistics, School of Public Health, Peking University, Beijing 100191, China

4^{4}National Institute of Health Data Science, Peking University, Beijing, China

5^{5}Institute for Artificial Intelligence, Peking University, Beijing, China

6^{6}Clinical Trial Service Unit & Epidemiological Studies Unit (CTSU), Nuffield Department of Population Health, University of Oxford, United Kingdom

7^{7}Peking University Center for Public Health and Epidemic Preparedness & Response, Beijing 100191, China;

8^{8}Key Laboratory of Epidemiology of Major Diseases (Peking University), Ministry of Education, Beijing 100191, China

9^{9}State Key Laboratory of Vascular Homeostasis and Remodeling, Peking University, Beijing 100191, China

10^{10}Clinical Trial Service Unit & Epidemiological Studies Unit (CTSU), Nuffield Department of Population Health, University of Oxford, United Kingdom

11^{11}DCST, BNRist, RIIT, Institute of Internet Industry, Tsinghua University, Beijing, China

*Correspondence: yucanqing@pku.edu.cn, joy_yuxi@pku.edu.cn, csy@tjut.edu.cn, hongshenda@pku.edu.cn

ABSTRACT

Electrocardiograms (ECGs) may contain physiological information related to hereditary cancer susceptibility, but its relationship with future cancer risk remains unclear. Here, we present ECG2Gene, a two-stage deep-learning framework that derives digital phenotypes related to germline tumor susceptibility from routine 12-lead ECGs and predicts future cancer risk. In Stage 1, carrier status for pathogenic or likely pathogenic variants in ATM, BRIP1, CHEK2, PALB2, BRCA1, and BRCA2 supervises a multitask model that generates six continuous ECG-derived gene scores. In Stage 2, XGBoost integrates these scores with clinical variables to predict subsequent breast and ovarian cancer in women and prostate cancer in men. We also introduce ECG-Wide Association Analysis (EWAS) to characterize associations between ECG-derived gene scores and ECG waveforms. Across the clinical feature combinations evaluated in UK Biobank, the best-performing sex-specific models achieve AUROCs of 0.683, 0.633, and 0.660 for breast, ovarian, and prostate cancer, respectively. In external evaluations, models combining ECG-derived gene scores with age achieve prostate cancer AUROCs of 0.709 and 0.579 among men in the overall China Kadoorie Biobank and MIMIC-IV-ECG cohorts, respectively. ECG2Gene links genetically supervised ECG phenotyping and waveform association analysis to future cancer outcomes, demonstrating the potential of routine ECGs combined with clinical information for non-invasive, opportunistic cancer risk assessment.

KEYWORDS

ECG; Gene; Deep learning; Digital phenotyping; Cancer risk prediction

INTRODUCTION

Hereditary cancer susceptibility carriers need to be identified before cancer develops. Pathogenic or likely pathogenic germline variants in BRCA1, BRCA2 increase risk for breast, ovarian, prostate, and other cancers 1,2^{1,2}. Identifying these carriers guides genetic counselling, intensified screening, risk-reducing interventions, and cascade testing in families. Yet population-level identification remains incomplete. Cost, access, uptake, family-history ascertainment, and variants of uncertain significance limit genetic testing in routine screening settings. Functional studies of BRCA2 further show that clinical variant classification requires rigorous annotation and biological evidence in addition to variant detection 3^{3}. These limitations leave a practical gap between individuals who could benefit from genetic risk assessment and the people who actually receive it early enough.

Electrocardiography offers a scalable phenotyping layer for this gap. A standard 12-lead ECG is inexpensive, non-invasive, widely available, and often collected before cancer diagnosis during routine care, preoperative assessment, hospitalization, and health screening. AI-ECG studies have shown that ECGs encode more than rhythm and interval measurements: deep learning can detect left ventricular dysfunction, atrial fibrillation risk during sinus rhythm, age, sex, and broad disease-related representations from ECG signals 4−7^{4-7}. Large-scale ECG genetics and genotype-to-ECG studies also show that ECG morphology has a genetic basis and can serve as a measurable intermediate phenotype between inherited background and disease risk 8,9^{8,9}. These findings support ECG as a testable source of genetic and systemic physiological signals, even when the target disease originates outside the heart.

We frame the biological link between tumor susceptibility genes and ECG as an indirect phenotype-to-gene signal. Germline variants exist in all nucleated cells, including cardiomyocytes. Genes such as ATM, CHEK2, and PALB2 participate in DNA damage repair, oxidative stress response, cell-cycle regulation, and cell survival, which also influence myocardial homeostasis and stress response. Mechanistic and clinical studies suggest that BRCA1/2 biology can extend beyond cancer target tissues and relate to myocardial injury, cardiovascular risk, and treatment-associated cardiotoxicity 10−12^{10-12}. This evidence supports a hypothesis: germline tumor susceptibility can leave subtle, systemic, and age or sex dependent physiological traces that deep learning can extract from ECG.

Eye2Gene provides the closest methodological analogy for this study. In inherited retinal diseases, Pontikos et al. showed that multimodal retinal imaging can support genetic diagnosis by learning gene-specific phenotypic patterns, achieving externally validated top-five accuracy of 83.9% across 63 genetic causes and improving phenotype-driven variant prioritization 13^{13}. Eye2Gene expands the ability to recognize genotype-linked phenotypes and prioritize molecular interpretation. ECG2Gene tests a related phenotype-to-gene idea in a harder setting: using a routine, non-cancer, non-genomic physiological signal to learn representations of germline tumor susceptibility genes and assess their value for future cancer risk stratification.

Existing work has established the pieces of this question, while hereditary cancer risk remains untested as a phenotype-to-gene ECG task. Cancer genetics studies define the clinical importance of germline susceptibility genes 1,3,14^{1,3,14}. ECG genetics and AI-ECG studies show that ECG can encode inherited and systemic physiological information 4−9,15,16^{4-9,15,16}. Phenotype-to-gene studies demonstrate that clinical phenotypes can aid genetic diagnosis and variant prioritization 13,17^{13,17}. Risk models such as BOADICEA integrate family history, pathogenic variants, PRS, and questionnaire risk factors for cancer risk prediction 18,19^{18,19}. The remaining question is whether a routine ECG can produce an ECG-derived gene score that captures part of the germline susceptibility-related phenotype and contributes to breast, ovarian, and prostate cancer risk stratification.

To overcome these challenges, we propose ECG2Gene, a two-stage framework for ECG-derived germline tumor susceptibility phenotyping. In the first stage, ECG2Gene uses 12-lead ECGs to learn gene scores for cancer susceptibility genes, including ATM, BRIP1, CHEK2, PALB2, BRCA1, and BRCA2. In the second stage, these ECG derived gene scores are combined with readily available clinical variables, including age, sex, BMI, and smoking status, to predict future risk of breast, ovarian, and prostate cancer. The main contributions of this study are as follows:

  • ECG2Gene, a two-stage framework that learns continuous scores for six hereditary cancer susceptibility genes from routine 12-lead ECGs and integrates them with readily available clinical variables. This framework establishes a low-cost, non-invasive, and scalable approach to opportunistic screening and risk stratification for hereditary cancer susceptibility.

  • External validation in two independent cohorts, MIMIC and CKB, shows that ECG-derived gene scores, combined with clinical information, provide modest predictive and risk-stratification value for selected cancer outcomes.

  • Introducing EWAS (ECG-Wide Association Analysis) to explore potential associations between genes and ECG phenotypes. We introduce EWAS to systematically examine associations between ECG-derived gene scores and ECG waveforms. By integrating analyses of subsequent cancer outcomes, we explore potential links between gene-related ECG phenotypes and cancer risk.