Utilizing Approximated Hessian in Embedded Optimization for Bayesian Problem

Skip to first unread message

Lu Ezra

Aug 24, 2023, 3:14:44 AMAug 24
to Ceres Solver
Dear All,

I am currently working on an embedded optimization problem within a Bayesian context and I am employing Ceres Solver for this purpose. Specifically, I'm using a two-loop approach:

1. **Outer Loop**: Minimizing -2 Log Likelihood (-2ll) using numerical differentiation.
2. **Inner Loop (EBE part)**: Computing Empirical Bayes Estimation (EBE) with closed-form gradient.

For the outer loop, the numerical differentiation is functioning well, and the inner loop also successfully computes the EBE.

My query pertains to the inner loop where I have a closed-form gradient. Is it possible to start the direction computation from the approximated Hessian that was calculated at the end of the previous iteration? My objective is to leverage this existing information to enhance the efficiency of the computation.

Any guidance or suggestions on how to implement this within Ceres would be greatly appreciated.

Thank you for your assistance.

Best regards,

Sameer Agarwal

Aug 24, 2023, 12:56:21 PMAug 24
to ceres-...@googlegroups.com
If I am understanding correctly you are asking if you can inject/carry a hessian approximation into ceres from one solve call to another?
There is no clean way of doing that AFAIK.

You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/dfd1f604-6181-443c-9719-97107f68f3d7n%40googlegroups.com.
Reply all
Reply to author
0 new messages