sbi - Simulation-based inference's Avatar

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,332 Followers  |  34 Following  |  29 Posts  |  Joined: 17.11.2024  |  1.6197

Latest posts by sbi-devs.bsky.social on Bluesky

GSoC really is a win-win: students gain OSS experience with dedicated mentorship, while open source projects get substantial improvements. Thanks to Massimiliano and Abel, to Manuel for mentoring and @janboelts.bsky.social for mentoring and coordination, and of course GSoC and @numfocus.bsky.socialπŸ™

17.10.2025 13:30 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Abel @abelabate.bsky.social improved our codebase with software engineering best practices: strong typing via dataclasses, clearly defined interfaces using protocols, and systematic refactoring. Multiple PRs transformed our internal architecture for better maintainability and developer experience.

17.10.2025 13:30 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

This was a massive undertaking: masked transformers, score-based diffusion variants, comprehensive tests & tutorials - all integrated into sbi's existing API. Kudos to Massimiliano for navigating this complexity!

17.10.2025 13:30 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@nmaax.bsky.social implemented the SIMFORMER. Simformer combines transformers + diffusion models to learn arbitrary conditioning between parameters and data, enabling "all-in-one" SBI: posterior/likelihood estimation, predictive sampling, and even missing data imputation πŸš€

17.10.2025 13:30 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

πŸŽ‰ sbi participated in GSoC 2025 through @numfocus.bsky.social and it was a great success: our two students contributed major new features and substantial internal improvements: 🧡 πŸ‘‡

17.10.2025 13:30 β€” πŸ‘ 11    πŸ” 4    πŸ’¬ 1    πŸ“Œ 0

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.

18.09.2025 14:38 β€” πŸ‘ 8    πŸ” 1    πŸ’¬ 3    πŸ“Œ 0
Preview
GitHub - sbi-dev/sbi: sbi is a Python package for simulation-based inference, designed to meet the needs of both researchers and practitioners. Whether you need fine-grained control or an easy-to-use ... sbi is a Python package for simulation-based inference, designed to meet the needs of both researchers and practitioners. Whether you need fine-grained control or an easy-to-use interface, sbi has ...

This release brought together 14 first-time contributors with our core team.

A big shout out to the community and everyone contributing to this release πŸ™ πŸ™Œ

πŸ“¦ (uv) pip install sbi --upgrade
πŸ’» Join us: github.com/sbi-dev/sbi
Full Changelog: github.com/sbi-dev/sbi/...

09.09.2025 15:00 β€” πŸ‘ 4    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Two more highlights: Your sbi-trained NLE can now be wrapped into a Pyro model object for flexible hierarchical inference. And based on your feedback, we added to(device) for priors and posteriorsβ€”switching between CPU and GPU is now even easier!

6/7

09.09.2025 15:00 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

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

09.09.2025 15:00 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Welcome to sbi!

We completely rebuilt our documentation! Switched to Sphinx for a cleaner, more modular structure. No more wading through lengthy tutorialsβ€”now you get short, targeted how-to guides for exactly what you need, plus streamlined tutorials for getting started.

πŸ“š sbi.readthedocs.io/en/latest/

4/7

09.09.2025 15:00 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

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

09.09.2025 15:00 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

After the creative burst of the hackathon in March, we spent months cleaning up, testing, and polishing. Re-basing ten exciting feature branches into main takes timeβ€”but the result is worth it.

2/7

09.09.2025 15:00 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

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 🧡

09.09.2025 15:00 β€” πŸ‘ 29    πŸ” 16    πŸ’¬ 1    πŸ“Œ 1

More great news from the SBI community! πŸŽ‰
Two projects have been accepted for Google Summer of Code under the NumFOCUS umbrella, bringing new methods and general improvements to sbi. Big thanks to @numfocus.bsky.social, GSoC and our future contributors!

20.05.2025 10:50 β€” πŸ‘ 10    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
A wide shot of approximately 30 individuals standing in a line, posing for a group photograph outdoors. The background shows a clear blue sky, trees, and a distant cityscape or hills.

A wide shot of approximately 30 individuals standing in a line, posing for a group photograph outdoors. The background shows a clear blue sky, trees, and a distant cityscape or hills.

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. πŸ₯ πŸŽ‰

12.05.2025 14:29 β€” πŸ‘ 26    πŸ” 7    πŸ’¬ 0    πŸ“Œ 1

πŸŽ‰ Exciting news! We are lauching an sbi office hour!

Join the sbi developers Thursdays 09:45-10:15am CET via Zoom (link: sbi Discord's "office hours" channel).

Get guidance on contributing, explore sbi for your research, or troubleshoot issues. Come chat with us! πŸ€—

github.com/sbi-dev/sbi/...

04.04.2025 07:36 β€” πŸ‘ 13    πŸ” 4    πŸ’¬ 0    πŸ“Œ 1
Preview
Release v0.24.0 · sbi-dev/sbi ✨ Highlights feat: add CategoricalMADE by @jnsbck in #1269 (Major New Feature) tests: mini-sbibm by @manuelgloeckler in #1335 (Major New Feature) feat: Score-based iid sampling by @manuelgloeckle...

More details here:
github.com/sbi-dev/sbi/...

16.03.2025 12:49 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

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!

16.03.2025 12:49 β€” πŸ‘ 24    πŸ” 3    πŸ’¬ 1    πŸ“Œ 1

πŸ™ Please help us improve the SBI toolbox! πŸ™

In preparation for the upcoming SBI Hackathon, we’re running a user study to learn what you like, what we can improve, and how we can grow.

πŸ‘‰ Please share your thoughts here: forms.gle/foHK7myV2oaK...

Your input will make a big differenceβ€”thank you! πŸ™Œ

28.01.2025 15:18 β€” πŸ‘ 18    πŸ” 8    πŸ’¬ 0    πŸ“Œ 1

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! πŸš€

14.01.2025 15:58 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

πŸš€ Join the 4th SBI Hackathon! πŸš€
The last SBI hackathon was a fantastic milestone in forming a collaborative open-source community around SBI. Be part of it this year as we build on that momentum!

πŸ“… March 17–21, 2025
πŸ“ TΓΌbingen, Germany or remote
πŸ‘‰ Details: github.com/sbi-dev/sbi/...

More Info:πŸ§΅πŸ‘‡

14.01.2025 15:58 β€” πŸ‘ 20    πŸ” 5    πŸ’¬ 1    πŸ“Œ 2

πŸ™Œ Huge thanks to our contributors for this release, including 5 first-time contributors! 🌟

Special shoutout to:
emmanuel-ferdman, CompiledAtBirth, tvwenger, matthewfeickert, and manuel-morales-a πŸŽ‰

Let us know what you think of the new version!

30.12.2024 14:57 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

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

30.12.2024 14:57 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

πŸŽ‰ Just in time for the end of the year, we’ve released a new version of sbi!

πŸ“¦ v0.23.3 comes packed with exciting features, bug fixes, and docs updates to make sbi smoother and more robust. Check it out! πŸ‘‡

πŸ”— Full changelog: github.com/sbi-dev/sbi/...

30.12.2024 14:57 β€” πŸ‘ 27    πŸ” 6    πŸ’¬ 1    πŸ“Œ 2
Preview
SBI Discord Server πŸ€– Β· sbi-dev sbi Β· Discussion #1318 Dear 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...

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

03.12.2024 08:54 β€” πŸ‘ 15    πŸ” 6    πŸ’¬ 0    πŸ“Œ 2
Preview
GitHub - sbi-dev/sbi: Simulation-based inference toolkit Simulation-based inference toolkit. Contribute to sbi-dev/sbi development by creating an account on GitHub.

As of today, 61 scientists and engineers have contributed to the sbi toolbox. We are extremely happy about this, and want to give a huge **thank you** to all contributors! Stay tuned for more info on events and updates! github.com/sbi-dev/sbi

27.11.2024 11:17 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

For all steps of the inference process, the sbi toolbox supports strong defaults if needed, but also provides full flexibility if desired. For example, you can use a pre-configured training loop, or you can write it yourself.

27.11.2024 11:17 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

The sbi toolbox implements a wide range of simulation-based inference methods. It implements NPE, NLE, and NRE (all amortized or sequential), modern neural networks (flows, flow-matching, diffusion models), samplers, and diagnostic tools.

27.11.2024 11:17 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
Preview
sbi reloaded: a toolkit for simulation-based inference workflows Scientists 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...

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

27.11.2024 11:17 β€” πŸ‘ 60    πŸ” 22    πŸ’¬ 1    πŸ“Œ 4
Post image

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!

18.11.2024 07:26 β€” πŸ‘ 26    πŸ” 8    πŸ’¬ 1    πŸ“Œ 0

@sbi-devs is following 20 prominent accounts