NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Individual Interactions from Population Dynamics with Discrete-Event Simulation Model

Mingchen GaoarXiv 2022 · DOI

Introduction

Understanding the hidden rules governing complex systems—such as biological pathways, ecological networks, or urban traffic—is a fundamental challenge in science. While we often observe macroscopic population trends, the underlying "microscopic" interactions driving these changes frequently remain obscure. Existing modeling tools generally fall into two categories: traditional state-space models, which are difficult to scale and require manual equation derivation, and deep learning models (like RNNs or GNNs), which act as "black boxes" that are hard to interpret or debug.

This paper introduces a novel framework for "reverse engineering" these hidden rules by modeling systems as a series of discrete, local events. By utilizing a generalized Expectation-Maximization (EM) algorithm, the researchers created a model that is significantly more data-efficient and interpretable than standard deep learning approaches.

Methodology

The core innovation lies in representing complex dynamics as a Discrete-Event Simulation (DES). This approach assumes that a system evolves through a sequence of local interactions (events), each defined by a "rate" (frequency) and a "stoichiometry" (the specific change it induces).

Comparison of different modeling formalisms for population dynamics, highlighting the discrete-event and stoichiometric approach.

To make the mathematics tractable for large populations, the authors employ several key techniques:

  • Langevin Dynamics: A Gaussian approximation of the Gillespie algorithm is used to treat discrete events as a continuous-time diffusion process.
  • Generalized EM via Gradient Descent: The authors prove that performing gradient descent on the negative log-likelihood of observations is mathematically equivalent to a generalized EM algorithm, allowing the use of modern backpropagation tools.
  • Extended Kalman Filter (EKF): An EKF is integrated to handle noisy and incomplete data, enabling the model to estimate the system's true state while simultaneously learning its underlying rules.

Experimental Evaluation

The model was evaluated across three distinct scenarios to demonstrate its versatility:

  1. Predator-Prey Model: A classic ecological system involving species reproduction, predation, and death.
  2. Prokaryotic Auto-regulation: A standard systems biology benchmark involving 5 species (DNA, RNA, proteins) and 8 interaction events.
  3. SynthTown: A synthetic urban transportation network tracking 2,000 inhabitants moving across 23 road links.

Key Results and Insights

The DES model demonstrated superior performance compared to traditional EKFs, LSTMs, and Gaussian Processes (GP):

  • High Accuracy: In the predator-prey scenario, the DES model achieved a K-L divergence of 0.01, significantly lower than RNNs (0.1) and standard EKFs (0.2).
  • Data Efficiency: The model learned useful dynamics with only 10,000 time steps, whereas competing models often required 100 times more data to reach similar performance.
  • Interpretability: Unlike neural networks, the model outputs a stoichiometric matrix. This allows researchers to directly inspect which components are interacting (e.g., "Species A and B combine to create Species C").
Scatter plot showing the high correlation between learned parameters and ground-truth values for various species and events.

Furthermore, the authors provide a formal proof (Theorem 1) showing that their event-based Langevin framework can simulate any diffusion process under mild conditions, making it a universal approximator for dynamical systems. Unlike Graph Neural Networks that typically model dyads, this approach naturally learns "hyper-edges" involving multiple components simultaneously.

Limitations and Future Work

While robust, the model currently assumes a multivariate normal distribution for state variables, which may struggle with very small populations where extreme stochasticity dominates. Additionally, the current analysis assumes populations do not hit zero; handling "reflected" stochastic processes at boundaries is a target for future simplification. Finally, while the model learns the correct structure, the specific ordering of events in the output matrix is arbitrary, suggesting that automated "labeling" of discovered events could be a valuable future improvement.

Summary updated

BibTeX
@misc{gao2022learning,
  author = {Mingchen Gao},
  title = {{Learning Individual Interactions from Population Dynamics with Discrete-Event Simulation Model}},
  year = {2022},
  eprint = {2205.02332},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.02332},
}
Figure