Jan Boelts
@janboelts.bsky.social
260 followers 140 following 16 posts
Researcher at appliedAI Institute for Europe. Working on simulation-based inference and responsible ML
Posts Media Videos Starter Packs
janboelts.bsky.social
Haha, yes! We are working on adding support for numpyro and pymc next.
janboelts.bsky.social
Kudos to @sethaxen.com for implementing the Pyro wrapper that makes this possible (shipped in sbi v0.25)!

And thanks to @juanitorduz.bsky.social sharing the cookie factory example—it's a great accessible example for hierarchical inference.

Everything runs in Colab 📊
janboelts.bsky.social
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.
Reposted by Jan Boelts
sbi-devs.bsky.social
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 🧵
janboelts.bsky.social
Fun read of their amazing contributions to the SBI hackathon! 🥐
The SBI-Pyro bridge that @sethaxen.com built has a lot of potential I believe. I'll actually be presenting this work at @euroscipy.bsky.social this Wednesday - excited to share this with a broader audience.
euroscipy.org/talks/KCYYTF/
Reposted by Jan Boelts
sbi-devs.bsky.social
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!
janboelts.bsky.social
Great reminder of this sunny and so productive week in March and how much I enjoy being part of this dedicated and lovely group of SBI contributors! 🤗
Big thanks to all participants & co-organizers! 🎉
sbi-devs.bsky.social
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. 🥁 🎉
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.
janboelts.bsky.social
We have been thinking about this for a while and now it’s here 🎉Looking forward to all the exciting SBI applications we will be discussing, and to onboarding new contributors! 🚀
sbi-devs.bsky.social
🎉 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/...
Reposted by Jan Boelts
psteinb.bsky.social
It's been a blast, thanks to @sbi-devs.bsky.social ! This week's hackathon was phenomenal! 🙏 😍 The sbi hackathon welcomed about 25 people in Tübingen with contributions spanning the globe , e.g. 🇺🇸🇯🇵🇧🇪🇩🇪. Wanna see, what we did? Check out the PRs👇
github.com/sbi-dev/sbi/...
Pull requests · 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 interface, sbi has ...
github.com
janboelts.bsky.social
On my way to the SBI hackathon in Tübingen—on a EuroCity that’s overbooked, delayed, and mysteriously missing all reservation signs. People pacing the aisles, luggage blocking exits, a baby wailing in the distance… 🚆🔥😵‍💫

If only the German railway system were as user-friendly as the SBI package! 🥲
sbi-devs.bsky.social
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!
janboelts.bsky.social
thanks for the response! yes, that makes sense. I was wondering how exactly you sample from the augmented posterior as this was not clear to me from reading the paper. E.g., in the SBI case (DDM example), how do you sample p(theta | x_i, x_o) given that the conditions are not iid?
janboelts.bsky.social
Really neat idea!
I had a quick look and did not quite understand how the „augmented“ posterior is obtained or how you can sample from it to calculate the conditional ranks.
Thanks 🙏
janboelts.bsky.social
Actually, I think this can be useful for mixed-effects models as well: you define a hierarchical prior and simulator with your fixed effects model and then train NLE on single trial data. At inference time, you then condition on x and conditions for each subject, or for multiple subjects at once.
janboelts.bsky.social
Good question, thanks! When you train NLE on single trials, you can now run inference given a set of iid trials and additionally condition on corresp. set of varying experimental condition (without retraining). Perm. inv. nets are used in NPE settings, which usually requires retraining. Clarified?
janboelts.bsky.social
For everyone working with trial-based i.i.d. data and varying experimental conditions - we have you covered now!
You need to train NLE only once and then can run MCMC with multiple subjects, trials and conditions, etc.
Example: sbi-dev.github.io/sbi/dev/tuto...
Reach out on GitHub for questions 🙋‍♂️
janboelts.bsky.social
Would you mind adding me as well? I work on SBI and related methods. Thanks!
janboelts.bsky.social
So happy to be part of this project and see it growing!
Many thanks to all contributors and users for making it possible 🚀
sbi-devs.bsky.social
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
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...
arxiv.org
Reposted by Jan Boelts
sbi-devs.bsky.social
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!
janboelts.bsky.social
Great list! Thanks for initiating this. Can you please add me as well? I work on OSS for science, e.g., bsky.app/profile/sbi-...
Thanks!
janboelts.bsky.social
Great, thanks for creating this! Please add me as well.