TL;DR
To treat patients effectively, doctors ideally synthesize DNA, lab results, and medical scans into a single picture of human health—yet most AI models choke when fed hundreds of thousands of genetic variants or when half a patient’s chart is missing. Precision Medicine 1 (PM1) is a multimodal foundation model trained on over 337,000 individuals that unifies genomes, clinical records, and retinal images into a coherent patient representation, even when over 86% of participants are missing at least one data type. Not only does it improve disease prediction, it organizes its internal "thoughts" around real biological pathways, letting researchers peer inside to see how genes, blood sugar, and eye anatomy conspire in disease.
What Problem Does This Paper Address?
Human health doesn't live in a single data format. Your inherited risk sits in your genome, your lifestyle and lab work live in messy clinical tables, and structural wear-and-tear shows up in medical images (like retinal scans, which double as a non-invasive window into cardiovascular and neurological health).
Teaching a foundation model to read all three simultaneously runs into two brick walls:
- Crushing dimensionality: Genomes contain hundreds of thousands of genetic variants (SNPs—single-letter DNA differences), clinical records span thousands of sparse variables, and images are dense grids of pixels.
- Pervasive missingness: In massive biobanks, almost nobody gets every test. In the UK Biobank cohort used here, fewer than 14% of participants have all three modalities. Throw out incomplete records, and you lose 86% of your data while biasing your model toward unusually well-monitored people.
Methods
PM1 uses an intermediate fusion architecture: modality-specific encoders first compress each data type into biologically meaningful tokens, which are then frozen and fed into a shared Transformer backbone (totaling 351 tokens per patient).
- Novel Pathway-Centric Genotype Encoder: Instead of feeding raw DNA variants into a giant network, the authors build a supervised Hierarchical Autoencoder (HAE) mirroring biology: nucleotides $\rightarrow$ genes $\rightarrow$ biological pathways. Using multi-head attention pooling, 183,034 SNPs are compressed into 298 pathway tokens, cutting parameter counts by two orders of magnitude compared to fully connected autoencoders.
- Organ-System Phenotype & Adapted Image Encoders: 3,409 clinical traits (adjusted for age, sex, and ancestry) are grouped into 21 physiological/lifestyle tokens using a masked autoencoder (AutoComplete). Retinal fundus photos are encoded into 16 spatial tokens per eye via a LoRA-adapted Vision Transformer (RETFound).
- Missingness-Invariant Contrastive Loss: Standard contrastive learning (like CLIP) aligns two paired views (e.g., image + text). Here, for every patient in a batch, PM1 generates views for every non-empty subset of their available modalities and forces the shared
[CLS]patient token to match across all subsets, paired with a cross-modal masked token reconstruction objective.
Datasets
- UK Biobank (UKB): Pre-trained and evaluated on 337,129 participants of White British ancestry, encompassing 183,034 autosomal SNPs, 3,409 clinical phenotypes, and 86,360 color fundus photographs (from 46,527 participants).
- EyePACS: Public dataset of retinal images and diabetic retinopathy (DR) labels, used strictly for downstream image saliency and conditional diffusion synthesis experiments (never seen during PM1 pre-training). No new benchmarks were introduced.
Key Insights and Ideas
- Standard contrastive learning fails on incomplete medical records: Under standard pairwise contrastive loss, patient embeddings fracture into islands based purely on which tests a patient took rather than how sick they are. Without contrastive learning, embeddings sort themselves by age and sex. PM1's subset-matching loss erases those artifacts while preserving disease structure.
- Single internal neurons rediscover clinical biology: By training Sparse Autoencoders (SAEs) on the Transformer’s residual stream, the authors found individual features where genetics, labs, and anatomy converge. In a diabetic retinopathy model, a single feature (
L19 F644) simultaneously tracked TGF-$\beta$/SMAD genetic pathways and clinical blood-sugar markers (HbA1c, insulin use), separating DR cases from controls at 0.94 AUROC all by itself. - Cross-modal fusion transfers genetic signal into image tokens: Running a genome-wide association study (GWAS) on fused image representations recovered famous eye-pigmentation genes (HERC2/OCA2 on Chromosome 15), showing the Transformer weaves genetic context directly into visual representations.
Key Results
- Phenotype Prediction: Evaluated across 9 ocular, cardiovascular, and neurodegenerative traits across 7 modality combinations (63 tasks total), PM1 beat all baselines (including XGBoost,
snpnet, ContIG, and MedGemma 1.5) in 53 of 63 settings (and 35 of 36 multimodal settings). Notably, its lead over the best baseline grew as more modalities were added: +0.033 mean AUROC with one modality, +0.070 with two, and +0.115 with all three. - Genotype Encoder Efficiency: The hierarchical pathway encoder improved downstream trait prediction by 27.78% above chance over the best competing autoencoder while maintaining 75.4% SNP dosage reconstruction accuracy.
- Generative & Cross-Modal Utility: Unmasking an age-related macular degeneration (AMD) diagnosis significantly shifted PM1’s DNA reconstructions toward true risk alleles in HSP90AA1 ($p = 0.0016$). Furthermore, a ResNet-50 trained solely on 50,000 synthetic retinal scans generated by a PM1-conditioned diffusion model achieved 0.86 AUROC on real held-out images.
Limitations and Future Work
- Population & Trait Scope: Training was restricted to UK Biobank participants of White British ancestry, and genetic pathways were pre-selected using associations with the nine target ocular and systemic diseases—limiting out-of-the-box generalization to diverse ancestries or unrelated rare diseases.
- Frozen Encoders: Freezing the modality encoders makes biobank-scale fusion tractable, but prevents true end-to-end gradient updates back to raw pixels and SNPs.
- Future Directions: The authors plan to expand PM1 across diverse global ancestries and traits, and incorporate longitudinal time-series, wearable sensors, and additional molecular and imaging modalities.
Summary updated