TL;DR
This paper explores how Large Language Models (LLMs) can integrate genetic (SNP) and electrocardiogram (ECG) data to predict cardiovascular disease (CVD) risk. By framing the problem as a Chain-of-Thought (CoT) reasoning task and fine-tuning LLMs on a novel, tiered dataset, the researchers demonstrate that LLMs can effectively learn complex relationships between genetic variants and physiological signals for improved risk stratification.
What Problem Does This Paper Address?
Cardiovascular disease (CVD) is a leading cause of death globally, and predicting an individual's risk remains a significant challenge. While we have vast amounts of genomic data (like Single Nucleotide Polymorphisms or SNPs) and electrophysiological data (from ECGs), effectively integrating these high-dimensional, noisy, and often sparsely annotated datasets to extract meaningful biological insights is difficult. Traditional methods struggle to capture the complex, non-linear interactions between genes and physiological phenotypes that contribute to CVD. This paper aims to bridge this gap by investigating the potential of fine-tuned LLMs to connect SNP variants and ECG phenotypes for more accurate and interpretable cardiovascular risk prediction.
Methods
The core of this research lies in a novel approach that leverages fine-tuned Large Language Models (LLMs) for cardiogenomic risk prediction. Key methodological components include:
- Tiered Data Stratification: The dataset was divided into three tiers based on the certainty of cardiac diagnoses and genetic linkage: Tier 1 (confirmed diagnoses), Tier 2 (indirect indicators), and Tier 3 (unlabeled or no known diagnosis). This allows for tailored modeling strategies.
- Multimodal Data Integration: SNP data was processed into tokenized sequences (e.g., SNP k-mers, haplotypes), and ECG signals were converted into dense embeddings. These, along with clinical data, were unified into a single representation space.
- Chain-of-Thought (CoT) Prompting: A crucial innovation is framing the prediction task as a CoT reasoning problem. LLMs were prompted to generate disease labels and provide step-by-step clinical deductions, explicitly referencing both genetic and ECG information. This encourages explainability and mitigates purely associative predictions.
- Parameter-Efficient Fine-Tuning (PEFT): The researchers employed Low-Rank Adaptation (LoRA) for fine-tuning, a technique that efficiently adapts LLMs by training only a small number of additional parameters, making the process more computationally feasible.
- Semantic Similarity Evaluation: Given that LLMs don't have native classification heads, predictions were evaluated using a semantic similarity metric against ground truth labels, allowing for more flexible and clinically relevant accuracy assessment.
Datasets
The study utilized a harmonized cardiogenomic dataset curated from the PhenoAI HPP repository. This dataset includes:
- High-resolution SNP genotyping data: Information on genetic variants for each participant.
- ECG-derived morphological and temporal features: Data extracted from electrocardiogram signals.
- Medical Condition Annotations: Clinical diagnoses obtained from participants' medical history.
The dataset comprised 8,856 participants, with a subset of 1,050 participants (350 per tier) used for fine-tuning and evaluation to ensure balanced label distributions.
Key Insights and Ideas
- LLMs as powerful integrators: The study demonstrates that LLMs, when fine-tuned with appropriate prompting and data representation, can effectively integrate disparate data modalities (genomics and electrophysiology) for complex biomedical tasks.
- Chain-of-Thought unlocks explainability: Framing the task as CoT reasoning not only improves prediction accuracy but also forces the model to articulate its reasoning, providing clinically interpretable insights into how genetic and ECG features contribute to risk assessment.
- Tiered approach enhances robustness: Stratifying participants into tiers based on data certainty allows for a more nuanced and effective modeling strategy, particularly for handling unlabeled or indirectly associated data.
- Larger, newer models excel: The results strongly suggest that more recent and larger LLMs (like DeepSeek 1.3B) offer superior performance due to better architectural design and pre-training, especially in handling more challenging or less clearly defined cases.
Key Results
- DeepSeek 1.3B leads performance: The DeepSeek 1.3B model consistently outperformed GPT-2 and Llama-3.2 1B across all tiers, achieving the highest overall accuracy of 0.910 and an F1 score of 0.840.
- Strong performance across tiers: Even in Tier 3 (unlabeled participants), DeepSeek achieved an accuracy of 0.892 and an F1 score of 0.832, highlighting its generalization capabilities from unsupervised clustering-derived CoT reasoning.
- Rapid convergence: DeepSeek exhibited the fastest training convergence, reaching a low loss value significantly quicker than Llama-3.2 1B and GPT-2, suggesting more efficient adaptation to the task.
- LLMs can learn latent structure: The findings demonstrate that prompt-based LLMs can learn latent structures from genomic data and apply them to novel, ambiguous cases, even with limited direct supervision.
Limitations and Future Work
- Sample Size: The study was conducted on a relatively small cohort (1,050 participants for fine-tuning/evaluation), which limits statistical power and generalizability. Future work will involve larger datasets.
- Model Sensitivity: Causal LLMs lack native classification heads, making them sensitive to prompt phrasing and potentially inconsistent in diagnostic phrasing. The use of semantic similarity metrics partially addresses this, but further post-processing strategies are planned to enforce label consistency.
- Scaling LLMs: While smaller models were used to assess feasibility, scaling to larger architectures like Llama-3 7B or GPT-4 is expected to further enhance performance, especially for more complex scenarios.
- Knowledge Graphs and EHR Integration: Future research will explore integrating knowledge graphs to capture richer relationships between diseases, symptoms, and treatments. Incorporating electronic health records (EHRs) and medical imaging data is also a promising direction for more holistic and personalized recommendations.
Summary updated