Related Experiment Video
Updated: Sep 16, 2025

Temporal Ordering of Dynamic Expression Data from Detailed Spatial Expression Maps
Published on: February 9, 2017
Spatial histology and gene-expression representation and generative learning via online self-distillation contrastive
Qianyi Yan1,2, Xuan Li3, Jiangnan Cui2
1School of Life Sciences, Sun Yat-sen University, No. 135, Xingang West Road, Haizhu District, Guangzhou 510275, Guangdong Province, China.
None:
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.
Related Concept Videos
Observational Learning
Introduction to Learning
In contrast to learned behaviors, unlearned behaviors such as crying, sexual...
Generalization, Discrimination, and Extinction
Generalization occurs when a behavior reinforced in one context is performed in similar situations. For instance, a student who studies diligently for calculus and receives excellent grades might apply the same study habits to psychology and history, expecting similar results. Generalization shows how learning in one setting can influence behavior in...
Associative Learning
Classical conditioning, also known...
Improving Translational Accuracy
