-
Notifications
You must be signed in to change notification settings - Fork 12
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
How to solve life&death or tsumego problems by BadukAI? #6
Comments
You can already restrict the search to a rectangle, but only for the next move not for continuations. So there is no good way to solve tsumego at the moment. But I will add the continuation restriction in version 0.19. Furthermore I will add KataGo's parameter to widen the search which might be useful if the tsumego solution is a very "unusual" move and therefore has a low policy value. |
@aki65 Here are some web pages about solving tsumego: |
Nice problem to test with. I still remember when I saw it first about two years ago: took me ages to figure it out ... The good news is that it's really "only" the ko issue: I altered the position slightly (without mirror) adding a white stone at Q4 and a black stone at L4. Then white is still normally solid on the outside, but black has a local ko threat at M4. In this position the current development version of BadukAI (with the two additions from my last post) finds the correct solution. Regarding the ko I have an idea but it's not tested yet ... |
I added some features for this in version 0.19. Please refer to https://www.lifein19x19.com/viewtopic.php?p=261999#p261999 for an explanation how to use them. For your sample problem I had to use all the "tips" mentioned there (balancing the position, solidifying the outside, adding ko threat) and arrived at the position attached. KG still needs a few thousand playouts to find T2, but it finally does. |
I set noise=0.03, insidemoves=30, outsidemoves=A17, A18, and run over 900k visits, but the moves after T2 are not good, and the black doesn't choose S1. |
In my opinion the answer T2 S3 S1 T1 A17 A18 S1 T3 P1 is correct. Solving with BadukAI does not work as expected here because of the choice of the rectangle. It is my fault, I should have told more about how to choose it. So I add this here: The rectangle has to include all relevant points for the problem, that is not only the correct solution, but also all refutations of deviations from the correct line. Otherwise KataGo may regard a wrong sequence as successful just because its refutation can't be played. In this position this means: Of course, normally you solve a problem whose solution you don't know, so you don't know such details. But you also don't need to. In my experience you are always on the safe side by following these two rules of thumb:
If you can reduce this "maximal" rectangle safely by general go logic, do so (it saves playouts). |
It finally does! To my surprise, so many people around the world were focusing on how to solve Go problems by AI since 2016. I need some time to get out of the mess. Here are several webpages: At last, could BadukAI add GTP CLI?The sahwal solves ko-tsumego problems by changing the ko-rule, if we have CLI, we could change rule too. |
It's my fault to change KoRule like the sahwal. It can not be realized just because KataGo doesn't support recapture of a single stone. And although there are many webpages about solving tsumego by AI, they all can't solve all tsumego at my first glance. I need some time to try out a new idea. |
A bit hard rock and long time no good idea, so I close it. |
I can solve those problems by shrinking the size of chessboard through Sabaki on my laptop. But how to solve those problems on my Android phone?
The text was updated successfully, but these errors were encountered: