Search bioRxiv⌕ Search

bioRxiv · 10.1101/2025.10.26.684706

Rapid Parameter Inference for Spatiotemporal Stochastic Biological Models using Neural Posterior Estimation

Abstract

AO_SCPLOWBSTRACTC_SCPLOWCell migration is a key biological process underlying wound healing, tissue development, and cancer metastasis, yet calibrating mathematical models of migration to experimental data remains a major challenge. Scratch and barrier assays are widely used to study collective cell spreading, and agent-based random walk models provide a natural stochastic description of these experiments. However, parameter inference for such models is hampered by intractable likelihoods, forcing researchers to rely on Approximate Bayesian Computation, which introduces biases and tuning difficulties, or surrogate models that require potentially erroneous noise model specifications. Here, we overcome these limitations using neural posterior estimation, a simulation-based inference framework that learns the full posterior distribution directly from stochastic simulations without surrogate approximations or explicit noise model specifications. We deploy this framework on four progressively complex random walk models of barrier assay experiments describing in vitro cell migration: an isotropic baseline, a model with directional bias (chemotaxis), a model with cell proliferation, and a combined model incorporating both bias and proliferation. For each model, we demonstrate inference in two settings: using one-dimensional summary statistics (column counts), and using a convolutional neural network that enables inference directly from raw two-dimensional spatial data. Neural posterior estimation performs well across all four models, recovering biologically interpretable parameters (e.g. cell motility, directional bias, proliferation rates) from cases where classical surrogate-based methods are adequate through to the combined model where the interplay of multiple mechanisms renders surrogate approximations unreliable. We validate all posteriors using simulation-based calibration diagnostics and provide an open-source implementation of our pipeline to facilitate its adoption and extension to more complex, spatially-structured biological models.

Source connections

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Kimpson, T., Flegg, J., Simpson, M. J.. 2025-10-27. Rapid Parameter Inference for Spatiotemporal Stochastic Biological Models using Neural Posterior Estimation. https://doi.org/10.1101/2025.10.26.684706

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

The impacts of exogenous noise on stochastic disease dynamics

Much of the literature and intuition associated with mathematical epidemiology is driven by deterministic models, which are a reasonable assumption when the population size is large. Stochastic models, especially individual based models, are however considered vital when dealing with small population sizes, especially at times of invasion or extinction. The overwhelming majority of these models (both deterministic and stochastic) assume that the underlying parameters are fixed (or follow a regular seasonal pattern). Here, we consider an analytic framework for dealing with randomly varying parameters through the use of stochastic differential equations - thereby capturing the action of external noisy processes such as weather. In particular, we focus on when the transmission rate, {beta}, varies as the solution to a Cox-Ingersoll-Ross Model, such that {beta} is gamma distributed with autocorrelation. We consider the impact of this parameter variation on a stochastic version of the Susceptible-Infected-Recovered model, and for this 'double-stochastic' model show through simulation and analytical results that exogenous noise increases the impact of stochasticity, potentially leading to more early extinctions, wider variations in the number of cases at equilibrium, but that early growth rate can be faster or slower depending on the precise parameters.

systems biology↗

Site-resolved spatial and structural interactome of a human cell

The spatial and structural arrangement of proteins determine virtually every process in human cells. We combined gentle subcellular fractionation by differential ultracentrifugation with cross-linking mass spectrometry to systematically map this cellular proteome architecture with residue-level evidence, identifying 164,146 residue-to-residue links in HEK293 cells. These links capture spatial protein arrangement at a resolution sufficient to pinpoint protein localizations at sub-organelle level, determine protein orientations within cellular membranes, and identify inter-organelle contact sites. The residue-level information provides evidence for 18,074 direct protein-protein interactions (PPIs), which we integrate into AlphaFold-based pipelines to nominate PPI-mediating short linear motifs and generate assembly models of large protein complexes. Guided by these spatial and structural readouts, we discover new PPIs within the endomembrane system that regulate the compartmental localization of trafficking machinery. Leveraging a network topology-driven strategy, we augment our HEK293 dataset with PPI data from different cell lines and methods, expanding the spatial and structural interactome of human cells.

systems biology↗

Sensory variation and behavioural degeneracy: a framework for interpreting heterogeneity in the gut-brain axis

Gut microbiome differences are frequently interpreted as reflecting underlying biological differences between individuals. When outcomes are mediated by behaviour, however, this mapping may be fundamentally non-unique. This limits causal inference in gut-brain research, where microbiome differences in autism and depression are routinely attributed to intrinsic neurobiology despite highly variable, overlapping findings. I built a minimal agent-based model grounded in the known sensory variation across the autism spectrum. Dietary behaviour emerges from latent sensory traits, including sensory drive, predictability preference, and context sensitivity, through reinforcement learning and environmental interaction. This behaviour shapes gut microbiome composition. Behavioural variation organizes endogenously into a continuum of specialist, opportunist, and explorer strategies that maps onto the autism sensory spectrum. The system is fundamentally degenerate. Similar microbiome states arise from distinct behavioural pathways. Similar dietary patterns emerge from divergent latent traits. This many-to-one mapping reflects the structural interaction of behaviour, learning, and environmental variability, not stochasticity alone. Microbiome similarity therefore does not uniquely identify underlying cause. As such, the model provides a theoretical framework for interpreting heterogeneity in gut microbiome research, particularly in autism, and generalizes to any condition where behaviour mediates between neural processes and ecological outcomes.

systems biology↗