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

Problems with Laplace approximation method

Open ismailsenoz opened this issue 3 years ago • 3 comments

There are couple of problems with the Laplace approximation:

  1. For Laplace approximation we use Optim.jl package to evaluate derivatives, however in current version of Optim.jl derivative syntax for 1D functions has changed leading to failures in ReactiveMP.jl.
  2. Current implementation of Laplace is not numerically stable.

ismailsenoz avatar Jan 06 '22 13:01 ismailsenoz

This isn't the first time we suffer from optimization packages. Should we use our handcrafted optimization procedures or we fix the version of optimization packages? Your thoughts guys, @ismailsenoz @bvdmitri @ismailsenoz?

albertpod avatar Jan 07 '22 09:01 albertpod

TBH I don't think we should use our handcrafted optimization procedures - maybe just another package? Or probably there is way to fix Optim.jl. There are plenty of other options too: GalacticOptim.

bvdmitri avatar Jan 07 '22 09:01 bvdmitri

Related #27

albertpod avatar Jun 01 '23 09:06 albertpod