MollFlow: Learning Spatially Resolved Inference from H&E Images with Mollified Flow Matching
Abstract
Spatially resolved gene expression inference aims to predict local transcriptomic profiles from histopathological images, offering a computationally scalable complement to experimental spatial transcriptomics. However, substantial distributional discrepancies between histological morphology and transcriptomic profiles, together with the limited throughput of spatial transcriptomics technologies, pose significant challenges to accurate inference. Existing methods often struggle to align these heterogeneous modalities and adequately capture the diversity of gene expression patterns, resulting in incomplete distributional coverage. Here, we propose MollFlow, a novel generative framework that integrates image-informed initialization with stochastic flow matching for gene expression inference. MollFlow constructs an expression prior from Hematoxylin and Eosin stained histology image features and learns a transport process that refines this prior toward the target expression distribution. To address the challenges of cross-modal coupling, we further adopt a boundary mollification strategy that facilitates broader exploration of intermediate expression states during stochastic transport without imposing overly restrictive transport trajectories. This formulation accommodates heterogeneous expression patterns while mitigating boundary degeneracy in the interpolation process. Extensive experiments across multiple tissue datasets demonstrate improved predictive correlations over representative baselines, together with substantial inference-time reductions relative to the evaluated diffusion method.