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

NNUE evaluation threshold #2916

Closed
wants to merge 2 commits into from

Conversation

MJZ1977
Copy link
Contributor

@MJZ1977 MJZ1977 commented Aug 6, 2020

The idea is to use NNUE only on quite balanced material positions. This bring a big speedup on research since NNUE eval is slower than classical eval for most of the hardwares and specially on unbalanced positions with LazyEval.

STC: https://tests.stockfishchess.org/tests/view/5f2c2680b3ebe5cbfee85b61
LLR: 2.95 (-2.94,2.94) {-0.50,1.50}
Total: 3168 W: 560 L: 400 D: 2208
Ptnml(0-2): 21, 294, 819, 404, 46

LTC: https://tests.stockfishchess.org/tests/view/5f2c2ca6b3ebe5cbfee85b69
LLR: 2.98 (-2.94,2.94) {0.25,1.75}
Total: 3200 W: 287 L: 183 D: 2730
Ptnml(0-2): 4, 149, 1191, 251, 5

Bench 4746616

Bench 4746616
@vondele vondele closed this in 3dca13a Aug 6, 2020
@vondele
Copy link
Member

vondele commented Aug 6, 2020

First ~10 Elo patch, quick!

@ssj100
Copy link

ssj100 commented Aug 7, 2020

Just a query please - anyone can work out why SF suddenly becomes blind (and literally never finds the move) in "difficult" positions like the Gusev-Averbakh Queen sac position (sorta leads to zugzwang stuff)? SF NNUE prior to this patch found that move very quickly (often within seconds to a minute on 1-core), while regular SF never found the move. Since this patch got merged, SF NNUE goes back to never finding it. I also noticed some "old habits" of regular SF in other test positions, despite the evals being well below +1. I thought this patch only kicks in when evals are >2-3?

@vondele
Copy link
Member

vondele commented Aug 7, 2020

It is active for any value of the eval of the search, but only for positions with large(r) material imbalance.

noobpwnftw pushed a commit to noobpwnftw/Stockfish that referenced this pull request Aug 15, 2020
The idea is to use NNUE only on quite balanced material positions. This bring a big speedup on research since NNUE eval is slower than classical eval for most of the hardwares and specially on unbalanced positions with LazyEval.

STC: https://tests.stockfishchess.org/tests/view/5f2c2680b3ebe5cbfee85b61
LLR: 2.95 (-2.94,2.94) {-0.50,1.50}
Total: 3168 W: 560 L: 400 D: 2208
Ptnml(0-2): 21, 294, 819, 404, 46

LTC: https://tests.stockfishchess.org/tests/view/5f2c2ca6b3ebe5cbfee85b69
LLR: 2.98 (-2.94,2.94) {0.25,1.75}
Total: 3200 W: 287 L: 183 D: 2730
Ptnml(0-2): 4, 149, 1191, 251, 5

closes official-stockfish#2916

Bench 4746616
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

Successfully merging this pull request may close these issues.

9 participants