Cross-Slice Knowledge Transfer via Masked Multi-Modal Heterogeneous Graph Contrastive Learning for Spatial Gene Expression Inference
Zhiceng ShiCWChangmiao WangJWJun WanWMWenwen Min
Zhiceng Shi
CWChangmiao Wang
JWJun Wan
WMWenwen Min
+4
SpaHGC is a multi-modal heterogeneous graph model that infers spatial gene expression from pathology images by capturing both intra-slice and cross-slice spot-spot relationships. It uses a pathology foundation model to extract image embeddings that enable cross-slice similarity and knowledge transfer. Masked graph contrastive learning enhances feature representation and transfers spatial gene expression knowledge from reference to target slides. Benchmarked on seven datasets from different platforms, tissues, and cancer subtypes, SpaHGC significantly outperforms nine state-of-the-art methods across all evaluation metrics, and its predictions are enriched in cancer-related pathways, demonstrating biological relevance.

arXiv ·
· March 24, 2026