Better HN
topnewbestaskshowjobs
Log inSign up

bvdmitri

5 karma · joined Nov 25, 2023 (3y ago) · 5 submissions

Submissions

comment 1y ago · link · parent

RxInfer is specifically designed for real-time Bayesian inference, which sets it apart from many other approaches. You can’t reliably compare it to “competing Bayesian inference methods” because most of them rely on sampling, which is simply too computationally expensive to be used in real-time. While RxInfer may introduce some approximation error, sampling-based methods are often too slow to produce any result within the required time frame.

For example, in our portfolio we have a comparison with NumPyro on Bayesian linear regression: https://examples.rxinfer.com/categories/basic_examples/bayes.... While this isn’t a real-time signal processing use case, it still shows that RxInfer can match the quality of NumPyro’s results—at a fraction of the computational cost

2.

RxInferServer – Remote Bayesian Inference from Python via Julia

6 points · by bvdmitri · 1y ago · 3 comments

comment 3y ago · link · parent

RxInfer.jl does some analysis, but it is quite limited atm. The main library for specifying the graph structure (GraphPPL.jl) is being rewritten, refactored and overhauled from grounds and should do much much better job in automatically recognising the graph structure in the future!

comment 3y ago · link · parent

There inevitable drawbacks of both approaches. Nothing particularly wrong with the simulation, but it is really really slow and is not applicable in real-time or close to real-time applications, where situation may change rapidly. Also it usually requires high-end CPUs, which are not available on edge devices like drones.

RxInfer tries to be as efficient as possible in running inference, but it does indeed places limits on the form of the models it can run inference for. The team has long-term plans and solutions under research, which should expand the set of available models substantially. Message passing has a long history, it is not only belief propagation on simple models, but also nowadays the variational inference is possible with message passing on sophisticated hierarchical models.