Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hessian in TorsionTarget? #207

Open
mkrompiec opened this issue Mar 15, 2021 · 3 comments
Open

Hessian in TorsionTarget? #207

mkrompiec opened this issue Mar 15, 2021 · 3 comments

Comments

@mkrompiec
Copy link

mkrompiec commented Mar 15, 2021

I'm looking for ways to speed up torsion fitting. Is the Hessian of the objective function computed for the TorsionTarget if Newton-Raphson optimizer is used? Should BFGS be faster?

@leeping
Copy link
Owner

leeping commented Mar 15, 2021

In my experience, the Newton-Raphson optimizer is usually faster because part of the objective function Hessian is calculated via the Gauss-Newton approximation. I don't have the theory for how to update the Hessian a la BFGS if the Gauss-Newton part is being recomputed at every step, but I think it may be possible.

@mkrompiec
Copy link
Author

Thanks @leeping ! Do you have any tips for speeding up torsion fitting? We are fitting all rotatable torsions in polyaromatic molecules, 2-5 torsions each.

@leeping
Copy link
Owner

leeping commented Mar 22, 2021

Have you tried the remote target feature? It allows all objective function components (target) to be computed in parallel across multiple machines, and it's something we use routinely to run the larger parameter optimizations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants