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

Qi Si, Penglei Wang, Yushuai Wu, Yifeng Jiao, Xuyang Liu +3 more
5/18/2026
3 citations
cs.LGcs.AI
diffusion-flow

Official code: darkflash03/FLAG (4 stars, Python, last commit 2026-06-10).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

darkflash03/FLAGOfficial100%

Official repository for “FLAG: Foundation model representation with Latent diffusion Alignment via Graph for spatial gene expression prediction”, accepted at ICML 2026.

41Python, Jupyter NotebookMay 12, 20265 months ago

Similar Papers

Cite this paper

@article{si2026flag,
  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},
  year   = {2026},
  eprint = {2605.18055},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.18055v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.18055.svg)](https://codeofpaper.com/paper/2605.18055)

Discussion