On Jul 2, 2014, at 3:51 PM, Michael Betancourt <
betan...@gmail.com> wrote:
> Same calculation arises in RHMC, which is the reason for the
> grad Trace Matrix Time Hessian autodiff function.
Right. I thought it was starting to look familiar.
> Once the
> inverse has been calculated (a O(N^{3}) cost unless we're really
> clever about the "arrowhead" structure) the derivative can be
> done in O(N).
OK --- that's the best I could come up with.
> But you do have to worry about being in a region where the Hessian
> is positive definite. We could think about finding some way of
> defining a smooth absolute value... ;-)
That's why SoftAbs came up in the discussion. Seems like if
we're going to take second derivatives to model curvature, we
might want to smooth them.
Andrew's already talking about doing a diagonal-only version now
that we discussed the computational cost, which makes this look
even more like SoftAbs!
- Bob