GeneFlow: A gene expression profile generation model
1 min readupdated
GeneFlow predicts spatially resolved gene expression from histological images using flow matching. The system combines built-in histological representations, a gene tokenizer, and a Diffusion Transformer (DiT) architecture to create virtual expression profiles. The repository contains a set of pre-trained checkpoints for various cohorts, including panels for 1,000 and over 11,000 genes. The model will be useful for researchers in bioinformatics and spatial biology.
Key features
- Generate virtual gene expression profiles from tissue images
- Support for large gene panels, including versions with 1,000, 3,000, and 11,871 genes
- Use of Diffusion Transformer architecture and UNI/CONCH embeddings
- Ready-to-use checkpoints and configuration files for multiple HEST cohorts
What you can do
- Apply pre-trained checkpoints for inference and gene expression prediction on new slides
- Train the model on your own data using PyTorch Distributed Data Parallel
- Evaluate results using an included Jupyter notebook to calculate Pearson Correlation Coefficient (PCC) and Mean Squared Error (MSE) metrics
Read more
DetailsArchitecture: Diffusion Transformer (DiT) backbone
Training: PyTorch Distributed Data Parallel
License: CC BY-NC 4.0










Comments