Back

Learning lifetime disease liability reveals and removes genetic confounding in electronic health records

Di, Y.; Cai, N.

2026-02-22 genetic and genomic medicine
10.64898/2026.02.15.26346336 medRxiv
Show abstract

Electronic health records (EHRs) have become the cornerstone of population-scale genetic studies1, but factors including patterns of healthcare use shape which and how diagnoses are recorded, leading to confounding effects in genetic associations with EHR codes2. In this study we propose EDGAR, a deep learning framework that recovers lifetime disease liability from EHR by aligning diagnostic codes with clinically validated measures and disease labels in a set of individuals prioritized through active learning. EDGAR yields representations that better capture disease-specific effects in genome-wide association analyses (GWAS). It also enables us to isolate a genetic factor that captures systemic biases in EHR codes, which distorts cross-disease correlations and drives spurious links with behavioral and socio-economic traits. We find that this factor generalizes across EHRs, and its identification in one EHR enables its removal from existing GWAS in another. Overall, our work presents a promising direction for improving specificity of EHR-based GWAS.

Matching journals

The top 2 journals account for 50% of the predicted probability mass.

50% of probability mass above

"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.