Spatial histology and gene-expression representation and generative learning via online self-distillation contrastive learning

Spatial transcriptomics quantifies spatial molecular profiles alongside histology, enabling computational prediction of spatial gene expression distribution directly from whole slide images. Inspired by image-to-text alignment and generation, we introduce Magic, a self-training contrastive learning model designed for histology-to-gene expression prediction. Magic (i) employs contrastive learning to derive shared embeddings for histology and gene expression while utilizing a momentum-based module to generate pseudo-targets to reduce the impact of noise; and (ii) leverages a transformer-based decoder to predict the expression of 300 genes based on histological features. Trained on 75 760 spots from 56 breast cancer slices and validated on 11 026 spots from five independent slices, Magic outperforms existing methods in aligning and generating histology-gene expression data, achieving a 10% improvement over the second-best approach. Furthermore, Magic demonstrates robust generalization, effectively predicting gene expression in colorectal cancer samples and The Cancer Genome Atlas (TCGA) datasets through zero-shot learning. Notably, Magic's predicted gene expression captures interpatient differences, highlighting its strong potential for clinical applications.

Authors

Institutions

Publication Details

Journal
Briefings in Bioinformatics
Published
2025-07-01
DOI
https://doi.org/10.1093/bib/bbaf317
Citations
6
Primary Topic
Single-cell and spatial transcriptomics
Type
article
Field-Weighted Citation Impact
4.84

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Spatial histology and gene-expression representation and generative learning via online self-distillation contrastive learning

Yaochen Xu, Jingsong Zhang, Chunman Zuo, Xuan Li et al.
6 citations
Briefings in Bioinformatics
Single-cell and spatial transcriptomics
4.84
article

Spatial histology and gene-expression representation and generative learning via online self-distillation contrastive learning

Yaochen Xu, Jingsong Zhang, Chunman Zuo, Xuan Li, Jianhui Rong, Fufang Qiu, Pingting Gao, Qiyang Yan, Jiangnan Cui
article en
6 citations

Abstract

Spatial transcriptomics quantifies spatial molecular profiles alongside histology, enabling computational prediction of spatial gene expression distribution directly from whole slide images. Inspired by image-to-text alignment and generation, we introduce Magic, a self-training contrastive learning model designed for histology-to-gene expression prediction. Magic (i) employs contrastive learning to derive shared embeddings for histology and gene expression while utilizing a momentum-based module to generate pseudo-targets to reduce the impact of noise; and (ii) leverages a transformer-based decoder to predict the expression of 300 genes based on histological features. Trained on 75 760 spots from 56 breast cancer slices and validated on 11 026 spots from five independent slices, Magic outperforms existing methods in aligning and generating histology-gene expression data, achieving a 10% improvement over the second-best approach. Furthermore, Magic demonstrates robust generalization, effectively predicting gene expression in colorectal cancer samples and The Cancer Genome Atlas (TCGA) datasets through zero-shot learning. Notably, Magic's predicted gene expression captures interpatient differences, highlighting its strong potential for clinical applications.

Briefings in BioinformaticsVol. 26(4)
Shanghai Medical College of Fudan University (CN), Sun Yat-sen University (CN), Second Military Medical University (CN), Donghua University (CN), Jilin University (CN), Chinese Academy of Sciences (CN), Fudan University (CN), Center for Excellence in Molecular Cell Science (CN), Zhongshan Hospital (CN), Jilin Province Science and Technology Department (CN), Huashan Hospital (CN)
National Natural Science Foundation of China
Openalex Percentile: Top 5%
Single-cell and spatial transcriptomics
4.84
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.