Abstract
Tissue microenvironments reprogram local cellular states in disease, yet current computational spatial methods remain descriptive and do not simulate tissue perturbation. We present MintFlow, a generative AI algorithm that learns how the tissue microenvironment influences cell states and predicts how tissue perturbations can reprogram them. Applied to three human diseases, MintFlow uncovered distinct pathogenic spatial reprogramming in inflammatory and tumor microenvironments. In atopic dermatitis, MintFlow identified a novel, spatially-imprinted, type 2 (IL13+ITGAE+) epidermal T resident memory cell population (type 2 TRM). In melanoma, it identified fibrotic stroma resembling keloid scar tissue, and in kidney cancer, it resolved immunosuppressed CD8+ T cell states. Furthermore, MintFlow enabled in silico perturbations, predicting that regulatory T cell modulation or macrophage depletion could revert pro-inflammatory or immunosuppressed states. These findings position MintFlow as a tool for unbiased disease mechanism prediction and in silico perturbation, accelerating translational hypothesis generation.
Introduction
Spatial transcriptomics has revolutionized biology by mapping gene expression within tissues. However, most current tools are purely descriptive; they identify where cells are, but not necessarily why they behave in specific ways. A major challenge in precision medicine is distinguishing between a cell's intrinsic state (its lineage-defined identity) and its microenvironment-induced state (changes driven by neighboring cells). Current methods often fail to separate these signals or lack the ability to simulate "what-if" scenarios, such as predicting how a tissue would respond if a specific immune-suppressing cell type were depleted.
Methods: The MintFlow Framework
MintFlow is a deep generative model built on flow matching, an efficient alternative to diffusion models for modeling complex biological distributions. The framework is designed to disentangle gene expression into two distinct components: intrinsic signals (conditioned on cell type) and microenvironment-induced signals (conditioned on the composition of neighboring cells).
Key technical innovations include:
- Disentangled Latent Space: A multi-stage encoder separates intrinsic and spatial input signals.
- Identifiability: A mathematical framework ensures the model recovers true underlying biological signals rather than statistical noise.
- In Silico Perturbation: By learning the relationship between a neighborhood and a cell's state, researchers can virtually alter the neighborhood (e.g., remove specific cell types) to predict the resulting gene expression changes.
- Scalability: Using inductive graph learning, MintFlow can process datasets containing millions of cells across multiple tissue sections.
Results and Key Insights
Benchmarking Performance
MintFlow was validated against existing spatial modeling tools such as SIMVI and MEFISTO using simulated and real-world datasets. In benchmarking tests measuring Earth Mover's Distance (EMD), Mean Absolute Error (MAE), and Mean Squared Error (MSE), MintFlow significantly outperformed other methods in accurately predicting induced gene expression profiles.
Biological Discoveries
- Melanoma "Keloid" Shield: MintFlow identified a fibrotic stroma in melanoma resembling keloid scar tissue. This environment uses a CXCL12-CXCR4 signaling axis to physically and chemically exclude T cells from the tumor.
- Spatial Imprinting in Skin: In atopic dermatitis, the model confirmed that certain pathogenic T cell states are "spatially imprinted," acquiring inflammatory profiles only upon entering specific hotspots in the superficial dermis.
- Clinical Correlation: Gene programs identified by MintFlow in kidney cancer (ccRCC), specifically at the borders of tertiary lymphoid structures, were significantly associated with worse patient survival in large validation cohorts (e.g., TCGA).
Virtual Cell Therapy and Perturbation
MintFlow allows for computational "proof-of-concept" experiments. In atopic dermatitis, simulating the addition of regulatory T cells (Treg augmentation) predicted a downregulation of pro-inflammatory markers in neighboring cells. In kidney cancer, virtually deleting specific macrophage subsets predicted the reprogramming of exhausted T cells back into an activated, tumor-fighting state, downregulating markers like PD-L2 and TIM3.
Discussion
While MintFlow represents a significant leap toward predictive spatial biology, it remains sensitive to data quality (e.g., gene dropouts) and requires consistent gene panels across sections. Future work aims to develop AI-driven virtual tissue models that can test thousands of drug combinations or cellular deletions in silico before moving to clinical trials, potentially accelerating the development of targeted therapies for complex diseases.
Summary updated