Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: SimulationBasedInference v0.1.0 #105005

Conversation

JuliaRegistrator
Copy link
Contributor

@JuliaRegistrator JuliaRegistrator commented Apr 16, 2024

JuliaRegistrator referenced this pull request in bgroenks96/SimulationBasedInference.jl Apr 16, 2024
Copy link
Contributor

github-actions bot commented Apr 16, 2024

Your new package pull request met all of the guidelines for auto-merging and is scheduled to be merged when the mandatory waiting period (3 days) has elapsed.

Since you are registering a new package, please make sure that you have read the package naming guidelines: https://pkgdocs.julialang.org/v1/creating-packages/#Package-naming-guidelines


If you want to prevent this pull request from being auto-merged, simply leave a comment. If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment. You can edit blocking comments, adding [noblock] to them in order to unblock auto-merging.

@gdalle
Copy link
Contributor

gdalle commented Apr 16, 2024

[noblock]
Hi @bgroenks96 and congrats on the new package! Can I ask how it aims to differentiate itself from other similar initiatives, most notably Turing and its MCMC ecosystem?

UUID: 78927d98-f421-490e-8789-96b006983a5c
Repo: https://github.com/bgroenks96/SimulationBasedInference.jl.git
Tree: 26b08f40d37fffd6e24a396e01e0c3f88916b372

Registrator tree SHA: 17aec322677d9b81cdd6b9b9236b09a3f1374c6a
@JuliaRegistrator JuliaRegistrator force-pushed the registrator-simulationbasedinference-78927d98-v0.1.0-b9bce9e95a branch from 8f11b62 to e09afd4 Compare April 16, 2024 20:35
JuliaRegistrator referenced this pull request in bgroenks96/SimulationBasedInference.jl Apr 16, 2024
@bgroenks96
Copy link

bgroenks96 commented Apr 16, 2024

[noblock]

Hi @gdalle,

Thanks for your interest.

I am a long time user of Turing, and I love it's simplicity and ease-of-use for many statistical modeling use cases.

However, after several years of use, I must say that Turing is woefully inadequate for use-cases where the forward model is computationally expensive. The interface is not designed in a way that makes sense for such models. For example, it lacks the ability to save and recover deterministic outputs of the model; one must call generated_quantities which requires re-running the model which is extremely wasteful in cases where doing so is non-trivial. Furthermore, it is sorely lacking in non-gradient based sampling methods, especially when it comes to parallel sampling (i.e. ensemble or particle-based algorithms, not multi-chain). SimulationBasedInference aims to fill this gap.

The closest existing package to this one is probably DataAssim but this is focused on classical data assimilation methods, i.e. filtering problems applied to model state, rather than simulation-based Bayesian inference more broadly.

I will add a README section soon to highlight these points.

EDIT: I should also mention that SimulationBasedInference actually includes an extension module for Turing as well as DynamicHMC and Gen (the latter is still WIP) which allows the prior model to be expressed using its PPL and integrates with its sampling algorithms to cover cases where Turing's samplers would be applicable.

@gdalle
Copy link
Contributor

gdalle commented Apr 19, 2024

[noblock]
Thanks for the explanation! Just wanted to make sure that the package creator didn't miss the elephant in the room, which you obviously didn't :)

@JuliaTagBot JuliaTagBot merged commit 79eb1c8 into master Apr 19, 2024
11 checks passed
@JuliaTagBot JuliaTagBot deleted the registrator-simulationbasedinference-78927d98-v0.1.0-b9bce9e95a branch April 19, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants