cs.CVOct 20, 2026

HistoLoop: Iterative Contextual Inference with a Looped Transformer for Histology-Based Spatial Gene Expression Prediction

Authors: Ziang Liu, Jie Liu, Shuai Li, Yigui Feng, Qinglin Wang

Organizations: Laboratory of Digitizing Software for Frontier Equipment, National University of Defense Technology · National Key Laboratory of Parallel and Distributed Computing, National University of Defense Technology · College of Computer Science and Technology, National University of Defense Technology, Changsha 410073, China

Abstract

Predicting spatial gene expression from H&E images offers a scalable complement to experimental spatial transcriptomics. However, despite progress in spatial context modeling, how to construct subsequent context from spot states updated by earlier contextual interactions remains underexplored. We introduce HistoLoop, a looped Transformer that formulates prediction as iterative contextual inference. At each refinement step, HistoLoop aggregates the current spot states into context tokens at the corresponding resolution, processes them with a shared spatial Transformer, and retrieves spot-specific contextual information through cross-attention. A memory-mediated update integrates this information into persistent spot states, which are then used to construct context at the next, finer resolution. Under the HEST-Bench HVG50 evaluation protocol, HistoLoop achieves the highest macro-averaged gene-wise Pearson correlation among the compared methods across six cancer-specific tasks spanning five organs in HEST-1K. Ablation studies support the importance of recurrent state refinement and reconstructing context from updated spot states at progressively finer resolutions. Expression-derived clustering further suggests that HistoLoop better captures spatially organized multigene patterns.

Figures & tables

Explore similar work

CardsList
  1. MIST: Multi-Scale Spatial Context for Gene Expression Prediction from Histology

    Oct 13, 2026Koushik Howlader, Tirtho Roy, Md Tauhidul Islam +1Spatial Context ModelingSpatial Gene Expression Prediction

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

    Jul 27, 2026Ziang Liu, Xinhai Chen, Yigui Feng +3Computational PathologySpatial Transcriptomics

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

    Oct 26, 2026Vu Van An, Long D. Nguyen, Ho Viet Duc Luong +1Spatial Gene Expression PredictionGene Expression Prediction from Histopathology Images