PM1: A Multimodal Foundation Model for Genomes, Phenotypes, and Images at Biobank Scale

Christophe Thomassin, Marçal Comajoan Cara, Margarita Geleta, David Bonet, Benet Oriol Sabat, Daniel Mas Montserrat, Alexander G. IoannidisNeurIPS 2026

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:

  1. 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.
  2. 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).

Figure 1: Overview of PM1. PM1 clusters genotype, phenotype, and retinal imaging data into biologically interpretable token sequences, which are projected into a shared low-dimensional space using modality-specific encoders (frozen during training) and fused by a transformer-based fusion model. A missingness-invariant contrastive loss (CL) aligns patient representations across different observed modality subsets, enabling multimodal learning despite incomplete data availability. The learned patient-level representations support downstream tasks including conditional retinal image generation, cross-modal genotype inference, and interpretability analyses.
  • 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.
Figure 2: PM1 latent space organization. UMAP projections of [CLS] embeddings from randomly selected samples for models trained with the proposed missingness-invariant contrastive loss, a standard pairwise contrastive loss, or no contrastive learning. Colors indicate modality availability (top), demographic covariates (middle), and glaucoma status (bottom). The proposed objective avoids modality-driven clustering while preserving clinically relevant 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.
Attribution maps on a diabetic retinopathy scan highlighting lipid deposits alongside a Manhattan plot showing fused image tokens strongly associate with the HERC2/OCA2 eye-color locus.

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

Abstract

Precision medicine relies on integrating diverse patient data, including genetic variants, clinical phenotypes, and medical imaging, to inform personalized prevention, diagnosis, and treatment. However, learning general patient-level representations from these heterogeneous modalities remains challenging due to their high dimensionality and pervasive missingness. We propose Precision Medicine 1 (PM1), a multimodal foundation model that learns patient-level representations across genetic, clinical, and imaging data from 337,129 individuals in the UK Biobank, with a focus on ocular and systemic traits. To address high data dimensionality, PM1 adopts an intermediate fusion architecture with modality-specific encoders and a shared transformer backbone, where a pathway-based genotype encoder learns compact representations of genetic variation within selected biological pathways while preserving trait-relevant variation. In addition, a contrastive loss robust to modality missingness allows PM1 to learn patient-level representations despite less than 14% of UK Biobank participants having complete modality coverage. By partitioning modalities into interpretable tokens, PM1 enables interpretability methods to investigate known and potentially novel associations across genetic, clinical, and imaging features. Evaluated across downstream tasks, including phenotype prediction, conditional image generation, and attribution analyses, PM1 demonstrates the value of multimodal patient representations, improving predictive performance over unimodal baselines and competing methods despite heterogeneous and incomplete patient data.
BibTeX
@inproceedings{thomassin2026pm,
  author = {Christophe Thomassin and Marçal Comajoan Cara and Margarita Geleta and David Bonet and Benet Oriol Sabat and Daniel Mas Montserrat and Alexander G. Ioannidis},
  title = {{PM1: A Multimodal Foundation Model for Genomes, Phenotypes, and Images at Biobank Scale}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Of5xLFFgUA},
}

Loading related content...

Figure