Cell-Type Prototype-Informed Neural Network for Gene Expression Estimation from Pathology Images

Kazuya Nishimura, Ryoma Bise, Shinnosuke Matsuo, Haruka Hirose, Yasuhiro Kojima

TL;DR

The Cell-Type Prototype-Informed Neural Network (CPNN) improves the estimation of gene expression from pathology images by incorporating cell-level biological priors. By leveraging public single-cell RNA-sequencing data to define stable cell-type "prototypes," CPNN models tissue-level expression as a mixture of individual cell types, achieving state-of-the-art prediction accuracy while providing built-in biological interpretability.

What Problem Does This Paper Address?

Predicting gene expression directly from whole-slide pathology images (WSIs) is a promising, low-cost alternative to traditional RNA sequencing. It opens the door to rapid molecular profiling and personalized medicine. However, current deep learning approaches treat gene expression as a monolithic slide-level or patch-level signal.

In reality, tissue gene expression is an aggregate sum of the distinct expressions of thousands of individual cells. While single-cell RNA sequencing (scRNA-seq) databases exist, this data is highly noisy, suffers from technical batch effects, and completely lacks matching histology images. As a result, existing models fail to incorporate cell-resolved biological structures, limiting both their predictive accuracy and their interpretability.

Figure 1. (a) Gene expression is observed together with histology image as the sum of unobserved cell-level expressions. Expression of individual cells is not directly measurable. (b) Cell-level gene expression profiles are obtained from a public single-cell RNA se- quencing (scRNA-seq) database, which contains noisy measure- ments without corresponding image information.

Methods

To bridge the gap between cell-level biology and slide-level imaging, the authors introduce CPNN (Cell-type Prototype-informed Neural Network). The core idea is to model the observed gene expression as a weighted mixture of cell-type-specific expression profiles.

The pipeline consists of three main stages:

  1. Batch-Agnostic Prototype Generation: The authors use negative binomial regression on public scRNA-seq data to extract stable, normalized gene expression profiles—called "prototypes"—for each cell type. This filters out experimental noise and batch effects.
  2. Compositional Weight Estimation: An off-the-shelf image encoder extracts features from pathology image patches. These features are passed through a Multi-Layer Perceptron (MLP) to predict the cell-type proportions (weights) for each region of the tissue.
  3. Modality Correction & Prediction: The final gene expression is computed as the dot product of the predicted weights and the cell-type prototypes. Crucially, the authors introduce scale ($\alpha$) and bias ($\beta$) correction parameters to account for the technical differences between single-cell and bulk/spatial sequencing technologies.

During training, a soft consistency regularization loss ensures that the model's predicted cell proportions align reasonably well with standard statistical deconvolution priors.

Overview of the CPNN framework, from prototype generation to image-based expression estimation.

Datasets

The authors evaluated CPNN across two distinct tasks:

  • Slide-Level Estimation (Bulk Transcriptomics): Evaluated on three datasets from The Cancer Genome Atlas (TCGA): BRCA (Breast Invasive Carcinoma, 1,474 samples), KIRC (Kidney Renal Clear Cell Carcinoma, 681 samples), and LUAD (Lung Adenocarcinoma, 756 samples).
  • Patch-Level Estimation (Spatial Transcriptomics): Evaluated on three spatial datasets: CSCC (Cutaneous Squamous Cell Carcinoma), Her2st (HER2-positive breast cancer), and STNet (Breast cancer).

Matched public scRNA-seq datasets were used to generate the cell-type prototypes for each tissue type.

Key Insights and Ideas

  • Biology as a Regularizer: Instead of forcing a neural network to map complex image features directly to thousands of independent gene expression values, CPNN constrains the prediction space using biologically real cell-type profiles. This structural regularization prevents overfitting and stabilizes training.
  • Unsupervised Interpretability: Even though the model is never explicitly given cell-type labels during image training, the inferred compositional weights naturally align with known cancer biology. For example, the model automatically assigns higher weights to the "Basal" cell prototype when evaluating Basal-like breast cancer slides.
  • Modality Alignment is Essential: Simply using scRNA-seq profiles directly yields poor results due to the massive technical gap between single-cell and bulk sequencing. The learnable modality correction parameters ($\alpha, \beta$) and data-driven prototype updates are critical to making cross-modality learning work.

Key Results

CPNN consistently outperformed existing multiple-instance learning (MIL) and multiple-instance regression (MIR) methods.

  • Slide-Level Performance: CPNN achieved the highest Spearman Correlation Coefficient (SCC) across all three TCGA datasets, notably reaching 0.338 on BRCA and 0.318 on KIRC, outperforming advanced state-space models like MambaMIL and transformer-based architectures.
  • Patch-Level Flexibility: When integrated as a plug-in component into existing spatial transcriptomics models (like STNet and TRIPLEX), CPNN consistently boosted their performance, showing the largest gains on the CSCC dataset where matched single-cell data was available.
Figure 4. Average weight for each subtype of BRCA slides. We visualized the estimated weights for the cancer-related prototypes.

Limitations and Future Work

A primary limitation of CPNN is its dependency on the availability of high-quality, pre-annotated scRNA-seq reference data for the specific tissue being studied. Furthermore, the authors noted that the model's performance is sensitive to the granularity of cell-type annotations; if the cell-type labels are too coarse, the model loses representational capacity.

Future work could explore methods to dynamically discover novel cell-type prototypes directly from the imaging data when single-cell references are incomplete or unavailable.

Summary updated

BibTeX
@inproceedings{nishimura2026cell,
  author = {Kazuya Nishimura and Ryoma Bise and Shinnosuke Matsuo and Haruka Hirose and Yasuhiro Kojima},
  title = {{Cell-Type Prototype-Informed Neural Network for Gene Expression Estimation from Pathology Images}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=jz0XtByzge},
}
Figure