Abstract
Histology images, with low cost, are unleashing great power of predicting cellular phenotypes in tissue, thanks to the emerging spatial transcriptomics serving as annotations. Recent efforts aimed to predict individual gene expression, suffering from low accuracy and high variability, while no methods are tailored to predict fine-grained transcriptional cell types -the most critical phenotype. Here, we present Hist2Cell, a Vision Graph-Transformer framework, to accurately resolve fine-grained transcriptional cell types (up to 40 cell types) directly from histology images and further create cellular maps of diverse tissues at a customizable resolution. Specifically, trained on human lung and breast cancer spatial transcriptome datasets, Hist2Cell accurately predicts the abundance of each cell type across space in new patient samples with Pearson Correlation Coefficient of biological informative cell types over 0.80, and effectively capturing their colocalization directly from histology images. Moreover, without re-training, it robustly generalizes to large-scale histology cancer cohorts from TCGA, highlighting recurrent cell co-localization and supporting precise survival prediction by revealing distinct tissue micro-environments and insightful cell type-patient mortality relationship. Therefore, Hist2Cell enables cost-efficient histology analysis for large-scale studies of spatial biology and precise cancer prognosis in real-world clinical diagnostics.
Introduction
Understanding the cellular architecture of a tissue—the spatial distribution and interaction of specific cell types—is fundamental to diagnosing and treating complex diseases like cancer. Currently, Spatial Transcriptomics (ST) is the gold standard for mapping these architectures. However, ST is limited by high costs, technical complexity, and often insufficient spatial resolution, where a single observation "spot" may contain a heterogeneous mixture of cells.
Hist2Cell addresses these challenges by leveraging standard, low-cost H&E histology images. Unlike previous methods that attempt to predict noisy individual gene expressions, Hist2Cell focuses on predicting the abundance of fine-grained transcriptional cell types. This approach is more robust because cell morphology and neighborhood context are strong indicators of cellular identity.
Methodology: The Vision Graph-Transformer Framework
Hist2Cell employs a multi-scale architecture designed to capture both local tissue structures and long-range biological correlations.
The framework consists of several key stages:
- Graph Construction: The H&E slide is partitioned into patches, which serve as nodes in a graph. Edges connect adjacent patches, preserving the physical topology of the tissue.
- Local Context via Graph Attention: GATv2 layers allow nodes to aggregate information from their immediate neighbors, capturing local morphological patterns such as tumor boundaries.
- Global Context via Transformers: Transformer layers identify long-range correlations across the slide, recognizing similar cellular environments that may be spatially distant.
- Scalable Training: To manage the scale of whole-slide images, the model trains on randomly sampled subgraphs, ensuring computational efficiency.
- Ground Truth Generation: The model is trained using cell type abundances deconvoluted from ST data using single-cell RNA-seq references (via
cell2location).
Key Results and Applications
Hist2Cell was validated across diverse datasets, including healthy human lung tissue and breast cancer samples. It demonstrated superior accuracy, achieving a 24% performance increase over gene-prediction models like STNet in lung tissue. For critical cell types such as CD8+ T-cells, the model achieved high Pearson correlation coefficients ($R > 0.61$).
Beyond simple prediction, Hist2Cell enables several advanced spatial analyses:
- Cell Colocalization: The model successfully identifies known interactions, such as the proximity of IgA plasma cells to submucosal glands in the human airway.
- Super-resolution Mapping: By learning the visual-to-cellular relationship, Hist2Cell can generate tissue maps at a higher resolution than the original ST data, effectively "super-resolving" the cellular architecture.
- Clinical Generalization: The model generalized to over 500 TCGA breast cancer samples without retraining, identifying recurrent cellular patterns linked to patient survival and tissue micro-environments.
Discussion and Future Directions
Hist2Cell demonstrates that morphological features in H&E images are powerful proxies for complex transcriptional states. While the model's performance varies by cell type—performing best on those with distinct visual signatures—it offers a scalable, cost-effective alternative to ST for large-scale clinical studies. Future work aims to expand the model's repertoire across more tissue types and integrate it into real-time clinical diagnostic workflows, providing pathologists with automated, high-resolution cellular maps.
Summary updated