Search papers, labs, and topics across Lattice.
This study introduces HistoGPA, a novel context-conditioned gene-prior attention framework that enhances spatial gene expression prediction from H&E images by integrating local morphological features with context-adapted gene embeddings. By employing a dual-pathway architecture that modulates local features and retrieves gene-prior information through cross-attention, HistoGPA effectively tailors gene predictions to the specific tissue context. The framework outperforms existing methods across ten cancer types, achieving the highest macro-averaged Pearson correlation coefficients for both top-50 and top-1,500 gene sets, thereby underscoring the importance of context in histology-based predictions.
Contextualizing gene priors with local morphology boosts prediction accuracy, revealing a significant link between tissue context and gene expression.
Predicting spatial gene expression from routine hematoxylin and eosin (H&E) images provides a practical complement to experimental spatial transcriptomics. Existing approaches focus on local or multi-scale visual features and often treat pretrained gene representations as fixed priors, although the interpretation of local morphology and the relevance of gene priors depend on tissue context. We propose HistoGPA, a context-conditioned gene-prior attention framework that uses a shared slide-level representation in two parallel pathways: one modulates local morphological features, whereas the other conditions pretrained gene embeddings and retrieves gene-prior information through cross-attention. This design enables each spatial location to retrieve context-adapted gene-prior information using its local morphology, position, and slide context. Across ten cancer types in HEST-1k, HistoGPA achieves the highest macro-averaged gene-wise Pearson correlation coefficient among the compared methods under the same evaluation protocol for both the top-50 and top-1,500 highly variable gene sets. Additional analyses show that HistoGPA better recovers the spatial expression patterns of cancer-associated genes and yields greater agreement between clusters derived independently from predicted and ground-truth expression profiles. Together, these findings motivate a context-dependent view of histology-to-expression prediction, in which local morphological representations and gene priors are jointly adapted to the broader tissue context.