Mohammad Lotfollahi
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Research Subjects
Mohammad Lotfollahi has a total of 550 co-authors. Here are the top co-authors by number of shared publications:
- Fabian Joachim Theis
Wellcome Sanger Institute, Wellcome Genome Campus, Cambridge, UK
38 shared publications - Muzlifah Haniffa
Wellcome Sanger Institute, Hinxton, UK
7 shared publications - Sebastian Birk
Wellcome Sanger Institute, Cambridge, UK
7 shared publications - Adam Gayoso
Google DeepMind
6 shared publications Lloyd Steele
WTSI - Wellcome Sanger Institute
6 shared publications- Nir Yosef
Department of Systems Immunology, Weizmann Institute of Science, Rehovot, Israel
6 shared publications
Latest Publications
- 9 November 2026
- Published by EMBL-EBI
Xenium 5k in clear cell renal cell carcinoma (MintFlow)
BioStudies – one package for all the data supporting a study
- 9 November 2026
- Published by EMBL-EBI
Xenium 5k in clear cell renal cell carcinoma (MintFlow)
BioStudies – one package for all the data supporting a study
- 9 November 2026
- Published by EMBL-EBI
Xenium 5k in hidradenitis suppurativa (MintFlow)
BioStudies – one package for all the data supporting a study
- 9 November 2026
- Published by EMBL-EBI
Xenium 5k in hidradenitis suppurativa (MintFlow)
BioStudies – one package for all the data supporting a study
- 9 November 2026
- Published by EMBL-EBI
Xenium 5k in eczema (MintFlow)
BioStudies – one package for all the data supporting a study
- 9 November 2026
- Published by EMBL-EBI
Xenium 5k in eczema (MintFlow)
BioStudies – one package for all the data supporting a study
- Open Access
Fine-Grained and Reliable Cell Classification from Pathology Images
A bstract: Molecular assays such as spatial transcriptomics facilitate fine-grained identification of cell types for analyzing tumor microenvironments. However, they are expensive to acquire in routine clinical practice compared to hematoxylin and eosin (H&E) images. With molecular guidance, such images can distinguish cell lineages, yet often fail to resolve closely related subtypes. To overcome this, we introduce CellBridge , a multi-modal contrastive learning framework pretrained on 16M cells with paired H&E and spatial profiles, for transferring molecular information into morphological representations. CellBridge further incorporates a Cell-Ontology-aware conformal prediction module that assigns labels at different levels of specificity: leaf-level cell types when morphology alone provides sufficient evidence, and broader ancestor categories when distinguishing among more specific cell types would require molecular information. Across in-domain and out-of-domain benchmarks, CellBridge outperforms leading pathology foundation models in macro F1 by up to 16 percentage points, with the largest gains on the most fine-grained label spaces. It consistently achieves smaller prediction sets, while reducing class-wise coverage gaps. We envision CellBridge as a step toward extracting cellular information that currently requires costly molecular assays from routinely acquired pathology images, while explicitly identifying where such assays remain necessary. Our code is available at https://github.com/Lotfollahilab/cellbridge .
Open AccessFine-Grained and Reliable Cell Classification from Pathology Images
A bstract: Molecular assays such as spatial transcriptomics facilitate fine-grained identification of cell types for analyzing tumor microenvironments. However, they are expensive to acquire in routine clinical practice compared to hematoxylin and eosin (H&E) images. With molecular guidance, such images can distinguish cell lineages, yet often fail to resolve closely related subtypes. To overcome this, we introduce CellBridge , a multi-modal contrastive learning framework pretrained on 16M cells with paired H&E and spatial profiles, for transferring molecular information into morphological representations. CellBridge further incorporates a Cell-Ontology-aware conformal prediction module that assigns labels at different levels of specificity: leaf-level cell types when morphology alone provides sufficient evidence, and broader ancestor categories when distinguishing among more specific cell types would require molecular information. Across in-domain and out-of-domain benchmarks, CellBridge outperforms leading pathology foundation models in macro F1 by up to 16 percentage points, with the largest gains on the most fine-grained label spaces. It consistently achieves smaller prediction sets, while reducing class-wise coverage gaps. We envision CellBridge as a step toward extracting cellular information that currently requires costly molecular assays from routinely acquired pathology images, while explicitly identifying where such assays remain necessary. Our code is available at https://github.com/Lotfollahilab/cellbridge .
- Open Access
- 30 September 2026
- Published by Springer Nature in Nature Genetics
- Vol. 58 (10) , 2469-2473
ArchMap is a web-based platform for reference-based analysis of single-cell datasets
Leveraging single-cell reference atlases to analyze new data has brought about a paradigm shift in single-cell data science akin to the first reference genome in genomics. However, methods for performing this mapping require computational expertise and, oftentimes, considerable compute power, limiting access for researchers who may benefit the most. Here ArchMap, a no-code query-to-reference mapping tool, removes this barrier by providing all-in-one automated mapping, cell-type annotation and collaborative features to analyze single-cell datasets from a wide range of integrated, often published, reference atlases and allows the extension of atlases with the growing Human Cell Atlas and related efforts. This paves the way for a democratization of reference mapping capabilities.
- 30 September 2026
- Published by Springer Nature in Nature Genetics
- Vol. 58 (10) , 2469-2473
Open AccessArchMap is a web-based platform for reference-based analysis of single-cell datasets
Leveraging single-cell reference atlases to analyze new data has brought about a paradigm shift in single-cell data science akin to the first reference genome in genomics. However, methods for performing this mapping require computational expertise and, oftentimes, considerable compute power, limiting access for researchers who may benefit the most. Here ArchMap, a no-code query-to-reference mapping tool, removes this barrier by providing all-in-one automated mapping, cell-type annotation and collaborative features to analyze single-cell datasets from a wide range of integrated, often published, reference atlases and allows the extension of atlases with the growing Human Cell Atlas and related efforts. This paves the way for a democratization of reference mapping capabilities.
- Open Access
G2T: Tissue Reconstruction from Gene Expression via Embedding-Distance Flow Matching
Single-cell RNA sequencing (scRNA-seq) profiles transcriptomes at high resolution but discards the spatial context of cells within a tissue—information that is essential for studying intercellular mechanisms and tissue architecture. Spatial transcriptomics (ST) retains coordinates but, depending on the assay, trades this off against gene-panel breadth, spatial resolution, or cost. We present G2T (Gene-to-Tissue), a generative deep learning model that reassembles a tissue from gene expression — its only observed input — by predicting the matrix of pairwise distances between cells in a learned embedding space. G2T uses an attention-based Transformer with an Euclidean-Distance-Matrix (EDM) output head and is trained with conditional flow matching: the network learns to denoise corrupted cell positions, conditioned on the slice’s gene expression, by predicting per-cell embeddings whose pairwise squared distances match the ground-truth distance matrix. At inference, a fast locally-optimal-block (LOBPCG) multidimensional scaling step turns the predicted distance matrix into 2-D coordinates. On a published MERFISH mouse primary motor cortex benchmark, G2T improves over the previous state-of-the-art method, LUNA, across all three standard metrics— Spearman correlation of pairwise-distance ranks, Contact F1, and per-cell-class Sum RSSD — and even larger relative gains on the mouse central-nervous-system scRNA-seq atlas, evaluated against an imputed spatial reference (STARmap PLUS-integrated locations, not measured coordinates). By predicting this geometry in a higher-dimensional embedding space rather than regressing 2-D coordinates, G2T relaxes the 2-D output parameterisation of prior diffusion-based methods and yields a compact, scalable building block for reconstructing tissue from dissociated cells, enabling downstream spatial niche and cell–cell communication analysis.
Open AccessG2T: Tissue Reconstruction from Gene Expression via Embedding-Distance Flow Matching
Single-cell RNA sequencing (scRNA-seq) profiles transcriptomes at high resolution but discards the spatial context of cells within a tissue—information that is essential for studying intercellular mechanisms and tissue architecture. Spatial transcriptomics (ST) retains coordinates but, depending on the assay, trades this off against gene-panel breadth, spatial resolution, or cost. We present G2T (Gene-to-Tissue), a generative deep learning model that reassembles a tissue from gene expression — its only observed input — by predicting the matrix of pairwise distances between cells in a learned embedding space. G2T uses an attention-based Transformer with an Euclidean-Distance-Matrix (EDM) output head and is trained with conditional flow matching: the network learns to denoise corrupted cell positions, conditioned on the slice’s gene expression, by predicting per-cell embeddings whose pairwise squared distances match the ground-truth distance matrix. At inference, a fast locally-optimal-block (LOBPCG) multidimensional scaling step turns the predicted distance matrix into 2-D coordinates. On a published MERFISH mouse primary motor cortex benchmark, G2T improves over the previous state-of-the-art method, LUNA, across all three standard metrics— Spearman correlation of pairwise-distance ranks, Contact F1, and per-cell-class Sum RSSD — and even larger relative gains on the mouse central-nervous-system scRNA-seq atlas, evaluated against an imputed spatial reference (STARmap PLUS-integrated locations, not measured coordinates). By predicting this geometry in a higher-dimensional embedding space rather than regressing 2-D coordinates, G2T relaxes the 2-D output parameterisation of prior diffusion-based methods and yields a compact, scalable building block for reconstructing tissue from dissociated cells, enabling downstream spatial niche and cell–cell communication analysis.
- Open Access
Learning Discrete Cell and Niche Codes from Spatial Transcriptomics Using Dual Residual Vector Quantization
Spatially-resolved transcriptomics (SRT) measures gene expression at single-cell resolution while preserving each cell’s spatial location, enabling the joint study of cell identity and cellular niche , the recurring microenvironment that organises tissue function. Existing representation-learning methods typically capture only one of these axes at a time. We present SQUINT, a graph vector-quantized variational autoencoder (VQ-VAE) that learns two disjoint codebooks per cell from a shared architecture: a cell codebook quantising the per-cell embedding before neighbourhood aggregation, biased toward cell-intrinsic identity, and a niche codebook quantising the embedding after graph neural network (GNN) aggregation, biased toward spatial context. Both use residual vector quantization, giving a coarse-to-fine discrete-token hierarchy. SQUINT is trained with per-branch negative-binomial reconstruction objectives and three domain-motivated components that we show are crucial: a within-section cosine adjacency loss that anchors the niche codes in the spatial graph, a cross-section contrastive loss on the cell latents that aligns transcriptomically matched cells, and a decoder section covariate that absorbs batch effects. Across three datasets spanning four spatial assays (STARmap, MERFISH, CosMx, Xenium) and four tasks – niche identification, cell-type identification, cross-section integration, and spatial gene-expression imputation in held-out regions – SQUINT outperforms or is competitive with strong baselines on identification and achieves the most faithful cross-section integration. The resulting discrete vocabulary makes tissues directly consumable by transformer-style foundation models and enables one-step query-to-reference atlas mapping via code-distribution similarity, which we demonstrate on a CosMx human non-small-cell lung cancer cohort.
Open AccessLearning Discrete Cell and Niche Codes from Spatial Transcriptomics Using Dual Residual Vector Quantization
Spatially-resolved transcriptomics (SRT) measures gene expression at single-cell resolution while preserving each cell’s spatial location, enabling the joint study of cell identity and cellular niche , the recurring microenvironment that organises tissue function. Existing representation-learning methods typically capture only one of these axes at a time. We present SQUINT, a graph vector-quantized variational autoencoder (VQ-VAE) that learns two disjoint codebooks per cell from a shared architecture: a cell codebook quantising the per-cell embedding before neighbourhood aggregation, biased toward cell-intrinsic identity, and a niche codebook quantising the embedding after graph neural network (GNN) aggregation, biased toward spatial context. Both use residual vector quantization, giving a coarse-to-fine discrete-token hierarchy. SQUINT is trained with per-branch negative-binomial reconstruction objectives and three domain-motivated components that we show are crucial: a within-section cosine adjacency loss that anchors the niche codes in the spatial graph, a cross-section contrastive loss on the cell latents that aligns transcriptomically matched cells, and a decoder section covariate that absorbs batch effects. Across three datasets spanning four spatial assays (STARmap, MERFISH, CosMx, Xenium) and four tasks – niche identification, cell-type identification, cross-section integration, and spatial gene-expression imputation in held-out regions – SQUINT outperforms or is competitive with strong baselines on identification and achieves the most faithful cross-section integration. The resulting discrete vocabulary makes tissues directly consumable by transformer-style foundation models and enables one-step query-to-reference atlas mapping via code-distribution similarity, which we demonstrate on a CosMx human non-small-cell lung cancer cohort.
- Open Access
Multi-scale modeling of human tissues from spatial transcriptomics with TERRA
Spatial transcriptomics maps gene expression at cellular resolution, revealing how cells organize into multicellular niches. Yet computational analyses remain dataset-specific, without a transferable representation of tissue organization that generalizes across datasets, tasks and tissues or predicts how tissues behave under perturbation. We present TERRA, a foundation model pretrained on 112 million human cells profiled by spatial transcriptomics. From a single pretrained backbone, TERRA yields embeddings at the scale of cells, the genes they express and the neighborhoods in which they reside, and supports spatial in silico perturbation, all applied zero-shot to unseen tissues. At the cell level, in newly generated spatial data for developing pancreas, TERRA identified an islet-associated capillary state which we posit represents a developmental precursor of the mature islet microvasculature. At the gene level, in untreated kidney sections, in silico knockout of immune-checkpoint targets predicted a gene program of immune-checkpoint-blockade-associated nephrotoxicity, which we validated in treatment-exposed tissue and recovered in blood. At the neighborhood level, TERRA mapped macrophages across tissues to identify recurring cross-organ niches, which we term archetypes, including a tumor-boundary niche associated with poor prognosis in kidney cancer. Together, TERRA captures the spatial and multicellular logic of human tissue and predicts, in silico, its response to perturbation, providing a multi-scale framework for tissue biology, therapeutic development and clinical application.
Open AccessMulti-scale modeling of human tissues from spatial transcriptomics with TERRA
Spatial transcriptomics maps gene expression at cellular resolution, revealing how cells organize into multicellular niches. Yet computational analyses remain dataset-specific, without a transferable representation of tissue organization that generalizes across datasets, tasks and tissues or predicts how tissues behave under perturbation. We present TERRA, a foundation model pretrained on 112 million human cells profiled by spatial transcriptomics. From a single pretrained backbone, TERRA yields embeddings at the scale of cells, the genes they express and the neighborhoods in which they reside, and supports spatial in silico perturbation, all applied zero-shot to unseen tissues. At the cell level, in newly generated spatial data for developing pancreas, TERRA identified an islet-associated capillary state which we posit represents a developmental precursor of the mature islet microvasculature. At the gene level, in untreated kidney sections, in silico knockout of immune-checkpoint targets predicted a gene program of immune-checkpoint-blockade-associated nephrotoxicity, which we validated in treatment-exposed tissue and recovered in blood. At the neighborhood level, TERRA mapped macrophages across tissues to identify recurring cross-organ niches, which we term archetypes, including a tumor-boundary niche associated with poor prognosis in kidney cancer. Together, TERRA captures the spatial and multicellular logic of human tissue and predicts, in silico, its response to perturbation, providing a multi-scale framework for tissue biology, therapeutic development and clinical application.
- Open Access
Self-supervised learning for a gene program-centric view of cell states
Single-cell omics has extended the biological interrogation of cell state from examining the expression of individual genes to unbiased profiling of tens of thousands of genes at once. However, extracting biological insights from such high-dimensional data remains challenging. To enable downstream analyses, many computational approaches compress cell state into a single latent representation. This can obscure the structure of underlying gene programs (GP), defined as coordinated sets of biologically related genes, such as signalling pathway response modules or transcription factor targets. Here, we present Tripso, a self-supervised transformer deep learning model which learns multiple GP-specific embeddings from predefined GPs, while also enabling the discovery of novel, data-driven GPs. Tripso facilitates principled comparisons across development, disease, and experimental systems. Firstly, in a dataset of human hematopoietic cells spanning prenatal development through adulthood and aging and including newly generated data, Tripso resolved age-specific GP patterns, including elevated JAK-STAT activity in pediatric hematopoietic cells and postnatal shifts in IKZF1 GP activity during B cell differentiation. Secondly, leveraging Tripso GP embeddings and comparing in vivo to in vitro data, we hypothesized and experimentally validated that inhibition of the SEC61 translocon improved maintenance of hematopoietic stem cells in culture. Finally, Tripso’s capacity for data-driven GP discovery revealed a previously uncharacterized tissue-resident memory T cell GP with increased activity in atopic dermatitis. Its spatial co-localization with sebaceous gland-associated immune niches was demonstrated in spatial transcriptomic and proteomic data. Thus, by moving beyond single embeddings of cellular states, Tripso enables interpretable and actionable discoveries, demonstrating how GP-centric modelling can generate hypotheses with substantial biomedical relevance. By anchoring cellular representations in meaningful GPs, Tripso establishes a principled and biologically grounded framework towards the development of interpretable virtual cell models.
Open AccessSelf-supervised learning for a gene program-centric view of cell states
Single-cell omics has extended the biological interrogation of cell state from examining the expression of individual genes to unbiased profiling of tens of thousands of genes at once. However, extracting biological insights from such high-dimensional data remains challenging. To enable downstream analyses, many computational approaches compress cell state into a single latent representation. This can obscure the structure of underlying gene programs (GP), defined as coordinated sets of biologically related genes, such as signalling pathway response modules or transcription factor targets. Here, we present Tripso, a self-supervised transformer deep learning model which learns multiple GP-specific embeddings from predefined GPs, while also enabling the discovery of novel, data-driven GPs. Tripso facilitates principled comparisons across development, disease, and experimental systems. Firstly, in a dataset of human hematopoietic cells spanning prenatal development through adulthood and aging and including newly generated data, Tripso resolved age-specific GP patterns, including elevated JAK-STAT activity in pediatric hematopoietic cells and postnatal shifts in IKZF1 GP activity during B cell differentiation. Secondly, leveraging Tripso GP embeddings and comparing in vivo to in vitro data, we hypothesized and experimentally validated that inhibition of the SEC61 translocon improved maintenance of hematopoietic stem cells in culture. Finally, Tripso’s capacity for data-driven GP discovery revealed a previously uncharacterized tissue-resident memory T cell GP with increased activity in atopic dermatitis. Its spatial co-localization with sebaceous gland-associated immune niches was demonstrated in spatial transcriptomic and proteomic data. Thus, by moving beyond single embeddings of cellular states, Tripso enables interpretable and actionable discoveries, demonstrating how GP-centric modelling can generate hypotheses with substantial biomedical relevance. By anchoring cellular representations in meaningful GPs, Tripso establishes a principled and biologically grounded framework towards the development of interpretable virtual cell models.
- Open Access
Hidden immune memory niches in inflammatory skin diseases
Disease-associated histopathological features are widely used to identify tissue microenvironments or niches for diagnostics and treatment response in clinical practice. However, despite its widespread use, histopathology does not reveal the full cellular and molecular composition of known pathological niches. Furthermore, the existence of pathological niches that may not be histologically discernible remains unknown. In this study, we generated a spatially-resolved multi-modal molecular atlas of ~5 million human skin cells (including 113 skin sections profiled using Xenium-5k) and applied deep learning to unbiasedly decode 26 skin niches in health and disease. Several disease-associated niches corresponded to known histopathological features, and we defined their cellular and molecular features, co-localisations, and interactions. Additionally, we discovered an immunologically active role for skin appendageal structures in disease mechanisms, potentially contributing to inflammatory memory, that was not identifiable using standard histopathological analysis. These include a resident memory T cell-rich niche in the sebaceous gland and a plasma cell-rich niche in the sweat gland, analogous to the gland-associated immune niche in lung. Finally, we illustrate how our atlas can be used to generate high-resolution representations using transfer learning, resolving rare T cell and sebocyte subsets not possible in the original studies, validating niche identification, and the spatial enrichment of candidate genes linked to disease-associated genetic variants. Overall, our study links histopathology and atlas-scale genomics to reveal novel insights into inflammatory disease pathogenesis, chronicity, and potentially curative therapeutic avenues, using skin as an exemplar tissue for this approach.
Open AccessHidden immune memory niches in inflammatory skin diseases
Disease-associated histopathological features are widely used to identify tissue microenvironments or niches for diagnostics and treatment response in clinical practice. However, despite its widespread use, histopathology does not reveal the full cellular and molecular composition of known pathological niches. Furthermore, the existence of pathological niches that may not be histologically discernible remains unknown. In this study, we generated a spatially-resolved multi-modal molecular atlas of ~5 million human skin cells (including 113 skin sections profiled using Xenium-5k) and applied deep learning to unbiasedly decode 26 skin niches in health and disease. Several disease-associated niches corresponded to known histopathological features, and we defined their cellular and molecular features, co-localisations, and interactions. Additionally, we discovered an immunologically active role for skin appendageal structures in disease mechanisms, potentially contributing to inflammatory memory, that was not identifiable using standard histopathological analysis. These include a resident memory T cell-rich niche in the sebaceous gland and a plasma cell-rich niche in the sweat gland, analogous to the gland-associated immune niche in lung. Finally, we illustrate how our atlas can be used to generate high-resolution representations using transfer learning, resolving rare T cell and sebocyte subsets not possible in the original studies, validating niche identification, and the spatial enrichment of candidate genes linked to disease-associated genetic variants. Overall, our study links histopathology and atlas-scale genomics to reveal novel insights into inflammatory disease pathogenesis, chronicity, and potentially curative therapeutic avenues, using skin as an exemplar tissue for this approach.