Skip to content
Little GolemMake your next move.

Hex bot battle

Public forum discussion.

#1 · leela_bot

8 Apr 2019

Pretty remarkable that both gzero and leela, completely independently, decided that k12 (c2) is the most balanced opening move.

#2 · leela_bot

9 Apr 2019

First 2 games have started:

Game 2089896, similar to game 2080188 which gzero won, but gzero deviates on move 6

Game 2089655, similar to game 2080079 which gzero won, but leela deviates on move 6

#3 · Arek Kulczycki

9 Apr 2019

My guesses for second and third respectively are a13/m1 and a3/m11 ;)

#4 · Arek Kulczycki

9 Apr 2019

In both games above I think leela is ahead, but as lazyplayer has mentioned, I should not dare suggest solutions in bot games anymore ;)

#5 · gzero_bot

9 Apr 2019

GG(s) to leela!  Congrats!   :)

I think Arek you were right... early on gzero was a little pessimistic on the outlook of both games, and slowly became more and more pessimistic.  I've reduced the resign percentage, so it prolongs the game a bit - so gzero might play really desperate moves at the end (that is MCTS for you).

I am running a long job to find openings other than k12.  It seems that gzero is currently a fan of an unusual(?) trio f11/g11/h11 (and rotations).

#6 · leela_bot

9 Apr 2019

Amazing! leela also likes g11 as an opening move!

#7 · lazyplayer

9 Apr 2019

Probably there are losing openings on first column too, but maybe MCTS is biased and doesn't perceive that? That is,  a7,a8,a9,a10...

Regarding f11,g11,h11, we know they're more or less balanced. :)

Regarding your last 2 games, it seems leela knows what it's doing and gzero does not, but somehow, gzero also wins some games :D

#9 · Arek Kulczycki

9 Apr 2019

lazyplayer, I get the same impression! Leela seems to play correctly while gzero seems to play random "reasonable" moves and sometimes it's just enough to reach an endgame where gzero is monstrously brilliant like leela ;)

#10 · David J Bush

9 Apr 2019

How about some 19x19 bot games? It might popularize this variant. Maybe humans could maintain a stronghold there for a while.

#11 · lazyplayer

9 Apr 2019

David, on 19x19 we stand no chance at all. We humans are mostly clueless on the big picture. Some more (me) some less (maybe Daniel and Arek).

But anyway, it would be nice to observe some 19x19 games played by bots according to "objective" standards.

#12 · lazyplayer

9 Apr 2019

I think probably playing mostly correctly at the global scale requires calculation, you really have to sample a lot of possible continuations. And this is exactly what the bots are doing. So basically on that front we can't outplay them at all. The only chance of outplaying them is in local tactics that are large enough to have escaped their patter recognition algorithms.

#13 · lazyplayer

9 Apr 2019

Well, technically, we could outplay them by intuitively making a correct global plan... but good luck doing that on 19x19! :D

#14 · Daniel Sepczuk

9 Apr 2019

What do you thinks guys about my games against leela and gzero? Especialky against leela on white and against gzero on black i feel disappointed

#15 · lazyplayer

9 Apr 2019

Daniel, in game 9895, after 7 k6 it's over, right? so maybe 6 i6 as alternative?

#16 · lazyplayer

9 Apr 2019

Hm no i6 loses easily, I'm trying i7 now...

#17 · lazyplayer

9 Apr 2019

Daniel, I think you blundered, at 6 you seem to have two choices that don't lose immediately, i7 and j6. I doubt they're enough to win but I've no idea really.

#19 · Arek Kulczycki

9 Apr 2019

Daniel, I think you've been losing pretty early in the first two...

here and here

the third I like your position here, later I will analyse this game deeper

In the fourth I don't like both #6 and #8 and it collapses more and more with every next move...

#20 · leela_bot

10 Apr 2019

leela thought 7.d7 was a perfectly OK move. In fact things weren't quite over yet until 15.i3. It thought 15.j7 would have been much better.

#23 · gzero_bot

10 Apr 2019

@lazy & @arek - gzero would appreciate some game time if you are up for it.  you can tell me what the random(ish) moves are so I can try to debug it.  Thanks.

#26 · gzero_bot

10 Apr 2019

And posted from wrong account. :)

#27 · Arek Kulczycki

10 Apr 2019

Im up for it but do you mean through the "Rated games" mechanism?

gzero, it's hard for me to describe the randomishness clearly, because it's a long term observation. Leela seems to follow up on the initial moves. Gzero seems to play all the good stuff but without order.

An example is this https://littlegolem.net/jsp/game/game.jsp?gid=2080616&nmove=16

All white stones support each other. Black d5, g4 and j3 make no sense in terms of putting them on board together,

#28 · gzero_bot

10 Apr 2019

"gzero, it’s hard for me to describe the randomishness clearly, because it’s a long term observation. Leela seems to follow up on the initial moves. Gzero seems to play all the good stuff but without order."

That's interesting, thanks.  I'll try rerunning that example.  One thing is that if gzero gets pessimistic, the top moves end up shuffling down in priority and all the top candidate moves are bunched up with the same probability, and usually a randomish move remains at the top at the end of the search (so maybe what it thinks will prolong the loss).  It is generally whats happens with long searches and MCTS if it goes into pessimistic mode.  I am not a strong enough player to see such bad moves, so I have no idea when such bad moves are made, so it hard to even correlate this theory.  Maybe one reason we see less of this with leela is that leela doesn't lose very often!  I might be clutching at straws here, it is very hard to figure why it does something.

Sure rated or unrated if you want.

#29 · lazyplayer

10 Apr 2019

gzero, so basically it's more random when the game is less balanced? actually this is understandable, because it's hard to evaluate unbalanced positions...

#30 · gzero_bot

10 Apr 2019

it is more random for the player that is losing when the game is less balanced.

another way to view it - from a single board state and the current player to play:

the less chance of winning, the more it will explore - and the more random the top move will be.

[the famous lee sedol versus alphago is a prime example of this]

the greater the chance of winning, the more it will latch onto the top move and barely explore other moves.

but again, it is just one example of something that can go wrong.  If the network evaluation is in lala land, it will behave very different.

#31 · lazyplayer

10 Apr 2019

gzero, maybe I've understood, unbalanced position create some kind of instability, but this instability is a problem only at the root node, because at the root you've to eventually make a final decision.

#32 · lazyplayer

10 Apr 2019

Ok, I take back what I've just said. I guess it's due to the MCTS algorithm. It's simply more random when you're losing.

#33 · gzero_bot

10 Apr 2019

lazy - yes, what you said was right.  non-root nodes that are pessimistic don't matter, they just back-propagate a truer score.  In fact, pessimistic opponent non-root nodes are great since it will be exploring more, and less chance of a surprise move.

#34 · leela_bot

10 Apr 2019

I've certainly observed that with leela also: if it is losing it starts making really bad looking moves. They are objectively probably still the best moves, but I think human players seem to know how to complicate the situation by playing tricky stuff when they are losing, but the bots are too "honest" for that :)

#36 · Arek Kulczycki

10 Apr 2019

I think k7/c7 is too strong and both game will end as white win. I will be watching carefully :)

#37 · lazyplayer

10 Apr 2019

It seems Leela is going to win both. It plays so confidently, as if it's knowing what it's doing.

Regarding root nodes, I can understand that, but there also has to be some asymmetry between losing and winning. Maybe there is a logarithm somewhere in the formulas of MCTS?

#38 · lazyplayer

10 Apr 2019

Well, maybe gzero has decent chances in game #...91. Both are after the 16th move right now.

#39 · lazyplayer

10 Apr 2019

In my experiences, for stones like c7 to lose, black has often to play b6-b9 threat, and it's really fun when it happens. :)

#40 · lazyplayer

10 Apr 2019

Well, but I was playing that on 11x11. On 13x13 it's really hard to imagine a way to fit b6 and b9 into play without losing on the spot. :D

#41 · lazyplayer

10 Apr 2019

Leela even found a way to play B6 in its game. Both games look complex and beyond human understanding. Maybe it would take hours to understand what's going on there.

#42 · gzero_bot

10 Apr 2019

fwiw, @ move 32 - gzero seems rather confident with game 22 (90% rising with search) - but then stranger things have happened!  91 is still in the balance, with (60% decreasing with search).

#43 · lazyplayer

10 Apr 2019

gzero, you may end up winning both against all previsions :D heheheh

i think you still play very dubious initial stones but not even leela seems able to refute them.

#44 · leela_bot

10 Apr 2019

leela agrees 22 is over, also pretty balanced still on 91. I don't think I have ever seen it this close this deep into a game.

#45 · lazyplayer

11 Apr 2019

Yeah 22 is over, but I think gzero has just blundered at 91 with 38 k4...

#46 · lazyplayer

11 Apr 2019

Well, it's over anyway, congrats to gzero. Who wrote the code? I see it's in GitHub.

#48 · lazyplayer

11 Apr 2019

38 L3 is of course better, as you can see locally. But it loses anyway.

#49 · lazyplayer

11 Apr 2019

Probably Gzero isn't even bothering analyzing, it picks first random winning move and stays with it.

#50 · leela_bot

11 Apr 2019

Congrats to gzero on winning 22! Leela is now under 20% on 91 also, so it looks like the score is going to be leela 2, gzero 2 so far.