arXiv:2610.35167cs.LGOct 2026

Manuscript Offprint

arXiv:2610.35167

Biology-Guided Context-Aware Residual Propagation for Spatial Gene Expression Prediction from Histology

Vu Van An, Long D. Nguyen, Ho Viet Duc Luong, Binh P. Nguyen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Vu Van An

Hanoi University of Science and Technology

Hanoi, 10000, Vietnam

an.vv2416109@sis.hust.edu.vn

Ho Viet Duc Luong

Hanoi University of Science and Technology

Hanoi, 10000, Vietnam

luonghvd@soict.hust.edu.vn

Long D. Nguyen

Victoria University of Wellington

Wellington, 6012, New Zealand

duylong.nguyen@vuw.ac.nz

Binh P. Nguyen

Victoria University of Wellington

Wellington, 6012, New Zealand

binh.p.nguyen@vuw.ac.nz

Abstract

Spatial transcriptomics provides spatially resolved molecular profiling, but its cost, limited throughput and experimental complexity hinder routine large-scale use. Predicting spatial gene expression from hematoxylin-and-eosin-stained histology images offers a scalable alternative, yet remains challenging because histology provides only an indirect morphological view of molecular activity. Existing methods typically decode expression from visual features in a single stage, even when enhanced with spatial aggregation, retrieval or multi-resolution fusion. This formulation is restrictive because spot-level expression reflects not only local morphology but also cellular identity, neighborhood composition and tissue-level organization. We propose BCARP, a Biology-guided Context-Aware Residual Propagation framework for histology-guided spatial transcriptomics prediction. Instead of directly predicting gene expression from histology embeddings, BCARP treats them as morphology visual priors and progressively refines spot representations in a transcriptomics-oriented latent space. Each refinement step integrates nuclei-guided local cellular context with prototype-guided global context propagation, enabling information exchange across both neighboring and spatially distant spots. A pattern-scale decoder further separates spatial expression into pattern prediction from raw expression with scale calibration. Evaluated on three ST datasets and ten HEST-1k cohorts, BCARP achieves the highest mean correlation-based performance against other baselines. Numerical results support biology-guided local-global residual propagation as an effective alternative to visual decoding for histology-to-transcriptomics prediction.

1. Introduction

Spatial transcriptomics (ST) enables spatially resolved molecular profiling by measuring gene expression while preserving tissue coordinates [10, 31]. Unlike bulk RNA sequencing, which averages signals over tissue regions, ST quantifies mRNA expression across spatial “spots” and reveals how expression patterns are organized within histological architecture. This perspective is critical for biomedical studies, where disease progression, immune response, tumor microenvironment and cell-cell interactions are often spatially structured [16], and it bridges conventional histopathology and transcriptomic profiling [20].

Despite its value, ST remains costly, experimentally demanding and limited in coverage and throughput [26], whereas hematoxylin-and-eosin (H&E)-stained whole-slide images (WSIs) are routinely collected in clinical workflows [36]. This gap motivates histology-guided ST prediction, which estimates spatial gene expression directly from H&E images. Beyond patch-based regression such as ST-Net [12], recent methods enrich the visual representation in complementary ways: graph-based models such as MERGE [8] connect spots through spatial and morphological relations; multi-resolution models such as TRIPLEX [5] and M2OST [29] fuse target-spot, neighborhood and slide-level views; mclSTExp [23] performs contrastive cross-modal alignment for retrieval-based inference; EGN [34] refines targets with globally similar exemplars; and STFlow [14] models the whole-slide expression distribution with flow matching.

Despite this diversity, these approaches largely share a one-stage visual decoding paradigm: contextual information is aggregated into a histology representation, which is then mapped to expression in a single prediction step.

This implicitly assumes that the extracted representation is already aligned with the transcriptomic factors underlying spot-level expression. In practice, expression is not determined solely by the appearance of the central patch; it is also shaped by local cellular composition, neighborhood microenvironment and broader tissue organization [1, 10, 18]. Histology-guided prediction should therefore go beyond direct visual regression and progressively refine morphology-derived features into transcriptomics-oriented representations.

To this end, we propose BCARP, a Biology-guided Context-Aware Residual Propagation framework. BCARP projects frozen pathology foundation embeddings into a task-oriented latent space and treats them as histology anchors. Instead of decoding these anchors in one step, it iteratively refines them through a local-global residual propagation loop: local cellular context encoders use nuclei-derived supervision to inject cell-type and neighborhood-composition information, while a prototype-guided global module combines learnable global priors with spot-level self-attention to model long-range tissue organization. A pattern-scale decoder then separates spatial expression-pattern estimation from raw-expression scale calibration. We evaluate BCARP on HER2ST [1], Skin [18] and ST-Net [12] under a unified spot-level protocol, and on ten HEST-1k cohorts [17] following the STFlow [14] evaluation suite, spanning multiple organs and cancer types. BCARP outperforms representative baselines, reduces poorly predicted genes, and is further validated by component and refinement-depth ablations. Our contributions are summarized as follows:

• We propose BCARP, a residual propagation framework for multi-step context-aware refinement in histology-guided spatial transcriptomics prediction.

• We design a local-global refinement mechanism that combines nuclei-derived local cellular supervision, learnable global context priors and spot-level self-attention to transform histology anchors into transcriptomics-oriented representations.

• We conduct comprehensive experiments on three widely used ST datasets and ten curated HEST-1k cohorts, showing that BCARP improves overall cross-cohort performance, achieving the highest mean PCC-M and best mean rank while exhibiting cohort-dependent gains.

References (37)