Manuscript Offprint
arXiv:2610.35167Biology-Guided Context-Aware Residual Propagation for Spatial Gene Expression Prediction from Histology
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
Ho Viet Duc Luong
Hanoi University of Science and Technology
Hanoi, 10000, Vietnam
Long D. Nguyen
Victoria University of Wellington
Wellington, 6012, New Zealand
Binh P. Nguyen
Victoria University of Wellington
Wellington, 6012, New Zealand
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.
Predicting spatial gene expression from H&E-stained histology images offers a scalable alternative to experimental spatial transcriptomics. ST-Net [12] formulates the task as patch-level regression, ignoring inter-spot dependencies and broader tissue organization; subsequent work introduces spatial modeling, retrieval, graph construction, multiscale encoding, multimodal alignment and distribution-level prediction. THItoGene [19] models dependencies among spatial locations, while BG-TRIPLEX [27] adds boundary, edge and nuclei cues through cross-attention. Among the methods we adopt as baselines, MERGE [8] constructs multi-faceted hierarchical graphs that connect spots by both spatial proximity and morphological similarity; TRIPLEX [5] fuses target-spot, neighborhood and whole-slide views; M2OST [29] regresses a central spot from multi-magnification patches through a many-to-one Transformer, and therefore operates on image crops rather than pre-extracted features; mclSTExp [23] aligns H&E and spatial-transcriptomic representations by contrastive learning and infers expression through retrieval; EGN [34] refines target representations using globally similar exemplars; and STFlow [14] models the whole-slide joint distribution with flow matching under a zero-inflated negative-binomial prior. Beyond these, MMAP [24] summarizes slide-level context with a prototype bank, ASIGN [37] extends imputation to 3D tissue, and GHIST [7] and HistoCell [35] predict at cellular resolution.
3. Methodology
Figure 1 illustrates the overall pipeline of BCARP. Let a tissue section contain spatial transcriptomics spots. We denote the frozen histology embeddings as , the spatial coordinates as and the normalized coordinates as , obtained by normalizing each coordinate axis by its maximum value. BCARP predicts target genes, with denoting the spatially smoothed tar-

Figure 1. Pipeline overview of BCARP. Frozen histology foundation embeddings are first projected into a shared latent space, then iteratively refined through context-conditioned modulation, local biological encoding and prototype-guided global context propagation. The final representation is passed to a pattern-scale gene expression decoder to generate calibrated spatial gene expression predictions.
get for expression-pattern supervision and denoting the raw-count target.
3.1. Histology Embedding Projection and Biology-Guided Local-Global Context Refinement
Histology embedding projection Frozen pathology foundation embeddings provide strong morphology-aware features but are not directly optimized for spatial gene expression prediction. BCARP therefore maps them into a transcriptomics-oriented latent space using a lightweight MLP projector as , then where is the hidden dimension. The projected state serves as a stable histology-derived anchor, from which BCARP repeatedly constructs context-conditioned views and refines them with local cellular and global context priors before decoding gene expression.
Context-aware histology anchor refinement Spatial gene expression is influenced by not only local morphology but also cellular identity, neighborhood composition, and tissue-level organization [7]. To capture these dependencies, BCARP performs context-conditioned refinement steps over using context-conditioned anchor modulation. Let denote the context state after step , with . At step , we first aggregate the previous context into a section-level summary:
The summary is transformed into feature-wise modulations:
where , and denote shift, scale and gate parameters, respectively, LN denotes LayerNorm, and is a MLP. These parameters are broadcast to all spots and used to construct a context-modulated histology state:
where denotes element-wise multiplication. This gated modulation preserves the original morphology-derived representation while allowing accumulated context to adaptively reshape it at each refinement step. The resulting state is then passed to the local and global refinement modules, yielding the update path: , where is the locally refined representation obtained from nuclei-guided cellular context encoding and is updated after prototype-guided global context propagation.
Local cellular context encoding The local stage injects cellular and microenvironmental cues into the context-modulated spot representation. BCARP first constructs a fixed spatial adjacency from normalized spot coordinates by connecting each spot to its k nearest spatial neighbors:
The adjacency is computed once and shared across all refinement steps. It only specifies the local propagation structure, while the node features are dynamically given by the context-modulated states at step r.
To provide biological supervision, BCARP derives two auxiliary local targets from H&E-based nuclei analysis. We apply HoVer-Net [9] to detect nuclei and assign each nucleus a cell-type pseudo-label. For each spot i, we collect nuclei whose centroids fall within a fixed radius around its coordinate . Let T denote the number of cell-type categories and let be the number of nuclei of type t in the neighborhood of spot i. We define the neighborhood-composition target and dominant cell-type target as
Here represents the local cell-type composition, while summarizes the dominant local phenotype. These targets are used only for training-time auxiliary supervision. Given and , BCARP uses two GNN-based local context encoders, indexed by , where is cell-type and denotes neighborhood-composition context:
where denotes graph-updated local features, denotes auxiliary logits and is an MLP. The cell-type branch and neighborhood-composition branch are supervised by and , respectively. The corresponding predictions are
Hidden features from both branches are projected back to the BCARP hidden dimension via an MLP projector and injected into the main refinement trajectory:
We obtain locally refined state by gated residual injection:
where is a learnable residual-gate parameter for branch b. This design allows BCARP to preserve context-modulated histology representation while injecting the cellular phenotype and the local microenvironmental mixture.
Prototype-guided global context propagation Local graph encoding captures proximal biological context, but spatial gene expression may depend on broader tissue-level organization. BCARP introduces a small set of learnable global-context prototypes to provide a shared global-context interface. Each spot is allowed to retrieve global prior token information and then exchange the enriched information with other spots through self-attention. We first ground the locally refined representation in tissue geometry. Let be a spatial positional encoder that maps normalized spot coordinates to d-dimensional positional features:
where is the spatially grounded spot representation at refinement step r. To present the attention operations compactly, we define a multi-head cross-attention operator , where M provides queries and N provides keys and values. For the m-th attention head, we compute
where H is the number of attention heads and is the dimension of each head. The outputs of all attention heads are concatenated to the d-dimensional feature:
When , this reduces to standard multi-head self-attention. BCARP maintains learnable global prototype tokens, denoted as , which serve as trainable global context priors without requiring predefined biological classes or physical tissue centroids. At each refinement step, every spot first attends to these tokens, then fuses the retrieved global context through residual normalization, using global-token-to-spot attention module:
This attention provides each spot with a weighted combination of learned global prototype-context anchors, while the residual normalization injects this global prior into the spatially grounded spot representation before spot-level interaction. After receiving prototype-guided global priors, the enriched spot representations exchange and propagate information through spot-level self-attention module:
We obtain next context state by a residual feed-forward as:
The residual path preserves the spatially grounded local state, while the feed-forward branch incorporates both token-routed global context and spot-level attention output.
3.2. Pattern-Scale Gene Expression Decoder
BCARP decodes the final refined spot representation with a pattern-scale gene expression decoder. The decoder factorizes prediction into two complementary components including a pattern branch that estimates relative spatial gene expression structure and a scale branch that calibrates this structure to the raw-count expression space.
For each spot , let denote the -th row of . We first map into the decoder space and expand it into a short sequence of hierarchy tokens by adding learnable scale embeddings:
The scale embeddings induce a compact coarse-to-fine hierarchy over gene groups. A causal transformer decoder processes this sequence, allowing later tokens to condition on earlier decoding states:
where is used for the spot-level decoding state.
Pattern branch Given the decoding state , the pattern branch predicts a non-negative processed expression vector:
Stacking the predictions over all spots gives the processed pattern prediction . This branch is supervised by the spatially smoothed expression target .
Scale calibration branch To calibrate the predicted pattern to the raw-count scale, we normalize into a gene-wise composition . Here, represents the predicted proportion of the total expression assigned to each gene at spot . In parallel, a library-size head predicts a positive spot-level raw-count scale:
The calibrated raw-count prediction is obtained by rescaling the gene-wise composition with the predicted library size:
Stacking over all spots gives the predicted raw-count matrix , where each entry denotes the predicted raw expression count of gene at spot .
This factorization separates relative gene expression pattern learning from spot-specific raw-count calibration. The pattern branch predicts how expression is distributed across genes, while the scale branch estimates the total count level of each spot and their product yields the final gene-wise raw-count prediction.
3.3. Objective
BCARP is trained with a multi-task objective that combines processed pattern supervision, raw-count calibration and local biological guidance. The processed pattern loss is , where
For raw-count calibration, is supervised by the raw UMI target using a negative-binomial likelihood:
where is used as the predicted count-rate parameter and is the gene-wise dispersion. We further apply a log-space MSE loss to align the calibrated prediction with the raw-count scale:
The decoder loss is
The local biological branches are supervised by HoVer-Net-derived pseudo-labels. The cell-type loss is averaged over refinement steps:
where denotes the dominant cell-type pseudolabels. The neighborhood-composition loss is the average KL divergence between the soft composition target and the predicted distribution :
The final training objective is
4. Experiments
4.1. Settings
Datasets and preprocessing We evaluate BCARP on three established whole-slide spatial transcriptomics benchmarks, HER2ST [1], Skin [18], and ST-Net [12], as well as ten HEST-1k [17] cohorts, spanning nine organs and eight cancer types. Each sample consists of an H&E-stained histology image with spatially resolved gene expression, where each spot is associated with a tissue coordinate, a

Figure 2. ECDF curves show the distribution of fold-averaged per-gene PCC on HER2ST, Skin and ST-Net datasets. Dashed vertical lines indicate the average per-gene PCC of BCARP and the highest competing baseline.
Table 1. Performance comparison on HER2ST, Skin and ST-Net datasets. PCC-H and PCC-M denote average per-gene PCC over highly variable genes and all target genes, respectively. MSE and MAE measure prediction error in expression space, and RVD measures the relative deviation in expression variance between predictions and ground truth. Among the method baselines, best results are shown in bold and second-best results are underlined; the frozen-feature references are reported for context and are excluded from this ranking.
| Model | HER2ST | Skin | ST-Net | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PCC-H↑ | PCC-M↑ | MSE↓ | MAE↓ | RVD↓ | PCC-H↑ | PCC-M↑ | MSE↓ | MAE↓ | RVD↓ | PCC-H↑ | PCC-M↑ | MSE↓ | MAE↓ | RVD↓ | |
| Frozen-feature references | |||||||||||||||
| ResNet50+Ridge | 0.2249 | 0.2291 | 1.0782 | 0.8224 | 0.9039 | 0.2695 | 0.3260 | 1.3565 | 0.9050 | 0.8581 | 0.0985 | 0.0890 | 0.9762 | 0.7862 | 0.9125 |
| UNI+Ridge | 0.2583 | 0.2598 | 1.0579 | 0.8144 | 0.8840 | 0.2895 | 0.3262 | 1.3382 | 0.8968 | 0.8812 | 0.1096 | 0.0936 | 0.9666 | 0.7821 | 0.9223 |
| UNI+MLP | 0.3474 | 0.3316 | 1.0030 | 0.7890 | 0.8452 | 0.3029 | 0.3604 | 1.2547 | 0.8670 | 0.8368 | 0.1843 | 0.1633 | 0.9195 | 0.7609 | 0.8644 |
| UNI+Decoder | 0.4249 | 0.3721 | 0.9431 | 0.7724 | 0.8188 | 0.5392 | 0.4930 | 1.4455 | 0.9538 | 1.4511 | 0.2319 | 0.1868 | 0.8283 | 0.7351 | 0.7685 |
| Method baselines | |||||||||||||||
| M2OST | 0.3121 | 0.2756 | 0.9853 | 0.7696 | 2.1442 | 0.2933 | 0.2739 | 1.3818 | 0.9210 | 0.5739 | 0.1544 | 0.1239 | 0.7667 | 0.6978 | 1.5675 |
| MERGE | 0.2913 | 0.2800 | 1.0885 | 0.8274 | 0.8910 | 0.2827 | 0.3084 | 1.3598 | 0.9052 | 0.9074 | 0.1214 | 0.1108 | 0.9529 | 0.7776 | 0.9234 |
| EGN | 0.3884 | 0.2874 | 1.2141 | 0.9953 | 0.8857 | 0.4039 | 0.3704 | 0.9505 | 0.8734 | 0.8988 | 0.1098 | 0.1111 | 0.9826 | 0.7723 | 0.9673 |
| TRIPLEX | 0.3581 | 0.3427 | 1.0724 | 0.8156 | 0.8990 | 0.3337 | 0.3749 | 1.3333 | 0.8947 | 0.9137 | 0.1602 | 0.1450 | 0.9694 | 0.7806 | 0.9263 |
| mclSTExp | 0.3856 | 0.3356 | 0.9528 | 0.7589 | 0.8143 | 0.5212 | 0.4722 | 1.4983 | 0.9862 | 0.4445 | 0.1269 | 0.1097 | 0.8659 | 0.7375 | 0.8548 |
| STFlow | 0.3888 | 0.3410 | 0.8464 | 0.7252 | 0.8555 | 0.5137 | 0.4832 | 1.1983 | 0.8654 | 0.4951 | 0.1971 | 0.1565 | 0.7404 | 0.6897 | 0.7245 |
| BCARP (Ours) | 0.4567 | 0.4032 | 0.8381 | 0.7191 | 0.7084 | 0.5852 | 0.5328 | 1.1818 | 0.8620 | 0.2656 | 0.3046 | 0.2423 | 0.6761 | 0.6590 | 0.7500 |
spot-centered image patch, and an expression vector. For HER2ST, Skin, and ST-Net, we follow the unified spot-level protocol of MERGE [8]: all methods use the same patient-level splits, spot-centered patches, tissue coordinates, and 250-gene target panel after gene filtering. For HEST-1k, we use the predefined patient-grouped splits for each cohort and select up to 250 highly variable genes, resulting in 250 genes for eight cohorts, 197 genes for LUNG, and 98 genes for PAAD. We apply SPCS smoothing [21] to obtain processed expression targets for pattern-oriented supervision, while retaining raw-count targets for calibration-oriented objectives. All evaluation metrics are computed in the same -transformed raw expression space.
Baselines and implementation details We compare BCARP with representative histology-guided expression prediction methods covering graph modeling, multi-resolution fusion, contrastive retrieval, exemplar refinement, whole-slide generative modeling, and frozen-feature prediction. The method baselines include MERGE [8], TRIPLEX [5], mclSTExp [23], EGN [34], STFlow [14], and M2OST [29]. For fairness, baselines that support pre-extracted features are evaluated with the same frozen UNI [3] embeddings used by BCARP, replacing their original image encoders. STFlow is already based on UNI features, while M2OST is not encoder-matched because its patch-tokenized multi-field-of-view design requires image crops as input. We further include frozen-feature reference baselines to isolate the effect of the visual backbone and prediction head. On the main datasets, UNI+Ridge, UNI+MLP, and UNI+Decoder evaluate frozen UNI embeddings with increasingly expressive predictors. On HEST-1k, we follow the standard ridge-probe protocol and compare UNI, ResNet50 [13], Virchow2 [38], GigaPath [33] and CONCH [22] embeddings under the same ridge-regression head. Source code is publicly available at https://github.com/anvuv/BCARP.
Table 2. PCC-M performance across the ten HEST-1k cohorts. Mean denotes the average PCC-M across cohorts, and Mean Rank denotes the average within-cohort rank, where lower is better. Best results are shown in bold, and second-best results are underlined.
| Model | SKCM | LUNG | PAAD | READ | COAD | LYMPH | CCRCC | IDC | PRAD | HCC | Mean | Mean Rank ↓ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Frozen-feature ridge probes | ||||||||||||
| ResNet50+Ridge | 0.5561 | 0.5310 | 0.3963 | 0.0738 | 0.3463 | 0.2642 | 0.1729 | 0.5564 | 0.2005 | 0.0676 | 0.3165 | 10.8 |
| CONCH+Ridge | 0.6138 | 0.5819 | 0.4585 | 0.1941 | 0.4214 | 0.3131 | 0.1816 | 0.5995 | 0.3031 | 0.0780 | 0.3745 | 7.7 |
| UNI+Ridge | 0.6340 | 0.5833 | 0.4863 | 0.1987 | 0.4289 | 0.3020 | 0.2077 | 0.6212 | 0.2308 | 0.0868 | 0.3780 | 6.3 |
| GigaPath+Ridge | 0.6025 | 0.5876 | 0.4823 | 0.2084 | 0.4324 | 0.2958 | 0.1967 | 0.6122 | 0.2886 | 0.0948 | 0.3801 | 6.2 |
| Virchow2+Ridge | 0.6334 | 0.6005 | 0.4805 | 0.2051 | 0.4220 | 0.3029 | 0.2250 | 0.6411 | 0.2753 | 0.1118 | 0.3898 | 5.4 |
| Method baselines | ||||||||||||
| M2OST | 0.5651 | 0.5572 | 0.3623 | 0.0666 | 0.0144 | 0.1952 | 0.1149 | 0.4944 | 0.2584 | 0.1155 | 0.2744 | 10.4 |
| MERGE | 0.5361 | 0.4594 | 0.3751 | 0.1411 | 0.3242 | 0.3120 | 0.2220 | 0.5209 | 0.2759 | 0.1140 | 0.3281 | 9.0 |
| EGN | 0.6451 | 0.5774 | 0.4586 | 0.1590 | 0.4355 | 0.2420 | 0.1922 | 0.6028 | 0.2299 | 0.0945 | 0.3637 | 7.9 |
| mclSTExp | 0.5998 | 0.5901 | 0.4603 | 0.2304 | 0.4411 | 0.3243 | 0.2141 | 0.5965 | 0.3296 | 0.1141 | 0.3900 | 4.9 |
| TRIPLEX | 0.6766 | 0.6042 | 0.4690 | 0.1664 | 0.4415 | 0.3145 | 0.2337 | 0.6157 | 0.3279 | 0.0723 | 0.3922 | 4.3 |
| STFlow | 0.6968 | 0.6315 | 0.4940 | 0.2629 | 0.4343 | 0.3134 | 0.2266 | 0.6118 | 0.3153 | 0.1790 | 0.4166 | 2.6 |
| BCARP (Ours) | 0.6604 | 0.6162 | 0.4857 | 0.2572 | 0.4491 | 0.3820 | 0.2471 | 0.5949 | 0.3487 | 0.1754 | 0.4217 | 2.5 |
4.2. Comparative Results
Table 1 reports that BCARP obtains the highest PCC-H and PCC-M on all three datasets. On HER2ST, BCARP reaches 0.4567/0.4032, compared with 0.3888/0.3410 for STFlow and 0.3581/0.3427 for TRIPLEX, the strongest method baselines on this dataset. On Skin, BCARP reaches 0.5852/0.5328 against 0.5137/0.4832 for STFlow. The largest improvement is on ST-Net, where BCARP obtains 0.3046/0.2423 while no competing method exceeds 0.1971/0.1565. This indicates that BCARP recovers the spatial layout of expression more faithfully, rather than only reducing pointwise numerical error. BCARP achieves the lowest MAE across all three datasets, the lowest RVD on HER2ST and Skin, and the lowest MSE on HER2ST and ST-Net. UNI+Ridge and UNI+MLP remain well below all refinement-based methods, but UNI+Decoder is a strong reference: it reaches 0.4249/0.3721 on HER2ST and 0.5392/0.4930 on Skin, which is competitive with, and on Skin better than, every method baseline. This indicates that a substantial part of the achievable correlation is already carried by frozen pathology embeddings with decoder.
Table 2 extends the comparison to ten HEST-1k cohorts [17], which cover a wider range of organs, cancer types and acquisition platforms. BCARP obtains the highest mean PCC-M (0.4217) and the best mean within-cohort rank (2.5), followed by STFlow (0.4166, 2.6). The two methods are complementary across cohorts: BCARP ranks first on 4/10 cohorts. The largest single-cohort gain is on LYMPH, where BCARP reaches 0.3820 against 0.3243 for the next best method, a cohort in which tissue organization is strongly structured but the local morphological signal is comparatively weak. We also observe that the ridge probes are competitive in this setting and that Vir- chow2+Ridge ranks first on IDC (0.6411), where BCARP reaches 0.5949. This is consistent with the small size of several HEST cohorts, in which a high-capacity refinement model has fewer spots per section to exploit and a linear probe over strong frozen features is a robust alternative. Overall, the HEST results indicate that the advantage of BCARP transfers beyond the three widely used benchmarks, though the per-cohort margins over STFlow are small and cohort-dependent.
Gene-level distribution analysis Average correlation can be driven by a small subset of well-predicted genes, so we further examine the full distribution of fold-averaged per-gene PCC using empirical cumulative distribution functions (ECDFs) in Figure 2. A rightward shift of the ECDF indicates that a larger fraction of genes is predicted above any given correlation level. On all three datasets the BCARP curve lies to the right of every baseline over essentially the entire range, and the shift is most pronounced in the lower half of the distribution: the fraction of genes falling below weak correlation values is markedly reduced.
Qualitative analysis Figure 3 compares predicted and measured FN1 expression on three HER2ST test slides spanning the range of prediction difficulty. On the easiest slide, all methods localise the expressed region and differ only marginally, with STFlow slightly ahead of BCARP. On a moderately difficult slide, BCARP follows the boundary of the expressed region most closely, though all methods overestimate expression across the section and the margin between them is small. On the hardest slide, every method fails, returning nearly inverted or unstructured maps.

PCC=0.73
PCC=0.65
PCC=0.75

PCC=0.49
PCC=0.47
PCC=0.43

PCC=0.00
PCC=-0.13
PCC=0.03
Figure 3. Qualitative comparison on HER2ST for FN1 on 3 slides.
Table 3. Component ablation on HER2ST.
| Variant | PCC-H↑ | PCC-M↑ | MSE↓ | MAE↓ | RVD↓ |
|---|---|---|---|---|---|
| Full | 0.4567 | 0.4032 | 0.8381 | 0.7191 | 0.7084 |
| Main components | |||||
| w/o Proj. | 0.4283 | 0.3772 | 0.9029 | 0.7512 | 0.8592 |
| w/o CMod | 0.4379 | 0.3864 | 0.9608 | 0.7751 | 0.7870 |
| w/o Local | 0.4421 | 0.3882 | 0.8873 | 0.7498 | 0.8138 |
| w/o Global | 0.4330 | 0.3799 | 0.9264 | 0.7646 | 0.8092 |
| w/o Pos. | 0.4424 | 0.3884 | 0.8988 | 0.7507 | 0.8285 |
| w/o Dec. | 0.4571 | 0.4037 | 0.9484 | 0.7736 | 1.6684 |
| Local-branch ablations | |||||
| w/o NC | 0.4591 | 0.4041 | 0.8531 | 0.7338 | 0.7552 |
| w/o CT | 0.4585 | 0.4013 | 0.8941 | 0.7534 | 0.7483 |
| Global-module ablations | |||||
| w/o Prototype | 0.4586 | 0.4061 | 0.8538 | 0.7282 | 0.8123 |
| w/o Self-Attn. | 0.4554 | 0.4032 | 0.8679 | 0.7323 | 0.7724 |
| w/o Global Attn. | 0.4319 | 0.3803 | 0.8878 | 0.7448 | 0.9665 |
4.3. Ablation Analysis
Component ablation Table 3 evaluates the contribution of each BCARP component on HER2ST. We denote the projector, context modulation, local context encoder, global propagation stage, positional encoding, and pattern-scale decoder as Proj., CMod, Local, Global, Pos., and Dec., respectively. For global-module ablations, w/o Global removes the full global stage; w/o Global Attn. removes both prototype attention and spot self-attention but keeps the residual update; w/o Prototype and w/o Self-Attn. remove only the corresponding attention component. The w/o Dec. variant replaces the pattern-scale decoder with a standard MLP head. Removing Proj., CMod, Local, Global, or Pos. consistently weakens performance, showing that BCARP benefits from task-oriented projection, iterative anchor modulation, local biological guidance, long-range con- text propagation, and explicit tissue geometry. Removing Dec. preserves correlation but substantially worsens MSE, MAE, and RVD, suggesting that the decoder mainly improves expression-scale calibration. For the local branches, w/o CT retains only NC, while w/o NC retains only CT. These results show that neither branch uniformly improves PCC individually, while the complete local module yields better expression-error and variance fidelity. The global-module ablations similarly indicate complementary effects of prototype attention and spot-level self-attention.
| PCC-H ↑ | +0.0 | -0.8 | -1.1 | -5.8 | +0.8 | +0.7 | -2.2 | -3.6 | -3.6 | -0.8 |
|---|---|---|---|---|---|---|---|---|---|---|
| PCC-M ↑ | +0.0 | -1.2 | -1.4 | -4.9 | +0.3 | +0.1 | -2.7 | -3.4 | -3.7 | -1.0 |
| MSE ↓ | +0.0 | -6.2 | -4.4 | -3.1 | -2.8 | -1.0 | -4.9 | -0.8 | -3.5 | -3.3 |
| MAE ↓ | +0.0 | -3.3 | -2.3 | -1.5 | -1.5 | -0.7 | -2.6 | -0.5 | -2.1 | -1.8 |
| RVD ↓ | +0.0 | -1.4 | -0.9 | +0.9 | -4.4 | -2.7 | -0.2 | -0.3 | -2.8 | -0.8 |
Figure 4. Relative percentage change of each metric under different refinement depths compared with on ST-Net dataset.
Effect of refinement depth Figure 4 analyzes the effect of refinement depth , with all metrics reported relative to the reference on ST-Net dataset. Relatively, improves PCC-H/PCC-M by and reduces MSE, MAE and RVD by , and , respectively. This indicates that a small number of refinement steps can already provide strong performance, while moderate additional refinement improves calibration and maintains competitive correlation. We therefore use as default.
5. Conclusion
This paper introduced BCARP, a biology-guided context-aware residual propagation framework for histology-guided spatial transcriptomics prediction. BCARP treats frozen pathology embeddings as morphology-derived anchors and progressively refines them with nuclei-guided local cellular context, prototype-guided global propagation, and a pattern-scale decoder. Across HER2ST, Skin, ST-Net, and ten HEST-1k cohorts, BCARP achieves strong correlation-based performance, including the highest mean PCC-M across the HEST-1k cohorts. Ablations show that anchor conditioning and local–global propagation support correlation, while the decoder and nuclei-guided branches contribute more strongly to scale fidelity. However, limitations remain: local supervision relies on HoVer-Net pseudolabels and may be affected by nuclei detection/classification errors and cross-tissue domain shift, while morphology-only evidence limits prediction for genes weakly associated with H&E appearance. Future work will study label-noise robustness, complementary molecular supervision, adaptive refinement, and efficient attention.
References
[1] Alma Andersson, Ludvig Larsson, Linnea Stenbeck, Fredrik Salmén, Anna Ehinger, Sunny Z Wu, Ghamdan Al-Eryani, Daniel Roden, Alex Swarbrick, Åke Borg, et al. Spatial deconvolution of HER2-positive breast cancer delineates tumor-associated cell type interactions. Nature Communications, 12(1):6012, 2021. 2, 5, 11, 14, 16, 17, 19
[2] Tsai Hor Chan, Fernando Julio Cendra, Lan Ma, Guosheng Yin, and Lequan Yu. Histopathology whole slide image analysis with heterogeneous graph representation learning. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), page 15661–15670. IEEE, 2023. 2
[3] Richard J. Chen, Tong Ding, Ming Y. Lu, Drew F. K. Williamson, Guillaume Jaume, Andrew H. Song, Bowen Chen, Andrew Zhang, Daniel Shao, Muhammad Shaban, Mane Williams, Lukas Oldenburg, Luca L. Weishaupt, Judy J. Wang, Anurag Vaidya, Long Phi Le, Georg Gerber, Sharifa Sahai, Walt Williams, and Faisal Mahmood. Towards a general-purpose foundation model for computational pathology. Nature Medicine, 30(3):850–862, 2024. 2, 6, 11, 13, 14, 15
[4] Weiqing Chen, Pengzhi Zhang, Tu N Tran, Yiwei Xiao, Shengyu Li, Vrutant V Shah, Hao Cheng, Kristopher W Brannan, Keith Youker, Li Lai, et al. A visual–omics foundation model to bridge histopathology with spatial transcriptomics. Nature Methods, pages 1–15, 2025. 14
[5] Youngmin Chung, Ji Hun Ha, Kyeong Chan Im, and Joo Sang Lee. Accurate spatial gene expression prediction by integrating multi-resolution features. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 11591–11601, 2024. 1, 2, 6, 11, 13, 14, 15, 16
[6] Alexandre Filiot, Paul Jacob, Alice Mac Kain, and Charlie Saillard. Phikon-v2, a large and public feature extractor for biomarker prediction. arXiv preprint arXiv:2409.09173, 2024. 2
[7] Xiaohang Fu, Yue Cao, Beilei Bian, Chuhan Wang, Dinny Graham, Nirmala Pathmanathan, Ellis Patrick, Jinman Kim, and Jean Yee Hwa Yang. Spatial gene expression at single-cell resolution from histology using deep learning with ghist. Nature Methods, 22(9):1900–1910, 2025. 2, 3
[8] Aniruddha Ganguly, Debolina Chatterjee, Wentao Huang, Jie Zhang, Alisa Yurovsky, Travis Steele Johnson, and Chao Chen. MERGE: Multi-faceted hierarchical graph-based GNN for gene expression prediction from whole slide histopathology images. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 15611–15620, 2025. 1, 2, 6, 11, 13, 14, 15
[9] Simon Graham, Quoc Dang Vu, Shan E. Ahmed Raza, Ayesha Azam, Yee Wah Tsang, Jin Tae Kwak, and Nasir Rajpoot. Hover-net: Simultaneous segmentation and classi-
fication of nuclei in multi-tissue histology images. Medical Image Analysis, 58:101563, 2019. 2, 4, 14, 15, 18
[10] Gunsagar S Gulati, Jeremy Philip D'Silva, Yunhe Liu, Linghua Wang, and Aaron M Newman. Profiling cell identity and tissue architecture with single-cell and spatial transcriptomics. Nature Reviews Molecular Cell Biology, 26(1): 11–31, 2025. 1, 2
[11] Deniz Gurarslan, Oscar Camargo, Omer Zeyveli, Yasin Almalioglu, Yanjun Li, Mehmet Turan, and Tamer Kahveci. Storm: spatial transcriptomics optimization by resolution via matrix factorization. Briefings in Bioinformatics, 27(3), 2026. 14
[12] Bryan He, Ludvig Bergensträhle, Linnea Stenbeck, Abubakar Abid, Alma Andersson, Åke Borg, Jonas Maaskola, Joakim Lundeberg, and James Zou. Integrating spatial gene expression and breast tumour morphology via deep learning. Nature Biomedical Engineering, 4(8): 827–834, 2020. 1, 2, 5, 11, 13, 14, 16, 17, 19
[13] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), page 770–778. IEEE, 2016. 6, 14
[14] Tinglin Huang, Tianyu Liu, Mehrtash Babadi, Wengong Jin, and Rex Ying. Scalable generation of spatial transcriptomics from histology images via whole-slide flow matching. In Forty-second International Conference on Machine Learning, 2025. 1, 2, 6, 13, 14, 15
[15] Fabian Hörst, Moritz Rempe, Lukas Heine, Constantin Seibold, Julius Keyl, Giulia Baldini, Selma Ugurel, Jens Siveke, Barbara Grünwald, Jan Egger, and Jens Kleesiek. Cellvit: Vision transformers for precise cell segmentation and classification. Medical Image Analysis, 94:103143, 2024. 15, 18
[16] Sanjay Jain and Michael T Eadon. Spatial transcriptomics in health and disease. Nature reviews nephrology, 20(10): 659–671, 2024. 1
[17] Guillaume Jaume, Paul Doucet, Andrew H. Song, Ming Y. Lu, Cristina Almagro-Perez, Sophia J. Wagner, Anurag J. Vaidya, Richard J. Chen, Drew F. K. Williamson, Ahrong Kim, and Faisal Mahmood. Hest-1k: A dataset for spatial transcriptomics and histology image analysis. In Advances in Neural Information Processing Systems, 2024. 2, 5, 7, 11, 13
[18] Andrew Ji, Adam Rubin, Kim Thrane, Sizun Jiang, David Reynolds, et al. Multimodal analysis of composition and spatial architecture in human squamous cell carcinoma. Cell, 182, 2020. 2, 5, 11, 14, 16, 17, 19
[19] Yuran Jia, Junliang Liu, Li Chen, Tianyi Zhao, and Yadong Wang. Thitogene: a deep learning method for predicting spatial transcriptomics from histological images. Briefings in Bioinformatics, 25(1), 2023. 2
[20] Suchithra Kunhoth, Somaya Al-maadeed, Younes Akbari, and Rafif Mahmood Al Saady. Computational methods for breast cancer molecular profiling using routine histopathology: a review. Archives of Computational Methods in Engineering, 33(2):2299–2321, 2026. 1
[21] Yusong Liu, Tongxin Wang, Ben Duggan, Michael Sharp-nack, Kun Huang, Jie Zhang, Xiufen Ye, and Travis S John-son. Spcs: a spatial and pattern combined smoothing method for spatial transcriptomic expression. Briefings in Bioinformatics, 23(3):bbac116, 2022. 6
[22] Ming Y. Lu, Bowen Chen, Drew F. K. Williamson, Richard J. Chen, Ivy Liang, Tong Ding, Guillaume Jaume, Igor Odintsov, Long Phi Le, Georg Gerber, Anil V. Parwani, Andrew Zhang, and Faisal Mahmood. A visual-language foundation model for computational pathology. Nature Medicine, 30(3):863–874, 2024. 2, 6, 14
[23] Wenwen Min, Zhiceng Shi, Jun Zhang, Jun Wan, and Changmiao Wang. Multimodal contrastive learning for spatial gene expression prediction using histology images. Briefings in Bioinformatics, 25(6):bbae551, 2024. 1, 2, 6, 13, 14, 15
[24] Hai Dang Nguyen, Nguyen Dang Huy Pham, The Minh Duc Nguyen, Dac Thai Nguyen, Hang Thi Nguyen, and Duong M. Nguyen. MMAP: A Multi-Magnification and Prototype-Aware Architecture for Predicting Spatial Gene Expression, page 381–395. Springer Nature Singapore, 2026. 2
[25] Minxing Pang, Kenong Su, and Mingyao Li. Leveraging information in spatial transcriptomics to predict super-resolution gene expression from histology images in tumors. bioRxiv, 2021. Preprint. 13, 14
[26] Tancredi Massimo Pentimalli, Nikos Karaiskos, and Nikolaus Rajewsky. Challenges and opportunities in the clinical translation of high-resolution spatial transcriptomics. Annual Review of Pathology: Mechanisms of Disease, 20(1):405–432, 2025. 1
[27] Mingcheng Qu, Yuncong Wu, Donglin Di, Anyang Su, Tonghua Su, Yang Song, and Lei Fan. Boundary-guided learning for gene expression prediction in spatial transcriptomics. In 2024 IEEE International Conference on Bioinformatics and Biomedicine (BIBM), page 445–450. IEEE, 2024. 2
[28] Andrew H. Song, Richard J. Chen, Tong Ding, Drew F.K. Williamson, Guillaume Jaume, and Faisal Mahmood. Morphological prototyping for unsupervised slide representation learning in computational pathology. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), page 11566–11578. IEEE, 2024. 2
[29] Hongyi Wang, Xiuju Du, Jing Liu, Shuyi Ouyang, Yen-Wei Chen, and Lanfen Lin. M2ost: Many-to-one regression for predicting spatial transcriptomics from digital pathology images. Proceedings of the AAAI Conference on Artificial Intelligence, 39(7):7709–7717, 2025. 1, 2, 6, 13, 14, 15
[30] Xiyue Wang, Sen Yang, Jun Zhang, Minghui Wang, Jing Zhang, Wei Yang, Junzhou Huang, and Xiao Han. Transformer-based unsupervised contrastive learning for histopathological image classification. Medical Image Analysis, 81:102559, 2022. 2
[31] Cameron G Williams, Hyun Jae Lee, Takahiro Asatsuma, Roser Vento-Tormo, and Ashraful Haque. An introduction to spatial transcriptomics for biomedical research. Genome Medicine, 14(1):68, 2022. 1
[32] Ronald Xie, Kuan Pang, Sai Chung, Catia Perciani, Sonya MacParland, Bo Wang, and Gary Bader. Spatially resolved gene expression prediction from histology images via bi-
modal contrastive learning. In Advances in Neural Information Processing Systems, 2023. 13, 14
[33] Hanwen Xu, Naoto Usuyama, Jaspreet Bagga, Sheng Zhang, Rajesh Rao, Tristan Naumann, Cliff Wong, Zelalem Gero, Javier González, Yu Gu, Yanbo Xu, Mu Wei, Wenhui Wang, Shuming Ma, Furu Wei, Jianwei Yang, Chunyuan Li, Jianfeng Gao, Jaylen Rosemon, Tucker Bower, Soohee Lee, Roshanthi Weerasinghe, Bill J. Wright, Ari Robicsek, Brian Piening, Carlo Bifulco, Sheng Wang, and Hoifung Poon. A whole-slide foundation model for digital pathology from real-world data. Nature, 630(8015):181–188, 2024. 6, 14
[34] Yan Yang, Md Zakir Hossain, Eric A Stone, and Shafin Rahman. Exemplar guided deep neural network for spatial transcriptomics analysis of gene expression prediction. In 2023 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), page 5028–5037. IEEE, 2023. 1, 2, 6, 13, 14, 15, 16
[35] Peng Zhang, Chaofei Gao, Zhuoyu Zhang, Zhiyuan Yuan, Qian Zhang, Ping Zhang, Shiyu Du, Weixun Zhou, Yan Li, and Shao Li. Systematic inference of super-resolution cell spatial profiles from histology images. Nature Communications, 16(1), 2025. 2
[36] Yibo Zhang, Shilong Liu, Jun Chen, Ruanqi Chen, Zijian Yang, Ruyu Sheng, Xin Li, Taolue Wang, Hongyu Liu, Fan Yang, et al. Deep learning-based histomorphological subtyping and risk stratification of small cell lung cancer from hematoxylin and eosin-stained whole slide images. Genome Medicine, 17(1):98, 2025. 1
[37] Junchao Zhu, Ruining Deng, Tianyuan Yao, Juming Xiong, Chongyu Qu, Junlin Guo, Siqi Lu, Mengmeng Yin, Yu Wang, Shilin Zhao, et al. Asign: an anatomy-aware spatial imputation graphic network for 3d spatial transcriptomics. In Proceedings of the Computer Vision and Pattern Recognition Conference, pages 30829–30838, 2025. 2
[38] Eric Zimmermann, Eugene Vorontsov, Julian Viret, Adam Casson, Michal Zelechowski, George Shaikovski, Neil Tenenholtz, James Hall, David Klimstra, Razik Yousfi, et al. Virchow2: Scaling self-supervised mixed magnification models in pathology. arXiv preprint arXiv:2408.00738, 2024. 2, 6, 14

Figure 5. Spatial Transcriptomics Prediction from Histology
APPENDICES
A. Problem Formulation
As illustrated in Figure 5, given a whole-slide H&E image, we represent its spatial-transcriptomics (ST) annotation as a set of spots , where is the spot-centered histology patch, is its tissue coordinate and is the measured expression vector over target genes of spot . Histology-guided spatial transcriptomics prediction seeks a mapping:
Here, predicts the section-level expression matrix , and its -th row approximates the ground-truth expression profile of spot .
Predicting gene expression strictly from highly localized morphology is inherently ill-posed. Transcriptomic profiling is highly susceptible to technical artifacts, noise and dropout events (where expressed genes are falsely recorded as zeros). Furthermore, the expression profile of a single spot is heavily dependent not only on its own cellular composition but also on the broader tissue microenvironment and intercellular signaling. To address this, BCARP treats frozen pathology-foundation embeddings as morphology-derived anchors. These anchors are progressively refined through a dual mechanism: biology-guided local context encoding and prototype-guided global context propagation, with the aim of improving both local biological consistency and whole-section spatial context.
B. Dataset Statistics
Table 10 reports, for every fold, the held-out partition, the number of training and test slides and the corresponding number of spatial spots. In total, the evaluation spans 289,413 annotated spots across thirteen datasets and diverse tissue morphologies.
To prevent patient-level information leakage, all experiments use patient-disjoint cross-validation, in which every tissue section from a given patient is assigned exclusively to either the training or the test partition. HER2ST [1] contains eight patients and is split into eight folds with one held-out patient per fold; Skin [18] contains four patients and is split into four folds, again one patient per fold; ST-Net [12] contains twenty-three patients, which we group into eight folds so that each fold holds out two to three patients. Together these three datasets contribute 52,918 annotated spots.
We additionally evaluate on ten cohorts of the HEST-1k [17], spanning skin, lung, pancreas, bowel, lymph node, kidney, breast, prostate and liver, and acquired with either Visium or Xenium. For these cohorts we adopt the official patient-grouped folds released, which adds a further 236,495 spots and 29 folds.
Target genes. For HER2ST, Skin, and ST-Net, every method is trained and evaluated on the same fixed 250-gene panel following the MERGE [8] protocol. This panel corresponds to the 250 most-expressed genes per dataset introduced by TRIPLEX [5] and reused by MERGE [8], and all metrics are computed in the shared space. For the highly variable gene (HVG) analysis, we additionally report results on a 50-gene subset per dataset. The HVG subset is selected by a different criterion, gene-wise variability computed from the training spots only. For completeness, we list in Figure 6 the 250-gene subsets used for each ST dataset. For the HEST-1k cohorts we select up to 250 highly variable genes per cohort from the training slides only, following the same criterion as above. The resulting panel contains 250 genes for the eight Visium cohorts, but is capped by the probe set on the two Xenium cohorts, giving 197 genes for LUNG and 98 for PAAD.
C. Baseline Reproduction
Two reproduction protocols. The scores reported in this section are not identical to those in Table 1 of the main paper, and the difference is deliberate. In the main paper, every baseline whose architecture consumes pre-extracted patch features is re-run with the same frozen UNI [3] embeddings as BCARP, so that the comparison isolates the prediction head from the choice of visual backbone. In this supplement, we instead retain each baseline's native architecture and visual encoder: every method keeps the patch encoder, feature dimensionality and architectural choices prescribed by its original paper or public code, and only the data splits, the spot-centered patches, the target gene panel and the evaluation metrics are standardised. The main-paper protocol asks how the prediction architectures
250 -gene subset for the STNet dataset
RPS3, TFF3, IGLL5, RPL18A, RPLP1, RPS18, TMSB10, GAPDH, H2AJ, KRT19, RPL19, RPL37A, RPL8, RPLP2, RPS14, NHERF1, RPL28, ERBB2, RPS19, MGP, ACTB, RPS15, MUC1, RPS12, COX6C, RPL13, AZGP1, S100A9, RPL18, RPS2, RPL36, RPL35, UBA52, HLA-B, RPS21, FTL, RPS17, APOE, CST3, CTSD, RPL38, RACK1, RPS11, PFN1, FTH1, RPS27, RPL10, RPS8, SSR4, B2M, RPL13A, RPS4X, EEF2, RPLP0, HSPB1, P4HB, RPS6, IFI27, IGFBP2, PABPC1, IGFBP5, RPS28, PSAP, RPS16, S100A8, C4B, SERF2, RPL30, RPL27A, HLA-C, RPS24, RPS29, TAGLN, CALR, RPL11, FASN, BEST1, RPL29, ACTG1, RPL31, RPS27A, CCND1, SNHG25, RPL12, HLA-A, A2M, COL1A1, RPL23, RPS5, RPL3, RPS9, FN1, RPL7A, KRT18, PPP1CA, RPL37, FAU, GPX4, BST2, MZT2B, PSMD3, CD74, HLA-E, XBP1, SYNGR2, AEBP1, NDUFA13, RPL15, CLU, RPL32, PRDX2, RPL27, LGALS3BP, RPL23A, BSG, RPS3A, HLA-DRA, CLDN3, KRT8, HSP90AB1, RPL9, RPL35A, EVL, TAPBP, TPT1, ALDOA, S100A11, GNAS, CD81, ATP6V0B, MZT2A, LY6E, PLXNB2, IFITM3, BGN, C1QA, EIF4A1, CFL1, NBEAL1, MYL9, ELF3, H3-3B, GRINA, SDC1, PTMA, IFI6, RPL5, ATP6AP1, CD63, PRSS8, NDUFA11, EDF1, RPL34, OAZ1, UQCRQ, APOC1, GNB2, TAGLN2, MALAT1, RPS25, S100A6, SLC25A6, RPL14, BCAP31, UBC, C3, PRDX1, ISG15, RPS23, TUBA1B, COL1A2, VIM, TIMP1, STARD10, FXYD3, TMSB4X, PPDPF, PTPRF, ATP1A1, TUFM, H1-10, FLNA, RPL4, CRIP2, RPS13, RPL24, RPL7, ARHGDIA, POLR2L, RPS7, SPDEF, COX8A, ENO1, RPS20, RPS15A, NDUFB9, GAS5, IGFBP4, CYBA, GSTP1, MYL6, RPS10, GRN, EIF3C, COX6B1, UBB, LAPTM5, SPARC, JUP, RPL41, ELOB, LMNA, C12orf57, UQCR11, EIF5A, EEF1D, RHOC, PTMS, SEC61A1, CTSB, RPSA, ATG10, SELENOW, SPINT2, COX411, LMAN2, ATP5F1E, TPI1, GUK1, SH3BGRL3, UBE2M, RPL39, PFDN5, SSR2, ZNF90, TSPO, TLE5, PLD3, RPL10A, CAPNS1, CHCHD2, RPL6, EEF1A1, LGALS1, ATP5MC2, EIF4G1, GNAI2, TUBB, COX5B, ACTN4
250 -gene subset for the HER2ST dataset
IGKC, IGHG3, IGLC2, ERBB2, TMSB10, IGHA1, MUCL1, IGHM, IGLC3, PSMB3, ACTG1, GAPDH, CISD3, ACTB, PTPRF, FN1, MIEN1, IGHG4, SERF2, APOE, TPT1, TFF3, PFN1, SLC9A3R1, BEST1, FTH1, CALML5, HLA-B, S100A9, COL1A1, B2M, MGP, FTL, RACK1, DDX5, CALR, KRT19, COL1A2, SSR4, PSMD3, PSAP, FASN, HLA-A, PPP1R1B, PHB, IGHG1, CTSD, HLA-C, CD74, FAU, S100A8, S100A6, KRT81, PCGF2, UBA52, PABPC1, EEF2, P4HB, GNAS, TAGLN2, GRB7, COL3A1, HLA-DRA, NDUFB9, MYL6, AEBP1, STARD3, MLLT6, EEF1D, HLA-E, TUBA1B, XBP1, SYNGR2, TRAF4, S100A14, PTMS, CRIP2, ADAM15, CD24, SLC25A6, CFL1, AP000769.1, KRT7, ATP5E, GRINA, SCD, PRDX1, FLNA, EIF4G1, LASP1, ISG15, CD63, MDK, OAZ1, AZGP1, CLDN3, GNB2, GPX4, FNBP1L, IFI27, MUC1, KIAA0100, HSPB1, LMNA, TAGLN, CST3, SDC1, ATP6V0B, MMP14, S100A11, APOC1, KRT18, HNRNPA2B1, PLXNB2, ALDOA, SPARC, COX6C, PERP, SPINT2, PRRC2A, PPDPF, AES, VMP1, MZT2B, EDF1, VIM, BGN, TSPO, PPP1CA, SPDEF, C1QA, TUBB, MIDN, PRSS8, LAPTM5, COX7C, C3, BST2, ATP1A1, EIF4G2, ELOVL1, SCAND1, ORMDL3, HSP90AB1, ATG10, CHCHD2, INTS1, CCT3, SEC61A1, LAPTM4A, HSP90AA1, TAPBP, MYL9, BSG, COL6A2, POSTN, TIMP1, PLD3, CTSB, A2M, CALM2, CD99, CD81, IGFBP2, CLDN4, UQCRQ, HSPA8, UBC, DHCR24, H2AFJ, CYBA, NUCKS1, CIB1, MAPKAPK2, LY6E, IDH2, MMACHC, ZYX, PGAP3, JTB, COX6B1, ATP5B, PTMA, COPE, LGALS3, NBL1, H1FX, UBE2M, LGALS1, ACTN4, NUPR1, SH3BGRL3, PEBP1, RALY, PFDN5, COPS9, TXNIP, ENO1, SNRPB, GUK1, COL18A1, COX411, HSP90B1, NACA, KDELR1, PSMB4, ERGIC1, LMAN2, STARD10, JUP, SSR2, SEPW1, CHPF, DBI, PFKL, LGALS3BP, COX5B, ARHGDIA, MYH9, C12orf57, SLC2A4RG, LSM4, TYMP, PTBP1, ATP5G2, VCP, GNAI2, NDUFB7, C1QB, TCEB2, RABAC1, GRN, EIF3B, NDUFA3, C4orf48, UQCR11, FKBP2, ROMO1, ATP6AP1, HM13, AP2S1, SERINC2, RRBP1, PSMD8, COX8A, RHOC, SDF4, BCAP31, TPI1, NDUFA11
250 -gene subset for the Skin dataset
KRT14, S100A9, S100A8, KRT6A, KRT16, KRT6B, KRT5, KRT6C, KRT17, MT-CO2, S100A2, SPRR1B, S100A7, MT-CO1, KRT1, KRT10, MT-CO3, ACTB, PERP, LGALS7B, COL1A1, FABP5, EEF1A1, LGALS7, SFN, RPLP1, RPS12, RPLP2, GJB2, KRTDAP, B2M, MT-ND4, HLA-B, ACTG1, TPT1, RPS17, MT-ATP6, CSTA, PFN1, COL3A1, RPS24, RPL37A, DSP, RPL13, RPS8, COL1A2, RPS18, RPLP0, RPL13A, RPS6, CSTB, DMKN, MT-ND1, RPL28, SPRR2A, KRT2, RPS27, TMSB10, RPL32, RPL31, RPS14, RPL11, MT-ND3, RPS19, AQP3, RPL36, RPL27A, MT-CYB, RPL3, RPS29, RPS11, RPS27A, RPS28, ENO1, CALML5, SBSN, JUP, RPL27, RPL8, RPL9, DSC2, RPS2, RPL34, LY6D, CXCL14, LDHA, TMSB4X, RPL7A, GSTP1, S100A7A, RPL23, RPL19, RPL6, ANXA1, ANXA2, RACK1, RPS3, S100A11, RPS25, RPL37, CD74, YWHAZ, SLPI, RPS23, PKP1, RPL12, RPS13, UBA52, PI3, RPS15A, RPL39, RPL35A, VIM, RPL29, S100A14, RPL38, GJA1, RPL10, PABPC1, PTMA, RPS4X, SPARC, MMP1, RPL18, HSPB1, RPS3A, RPS7, PPIA, RPL18A, HLA-A, S100A6, MYL6, RPL4, S100A10, FLG, IFI27, RPL24, GJB6, SH3BGRL3, IVL, RPL15, RPL7, RPL26, EEF2, MT-ND2, RPL5, SDC1, DSC3, RPS20, HLA-DRA, RPL41, RPS16, NACA, FTL, PKM, MYH9, RPL21, ITM2B, LYPD3, S100A16, UBC, SPINK5, CNFN, H3F3B, COL6A1, AC090498.1, RPL14, FAU, TXN, RPL22, COL17A1, DSG1, RPSA, CD44, CD24, HSPA8, TRIM29, SPRR2E, TMEM45A, FGFBP1, TAGLN2, ALDOA, DSG3, RPS21, TGFB1, ATP1B3, CST3, KLK7, AHNAK, DYNLL1, RPS5, CFL1, SERPINB3, LMNA, EIF1, NDRG1, FLNA, NPM1, LGALS1, EIF5A, YWHAQ, MT2A, RPS9, SPRR2D, CALML3, CLCA2, RPL10A, CALM1, EIF4G2, ATP1A1, TPI1, POLR2L, HNRNPA2B1, PRDX1, DSTN, HSP90AA1, SLC2A1, EEF1B2, FXYD3, ATP5E, MYL12B, CTSB, LAD1, GRN, IGFBP4, COL6A2, RPS26, HLA-C, OAZ1, PSAP, HSP90AB1, ARPC2, IFITM3, HNRNPK, ITGA6, PGK1, CTSD, CD63, GNAS, PPDPF, RTN4, ACTN4, RPL35, LCE3D, DST, TYMP, BTF3, CD59, HLA-E, TMBIM6
Figure 6. List of the 250 genes used in all experiments on the three ST datasets.
compare under a common foundation encoder, whereas the supplementary protocol evaluates the corresponding native architectures under the same data and metric setting. The resulting per-gene correlations differ accordingly, in both directions and by method-dependent amounts. The two tables should therefore be read side by side.
To ensure a fair comparison, every competing method is reproduced under a single experimental protocol that follows MERGE [8]: identical patient-level splits, the same spot-centred patches, the same 250-gene target panel and the same evaluation metrics. Architectures are reimplemented from their official publications or public source code whenever available and hyperparameters follow the original recommendations while sharing a common optimization protocol. Because BCARP uses frozen UNI embeddings, we additionally include UNI+MLP and UNI+Decoder probes to separate the contribution of the refinement loop from that of the pattern-scale decoder. The reproduced baselines are:
• UNI [3]+MLP – frozen UNI [3] embeddings are mapped directly to gene expression using a standalone MLP predictor.
• UNI+Decoder - frozen UNI embeddings decoded directly by the pattern-scale decoder, without iterative refinement, local biological modelling or global context propagation.
• ST-Net [12] - a CNN regression framework (DenseNet-121 backbone with a linear head) that predicts per-spot expression from histology patches without explicit spatial context.
• HisToGene [25] - a transformer that models dependencies among neighbouring spots through spatial attention.
• BLEEP [32] - a contrastive multimodal framework that aligns histology and transcriptomics in a shared embedding space; following MERGE [8], we use a ResNet18 patch encoder, the same backbone adopted in MERGE [8] and TRIPLEX [5].
• TRIPLEX [5] - a multi-resolution architecture fusing target-patch, neighborhood and whole-slide visual information.
• EGN [34] - an exemplar-guided framework that retrieves similar transcriptomic patterns from reference samples to refine predictions.
• MERGE [8] - a hierarchical graph neural network with spatial graph reasoning and multi-scale tissue aggregation, reproduced from its official source code.
• M2OST [29] - a many-to-one regression transformer that jointly consumes patches from several magnification levels of the WSI pyramid to predict the expression of their common spot.
• STFlow [14] - a flow-matching model that generates the section-level expression matrix through a small number of iterative transport steps.
• mclSTExp [23] - a contrastive method that retrieves expression profiles from a training bank of spot embeddings.
We standardize data splits, patches, target genes and evaluation metrics across all methods. Training settings are kept as consistent as possible while respecting method-specific architectural requirements.
Frozen-feature ridge probes. On the HEST-1k cohorts the frozen-feature references reported in the main paper follow the ridge-probe protocol released with the benchmark [17]: patch embeddings are extracted once per spot with the corresponding foundation encoder and regressed onto the target panel with an -regularised linear head, using the benchmark's default regularisation strength rather than a per-cohort tuned value. All encoders are compared under exactly this protocol, so differences between them reflect the embeddings and not the head.
On the reproduction of MERGE. The MERGE results in our evaluation are not directly comparable to its published numbers because the protocols differ along several axes. The original MERGE experiments train and evaluate on SPCS-smoothed expression using eight-fold cross-validation across tissue sections. In contrast, our evaluation uses patient-disjoint folds and computes every reported metric against the raw expression target after the transform; SPCS is retained only as training-time pattern supervision. In addition, the encoder-controlled results in Table 1 of the main paper replace supported visual encoders with frozen UNI features. This is particularly relevant to MERGE because its hierarchical graph includes feature-space clustering, so changing the visual representation may also alter graph construction. To separate these effects, Supplementary Table 4 retains each baseline's native architecture and encoder while using our patient-disjoint splits, target panel, and raw-log evaluation. The main-paper table additionally controls the visual backbone using UNI where the architecture permits. The resulting MERGE scores should therefore be interpreted as protocol-specific reproductions rather than direct replications or contradictions of its published results.
D. Implementation Details
D.1. Preprocessing and supervision targets
For each spot we crop a H&E patch centred on its tissue coordinate and extract a frozen UNI [3] embedding with . Two complementary expression targets are used: a spatially smoothed target , obtained with the two-factor SPCS smoothing used by MERGE [8] and used here to supervise the pattern branch
Table 4. Performance comparison across the three ST datasets under their native architectural and encoder configurations. Bold indicates the best result and underlining indicates the second-best result; frozen-feature references are excluded from this ranking.
| Model | HER2ST [1] | Skin [18] | ST-Net [12] | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PCC-H↑ | PCC-M↑ | MSE↓ | MAE↓ | RVD↓ | PCC-H↑ | PCC-M↑ | MSE↓ | MAE↓ | RVD↓ | PCC-H↑ | PCC-M↑ | MSE↓ | MAE↓ | RVD↓ | |
| Frozen-feature reference models | |||||||||||||||
| ResNet50+Ridge | 0.2249 | 0.2291 | 1.0782 | 0.8224 | 0.9039 | 0.2695 | 0.3260 | 1.3565 | 0.9050 | 0.8581 | 0.0985 | 0.0890 | 0.9762 | 0.7862 | 0.9125 |
| UNI+Ridge | 0.2583 | 0.2598 | 1.0579 | 0.8144 | 0.8840 | 0.2895 | 0.3262 | 1.3382 | 0.8968 | 0.8812 | 0.1096 | 0.0936 | 0.9666 | 0.7821 | 0.9223 |
| UNI+MLP | 0.3474 | 0.3316 | 1.0030 | 0.7890 | 0.8452 | 0.3029 | 0.3604 | 1.2547 | 0.8670 | 0.8368 | 0.1843 | 0.1633 | 0.9195 | 0.7609 | 0.8644 |
| UNI+Decoder | 0.4249 | 0.3721 | 0.9431 | 0.7724 | 0.8188 | 0.5392 | 0.4930 | 1.4455 | 0.9538 | 1.4511 | 0.2319 | 0.1868 | 0.8283 | 0.7351 | 0.7685 |
| Method baselines (native configurations) | |||||||||||||||
| ST-Net [12] | 0.3239 | 0.2430 | 1.2587 | 1.0033 | 2.8133 | 0.3787 | 0.3352 | 1.0002 | 0.8652 | 3.3435 | 0.1730 | 0.1509 | 0.7911 | 0.7141 | 0.8978 |
| HisToGene [25] | 0.2882 | 0.2058 | 1.3942 | 1.0733 | 1.1019 | 0.3076 | 0.2429 | 0.9210 | 0.8270 | 0.7557 | 0.1149 | 0.1090 | 0.8884 | 0.7562 | 0.8821 |
| BLEEP [32] | 0.2846 | 0.2129 | 0.8423 | 0.7962 | 1.6538 | 0.3694 | 0.3044 | 0.8024 | 0.7678 | 1.8789 | 0.0430 | 0.0351 | 0.8572 | 0.7396 | 3.0336 |
| EGN [34] | 0.2698 | 0.2749 | 1.3371 | 0.8856 | 0.8857 | 0.2655 | 0.3154 | 1.5425 | 0.9433 | 0.8988 | 0.0967 | 0.0817 | 1.1714 | 0.8462 | 0.9673 |
| TRIPLEX [5] | 0.3581 | 0.3427 | 1.0724 | 0.8156 | 0.8990 | 0.3337 | 0.3749 | 1.3333 | 0.8947 | 0.9137 | 0.1602 | 0.1450 | 0.9694 | 0.7806 | 0.9263 |
| mclSTExp [23] | 0.3627 | 0.3133 | 1.0260 | 0.7867 | 4.8984 | 0.4675 | 0.4253 | 1.9257 | 1.1175 | 1.1858 | 0.1451 | 0.1177 | 0.8565 | 0.7327 | 5.6416 |
| M2OST [29] | 0.3121 | 0.2756 | 0.9853 | 0.7696 | 2.1442 | 0.2933 | 0.2739 | 1.3818 | 0.9210 | 0.5739 | 0.1544 | 0.1239 | 0.7667 | 0.6978 | 1.5675 |
| MERGE [8] | 0.1699 | 0.1618 | 1.5830 | 1.0489 | 0.8077 | 0.1750 | 0.1656 | 1.9248 | 1.1878 | 0.8823 | 0.0672 | 0.0558 | 0.8466 | 0.7431 | 0.9111 |
| STFlow [14] | 0.3888 | 0.3410 | 0.8464 | 0.7252 | 0.8555 | 0.5137 | 0.4832 | 1.1983 | 0.8654 | 0.4951 | 0.1971 | 0.1565 | 0.7404 | 0.6897 | 0.7245 |
| BCARP (Ours) | 0.4567 | 0.4032 | 0.8381 | 0.7191 | 0.7084 | 0.5852 | 0.5328 | 1.1818 | 0.8620 | 0.2656 | 0.3046 | 0.2423 | 0.6761 | 0.6590 | 0.7500 |
and the raw-count target , retained for the calibration objectives. Spatial structure is encoded once per section as a fixed k-nearest-neighbour graph built on max-normalised coordinates ; this adjacency is shared across all refinement steps and only specifies the local propagation structure.
D.2. Nuclei-derived biological supervision
Auxiliary local targets are derived from H&E nuclei analysis with HoVer-Net [9], which detects nuclei and assigns each a cell-type pseudo-label. For each spot we aggregate nuclei whose centroids fall within a fixed radius (in pixels, measured on the same patch grid as the crops) of . Letting be the number of type- nuclei in this neighborhood and the number of categories, the neighborhood-composition target and dominant cell-type target are
These quantities are used only as training-time auxiliary supervision and are not required at inference.
D.3. Architecture and optimization
BCARP is implemented in PyTorch. A lightweight MLP projects each frozen UNI [3] embedding from its -dimensional space into a -dimensional transcriptomics-oriented latent space, which serves as the histology anchor. The anchor is refined for context-conditioned steps; each step applies context-conditioned anchor modulation, two GraphSAGE local context encoders (cell-type and neighborhood-composition, hidden width ) and prototype-guided global propagation with learnable global tokens and attention heads (head dimension ). The refined representation is decoded by the pattern-scale decoder using hierarchy tokens. HoVer-Net [9] targets use radius pixels and nuclei categories. The model is trained with AdamW (learning rate , weight decay ), batch size 1 WSI, for at most 100 epochs, with a ReduceLROnPlateau schedule (factor 0.5, patience 7) on a single RTX 5070 Ti GPU. The configuration is summarised in Table 5.
Foundation model controls. The HEST ridge-probe comparison uses ResNet50 [13], UNI [3], Virchow2 [38], CONCH [22], and GigaPath [33] embeddings with the same linear head and fixed regularisation setting. We also examined OmiCLIP/Loki [4] and STORM [11]. Loki (built on OmiCLIP) uses a transcriptomic reference bank at prediction time and therefore follows a different reference-assisted setting. We attempted to reproduce STORM using its released implementation but could not establish a reliable matched reproduction under our protocol, so we do not report potentially configuration-dependent numbers.
D.4. Evaluation metrics
Let be the ground-truth and predicted raw-count matrices over test spots and genes. Unless otherwise noted, all metrics are computed after the transform; we denote the transformed matrices by
and write and for -th spot and -th gene.
Table 5. Hyperparameter configuration of BCARP.
| Foundation Backbone | |
|---|---|
| Pathology foundation encoder: | UNI [3] |
| Spot patch size: | 224 |
| Embedding dimension : | 1024 |
| Refinement iterations : | 5 |
| Biology-guided Context Modeling | |
| Spatial neighbors : | 8 |
| HoVer-Net [9] neighborhood radius : | 128 px |
| Cell-type categories : | 6 |
| Local encoder: | GraphSAGE |
| Local hidden dimension : | 256 |
| Global prototype tokens : | 50 |
| Attention heads : | 8 |
| Head dimension : | 64 |
| Decoder | |
| Hierarchical decoder scales : | 6 |
| Dropout: | 0.1 |
| Training | |
| Optimizer: | AdamW |
| Learning rate: | |
| Weight decay: | |
| Batch size: | 1 WSI |
| Epochs: | 100 (max) |
| Learning-rate scheduler: | ReduceLROnPlateau |
| (factor | 0.5, patience 7) |
| Hardware: | RTX 5070 Ti |
| Loss | |
| Huber threshold : | 1.0 |
| : | 0.5 |
| : | 0.05 |
| : | 0.1 |
| : | 0.05 |
| : | 0.05 |
Table 6. Impact of the nuclei-analysis backend on HER2ST. All other settings are identical; only the pseudo-label generator changes.
| Labels | PCC-H | PCC-M | MSE | MAE | RVD |
|---|---|---|---|---|---|
| HoVer-Net [9] | 0.4567 | 0.4032 | 0.7084 | ||
| CellViT [15] | 0.8769 | 0.7426 |
For each held-out fold, metrics are computed using only the spots in that fold. Dataset-level scores in the main ta-
Table 7. Computational cost on a single RTX 5070 Ti.
| Method / component | Trainable (M) | E2E / slide (s) | Peak (GB) |
|---|---|---|---|
| Baselines based on UNI embedding | |||
| UNI+Ridge | 0.26 | 1.28 | 0.22 |
| mclSTExp [23] | 41.46 | 1.29 | 0.75 |
| MERGE [8] | 21.53 | 1.29 | 0.84 |
| STFlow [14] | 1.35 | 1.32 | 1.03 |
| TRIPLEX [5] | 63.12 | 1.57 | 6.88 |
| EGN [34] | 77.01 | 1.59 | 3.80 |
| BCARP (ours) | 21.10 | 1.37 | 1.35 |
| Native image encoder (no UNI) | |||
| M2OST [29] | 7.04 | 0.85 | 11.75 |
bles are the arithmetic mean of the corresponding fold-level scores. For PCC, we first compute each gene’s correlation within a fold and then average over the valid genes in the corresponding gene set.
Per-gene Pearson correlation (PCC-M, PCC-H). For each gene we compute the PCC across spots,
where and are averaged across all spots. We report PCC-M as the mean of over all valid target genes ( for HER2ST, Skin, and ST-Net), and PCC-H as the mean over the 50-gene HVG subset for these three datasets. For HEST-1k, PCC-M is averaged over the cohort-specific target panel described in Sec. B.
Relative variance distance (RVD). Because a high PCC in log-space does not by itself guarantee faithful expression recovery, we consider RVD, which measures how well the prediction preserves the per-gene heterogeneity of the data:
where is the across-spot variance. Lower RVD indicates that the predicted expression reproduces the spatial variance of the ground truth more faithfully. For all correlation metrics higher is better; for MSE, MAE and RVD lower is better.
Absolute-error metrics.



BCARP
STFlow
TRIPLEX
EGN

Per-gene PCC

Per-gene PCC

Per-gene PCC
Figure 7. Distribution of fold-averaged per-gene Pearson correlation coefficients (PCC-H and PCC-M) across HER2ST [1], ST-Net [12] and Skin [18]. BCARP generally shifts the per-gene correlation distributions toward higher values across both the full target panel and the HVG subset.

Figure 8. Per-fold PCC-M performance across the three ST datasets.
E. Experimental Analysis
Per-gene correlation distributions. Figure 7 compares the fold-averaged per-gene PCC distributions over the full panel and over the highly variable subset. Beyond shifting the bulk of genes toward higher correlation, BCARP also trims the left tail. This is visible on Skin [18], the only cohort whose distribution extends below zero, where a non-negligible fraction of genes have PCC below zero under TRIPLEX [5] and EGN [34] while almost all of BCARP's genes remain positive. STFlow is the closest competitor throughout, and the gap to it is much smaller than the gap to TRIPLEX and EGN: on Skin the two distributions overlap substantially and BCARP's advantage is a modest rightward shift of the mode rather than a separation. The same ordering holds on HER2ST [1], again with considerable overlap. The separation is cleanest on ST-Net [12], where the BCARP histogram is essentially disjoint from all three baselines, which concentrate between 0.08 and 0.16 while BCARP peaks near 0.25-0.30.
Per-fold stability. Figures 8 and 9 report per-fold PCC-M. On the three ST datasets, BCARP is highest in every fold, and the separation is most decisive on ST-Net [12], where it leads at all eight folds, by more than a factor of two at folds 0 and 7 and by a narrower margin elsewhere. The clearest exception is the HER2ST [1] folds corresponding to patients E and F (folds 4-5), where all methods drop sharply and BCARP's margin narrows; this points to specific tissue morphologies that remain difficult for every model rather than to instability of BCARP itself. On the HEST-1k cohorts the picture is more balanced and we


BCARP
STFlow
TRIPLEX
EGN
Figure 9. Per-fold PCC-M performance across the ten HEST-1k cohorts. Dashed lines mark each method's cohort mean.
Table 8. Refinement-depth ablation as relative change (%) of each metric with respect to the anchor .
| Dataset | Metric | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| HER2ST [1] | PCC-H↑ | +0.0 | +5.4 | +6.3 | +8.1 | +7.9 | +7.9 | +7.4 | +8.5 | +8.1 | +7.6 |
| PCC-M↑ | +0.0 | +5.7 | +6.1 | +7.8 | +7.5 | +7.5 | +7.4 | +8.4 | +7.7 | +7.4 | |
| MSE↓ | +0.0 | -6.8 | -2.0 | -5.1 | -5.7 | -2.3 | -2.5 | -7.4 | -3.9 | -3.8 | |
| MAE↓ | +0.0 | -4.2 | -0.7 | -1.9 | -2.5 | -1.0 | -1.4 | -3.7 | -1.6 | -1.7 | |
| RVD↓ | +0.0 | -14.3 | +18.4 | -12.6 | +1.7 | +7.1 | +11.6 | -11.7 | +7.9 | +10.2 | |
| Skin [18] | PCC-H↑ | +0.0 | +1.2 | +1.2 | +1.6 | +1.0 | +1.1 | +1.5 | +1.8 | +1.1 | +1.1 |
| PCC-M↑ | +0.0 | +0.7 | +0.6 | +0.7 | +0.2 | +0.2 | +1.1 | +0.8 | +0.3 | +0.3 | |
| MSE↓ | +0.0 | -5.5 | +24.8 | +29.4 | +29.0 | +28.2 | +0.8 | +31.9 | +27.3 | +29.4 | |
| MAE↓ | +0.0 | -3.9 | +9.9 | +13.0 | +12.7 | +12.3 | -0.5 | +14.4 | +11.5 | +13.0 | |
| RVD↓ | +0.0 | +14.1 | -8.7 | +9.8 | +3.5 | +11.7 | +12.5 | +15.5 | -0.2 | +10.2 | |
| ST-Net [12] | PCC-H↑ | +0.0 | -0.8 | -1.1 | -5.8 | +0.8 | +0.7 | -2.2 | -3.6 | -3.6 | -0.8 |
| PCC-M↑ | +0.0 | -1.2 | -1.4 | -4.9 | +0.3 | +0.1 | -2.7 | -3.4 | -3.7 | -1.0 | |
| MSE↓ | +0.0 | -6.2 | -4.4 | -3.1 | -2.8 | -1.0 | -4.9 | -0.8 | -3.5 | -3.3 | |
| MAE↓ | +0.0 | -3.3 | -2.3 | -1.5 | -1.5 | -0.7 | -2.6 | -0.5 | -2.1 | -1.8 | |
| RVD↓ | +0.0 | -1.4 | -0.9 | +0.9 | -4.4 | -2.7 | -0.2 | -0.3 | -2.8 | -0.8 | |
| Average | PCC-H↑ | +0.0 | +2.0 | +2.1 | +1.3 | +3.2 | +3.2 | +2.2 | +2.2 | +1.9 | +2.7 |
| PCC-M↑ | +0.0 | +1.8 | +1.8 | +1.2 | +2.7 | +2.6 | +1.9 | +1.9 | +1.4 | +2.2 | |
| MSE↓ | +0.0 | -6.2 | +6.1 | +7.1 | +6.8 | +8.3 | -2.2 | +7.9 | +6.6 | +7.4 | |
| MAE↓ | +0.0 | -3.8 | +2.3 | +3.2 | +2.9 | +3.5 | -1.5 | +3.4 | +2.6 | +3.2 | |
| RVD↓ | +0.0 | -0.6 | +2.9 | -0.6 | +0.3 | +5.4 | +7.9 | +1.2 | +1.6 | +6.5 |
Table 9. Sensitivity to the number of global prototype tokens on HER2ST. Mean Imp. denotes the mean sign-corrected relative improvement across the five metrics, where decreases in MSE, MAE, and RVD are counted as positive improvements.
| PCC-H↑ | PCC-M↑ | MSE↓ | MAE↓ | RVD↓ | Mean Imp.↑ | |
|---|---|---|---|---|---|---|
| 0 | 0.4586 | 0.4061 | 0.8538 | 0.7282 | 0.8123 | 0.00% |
| 5 | 0.4608 (+0.5%) | 0.4076 (+0.4%) | 0.8933 (+4.6%) | 0.7507 (+3.1%) | 0.7522 (-7.4%) | +0.11% |
| 10 | 0.4509 (-1.7%) | 0.3941 (-3.0%) | 0.8807 (+3.2%) | 0.7435 (+2.1%) | 0.9480 (+16.7%) | -5.32% |
| 25 | 0.4534 (-1.1%) | 0.4043 (-0.4%) | 0.9277 (+8.7%) | 0.7657 (+5.1%) | 0.8649 (+6.5%) | -4.37% |
| 50 | 0.4567 (-0.4%) | 0.4032 (-0.7%) | 0.8381 (-1.8%) | 0.7191 (-1.2%) | 0.7084 (-12.8%) | +2.95% |
| 100 | 0.4374 (-4.6%) | 0.3891 (-4.2%) | 0.8903 (+4.3%) | 0.7537 (+3.5%) | 0.7987 (-1.7%) | -2.98% |
| 200 | 0.4530 (-1.2%) | 0.3999 (-1.5%) | 0.8591 (+0.6%) | 0.7357 (+1.0%) | 0.8464 (+4.2%) | -1.72% |
report it as such: BCARP and STFlow trade the lead fold by fold, with STFlow ahead on HCC, PAAD, READ 1 and LUNG 0, and BCARP ahead on LYMPH_IDC, PRAD and most CCRCC folds. On IDC all four methods are within a narrow band and BCARP is not the strongest. BCARP's advantage on HEST-1k is therefore reflected in its aggregate cross-cohort performance rather than uniform dominance within individual cohorts, consistent with the mean-rank comparison in Table 5 of the main paper.
Computational cost. Table 7 reports three quantities measured under distinct conditions. Trainable parameters count only those updated by the optimiser and exclude the frozen encoder on which most methods depend. End-to-end latency covers the full inference path, encoder forward pass included, measured on a representative HER2ST section containing N = 712 spots. Peak memory is the maximum allocator high-water mark observed over a single training epoch across the evaluated datasets. For methods using frozen UNI embeddings, the shared encoder dominates end-to-end latency. Against the 1.28 s per-slide cost of UNI+Ridge, BCARP adds only 0.09 s, while the most expensive UNI-based heads add approximately 0.3 s. Since UNI embeddings can be extracted once and cached, this shared cost is amortized during training. M2OST does not use a separate frozen UNI encoder and therefore has the lowest measured end-to-end latency, but it incurs the largest peak memory footprint. BCARP remains within the same memory range as the other embedding-based heads while training fewer parameters than mclSTExp, TRIPLEX, and EGN.
Sensitivity to the number of global prototype tokens. Table 9 varies , taking , a prototype-free global stage that retains spot-level self-attention, as the reference. The response is not monotonic. Correlation peaks at a very small number of tokens: gives the best PCC-H and PCC-M, and both are marginally above the prototype-free baseline, which indicates that the prototype-guided component contributes only modestly to correlation on HER2ST. Its contribution is concentrated instead in variance fidelity, where reduces RVD by 12.8% relative to the baseline, the largest single improvement in the table, while also being the only setting that improves both absolute-error metrics. Aggregated over the five metrics, is the only configuration with a clearly positive mean improvement (+2.95%) and we adopt it as the default. We note that four of the six non-zero token budgets score below the prototype-free baseline, so the benefit of prototype-guided propagation is token-budget dependent rather than monotonic in .
Sensitivity to the nuclei-analysis backend. The neighborhood-composition and cell-type targets of Equation (30) depend on an off-the-shelf nuclei segmentation model. To check our conclusions, we regenerate both targets with CellViT [15] and retrain BCARP on HER2ST (Table 6). All other settings are identical and only the pseudo-label generator changes. The two sources give closely comparable results, and the differences do not point uniformly in one direction: CellViT is slightly better on the correlation metrics and on RVD, while HoVer-Net [9] is better on both absolute-error metrics. The CellViT experiment is therefore used as a post-hoc robustness check rather than for model selection. Since the two backends yield comparable downstream performance without a consistent winner across metrics, we retain HoVer-Net for consistency with all main experiments. These results indicate that BCARP's HER2ST performance is not highly sensitive to the choice between the two tested nuclei-analysis backends, although broader cross-tissue robustness remains to be studied.
Table 10. Detailed cross-validation splits by fold. For HER2ST, Skin and ST-Net, test partitions are identified by patient; all sections from a patient are assigned exclusively to the training or the test partition. For the HEST-1k cohorts we adopt the official patient-grouped folds released with the benchmark and identify test partitions by HEST slide ID.
| Dataset | Fold | Test partition | Train slides | Test slides | Train spots / Test spots |
|---|---|---|---|---|---|
| ST datasets | |||||
| HER2ST [1] | 0 | A | 30 | 6 | 11,555 / 2,065 |
| 1 | B | 30 | 6 | 11,908 / 1,712 | |
| 2 | C | 30 | 6 | 12,534 / 1,086 | |
| 3 | D | 30 | 6 | 11,787 / 1,833 | |
| 4 | E | 33 | 3 | 11,891 / 1,729 | |
| 5 | F | 33 | 3 | 11,522 / 2,098 | |
| 6 | G | 33 | 3 | 12,249 / 1,371 | |
| 7 | H | 33 | 3 | 11,894 / 1,726 | |
| Skin [18] | 0 | P10_rep | 9 | 3 | 6,980 / 1,691 |
| 1 | P2_rep | 9 | 3 | 6,721 / 1,950 | |
| 2 | P5_rep | 9 | 3 | 7,039 / 1,632 | |
| 3 | P9_rep | 9 | 3 | 5,273 / 3,398 | |
| ST-Net [12] | 0 | BC23209 C/D, BC23377 C/D, BC23901 C/D | 60 | 8 | 27,215 / 3,412 |
| 1 | BC23268 C/D, BC23450 D/E, BC23903 C/D | 59 | 9 | 26,896 / 3,731 | |
| 2 | BC23269 C/D, BC23506 C/D, BC23944 D/E | 59 | 9 | 26,616 / 4,011 | |
| 3 | BC23270 D/E, BC23508 D/E, BC24044 D/E | 59 | 9 | 26,598 / 4,029 | |
| 4 | BC23272 D/E, BC23567 D/E, BC24105 C/D | 59 | 9 | 26,248 / 4,379 | |
| 5 | BC23277 D/E, BC23803 D/E, BC24220 D/E | 59 | 9 | 26,587 / 4,040 | |
| 6 | BC23287 C/D, BC23810 D/E, BC24223 D/E | 59 | 9 | 26,490 / 4,137 | |
| 7 | BC23288 D/E, BC23895 C/D | 62 | 6 | 27,739 / 2,888 | |
| HEST-1k cohorts | |||||
| SKCM | 0 | TENX117 | 1 | 1 | 1,741 / 1,293 |
| 1 | TENX115 | 1 | 1 | 1,293 / 1,741 | |
| LUNG | 0 | TENX141 | 1 | 1 | 1,944 / 3,262 |
| 1 | TENX118 | 1 | 1 | 3,262 / 1,944 | |
| PAAD | 0 | TENX116 | 2 | 1 | 5,561 / 2,010 |
| 1 | TENX140 | 2 | 1 | 3,961 / 3,610 | |
| 2 | TENX126 | 2 | 1 | 5,620 / 1,951 | |
| READ | 0 | ZEN48, ZEN49 | 2 | 2 | 3,819 / 4,588 |
| 1 | ZEN36, ZEN40 | 2 | 2 | 4,588 / 3,819 | |
| COAD | 0 | TENX147-TENX149 | 1 | 3 | 5,079 / 10,572 |
| 1 | TENX111 | 3 | 1 | 10,572 / 5,079 | |
| LYMPH_IDC | 0 | NCBI684 | 3 | 1 | 14,972 / 4,992 |
| 1 | NCBI683 | 3 | 1 | 14,972 / 4,992 | |
| 2 | NCBI682 | 3 | 1 | 14,976 / 4,988 | |
| 3 | NCBI681 | 3 | 1 | 14,972 / 4,992 | |
| CCRCC | 0 | INT13-INT15, INT24 | 20 | 4 | 55,849 / 18,371 |
| 1 | INT9-INT12 | 20 | 4 | 67,651 / 6,569 | |
| 2 | INT6-INT8, INT23 | 20 | 4 | 63,464 / 10,756 | |
| 3 | INT2-INT5 | 20 | 4 | 67,098 / 7,122 | |
| 4 | INT1, INT20-INT22 | 20 | 4 | 59,472 / 14,748 | |
| 5 | INT16-INT19 | 20 | 4 | 57,566 / 16,654 | |
| IDC | 0 | TENX99 | 3 | 1 | 14,775 / 20,761 |
| 1 | TENX95 | 3 | 1 | 27,776 / 7,760 | |
| 2 | NCBI785 | 3 | 1 | 31,526 / 4,010 | |
| 3 | NCBI783 | 3 | 1 | 32,531 / 3,005 | |
| PRAD | 0 | MEND154, MEND156-MEND162 | 15 | 8 | 36,819 / 25,891 |
| 1 | MEND139-MEND153 | 8 | 15 | 25,891 / 36,819 | |
| HCC | 0 | NCBI643 | 1 | 1 | 1,941 / 2,255 |
| 1 | NCBI642 | 1 | 1 | 2,255 / 1,941 | |
KRT14
BCARP (ours)
STFlow
TRIPLEX
EGN

PCC = 0.82
PCC = 0.76
PCC = 0.56
PCC = 0.34
PCC = 0.34
KRT10

PCC = 0.33
PCC = 0.36
PCC = 0.39
PCC = 0.35
PCC = 0.35
FLG

PCC = 0.23
PCC = 0.11
PCC = 0.55
PCC = 0.15
PCC = 0.15
Figure 10. Qualitative comparison of predicted expression for three marker genes on Skin sample P2_rep3.
KRT14
BCARP (ours)
STFlow
TRIPLEX
EGN

PCC = 0.44
PCC = 0.36
PCC = 0.31
PCC = 0.28
KRT10
PCC = 0.39
PCC = 0.18
PCC = 0.48
PCC = 0.24
FLG
PCC = 0.37
PCC = 0.19
PCC = 0.38
PCC = 0.18
Figure 11. Qualitative comparison of predicted expression for three marker genes on Skin sample P5_rep2.
KRT14
BCARP (ours)
STFlow
TRIPLEX
EGN

PCC = 0.48
PCC = 0.41
PCC = -0.09
PCC = -0.02
PCC = -0.02
KRT10

PCC = 0.71
PCC = 0.29
PCC = 0.10
PCC = -0.02
PCC = -0.02
FLG

PCC = 0.52
PCC = 0.11
PCC = 0.40
PCC = 0.29
PCC = 0.29
Figure 12. Qualitative comparison of predicted expression for three marker genes on Skin sample P10_rep2