News for hackers. Stuff that matters.
Re:The Accelerating Adoption of Julia by nextos on Tuesday October 20, 2020 @02:07PM (#24840533)
I love Julia, but I think comparing Pyro with Turing is pretty unfair.

Pyro can scale to pretty big datasets thanks to custom inference via guides. So you can do inference on pretty sophisticated models such as Deep Markov.

Whereas Turing is mostly for small or medium sized models. For learning purposes, for smaller models or for non-parametrics Turing might be a much better choice, though.

Re:The Accelerating Adoption of Julia by outlace on Tuesday October 20, 2020 @02:14PM (#24840607)
But isn’t the good scaling due to using variational inference rather than full MCMC? Turing has VI too.
Re:The Accelerating Adoption of Julia by nextos on Tuesday October 20, 2020 @05:30PM (#24842535)
Not just that. Aside from the fact that Pyro has a lot of guide tooling, you get for example (hybrid) message passing for HMMs. This is crucial to scale beyond toy data.

Within Julia, ForneyLab.jl is quite cool for non-deep state space models. I also like Turing.jl, but it has different tradeoffs.

Re:The Accelerating Adoption of Julia by marmaduke on Tuesday October 20, 2020 @03:13PM (#24841265)
the "good scaling" is due to variational inference, which turns inference problems into optimization problems, but one has to verify the variational approximation holds, etc.

In my experience, Pyro (generally variational inference) is more like a Bayesian optimization than full inference, since it will simply miss multimodality or non-Gaussian tails, etc.