sbi - Simulation-based inference

sbi - Simulation-based inference

@sbi-devs.bsky.social

Community-maintained simulation-based inference (SBI) toolkit in PyTorch: • NPE, NLE & NRE • amortized and sequential inference • wide range of diagnostics Posts written by @deismic.bsky.social & @janboelts.bsky.social. 🔗 https://github.com/sbi-dev/sbi

1.3K followers35 following35 posts

Pinned

Hello, world! We are a community-developed toolkit that performs Bayesian inference for simulators. We support a broad range of methods (NPE, NLE, NRE, amortized and sequential), neural network architectures (flows, diffusion models), samplers, and diagnostics. Join us!

sbi v.0.26.1 is out 🎉. We initially planned this release for January, but then the Grenoble Hackathon and GSoC applications happened. Now we have three new methods, better neural nets, cleaner internals, better docs, and 9 new contributors 🤗. Highlights below 🧵

View full thread

sbi v.0.26.1 is out 🎉. We initially planned this release for January, but then the Grenoble Hackathon and GSoC applications happened. Now we have three new methods, better neural nets, cleaner internals, better docs, and 9 new contributors 🤗. Highlights below 🧵

View full thread

Neural nets: we ported the Mixture Density Network in-house (no more pyknos dependency) and improved its numerical stability. We now have EDM-style noise schedules for score-based models. And the transformer embedding handles 1D time-series data with automatic input projection.

Under the hood, we refactored the training loop into modular components with typed config dataclasses. Net builder kwargs are now proper config objects instead of nested dicts: much easier to inspect and extend. And we made several security-related improvements (you never know 🤖).

sbi v.0.26.1 is out 🎉. We initially planned this release for January, but then the Grenoble Hackathon and GSoC applications happened. Now we have three new methods, better neural nets, cleaner internals, better docs, and 9 new contributors 🤗. Highlights below 🧵

New methods: - Amortized VI posteriors: learn likelihood once, get posteriors for new obs instantly, no MCMC - Diffusion model guidance: change your prior or likelihood without retraining - NPE for IID data without embedding nets: via MCMC, VI & importance sampling.

View full thread

sbi - Simulation-based inference reposted

Materials from my EuroSciPy talk "Pyro meets SBI" are now available: github.com/janfb/pyro-meets-sbi I show how we can use @sbi-devs.bsky.social-trained neural likelihoods in pyro 🔥 Check it out if you need hierarchical Bayesian inference but your simulator / model has no tractable likelihood.

From hackathon to release: sbi v0.25 is here! 🎉 What happens when dozens of SBI researchers and practitioners collaborate for a week? New inference methods, new documentation, lots of new embedding networks, a bridge to pyro and a bridge between flow matching and score-based methods 🤯 1/7 🧵

View full thread

From hackathon to release: sbi v0.25 is here! 🎉 What happens when dozens of SBI researchers and practitioners collaborate for a week? New inference methods, new documentation, lots of new embedding networks, a bridge to pyro and a bridge between flow matching and score-based methods 🤯 1/7 🧵

View full thread

Here's where it gets wild: we unified flow matching (ODEs) and score-based models (SDEs). Train with one, sample with the other. E.g., train with the flexibility and stability of flow-matching, then handle iid data with score-based posterior sampling. 🤯 5/7

From hackathon to release: sbi v0.25 is here! 🎉 What happens when dozens of SBI researchers and practitioners collaborate for a week? New inference methods, new documentation, lots of new embedding networks, a bridge to pyro and a bridge between flow matching and score-based methods 🤯 1/7 🧵

New inference methods: MNPE now handles mixed discrete and continuous parameters for posterior estimation (like MNLE but for posteriors). And for our nostalgic users: we finally added SNPE-B, that classic sequential variant you've been asking about since 2020. 3/7

Great news! Our March SBI hackathon in Tübingen was a huge success, with 40+ participants (30 onsite!). Expect significant updates soon: awesome new features & a revamped documentation you'll love! Huge thanks to our amazing SBI community! Release details coming soon. 🥁 🎉

sbi 0.24.0 is out! 🎉 This comes with important new features: - 🎯 Score-based i.i.d sampling - 🔀 Simultaneous estimation of multiple discrete and continuous parameters or data. - 📊: mini-sbibm for quick benchmarking. Just in time for our 1-week SBI hackathon starting tomorrow---stay tuned for more!

What to expect: - Coding sessions to enhance the sbi toolbox - Research talks & lightning talks - Networking & idea exchange 🌍 In-person attendance is encouraged but a remote option is available. It's free to attend, but seats are limited. Beginners are welcome! 🤗 Let’s push SBI forward—together! 🚀

✨ Highlights in v0.23.3: - sbi is now available via condaforge 🛠️ - we now support MCMC sampling with multiple i.i.d. conditions 🎯 (this is for you, decision-making researchers) 💡 Plus, improved docs here and there, clarified SNPE-A behavior, and a couple of bug fixes.

We are launching an SBI Discord Server! 🎉 We want to use this server to further build a community around SBI, i.e., for sharing insights, questions and events around simulation-based inference in general and the sbi package in particular. You are all invited to join! 🤗 github.com/sbi-dev/sbi/...

github.comSBI Discord Server 🤖 · sbi-dev sbi · Discussion #1318Dear all, we are launching an SBI Discord Server! 🎉 We want to use this server to further build a community around SBI, i.e., for sharing insights, questions and events around SBI in general and th...

The sbi package is growing into a community project 🌍 To reflect this and the many algorithms, neural nets, and diagnostics that have been added since its initial release, we have written a new software paper 📝 Check it out, and reach out if you want to get involved: arxiv.org/abs/2411.17337

arxiv.orgsbi reloaded: a toolkit for simulation-based inference workflowsScientists and engineers use simulators to model empirically observed phenomena. However, tuning the parameters of a simulator to ensure its outputs match observed data presents a significant challeng...
View full thread

The sbi package is growing into a community project 🌍 To reflect this and the many algorithms, neural nets, and diagnostics that have been added since its initial release, we have written a new software paper 📝 Check it out, and reach out if you want to get involved: arxiv.org/abs/2411.17337

arxiv.orgsbi reloaded: a toolkit for simulation-based inference workflowsScientists and engineers use simulators to model empirically observed phenomena. However, tuning the parameters of a simulator to ensure its outputs match observed data presents a significant challeng...

You are up to date.