Abstract
Large-scale biobanks provide comprehensive electronic health records (EHRs) that capture detailed clinical phenotypes, potentially enhancing disease risk prediction. However, traditional polygenic risk score (PRS) methods rely on simplified phenotype definitions or predefined trait sets, limiting their ability to represent the intricate phenotypic structures embedded within EHRs. To address this gap, we introduce a general framework, EEPRS, that leverages phenotype embeddings derived from EHRs to improve genetic risk prediction using only genome-wide association study (GWAS) summary statistics. By employing embedding methods such as Word2Vec and GPT, we conducted EHR embedding-based GWAS and identified distinct genetic clusters, particularly within cardiovascular health. Across 41 clinical traits in the UK Biobank, our EEPRS framework consistently outperformed traditional single-trait PRS, with the multi-trait version (MTAG_EEPRS) achieving an average 92.48% improvement in $R^2$ for continuous traits and 24.06% in AUC for binary traits. EEPRS represents a robust and interpretable framework for enhancing genetic prediction accuracy through the integration of high-dimensional clinical data.
Introduction: The Phenotypic Data Bottleneck
Polygenic Risk Scores (PRS) are essential tools in personalized medicine, designed to quantify an individual's genetic predisposition to specific diseases. Despite their potential, traditional PRS methods often suffer from a "data bottleneck." Most models rely on binary disease definitions—classifying patients simply as "cases" or "controls" based on specific diagnosis codes.
This binary approach fails to capture the rich, longitudinal, and interconnected nature of clinical history. A patient’s health is not a single data point but a complex narrative of symptoms, comorbidities, and temporal progressions. Furthermore, many advanced integration methods require individual-level genetic data, which is often restricted due to privacy concerns. The EEPRS framework was developed to overcome these limitations by transforming messy EHR data into structured mathematical embeddings and utilizing widely available GWAS summary statistics.
The EEPRS Framework
The Electronic Health Record Embedding Enhanced Polygenic Risk Score (EEPRS) framework follows a five-step pipeline to translate clinical histories into predictive power:
- Phenotype Embedding: Clinical histories are treated as "sentences" where ICD-10 diagnosis codes act as words. Using Natural Language Processing (NLP) models—specifically Word2Vec and GPT—these sequences are converted into low-dimensional numeric vectors (embeddings) that capture the relationships between different medical conditions.
- Embedding-based GWAS (E-GWAS): Rather than running a GWAS on a single disease label, the researchers perform GWAS on the individual dimensions of these embeddings. This identifies genetic variants associated with complex clinical patterns and clusters of traits.
- PRS Construction: Individual-level PRS are built for each embedding dimension using Bayesian methods (specifically PRS-CS-auto).
- Interpretation via PRS-PheWAS: To ensure clinical relevance, Phenome-Wide Association Studies (PheWAS) map these genetic scores back to established clinical categories (e.g., circulatory or metabolic systems).
- Integration: The EEPRS-Integrator combines these embedding-based scores with traditional PRS. This step utilizes a "data fission" technique to estimate optimal weights using summary statistics, avoiding the need for large, individual-level validation datasets.
Study Design and Datasets
The framework was validated using the UK Biobank (UKBB), involving approximately 311,600 individuals of European ancestry. The dataset was split into a training set (two-thirds) for generating embeddings and GWAS, and an independent testing set (one-third). The researchers evaluated the model across 41 clinical traits, including 13 continuous traits (such as BMI and blood pressure) and 28 binary traits (such as heart failure and ischemic stroke).
Key Insights
The Heritability of Clinical "Sentences"
A significant finding of the study is that the abstract mathematical dimensions generated by NLP models are highly heritable. These embeddings capture "genetically coherent" clusters, particularly in cardiovascular health. By analyzing the relationships between codes—such as how diabetes often precedes heart disease—the model identifies pleiotropic effects where a single genetic variant influences multiple related clinical outcomes.
Summary Statistics and Accessibility
One of the primary advantages of EEPRS is its reliance on summary-level data. By proving that state-of-the-art integration can be achieved without individual-level genetic data, the authors have made the tool significantly more accessible for global research consortia where data sharing is often restricted.
Performance Results
The EEPRS framework demonstrated substantial improvements over traditional single-trait PRS methods:
- Continuous Traits: The MTAG_EEPRS version showed an average 92.48% improvement in predictive power ($R^2$).
- Binary Traits: For disease diagnosis, the model achieved a 24.06% average improvement in the Area Under the Curve (AUC).
- Disease Specificity: The model was exceptionally effective for cardiovascular diseases, showing massive gains in predicting conditions like Pulmonary Arterial Hypertension (PAH) and Ischemic Stroke (IS).
- Adaptive Selection: The "EEPRS_optimal" method, which uses cross-validation to select the most effective embedding strategy (Word2Vec vs. GPT) for a specific trait, consistently outperformed static models.
Limitations and Future Directions
While EEPRS represents a significant leap forward, the authors note several areas for future development. The current study focused on European-ancestry populations within the UK Biobank; validating these models in more diverse global populations is critical for ensuring equitable clinical utility. Additionally, while Word2Vec and GPT provided strong results, future iterations could leverage specialized medical Large Language Models (LLMs) or incorporate multi-modal data—such as clinical notes, medical imaging, and electrocardiograms (ECGs)—to create a truly holistic view of genetic risk.
Summary updated