ICML 2026 · Research project

MoLF: Mixture-of-Latent-Flow

Pan-Cancer Spatial Gene Expression Prediction from Histology

Susu Hu1,2,3,4 Stefanie Speidel1,2,3,4
1National Center for Tumor Disease Dresden (NCT), Germany 2German Cancer Research Center (DKFZ) 3Dresden University of Technology, Germany 4Helmholtz-Zentrum Dresden-Rossendorf (HZDR), Germany

TL;DR

We introduce MoLF (Mixture-of-Latent-Flow), a generative model for scalable pan-cancer histogenomics. By leveraging a Mixture-of-Experts (MoE) velocity field within a conditional Flow Matching framework, MoLF effectively decouples diverse tissue patterns. It establishes a new state-of-the-art performance, and demonstrates robust zero-shot generalization to cross-species data.

Overview of Framework

MoLF (Mixture-of-Latent-Flow) Overview View full size ↗

Motivation & Method

Experiments & Results

State-of-the-Art Performance

We evaluated MoLF on the HEST-1k pan-cancer benchmark. Our results show that MoLF consistently outperforms current state-of-the-art methods:

  • Highly Variable Genes (HVG): Achieves highest predictive correlation across distinct cancer types.
  • Hallmark Pathways: Superior performance across Low, Mid, and High variance gene tiers.

Table 2 · PCC ↑Top-50 highly variable genes across 10 cancer types

Cancer Type MLP STPath STFlow STEM MoLF (ours)
CCRCC 0.194 ± 0.012 0.117 ± 0.001 0.128 ± 0.037 0.096 ± 0.028 0.231 ± 0.065
COAD 0.343 ± 0.114 0.393 ± 0.185 0.310 ± 0.002 0.235 ± 0.076 0.406 ± 0.167
HCC 0.064 ± 0.045 0.094 ± 0.052 0.081 ± 0.047 0.052 ± 0.015 0.101 ± 0.045
IDC 0.561 ± 0.125 0.629 ± 0.126 0.518 ± 0.078 0.376 ± 0.095 0.628 ± 0.124
LUNG 0.507 ± 0.030 0.518 ± 0.028 0.465 ± 0.040 0.235 ± 0.001 0.525 ± 0.041
LYMPH_IDC 0.217 ± 0.071 0.182 ± 0.075 0.189 ± 0.045 0.079 ± 0.020 0.245 ± 0.060
PAAD 0.407 ± 0.122 0.493 ± 0.100 0.416 ± 0.122 0.283 ± 0.151 0.460 ± 0.084
PRAD 0.335 ± 0.065 0.257 ± 0.012 0.227 ± 0.005 0.197 ± 0.074 0.348 ± 0.003
READ 0.264 ± 0.040 0.280 ± 0.030 0.226 ± 0.056 0.168 ± 0.013 0.275 ± 0.045
SKCM 0.515 ± 0.104 0.588 ± 0.113 0.557 ± 0.087 0.237 ± 0.139 0.606 ± 0.127
Average 0.341 ± 0.160 0.361 ± 0.072 0.312 ± 0.168 0.196 ± 0.004 0.382 ± 0.173

Mean ± standard deviation. Higher PCC is better; best result in bold. Source: paper, Table 2 ↗

Table 3 · PCC ↑Variance-stratified Hallmark genes

Model Low-Var ↑ Mid-Var ↑ High-Var ↑ Overall Avg. ↑
MLP 0.225 ± 0.028 0.144 ± 0.018 0.145 ± 0.143 0.171 ± 0.045
STFlow 0.158 ± 0.011 0.100 ± 0.007 0.107 ± 0.003 0.122 ± 0.029
STPath 0.177 ± 0.016 0.113 ± 0.011 0.137 ± 0.013 0.143 ± 0.031
MoLF (Ours) 0.242 ± 0.003 0.159 ± 0.001 0.167 ± 0.006 0.185 ± 0.002

Mean ± standard deviation. Higher PCC is better; best result in bold. Source: paper, Table 3 ↗

Mechanism Validation: Synthetic 8-Gaussian

To isolate inductive bias, we compared MoLF against a dense baseline on a synthetic 8-Gaussian distribution.

The Dense Baseline (Right) suffers from severe averaging artifacts due to shared parameterization.

In contrast, MoLF (Left) mitigates these artifacts by routing inputs to specialized experts, achieving significantly sharper mode separation.

Synthetic Gaussian Experiment

MoLF (Sharper Modes) vs. Dense Baseline (Artifacts) View full size ↗

Geometric Analysis of Generative Transport

We first visualize the global manifold alignment. The initial Gaussian noise (red, left) is transported in a single ODE step to a structured manifold (red, right) that well aligns with the ground truth gene distribution (blue). This confirms the model successfully approximates the target distribution.

Macro-scale Manifold Alignment

Macro-scale Manifold Alignment View full size ↗

At a finer granularity, tracing individual patch trajectories demonstrates micro-scale precision. The model learns specific paths transporting random noise to the correct target gene expression, effectively solving the conditional optimal transport problem.

Micro-scale Patch Trajectories

Micro-scale Trajectory Analysis View full size ↗

Expert Specialization Analysis

The UMAP visualization below shows latent gene embeddings colored by cancer type (Left) and by the active Expert (Right).

Notably, experts are not segregated by cancer type (e.g., there is no single "Lung Cancer Expert"). Instead, they work collaboratively, with multiple experts contributing to different regions of the latent space across all tissues. This allows MoLF to learn shared biological motifs rather than overfitting to specific datasets. Crucially, this strategy ensures that collaborative experts adapt to new cancer types better than rigid cancer specialists, as they can flexibly recombine learned biological primitives to characterize unseen tissues.

Expert Specialization UMAP

Distributed Expert Strategy View full size ↗

Zero-shot Cross-species Generalization

We evaluated MoLF on a zero-shot task: training on human data and testing on the HEST1k Mouse Melanoma dataset.

The Pan-Cancer MoLF significantly outperforms the tissue-aligned baseline. This validates our core hypothesis: the diversity of the pan-cancer dataset forces the Mixture-of-Experts to decompose visual signals into fundamental biological primitives. By learning these reusable, invariant motifs, MoLF maintains predictive stability even across species barriers.

Table 5 · PCC ↑Zero-shot transfer to mouse melanoma

Model PCC ↑
MLP 0.145 ± 0.009
STPath 0.090 ± 0.000
STFlow 0.126 ± 0.023
MoLF - Skin Cancer Only 0.127 ± 0.047
MoLF (Ours) 0.202 ± 0.001

Mean ± standard deviation. Higher PCC is better; best result in bold. Source: paper, Table 5 ↗

BibTeX

@article{hu2026molf,
  title={MoLF: Mixture-of-Latent-Flow for Pan-Cancer Spatial Gene Expression Prediction from Histology},
  author={Hu, Susu and Speidel, Stefanie},
  journal={Proceedings of the 43rd International Conference on Machine Learning (ICML)},
  url={https://arxiv.org/abs/2602.02282},
  year={2026}
}