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

Quick win: horizon effect #10

Open
ThomasCabaret opened this issue Jan 23, 2018 · 2 comments
Open

Quick win: horizon effect #10

ThomasCabaret opened this issue Jan 23, 2018 · 2 comments

Comments

@ThomasCabaret
Copy link

Hi, there is a clear horizon effect on hard games, by example: black win rate = 50% white makes a move. then black win rate drops to 20%.
It comes from the fact the analysis is probably done forward but performing the analysis backward would fix this kind of issue (because leela engine keeps track of explored sub-tree), it will not make leela that much reliable but it will improve it's evaluation with the game main line as an hint. And more importantly it makes the analysis more consistent with itself.
So performing the evalution backward from last move to first move is probably a real quick win for the script!

@ThomasCabaret ThomasCabaret changed the title Horizon effect quick win Quick win: horizon effect Jan 23, 2018
@lightvector
Copy link
Owner

lightvector commented Jan 23, 2018 via email

@ThomasCabaret
Copy link
Author

You can download an example here:
http://eidogo.com/#4cYWS2Fgy
move 119-120 a drop of 30% for black during white's move.
I tested leela empty from all evaluation starting on move 120 then going back to move 119.
It uses the subtree explored in 120 (evaluates 119 clearly faster when it has seen 120 first) but it's not that instantaneous (I dont know why, I ll see with the leela dev) It seems to need something like 10 seconds. But proceeding backward you can force the consistency by waiting for evalution move N to reach something "close or better" to the one move N+1.

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