MoLF: Mixture-of-Latent-Flow for Pan-Cancer Spatial Gene Expression Prediction from Histology
Susu Hu, Stefanie Speidel
TL;DR
MoLF introduces a pan-cancer, histology-to-spatial gene expression predictor by coupling a Transformer-based VAE that learns a latent gene manifold with a conditional flow-matching model whose velocity field is expressed via a Mixture-of-Experts. The MoE routing decouples heterogeneous tissue signals, enabling efficient multimodal generation and robust cross-cancer generalization, including zero-shot cross-species transfer. Empirical results on the HEST-1k pan-cancer benchmark show state-of-the-art performance across highly variable genes and Hallmark pathways, with ablations confirming the importance of the MoE architecture and spatial encoding. The work demonstrates that decomposing histology into reusable morphological primitives via specialized experts yields improved generative alignment and generalization in histogenomics.
Abstract
Inferring spatial transcriptomics (ST) from histology enables scalable histogenomic profiling, yet current methods are largely restricted to single-tissue models. This fragmentation fails to leverage biological principles shared across cancer types and hinders application to data-scarce scenarios. While pan-cancer training offers a solution, the resulting heterogeneity challenges monolithic architectures. To bridge this gap, we introduce MoLF (Mixture-of-Latent-Flow), a generative model for pan-cancer histogenomic prediction. MoLF leverages a conditional Flow Matching objective to map noise to the gene latent manifold, parameterized by a Mixture-of-Experts (MoE) velocity field. By dynamically routing inputs to specialized sub-networks, this architecture effectively decouples the optimization of diverse tissue patterns. Our experiments demonstrate that MoLF establishes a new state-of-the-art, consistently outperforming both specialized and foundation model baselines on pan-cancer benchmarks. Furthermore, MoLF exhibits zero-shot generalization to cross-species data, suggesting it captures fundamental, conserved histo-molecular mechanisms.
