Biological data is notoriously heterogeneous. A cell imaged in one laboratory can look completely different from the exact same cell type imaged in another due to minor variations in lighting, equipment, or sample preparation—confounding factors known as batch effects. Similarly, genomic sequences vary widely across species, and cellular responses to drugs change drastically depending on the specific tissue context. Traditionally, applying machine learning to biology has required massive, expert-annotated datasets tailored to a single narrow task, making models brittle and expensive to train.
A major paradigm shift is overcoming this bottleneck. By training large-scale foundation models on massive, unannotated biological datasets using self-supervised learning (SSL), researchers are achieving zero-shot generalization. These models can accurately predict cell types, gene expression profiles, drug sensitivities, and molecular functions in entirely unseen biological contexts without any task-specific fine-tuning.
Instead of memorizing dataset-specific artifacts, large-scale pretraining forces models to learn the invariant, underlying principles of biology: the universal grammar of genomic sequences, the structural constraints of cellular morphology, and the shared logic of molecular networks.
Learning Invariant Biology Through Cross-Stain and Cross-Modal Alignment
To prevent a model from overfitting to the specific way a tissue sample was prepared or stained, it must learn that different visual representations of the same tissue share an identical underlying biological reality.
Jaume et al. demonstrated this concept in Multistain Pretraining for Slide Representation Learning in Pathology by using different chemical stains (such as H&E and IHC) of the same tissue as multimodal "views" within a contrastive learning framework. By forcing the model to align these distinct views in a shared latent space, the resulting representations become inherently robust to staining variations. This allows the model to capture fundamental biological properties rather than laboratory-specific artifacts, yielding superior generalization in low-data, few-shot clinical classification tasks.
[Stain View A: H&E] ───► [Encoder] ───┐
▼
[Shared Latent Space] ◄─── Collapses technical noise,
▲ preserves biological semantics
[Stain View B: IHC] ───► [Encoder] ───┘
A similar principle applies when scaling up data diversity across institutions and organs. In CytoFM: The first cytology foundation model, Ivezic et al. pretrained a Vision Transformer on millions of multi-organ cell patches collected across diverse preparation methods. This massive institutional diversity ensures that the model abstracts away local laboratory variations, enabling it to generalize seamlessly to entirely external, unseen datasets.
This alignment strategy can be extended beyond images to link morphology directly with semantic concepts. Lu et al. developed CellCLIP in CellCLIP - Learning Perturbation Effects in Cell Painting via Text-Guided Contrastive Learning, which pairs high-throughput microscopy images of perturbed cells with natural language descriptions of the corresponding genetic or chemical modifications. Because the model is forced to map visual cellular changes to the broader semantic descriptions of biological pathways, it achieves zero-shot recovery of novel biological relationships without requiring explicit supervision for every individual interaction.
Bridging Morphology and Function via Generative Pretraining
A tissue's physical shape (morphology) is not random; it is a direct structural manifestation of its underlying molecular and genetic state. Generative foundation models exploit this coupling to predict high-dimensional functional data directly from visual inputs.
In STPath: A Generative Foundation Model for Integrating Spatial Transcriptomics and Whole Slide Images, Huang et al. pretrained a generative model on a massive multi-organ dataset to map standard pathology images to high-resolution spatial transcriptomics. Because the model learns the universal structural rules linking tissue morphology to gene expression, it can perform zero-shot prediction of nearly 39,000 genes across 17 different organs without requiring organ-specific fine-tuning.
The inverse is also true: models can simulate how cellular morphology will evolve when subjected to novel chemical perturbations. Zhang et al. introduced CellFlux in CellFlux: Simulating Cellular Morphology Changes via Flow Matching, which uses flow matching to model the distribution shifts of cells undergoing drug treatments. By using unperturbed control cells as a starting point rather than random noise, the model filters out experimental batch effects. This enables a zero-shot capability to predict the precise morphological impacts of entirely novel, unseen chemical compounds, capturing the true relationship between molecular structures and cellular responses.
[Control Cells] ───► [Flow Matching Model] ───► [Predicted Perturbed Morphology]
▲
[Novel Drug Structure]
(Zero-Shot Input)
Even in purely physiological domains, generative objectives allow models to capture complex cellular dynamics. Mascolini et al. demonstrated in Exploiting generative self-supervised learning for the assessment of biological images with lack of annotations that generative training objectives allow models to learn universal biological features that transfer robustly across entirely new cell types and experimental setups. Similarly, in NOBLE - Neural Operator with Biologically-informed Latent Embeddings to Capture Experimental Variability in Biological Neuron Models, Ghafourpour et al. developed a neural operator that maps biological features into a continuous latent space to simulate the non-linear electrical activity of neurons. The model generalizes zero-shot to unseen biological structures and maintains high fidelity across highly variable experimental conditions.
Vocabulary-Free and Cross-Omics Transfer
A major barrier to zero-shot generalization is that different biological datasets often use completely different "vocabularies"—such as measuring entirely different sets of genes or proteins, or shifting from immortalized cell lines to primary human tissues. To generalize across these boundaries, models must shift from memorizing specific entities to learning the interaction logic or topology of biological systems.
Madhu et al. addressed this challenge in HEIST: A Graph Foundation Model for Spatial Transcriptomics and Proteomics Data by modeling tissues as a hierarchical "graph of graphs." By focusing on the underlying logic of cellular neighborhoods and spatial interactions rather than relying on fixed feature vocabularies, the model achieves zero-shot generalization across entirely different data modalities, allowing a model trained on transcriptomic data to be applied effectively to proteomics without retraining.
To bridge distinct layers of the central dogma, Yu et al. developed CDBridge: A Cross-omics Post-training Bridge Strategy for Context-aware Biological Modeling. This framework connects pretrained DNA and protein foundation models by mimicking biological splicing through adaptive token merging. Because it captures universal regulatory principles, the model successfully maps long genomic sequences to their functional protein products in biological tissues completely absent from the training data.
This capacity to transfer across contexts is vital for translating laboratory discoveries into clinical insights. In Learning chemical sensitivity reveals mechanisms of cellular response, Connell et al. leveraged millions of compound-cell pairs to learn robust biological representations. This scale allows the model to generalize from lab-grown, immortalized cell lines to primary patient tissues without domain-specific fine-tuning.
Similarly, Xia Ning developed SiamCDR in Enhancing drug and cell line representations via contrastive learning for improved anti-cancer drug prioritization, utilizing contrastive learning to map drugs and cancer cell lines based on shared mechanisms of action. By focusing on these underlying biological structures rather than memorizing specific drug-cell pairs, the model generalizes effectively to novel cancer types not encountered during training.
In-Context Learning and the Grammar of Biological Sequences
Just as large language models learn a universal grammar of human language that allows them to perform new tasks via prompting, genomic foundation models are demonstrating similar capabilities with the "code of life."
In HyenaDNA: Long-Range Genomic Sequence Modeling at Single Nucleotide Resolution, Nguyen et al. introduced a genomic foundation model capable of processing context windows up to 1 million tokens at single-nucleotide resolution. The authors demonstrated that pretraining on large-scale genomic sequences enables in-context learning. Much like a large language model, the network can adapt to entirely new regulatory and structural prediction tasks via prompting alone, without requiring any downstream weight updates.
To maximize the semantic richness of these sequence embeddings, Hyunwoo Yoo developed Scorpio in Enhancing nucleotide sequence representations in genomic analysis with contrastive optimization. By optimizing nucleotide representations using hierarchical taxonomic and functional data, the framework yields robust zero-shot transferability to highly specialized tasks, such as predicting antimicrobial resistance in completely novel or highly divergent genes, without task-specific fine-tuning.
[Raw DNA Sequence] ───► [Scorpio Contrastive LLM] ───► [Taxonomic & Functional Embeddings]
│
▼
Zero-Shot Prediction of
Antimicrobial Resistance
Furthermore, this sequence grammar is deeply conserved across the tree of life. Zhang et al. demonstrated in Bidirectional Representations Augmented Autoregressive Biological Sequence Generation that models trained on diverse multi-species datasets exhibit significant zero-shot generalization when applied to highly specialized, unseen sequences like antibodies, capturing fundamental structural patterns across evolutionary domains.
This aligns with broader benchmarking efforts. In scSSL-Bench: Benchmarking Self-Supervised Learning for Single-Cell Data, Ovcharenko et al. found that general-purpose self-supervised learning frameworks often outperform domain-specific models at capturing generalizable patterns across high-dimensional biological measurements. When scaled up massively—such as CellFM, developed by Zeng et al. and pre-trained on 100 million human cells in CellFM: a large-scale foundation model pre-trained on transcriptomics of 100 million human cells—these models achieve highly accurate zero-shot cell type annotation and gene function prediction that remain entirely consistent across highly variable experimental conditions and datasets.
Key Foundational Work
Poly(A)-DG: A deep-learning-based domain generalization method to identify cross-species Poly(A) signal without prior knowledge from target species (2020) — contributed 2 concept elements to this direction.
Exploiting generative self-supervised learning for the assessment of biological images with lack of annotations (2022) — contributed 1 concept elements to this direction.