ReactiveMP.jl icon indicating copy to clipboard operation
ReactiveMP.jl copied to clipboard

Speed up backward message for `Linearization`

Open bartvanerp opened this issue 1 year ago • 1 comments

The computation of the backward message for the Linearization approximation around the Delta node can be sped up significantly, without the need of computing the marginals over all inputs. This can be achieved by using more effective computations in the forward pass and weightedmean precision parameterization in the backward pass.

bartvanerp avatar Aug 28 '23 15:08 bartvanerp

Related https://juliadiff.org/ForwardDiff.jl/stable/user/advanced/

bvdmitri avatar Oct 23 '23 11:10 bvdmitri