English

FLAG: Foundation model representation with Latent diffusion Alignment via Graph for spatial gene expression prediction

Machine Learning 2026-05-19 v1 Artificial Intelligence

Abstract

Predicting spatial gene expression from routine H\&E enables large-scale molecular profiling, yet current models treat this as isolated pointwise tasks, thereby overlooking essential biological structures like gene coordination and spatial distribution. To preserve these relationships, we introduce \textbf{FLAG}, a diffusion-based framework that redefines this task as structured distribution modeling. At the same time, we identify the critical \textbf{Gene Dimension Curse}, where joint modeling gene expression and their spatial interactions fail in high-dimensional spaces, and FLAG solves this challenge by integrating a spatial graph encoder for topological consistency and utilizing Gene Foundation Model (GFM) alignment for gene-gene fidelity in the generation process. To rigorously assess model performance, we propose a set of novel structural evaluation metrics, including Gene Structural Correlation (\textbf{GSC}) and Spatial Structural Correlation (\textbf{SSC}). Our experiments demonstrate that FLAG is highly competitive in traditional accuracy (PCC/MSE) while achieving significantly enhanced structural fidelity in capturing both gene-gene and gene-spatial relationships. The code is available at https://github.com/darkflash03/FLAG.

Keywords

Cite

@article{arxiv.2605.18055,
  title  = {FLAG: Foundation model representation with Latent diffusion Alignment via Graph for spatial gene expression prediction},
  author = {Qi Si and Penglei Wang and Yushuai Wu and Yifeng Jiao and Xuyang Liu and Xin Guo and Yuan Qi and Yuan Cheng},
  journal= {arXiv preprint arXiv:2605.18055},
  year   = {2026}
}

Comments

9 pages for main text, 3 pages for references, 19 pages for appendix. accepted by ICML 2026