[ANN] NeuralEstimators.jl: Efficient simulation-based inference (SBI) using neural networks

NeuralEstimators.jl uses neural networks for fast simulation-based inference (SBI) for any model for which simulation is feasible. It supports:

  • Neural posterior estimation (NPE): directly learn the posterior distribution
  • Neural ratio estimation (NRE): approximate likelihood ratios for flexible frequentist or Bayesian inference
  • Neural Bayes estimation (NBE): efficiently estimate posterior functionals (e.g., point summaries)

These methods are likelihood-free (do not require the evaluation of the likelihood function) and they are amortized: once the neural networks are trained on simulated data, they enable rapid inference across arbitrarily many observed data sets orders of magnitude faster than conventional approaches like MCMC.

The package supports the use of both Flux.jl and Lux.jl.

Happy to hear any feedback! If you’d like to contribute, please see here. If you’d like to show support, please consider starring the repo.

3 Likes