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

Line search in BFGS and L-BFGS sometimes fail #46

Open
yuki-koyama opened this issue Jul 7, 2019 · 1 comment
Open

Line search in BFGS and L-BFGS sometimes fail #46

yuki-koyama opened this issue Jul 7, 2019 · 1 comment

Comments

@yuki-koyama
Copy link
Owner

I've just found that the demo of GPR sometimes fails to optimize hyperparameters using BFGS or L-BFGS in this library; it throws run-time exceptions during line search. This needs to be examined carefully.

@yuki-koyama
Copy link
Owner Author

This is probably not a bug but a correct behavior.

This document, https://dl.acm.org/citation.cfm?id=279236, said

If the line search is unable to find a point with a sufficiently lower value of the objective after 20 evaluations of the objective function, [...]

which indicates that it is possible to fail the line search to find a solution that satisfies the necessary conditions. This document also said

In this case all correction vectors [...] are discarded and the iteration is restarted along the steepest descent direction.

So it may be better to follow this restarting strategy. Anyway, this issue needs to be examined still.

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

1 participant