BayesFlow's Avatar

BayesFlow

@bayesflow.org.bsky.social

Amortized Bayesian Workflows in Python. ๐ŸŽฒ Post author sampled from a multinomial distribution, choices โ‹… @marvinschmitt.bsky.social โ‹… @paulbuerkner.com โ‹… @stefanradev.bsky.social ๐Ÿ”—GitHub github.com/bayesflow-org/bayesflow ๐Ÿ’ฌForum discuss.bayesflow.org

1,233 Followers  |  160 Following  |  13 Posts  |  Joined: 01.11.2024  |  1.5929

Latest posts by bayesflow.org on Bluesky

Introduction โ€“ Amortized Bayesian Cognitive Modeling

๐Ÿง  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...

30.05.2025 14:28 โ€” ๐Ÿ‘ 29    ๐Ÿ” 14    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Iโ€˜m vengeance.

26.04.2025 14:34 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

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

11.02.2025 08:48 โ€” ๐Ÿ‘ 28    ๐Ÿ” 6    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1
Post image

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...

22.11.2024 22:30 โ€” ๐Ÿ‘ 108    ๐Ÿ” 23    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

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

03.02.2025 12:21 โ€” ๐Ÿ‘ 18    ๐Ÿ” 6    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

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!

28.01.2025 05:06 โ€” ๐Ÿ‘ 11    ๐Ÿ” 4    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

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...

10.12.2024 01:34 โ€” ๐Ÿ‘ 41    ๐Ÿ” 6    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

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

06.12.2024 12:21 โ€” ๐Ÿ‘ 21    ๐Ÿ” 4    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1
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

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...

25.11.2024 12:46 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

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!

25.11.2024 10:52 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

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...

25.11.2024 10:52 โ€” ๐Ÿ‘ 24    ๐Ÿ” 5    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 1
Preview
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...

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

24.11.2024 20:25 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 3    ๐Ÿ“Œ 0
Post image

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.

22.11.2024 22:37 โ€” ๐Ÿ‘ 11    ๐Ÿ” 3    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

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...

22.11.2024 22:30 โ€” ๐Ÿ‘ 108    ๐Ÿ” 23    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@bayesflow.org is following 19 prominent accounts