Well, statistical komi is the median, which may be available during training on millions of positions. I suppose that's more work than just finding the game winner, however.lightvector wrote:In the limit as KataGo grows very very strong, the tendency for the above overestimation might be expected to shrink to 0, but let me think if there's a better way. It's a little tricky, since ideally one would like to still tell the komi to the neural net to allow it to explicitly adapt to knowing whether it's ahead or behind. Hmmm...
Temperature graphs according to KataGo
-
Bill Spight
- Honinbo
- Posts: 10905
- Joined: Wed Apr 21, 2010 1:24 pm
- Has thanked: 3651 times
- Been thanked: 3373 times
Re: Temperature graphs according to KataGo
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins
Visualize whirled peas.
Everything with love. Stay safe.
At some point, doesn't thinking have to go on?
— Winona Adkins
Visualize whirled peas.
Everything with love. Stay safe.
-
xela
- Lives in gote
- Posts: 652
- Joined: Sun Feb 09, 2014 4:46 am
- Rank: Australian 3 dan
- GD Posts: 200
- Location: Adelaide, South Australia
- Has thanked: 219 times
- Been thanked: 281 times
Re: Temperature graphs according to KataGo
Thanks for all the suggestions! Bill's and dfan's ideas are easy to implement, but I've got a busy few days ahead of me, so I'm unlikely to post the updated graphs before next week. Of course I've already published the source code, so someone else might leap in and make those changes before I get to it...
-
xela
- Lives in gote
- Posts: 652
- Joined: Sun Feb 09, 2014 4:46 am
- Rank: Australian 3 dan
- GD Posts: 200
- Location: Adelaide, South Australia
- Has thanked: 219 times
- Been thanked: 281 times
Re: Temperature graphs according to KataGo
OK, I now have graphs for the Spight Adjusted Temperature Method! The raw_temperature line is the same numbers from the first version, and the adjusted_temperature uses Bill's formula. Game_temperature is just the minimum of all the preceding adjusted temperatures.
Example 1: most recent GoGod game, same as post number 1 in this thread.
Example 1: most recent GoGod game, same as post number 1 in this thread.
-
xela
- Lives in gote
- Posts: 652
- Joined: Sun Feb 09, 2014 4:46 am
- Rank: Australian 3 dan
- GD Posts: 200
- Location: Adelaide, South Australia
- Has thanked: 219 times
- Been thanked: 281 times
Re: Temperature graphs according to KataGo
Example 2: AlphaGo-Lee Sedol game 1, post number 2 above
This three attachments per post limit is getting a bit annoying...
-
xela
- Lives in gote
- Posts: 652
- Joined: Sun Feb 09, 2014 4:46 am
- Rank: Australian 3 dan
- GD Posts: 200
- Location: Adelaide, South Australia
- Has thanked: 219 times
- Been thanked: 281 times
Re: Temperature graphs according to KataGo
Example 5
That's all for tonight. I'll look at the environmental go game on the weekend, as it may need a bit of special treatment, not sure if all the passes will require my Python code to be modified, and I don't want to get into that at this time of night. (Only the first game record is available, not the second?)
-
Bill Spight
- Honinbo
- Posts: 10905
- Joined: Wed Apr 21, 2010 1:24 pm
- Has thanked: 3651 times
- Been thanked: 3373 times
Re: Temperature graphs according to KataGo
Very interesting, thanks.xela wrote:OK, I now have graphs for the Spight Adjusted Temperature Method! The raw_temperature line is the same numbers from the first version, and the adjusted_temperature uses Bill's formula. Game_temperature is just the minimum of all the preceding adjusted temperatures.
Example 1: most recent GoGod game, same as post number 1 in this thread.
It appears clear that the endgame in this game starts around move 173. At least, the era of extended high temperature fights is over. And it appears that the middle game has started by move 50, maybe earlier. If the nature of the middle game is extended high temperatures, that is.
Unclear what is happening around move 90 and other places with temperature drops. But it may well be that getting the last play before the drop is worth fighting for.
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins
Visualize whirled peas.
Everything with love. Stay safe.
At some point, doesn't thinking have to go on?
— Winona Adkins
Visualize whirled peas.
Everything with love. Stay safe.
-
xela
- Lives in gote
- Posts: 652
- Joined: Sun Feb 09, 2014 4:46 am
- Rank: Australian 3 dan
- GD Posts: 200
- Location: Adelaide, South Australia
- Has thanked: 219 times
- Been thanked: 281 times
Re: Temperature graphs according to KataGo
Good suggestion, thanks!Uberdude wrote:Interesting stuff xela. The environmental go game at http://britgo.org/results/env/index.html would be a good candidate for analysis to see how well the players' thoughts on what the temperature was via when they took the points cards corresponds with KataGo.
SGF at http://britgo.org/files/games/firstenv.sgf -- tried to embed here but EidoGo doesn't like the format, so you'll need to download and view it with different software.
-
xela
- Lives in gote
- Posts: 652
- Joined: Sun Feb 09, 2014 4:46 am
- Rank: Australian 3 dan
- GD Posts: 200
- Location: Adelaide, South Australia
- Has thanked: 219 times
- Been thanked: 281 times
Re: Temperature graphs according to KataGo
OK, I've kind of fixed the SGF, it had non-standard "result" and "handicap" tags. Now it works in CGoban and q5Go, but still not in EidoGo.
While I was doing this, I realised that I forgot to set the komi in KataGo, so the above analysis assumes komi=7.5. I'll re-run with komi=9.5 to see if it looks any different. Back in an hour or so.
While I was doing this, I realised that I forgot to set the komi in KataGo, so the above analysis assumes komi=7.5. I'll re-run with komi=9.5 to see if it looks any different. Back in an hour or so.
-
xela
- Lives in gote
- Posts: 652
- Joined: Sun Feb 09, 2014 4:46 am
- Rank: Australian 3 dan
- GD Posts: 200
- Location: Adelaide, South Australia
- Has thanked: 219 times
- Been thanked: 281 times
Re: Temperature graphs according to KataGo
Oh, wait, KataGo thinks white is miles ahead for most of the game, because black is taking more cards. I need to adjust the komi every time there's a pass. Watch this space for updates.
-
xela
- Lives in gote
- Posts: 652
- Joined: Sun Feb 09, 2014 4:46 am
- Rank: Australian 3 dan
- GD Posts: 200
- Location: Adelaide, South Australia
- Has thanked: 219 times
- Been thanked: 281 times
Re: Temperature graphs according to KataGo
OK, try this one instead! (You can see the komi adjustments in the gtp log, if you want to wade through many many lines of text.)
Actually not a huge difference, but before the endgame there's slightly more gap between KataGo's idea of temperature and the top card. We've already noted above that KataGo seems to be overestimating in the opening. The endgame looks pretty good.
Actually not a huge difference, but before the endgame there's slightly more gap between KataGo's idea of temperature and the top card. We've already noted above that KataGo seems to be overestimating in the opening. The endgame looks pretty good.