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

Deep Bayesian Active Learning for Accelerating Stochastic Simulation

Dongxia Wu, Matteo Chinazzi, Alessandro Vespignani, Yi-An Ma, Rose Yu, Yu, Rose

TL;DR

This paper introduces Interactive Neural Processes (INP), a novel deep Bayesian active learning framework designed to significantly accelerate computationally expensive stochastic simulations. By combining a Spatiotemporal Neural Process (STNP) for surrogate modeling with a new Latent Information Gain (LIG) acquisition function, INP intelligently queries simulators to learn faster models with fewer simulations, outperforming existing methods in accuracy and sample efficiency.

What Problem Does This Paper Address?

Many scientific disciplines, from epidemiology to finance and chemistry, rely on complex stochastic simulations to model intricate systems. These simulations, especially at fine-grained resolutions, are computationally demanding, requiring vast resources and time to explore parameter spaces or calibrate models against data. This bottleneck hinders rapid scenario planning and real-time decision-making, particularly in critical situations like pandemic response. While deep surrogate models can speed up simulations, existing approaches often struggle with the inherent stochasticity and the need for efficient, adaptive data acquisition in high-dimensional settings. This paper addresses the challenge of accelerating these expensive stochastic simulations by developing an active learning framework that intelligently selects which simulations to run.

Methods

The core of this work is the Interactive Neural Process (INP) framework, which combines a novel surrogate model with an active learning strategy.

  • Spatiotemporal Neural Process (STNP): This is a new deep generative model designed to capture the complex dynamics of spatiotemporal stochastic simulations. It extends the standard Neural Process (NP) by introducing:
  • A temporal latent process to model the evolution of hidden states over time.
  • Spatial convolution to explicitly model spatial dependencies within the data. This allows STNP to learn more expressive representations of simulator dynamics compared to standard NPs or sequential NPs.

  • Latent Information Gain (LIG): This is a novel acquisition function developed for active learning within the INP framework. Instead of measuring uncertainty in the observational space, LIG quantifies information gain in the latent space of the NP-based models. The authors provide a theoretical analysis showing that LIG is equivalent to the expected information gain in the observational space but is more computationally efficient and effective, especially in high dimensions.

  • Bayesian Active Learning Loop: INP operates in an iterative loop:
  • Train the STNP surrogate model on existing simulation data.
  • Use the trained model and the LIG acquisition function to identify the most informative simulation parameters to query.
  • Query the original simulator with these selected parameters to generate new data.
  • Augment the training dataset and repeat the process.

Datasets

The paper evaluates its approach on three complex spatiotemporal simulators:

  • Reaction-Diffusion (RD) system: Simulates chemical reactions and diffusion processes.
  • Heat flow model: Predicts spatial solution fields of the Heat equation.
  • Local Epidemic and Mobility model (LEAM-US): A detailed, age-structured epidemic model for the US, incorporating human mobility data.

They also use a simpler SEIR (Susceptible-Exposed-Infectious-Removed) compartmental model for initial comparisons and ablation studies. No new benchmark datasets were introduced; rather, the authors applied their method to existing simulator models.

Key Insights and Ideas

  • Latent Space Matters for Uncertainty: The most significant insight is that measuring uncertainty and information gain in the latent space (as done by LIG) is more effective for active learning in complex stochastic simulations than traditional methods that focus on the observational space. This is crucial for efficiently guiding simulations.
  • STNP Captures Complex Dynamics: The proposed STNP architecture, with its temporal latent process and spatial convolutions, is shown to be highly effective at modeling the intricate spatiotemporal dynamics of the tested simulators, outperforming standard NP and other baselines in offline learning.
  • Sample Efficiency is Key: The core problem addressed is the computational cost of simulations. INP, powered by LIG, demonstrates a dramatic reduction in the number of simulations required to achieve high accuracy, making complex modeling accessible with fewer resources.
  • Theoretical Guarantees: The authors provide theoretical analysis showing that their active learning approach (specifically, maximizing latent information gain) leads to better sample efficiency and reduced error bounds compared to random sampling, especially in high-dimensional parameter spaces.

Key Results

  • Offline Learning: STNP significantly outperforms baseline surrogate models (NP, SNP, MAF, RNN, DMFAL) in terms of Mean Absolute Error (MAE) across the RD, Heat, and LEAM-US simulators. For example, STNP achieved an MAE of 2.84 ± 0.17 for RD, compared to 3.37 ± 0.18 for NP.
  • Active Learning Performance: The LIG acquisition function consistently achieved the best MAE performance across all tested simulators (SEIR, RD, Heat, LEAM-US) using significantly fewer samples than other acquisition functions (EIG, MeanSTD, MaxEntropy, Random).
  • For the SEIR model, LIG converged to the offline performance using only 4.07% of the data, while GP methods struggled to converge even with more data.
  • For LEAM-US, LIG achieved near-optimal performance with approximately 31.4% of the data.
  • Comparison with GP: For the SEIR model, INP with LIG demonstrated superior performance and faster convergence compared to Gaussian Processes (GP) with various acquisition functions, highlighting NP's scalability to higher dimensions.

Limitations and Future Work

  • Computational Cost of STNP: While INP accelerates simulations, training the STNP itself can still be computationally intensive, especially for very large datasets or complex simulators.
  • Hyperparameter Tuning: Like most deep learning models, STNP and INP involve hyperparameter tuning, which can be time-consuming.
  • Future Work: The authors plan to extend their work by leveraging Bayesian optimization techniques to directly optimize target parameters using auto-differentiation. They also suggest exploring further applications of their framework to other complex spatiotemporal simulation problems.

Summary updated

BibTeX
@inproceedings{wu2021deep,
  author = {Dongxia Wu and Matteo Chinazzi and Alessandro Vespignani and Yi-An Ma and Rose Yu and Yu, Rose},
  title = {{Deep Bayesian Active Learning for Accelerating Stochastic Simulation}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2021},
}
Figure