-
Notifications
You must be signed in to change notification settings - Fork 142
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
Unusual behavior of "OneShiftOnly" and comparison of other optimizers #3968
Comments
Could you enable |
Isn't this on by default now? ( I am amazed that the optimizer was as successful as it was without them ) |
This system has NonLocalECP/LocalEnergy ~ 27% in VMC. that is why I feel |
Nlpp derivatives seem to be the key, on my workstation
|
Below are with derivatives. Indeed it fixes the issue. The old/new execution times:
I agree with having |
Your curves confirm my expectation.
|
I wasn't aware that only |
Hmm. I know there are some gaps, but even going back to the 2014 and 2016 workshop it was assumed that arbitrary mixes of energy and variance were supported by all, or nearly all, of the optimizers. I think we need to get more serious on this topic and should at least issue a warning if the cost function is not pure energy for optimizers that don't support this. ( Similarly #3969 should have warnings where there are gaps in implementation ) |
Users rarely read QMCPACK warning unless a run breaks down. Documentation likely more. |
IMO optimizers that do not use |
@aannabe thanks for reporting the unusual behavior (both w.r.t. optimization performance and input inconsistencies). This kind of information is quite valuable and not enough people take the time to report. |
A follow-on question: why is OneShiftOnly so much more sensitive to the exclusion of the nlpp derivative data than the other optimizers? Reduced robustness in one context raises questions about others. |
|
Describe the bug
An unusual behavior was observed for the Tb atom using
OneShiftOnly
optimizer. See the comparison of optimizers for energy and variance.To Reproduce
System:
Additional context
All optimizers use the same parameters:
Other parameters are default ones.
Using the same resources, the execution times are given below:
optimizers_compare.zip
The text was updated successfully, but these errors were encountered: