Published September 22, 2023 | Journal article | Version v1 | https://doi.org/10.21105/joss.05702

BayesFlow: Amortized Bayesian Workflows With Neural Networks

Files

BayesFlow-master.zip

Files (10.0 MB)

Name Size Download all
md5:79085d486f49f06480b03110effc1257
9.8 MB Preview Download
md5:2348ece702fdce97385a54e5f70e1de6
262.9 kB Preview Download

Additional details

Dates

Issued
September 22, 2023

References

  1. Radev, S. T., Schmitt, M., Schumacher, L., Pratz, V., Schälte, Y., Köthe, U., & Bürkner, P.-C. (2023). BayesFlow: Amortized Bayesian Workflows With Neural Networks (Version 1.1.4) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.8346393
  2. Abadi, M., Barham, P., Chen, J., Chen, Z., Davis, A., Dean, J., Devin, M., Ghemawat, S., Irving, G., Isard, M., & others. (2016). TensorFlow: A system for large-scale machine learning. Osdi, 16(2016), 265–283.
  3. Dutta, R., Schoengens, M., Pacchiardi, L., Ummadisingu, A., Widmer, N., Künzli, P., Onnela, J.-P., & Mira, A. (2021). ABCpy: A High-Performance Computing Perspective to Approximate Bayesian Computation. Journal of Statistical Software, 100(7). https://doi.org/10.18637/jss.v100.i07
  4. Bieringer, S., Butter, A., Heimel, T., Höche, S., Köthe, U., Plehn, T., & Radev, S. T. (2021). Measuring QCD Splittings with Invertible Networks. SciPost Physics, 10(6). https://doi.org/10.21468/scipostphys.10.6.126
  5. Boelts, J., Lueckmann, J.-M., Gao, R., & Macke, J. H. (2022). Flexible and efficient simulation-based inference for models of decision-making. eLife, 11. https://doi.org/10.7554/elife.77220
  6. Bürkner, P.-C., Scholz, M., & Radev, S. T. (2022). Some models are useful, but how do we know which ones? Towards a unified Bayesian model taxonomy. arXiv Preprint.
  7. D'Alessandro, M., Radev, S. T., Voss, A., & Lombardi, L. (2020). A Bayesian brain model of adaptive behavior: an application to the Wisconsin Card Sorting Task. PeerJ, 8, e10316. https://doi.org/10.7717/peerj.10316
  8. Dillon, J. V., Langmore, I., Tran, D., Brevdo, E., Vasudevan, S., Moore, D., Patton, B., Alemi, A., Hoffman, M., & Saurous, R. A. (2017). TensorFlow distributions. https://arxiv.org/abs/1711.10604
  9. Elsemüller, L., Schnuerch, M., Bürkner, P.-C., & Radev, S. T. (2023). A deep learning method for comparing Bayesian hierarchical models. arXiv Preprint arXiv:2301.11873.
  10. Gelman, A., Vehtari, A., Simpson, D., Margossian, C. C., Carpenter, B., Yao, Y., Kennedy, L., Gabry, J., Bürkner, P.-C., & Modrák, M. (2020). Bayesian workflow. arXiv Preprint.
  11. Ghaderi-Kangavari, A., Rad, J. A., & Nunez, M. D. (2023). A General Integrative Neurocognitive Modeling Framework to Jointly Describe EEG and Decision-making on Single Trials. Computational Brain & Behavior, 6(3), 317–376. https://doi.org/10.1007/s42113-023-00167-4
  12. Greenberg, D., Nonnenmacher, M., & Macke, J. (2019). Automatic posterior transformation for likelihood-free inference. International Conference on Machine Learning, 97, 2404–2414.
  13. Heringhaus, M. E., Zhang, Y., Zimmermann, A., & Mikelsons, L. (2022). Towards Reliable Parameter Extraction in MEMS Final Module Testing Using Bayesian Inference. Sensors, 22(14), 5408. https://doi.org/10.3390/s22145408
  14. Lintusaari, J., Vuollekoski, H., Kangasrääsiö, A., Skytén, K., Järvenpää, M., Marttinen, P., Gutmann, M. U., Vehtari, A., Corander, J., & Kaski, S. (2018). ELFI: Engine for likelihood-free inference. Journal of Machine Learning Research, 19(16), 1–7. https://jmlr.org/papers/v19/17-374.html
  15. Miller, B. K., Cole, A., Forré, P., Louppe, G., & Weniger, C. (2021). Truncated marginal neural ratio estimation. Advances in Neural Information Processing Systems, 34, 129–143.
  16. Moon, H.-S., Oulasvirta, A., & Lee, B. (2023). Amortized Inference with User Simulations. Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems, 1–20. https://doi.org/10.1145/3544548.3581439
  17. Noever‐Castelos, P., Ardizzone, L., & Balzani, C. (2021). Model updating of wind turbine blade cross sections with invertible neural networks. Wind Energy, 25(3), 573–599. https://doi.org/10.1002/we.2687
  18. Papamakarios, G., Nalisnick, E., Rezende, D. J., Mohamed, S., & Lakshminarayanan, B. (2021). Normalizing flows for probabilistic modeling and inference. Journal of Machine Learning Research, 22(1).
  19. Papamakarios, G., Sterratt, D., & Murray, I. (2019). Sequential neural likelihood: Fast likelihood-free inference with autoregressive flows. The 22nd International Conference on Artificial Intelligence and Statistics, 837–848.
  20. Radev, S. T., D'Alessandro, M., Mertens, U. K., Voss, A., Köthe, U., & Bürkner, P.-C. (2023). Amortized Bayesian Model Comparison With Evidential Deep Learning. IEEE Transactions on Neural Networks and Learning Systems, 34(8), 4903–4917. https://doi.org/10.1109/tnnls.2021.3124052
  21. Radev, S. T., Graw, F., Chen, S., Mutters, N. T., Eichel, V. M., Bärnighausen, T., Köthe, U., & Tanaka, M. M. (2021). OutbreakFlow: Model-based Bayesian inference of disease outbreak dynamics with invertible neural networks and its application to the COVID-19 pandemics in Germany. PLOS Computational Biology, 17(10), e1009472. https://doi.org/10.1371/journal.pcbi.1009472
  22. Radev, S. T., Mertens, U. K., Voss, A., Ardizzone, L., & Kothe, U. (2022). BayesFlow: Learning Complex Stochastic Models With Invertible Neural Networks. IEEE Transactions on Neural Networks and Learning Systems, 33(4), 1452–1466. https://doi.org/10.1109/tnnls.2020.3042395
  23. Radev, S. T., Schmitt, M., Pratz, V., Picchini, U., Köthe, U., & Bürkner, P.-C. (2023). JANA: Jointly amortized neural approximation of complex Bayesian models. arXiv Preprint arXiv:2302.09125.
  24. Säilynoja, T., Bürkner, P.-C., & Vehtari, A. (2022). Graphical test for discrete uniformity and its applications in goodness-of-fit evaluation and multiple sample comparison. Statistics and Computing, 32(2), Article 32. https://doi.org/10.1007/s11222-022-10090-6
  25. Salvatier, J., Wiecki, T. V., & Fonnesbeck, C. (2016). Probabilistic programming in Python using PyMC3. PeerJ Computer Science, 2, e55. https://doi.org/10.7717/peerj-cs.55

1–25 of 40

Citations

  1. Maceda, E., Hector, E. C., Lenzi, A., & Reich, B. J. (2026). Demonstrating the Power and Flexibility of Variational Assumptions for Amortized Neural Posterior Estimation in Environmental Applications. Environmetrics, 37(1). https://doi.org/10.1002/env.70074
  2. Säilynoja, T., Schmitt, M., Bürkner, P.-C., & Vehtari, A. (2026). Posterior SBC: simulation-based calibration checking conditional on data. Statistics and Computing, 36(2). https://doi.org/10.1007/s11222-026-10825-9
  3. Schaefer, S. B., Radev, S. T., Göttmann, J., & Schubert, A.-L. (2026). Amortized Bayesian Workflow for Modeling Congruency Effects Using the Diffusion Model for Conflict Tasks. Computational Brain & Behavior. https://doi.org/10.1007/s42113-026-00266-y
  4. Mizutani, D., Yamashita, N., Wu, S., & Otake, Y. (2027). Optimizer-free estimation of transition rates for infrastructure deterioration: A deep learning surrogate for maximum likelihood estimation. Reliability Engineering & System Safety, 278, 113501. https://doi.org/10.1016/j.ress.2026.113501
  5. Merkle, E. C. (2026). Bayesian Estimation of Normal and Probit Psychometric Models. Psychometrika, 91(4), 1599–1625. https://doi.org/10.1017/psy.2026.10119
  6. Arruda, J., Alamoudi, E., Mueller, R., Vaisband, M., Molkenbur, R., Merrin, J., Kiermaier, E., & Hasenauer, J. (2026). Simulation-based inference of cell migration dynamics in complex spatial environments. Npj Systems Biology and Applications, 12(1). https://doi.org/10.1038/s41540-026-00648-9
  7. Allison, J. R., Chapman, D. A., Edwards, T., Fraser, A. R., Joiner, N., Kosteletos, T., Mohamed, J. I., Pecover, J. D., Turner-Wilson, I., Nash, O., Burdiak, G. C., & Bordas, R. (2026). Using neural posterior estimators to calibrate and propagate constitutive data uncertainties for resistive magnetohydrodynamic liner simulations. Physics of Plasmas, 33(11). https://doi.org/10.1063/5.0347805
  8. Youngblood, M., & Passmore, S. (2026). Simulation-based inference with deep learning suggests speed climbers combine innovation and copying to improve performance. Proceedings of the Royal Society B Biological Sciences, 293(2062). https://doi.org/10.1098/rspb.2025.1433
  9. Nash, O., Bendixsen, L. S. C., Allison, J. R., Burdiak, G. C., Darling, J., Holligan, P., Dobranszki, C., Pecover, J. D., Read, J., Clayson, T., Hall, O., Edwards, T., Bordas, R., Read, M. P., Doyle, H. W., Niasse, N., Hall, S., Osborn, K., Foster, S., … Skidmore, J. W. (2026). A Multi-MA Pulsed-Power Facility for Implosion Hydrodynamics Experiments. IEEE Transactions on Plasma Science, 54(7), 3598–3610. https://doi.org/10.1109/tps.2026.3703195
  10. Dirmeier, S., Mira, A., & Albert, C. (2026). Simulation-based Inference with the Python Package sbijax. Journal of Open Source Software, 11(126), 11195. https://doi.org/10.21105/joss.11195
  11. Scholten, F., Schumacher, L., & Kelber, P. (2026). Brunswik's fundamental principle explained: A diffusion lens model of vicarious functioning. Psychonomic Bulletin & Review, 33(3). https://doi.org/10.3758/s13423-025-02764-9
  12. Janczyk, M., Mackenzie, I. G., Ulrich, R., & Koob, V. (2026). Ten years Diffusion Model for Conflict (DMC) tasks: Theoretical foundations, applications, practical recommendations, and open challenges. Psychonomic Bulletin & Review, 33(5). https://doi.org/10.3758/s13423-026-02878-8
  13. Vloeberghs, R., Tuerlinckx, F., Urai, A. E., & Desender, K. (2026). Explaining temporally clustered errors with an autocorrelated Drift Diffusion Model. In bioRxiv. openRxiv. https://doi.org/10.64898/2026.03.20.713186
  14. Wu, K. L., & Banerjee, S. (2026). Model-based Detection of Spatial Disease Boundaries Using Amortized Bayesian Inference. In medRxiv. openRxiv. https://doi.org/10.64898/2026.06.21.26356187
  15. Rahmandad, H., Akhavan, A., & Jalali, M. S. (2025). Incorporating Deep Learning Into System Dynamics: Amortized Bayesian Inference for Scalable Likelihood‐Free Parameter Estimation. System Dynamics Review, 41(1), Article e1798. https://doi.org/10.1002/sdr.1798
  16. Bockting, F., Radev, S. T., & Bürkner, P.-C. (2025). Expert-elicitation method for non-parametric joint priors using normalizing flows. Statistics and Computing, 35(5). https://doi.org/10.1007/s11222-025-10665-z
  17. Hato, T., Schumacher, L., Radev, S. T., & Voss, A. (2025). Lévy Versus Wiener: Assessing the Effects of Model Misspecification on Diffusion Model Parameters. Computational Brain & Behavior, 8(4), 588–606. https://doi.org/10.1007/s42113-025-00248-6
  18. Huser, R., Opitz, T., & Wadsworth, J. L. (2025). Modeling of spatial extremes in environmental data science: time to move away from max-stable processes. Environmental Data Science, 4. https://doi.org/10.1017/eds.2024.54
  19. Thornton, M. A. (2025). Deep neural network models of emotion understanding. Cognition and Emotion, 1–20. https://doi.org/10.1080/02699931.2025.2543569
  20. Tendler, B. C. (2025). Integration of steady-state diffusion MRI with Neural Posterior Estimation (NPE) for post-mortem investigations. In bioRxiv. openRxiv. https://doi.org/10.1101/2025.07.08.663685
  21. Arruda, J., Alamoudi, E., Mueller, R., Vaisband, M., Molkenbur, R., Merrin, J., Kiermaier, E., & Hasenauer, J. (2025). Simulation-Based Inference of Cell Migration Dynamics in Complex Spatial Environments. In bioRxiv. openRxiv. https://doi.org/10.1101/2025.09.25.678460
  22. https://doi.org/10.1101/2025.10.30.685574
  23. Nautiyal, M., Shternshis, A., Hellander, A., & Singh, P. (2025). Accelerating Simulation-Based Inference with Variational Autoencoders. 2025 International Joint Conference on Neural Networks (IJCNN), 1–10. https://doi.org/10.1109/ijcnn64981.2025.11229190
  24. Zeng, Y., Zhao, Z., Qian, G., Todd, M. D., & Hu, Z. (2025). Enhancing Bayesian Inference-Based Damage Diagnostics Through Domain Translation With Application to Miter Gates. Journal of Mechanical Design, 147(6). https://doi.org/10.1115/1.4067719
  25. Wang, Z. O., Baptista, R., Marzouk, Y., Ruthotto, L., & Verma, D. (2025). Efficient Neural Network Approaches for Conditional Optimal Transport with Applications in Bayesian Inference. SIAM Journal on Scientific Computing, 47(4), C979–C1005. https://doi.org/10.1137/24m1678659

1–25 of 35