BayesFlow
@bayesflow.org
1.2K followers 160 following 14 posts
Amortized Bayesian Workflows in Python. 🎲 Post author sampled from a multinomial distribution, choices ⋅ @marvin-schmitt.com ⋅ @paulbuerkner.com ⋅ @stefanradev.bsky.social 🔗 GitHub github.com/bayesflow-org/bayesflow 💬 Forum discuss.bayesflow.org
Posts Media Videos Starter Packs
Pinned
bayesflow.org
BayesFlow is a library for amortized Bayesian inference with neural networks.

⋅ Multi-backend via Keras 3: Use PyTorch, TensorFlow, or JAX.
⋅ Modern nets: Flow matching, diffusion, consistency models, normalizing flows, transformers
⋅ Built-in diagnostics and plotting

🔗 github.com/bayesflow-or...
bayesflow.org
Simulations are no longer just “nice to have.” They’re reshaping how we do statistics.

Care to learn more? Check out our paper arxiv.org/abs/2503.24011, accepted for publication in the upcoming theme issue of Philosophical Transactions A.
Reposted by BayesFlow
numfocus.bsky.social
BayesFlow released version 2.0.4, presented numerous findings at the MathPsych/ICCM 2025 conference at Ohio State University, and expanded its contributor list to 25 active members! Congrats to BayesFlow on all these new huge accomplishments!
bayesflow.org
🧠 Check out the classic examples from Bayesian Cognitive Modeling: A Practical Course (Lee & Wagenmakers, 2013), translated into step-by-step tutorials with BayesFlow!

Interactive version: kucharssim.github.io/bayesflow-co...

PDF: osf.io/preprints/ps...
Introduction – Amortized Bayesian Cognitive Modeling
kucharssim.github.io
bayesflow.org
I‘m vengeance.
bayesflow.org
Finite mixture models are useful when data comes from multiple latent processes.

BayesFlow allows:
• Approximating the joint posterior of model parameters and mixture indicators
• Inferences for independent and dependent mixtures
• Amortization for fast and accurate estimation

📄 Preprint
💻 Code
Reposted by BayesFlow
bayesflow.org
BayesFlow is a library for amortized Bayesian inference with neural networks.

⋅ Multi-backend via Keras 3: Use PyTorch, TensorFlow, or JAX.
⋅ Modern nets: Flow matching, diffusion, consistency models, normalizing flows, transformers
⋅ Built-in diagnostics and plotting

🔗 github.com/bayesflow-or...
bayesflow.org
A study with 5M+ data points explores the link between cognitive parameters and socioeconomic outcomes: The stability of processing speed was the strongest predictor.

BayesFlow facilitated efficient inference for complex decision-making models, scaling Bayesian workflows to big data.

🔗Paper
bayesflow.org
Join us this Thursday for a talk on efficient mixture and multilevel models with neural networks by @paulbuerkner.com at the new @approxbayesseminar.bsky.social!
approxbayesseminar.bsky.social
A reminder of our talk this Thursday (30th Jan), at 11am GMT. Paul Bürkner (TU Dortmund University), will talk about "Amortized Mixture and Multilevel Models". Sign up at listserv.csv.warwick... to receive the link.
bayesflow.org
1️⃣ An agent-based model simulates a dynamic population of professional speed climbers.
2️⃣ BayesFlow handles amortized parameter estimation in the SBI setting.

📣 Shoutout to @masonyoungblood.bsky.social & @sampassmore.bsky.social

📄 Preprint: osf.io/preprints/ps...
💻 Code: github.com/masonyoungbl...
bayesflow.org
Neural superstatistics are a framework for probabilistic models with time-varying parameters:

⋅ Joint estimation of stationary and time-varying parameters
⋅ Amortized parameter inference and model comparison
⋅ Multi-horizon predictions and leave-future-out CV

📄 Paper 1
📄 Paper 2
💻 BayesFlow Code
bayesflow.org
The software implementation elegantly uses BayesFlow‘s modular data pipeline:

- Observables are embedded by a summary network.
- Context information (eg, prior and likelihood type) bypasses the summary net and enters the normalizing flow as direct conditions.

📀 Code: github.com/bayesflow-or...
GitHub - bayesflow-org/SA-ABI: Contains the code accompanying the paper "Sensitivity-Aware Amortized Bayesian Inference".
Contains the code accompanying the paper "Sensitivity-Aware Amortized Bayesian Inference". - bayesflow-org/SA-ABI
github.com
bayesflow.org
The paper was led by @elseml.bsky.social, with multiple high-impact applications:

🦠 Disease outbreak modeling
🌎 Global warming thresholds
🧠 Human decision-making

✨ Sensitivity-aware amortized inference increases the amortization scope by a lot. Another step towards a Bayesian foundation model!
bayesflow.org
Any single analysis hides an iceberg of uncertainty.

Sensitivity-aware amortized inference explores the iceberg:
⋅ Test alternative priors, likelihoods, and data perturbations
⋅ Deep ensembles flag misspecification issues
⋅ No model refits required during inference

🔗 openreview.net/forum?id=Kxt...
bayesflow.org
Hi, thanks for reaching out!

In the context of amortized inference, it’s been shown that many of the algorithms we use are susceptible to adversarial attacks, and this can be mitigated by regularizing wrt Fisher information.

📝 Paper by @mackelab.bsky.social:

arxiv.org/abs/2305.14984
Adversarial robustness of amortized Bayesian inference
Bayesian inference usually requires running potentially costly inference procedures separately for every new observation. In contrast, the idea of amortized Bayesian inference is to initially invest c...
arxiv.org
bayesflow.org
To celebrate the new beginnings on Bluesky, let's reminisce about one of our highlights from the old days:

The unexpected shout-out by @fchollet.bsky.social that made everyone go crazy on the BayesFlow Slack server and led to a 15% increase in GitHub stars.
bayesflow.org
BayesFlow is a library for amortized Bayesian inference with neural networks.

⋅ Multi-backend via Keras 3: Use PyTorch, TensorFlow, or JAX.
⋅ Modern nets: Flow matching, diffusion, consistency models, normalizing flows, transformers
⋅ Built-in diagnostics and plotting

🔗 github.com/bayesflow-or...