cs.LGSep 23, 2026

SpaFactor: Lightweight Spatial Context-Aware Gene Program Modeling for Histology-to-Transcriptomics Inference

Authors: Shiting Ruan, Xitong Ling, Qiming He, Ziyou Yan, Huaitian Yuan, Tian Guan, Ying Xiao, Xu Guan, +1 more

Organizations: Shenzhen International Graduate School, Tsinghua University, Shenzhen, China · Fuzhou University, Fuzhou, Fujian, China · Beijing Tsinghua Changgung Hospital, School of Clinical Medicine, Tsinghua University, Beijing, China · Chinese Academy of Medical Sciences and Peking Union Medical College, Beijing, China

Abstract

Spatial transcriptomics (ST) profiles gene expression within tissue architecture, but its cost and experimental complexity limit routine use. Predicting spatial expression from routinely available hematoxylin and eosin (HE) images therefore offers a scalable alternative. However, conventional methods often fit high-dimensional gene outputs as independent targets, overlooking the biological coordination among genes while remaining vulnerable to high-dimensional noise and overfitting. Existing attempts to address this limitation often rely on computationally heavy graph networks or complex auxiliary supervision. We therefore introduce SpaFactor, a lightweight and efficient low-rank morphology-program-gene factorization framework. At the input, SpaFactor efficiently fuses the visual representation of the central spot with multiscale local and regional neighborhood context, yielding a histologic representation that captures cellular morphology and microenvironmental heterogeneity. For modeling, a residual MLP stably learns a nonlinear mapping from the tissue microenvironment to low-dimensional latent gene programs. These activities are decoded through shared gene loadings into coordinated multi-gene expression predictions. Across five public cohorts, SpaFactor achieves the best aggregate performance, with particularly clear improvements for spatially variable genes, and more faithfully recovers biologically organized spatial patterns. These results demonstrate that lightweight joint modeling of tissue context and gene programs can improve both predictive accuracy and biological fidelity.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. HistoGPA: A Context-Conditioned Gene-Prior Attention Framework for Histology-Based Spatial Gene Expression Prediction

    Jul 27, 2026Ziang Liu, Xinhai Chen, Yigui Feng +3Spatial TranscriptomicsDigital Pathology

  2. COAST: Context-Aware Differential Learning for Gene Expression Prediction in Spatial Transcriptomics

    Jul 10, 2026Keunho Byeon, Sunhong Park, Jeewoo Lim +1Spatial TranscriptomicsTranscriptomics

  3. DriftST: One-Step Generative Inference of Spatial Transcriptomics from H&E Histology

    Jul 6, 2026Yuhang Yang, Yonggan Bu, Shengyuan Zhou +2Spatial TranscriptomicsDigital Pathology