Re: CGOS source on github

David Wu <[email protected]> Fri, 22 Jan 2021 09:13:02 -0500
Newsgroups gmane.games.devel.go
Message-ID <CAGEydYv3avj1dciugtGe8XSPjiihyMRp4_wFJLbSha=xx6YQhQ@mail.gmail.com>
--===============1564350900306597524==
Content-Type: multipart/alternative; boundary="000000000000cba00b05b97dc9d0"

--000000000000cba00b05b97dc9d0
Content-Type: text/plain; charset="UTF-8"

On Fri, Jan 22, 2021 at 3:45 AM Hiroshi Yamashita <[email protected]> wrote:

> This kind of joseki is not good for Zero type. Ladder and capturing
>   race are intricately combined. In AlphaGo(both version of AlphaGoZero
>   and Master) published self-matches, this joseki is rare.
> -------------------------------------------------------------
>
> I found this joseki in kata1_b40s575v100 (black) vs LZ_286_e6e2_p400
> (white).
> http://www.yss-aya.com/cgos/viewer.cgi?19x19/SGF/2021/01/22/733340.sgf
>

Hi Hiroshi - yep. This is indeed a joseki that was partly popularized by AI
and jointly explored with humans. It is probably fair to say that it is by
far the most complicated common joseki known right now, and more
complicated than either of the avalanche or the taisha.

Some zero-trained bots will find and enter into this joseki, some won't.
The ones that don't play this joseki in self-play will have a significant
chance to be vulnerable to it if an opponent plays it against them, because
there are a large number of traps and blind spots that cannot be solved if
the net doesn't have experience with the position. And even having some
experience is not always enough. For example, ELF and Leela Zero have
learned some lines, but are far from perfect. There is a good chance that
AlphaGoZero or Master would have been vulnerable to it as well. KataGo at
the time of 1.3.5 was also vulnerable to it too - it only rarely came up in
self-play, and therefore was never learned and correctly evaluated, so from
the 3-3 invader's side the joseki could be forced and KataGo would likely
mess up the joseki and be losing the game right at the start. (The most
recent KataGo nets are much less vulnerable now though).

The example you found is one where this has happened to Leela Zero. In the
game you linked, move 34 is a big mistake. Leela Zero underweights the
possibility of move 35, and then is blind to the seeming-bad-shape move of
37, and as a result, is in a bad position now. The current Leela Zero nets
consistently makes this mistake, *and* consistently prefer playing down
this line, so against an opponent happy to play it with them, Leela Zero
will lose many games right in the opening all the same way.

Anyways, the reason this joseki is responsible for more such distortions
than other joseki seems to be because it is so sharp, and unlike most other
common joseki, contains at least 5-6 enormous blind spots in different
variations that zero-trained nets variously have trouble to learn on their
own.

> a very large sampling of positions from a wide range
> > of human professional games, from say, move 20, and have bots play
> starting
> > from these sampled positions, in pairs once with each color.
>
> This sounds interesting.
> I will think about another CGOS that handle this.


I'm glad you're interested. I don't know if move 20 is a good number (I
just threw it out there), maybe it should be varied, it might take
some experimentation. And I'm not sure it's worth doing, since it's still
probably only the smaller part of the problem in general - as Remi pointed
out, likely ladder handling will be a thing that always continues to
introduce Elo-nontransitivity, and probably all of this is less important
than generally having a variety of long-running bots to help stabilize the
system over time.

--000000000000cba00b05b97dc9d0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div><div dir=3D"ltr" class=3D"gmail_attr=
">On Fri, Jan 22, 2021 at 3:45 AM Hiroshi Yamashita &lt;<a href=3D"mailto:y=
[email protected]" target=3D"_blank">[email protected]</a>&gt; wrote:<br></div=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

This kind of joseki is not good for Zero type. Ladder and capturing<br>
=C2=A0 race are intricately combined. In AlphaGo(both version of AlphaGoZer=
o<br>
=C2=A0 and Master) published self-matches, this joseki is rare.<br>
-------------------------------------------------------------<br>
<br>
I found this joseki in kata1_b40s575v100 (black) vs LZ_286_e6e2_p400 (white=
).<br>
<a href=3D"http://www.yss-aya.com/cgos/viewer.cgi?19x19/SGF/2021/01/22/7333=
40.sgf" rel=3D"noreferrer" target=3D"_blank">http://www.yss-aya.com/cgos/vi=
ewer.cgi?19x19/SGF/2021/01/22/733340.sgf</a><br></blockquote></div><div><br=
></div><div>Hi Hiroshi - yep. This is indeed a joseki that was partly popul=
arized by AI and jointly explored with humans. It is probably fair to say t=
hat it is by far the most complicated common joseki known right now, and mo=
re complicated than either of the avalanche or the taisha.=C2=A0</div><div>=
<br></div><div>Some zero-trained bots will find and enter into this joseki,=
 some won&#39;t. The ones that don&#39;t play this joseki in self-play will=
 have a significant chance to=C2=A0be vulnerable to it if an opponent plays=
 it against them, because there are a large number of traps and blind spots=
 that cannot be solved if the net doesn&#39;t have experience with the posi=
tion. And even having some experience is not always enough. For example, EL=
F and Leela Zero have learned some lines, but are far from perfect. There i=
s a good chance that AlphaGoZero or Master would have been vulnerable to it=
 as well. KataGo at the time of 1.3.5 was also vulnerable to it too - it on=
ly rarely came up in self-play, and therefore was never learned and correct=
ly evaluated, so from the 3-3 invader&#39;s side the joseki could be forced=
 and KataGo would likely mess up the joseki and be losing the game right at=
 the start. (The most recent KataGo nets are much less vulnerable now thoug=
h).</div><div><br></div><div> The example you found is one where this has h=
appened to Leela Zero. In the game you linked, move 34 is a big mistake. Le=
ela Zero underweights the possibility of move 35, and then is blind to the =
seeming-bad-shape move of 37, and as a result, is in a bad position now. Th=
e current Leela Zero nets consistently makes this mistake, *and* consistent=
ly prefer playing down this line, so against an opponent happy to play it w=
ith them, Leela Zero will lose many games right in the opening all the same=
 way.</div><div>=C2=A0</div><div>Anyways, the reason this joseki is respons=
ible for more such distortions than other joseki seems to be because it is =
so sharp, and unlike most other common joseki, contains at least 5-6 enormo=
us blind spots in different variations that zero-trained nets variously hav=
e trouble to learn on their own. </div><div><br></div><blockquote class=3D"=
gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20=
4,204,204);padding-left:1ex">&gt; a very large sampling of positions from a=
 wide range<br>
&gt; of human professional games, from say, move 20, and have bots play sta=
rting<br>
&gt; from these sampled positions, in pairs once with each color.<br> <br>
This sounds interesting.<br>
I will think about another CGOS that handle this.</blockquote><div><br></di=
v><div>I&#39;m glad you&#39;re interested. I don&#39;t know if move 20 is a=
 good number (I just threw it out there), maybe it should be varied,=C2=A0i=
t might take some=C2=A0experimentation. And I&#39;m not sure it&#39;s worth=
 doing, since it&#39;s still probably only the smaller part of the problem =
in general - as Remi pointed out, likely ladder handling will be a thing th=
at always continues to introduce Elo-nontransitivity, and probably all of t=
his is less important than generally having a variety of long-running bots =
to help stabilize the system over time.</div><div>=C2=A0<br></div></div>
</div>

--000000000000cba00b05b97dc9d0--

--===============1564350900306597524==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Computer-go mailing list
[email protected]
http://computer-go.org/mailman/listinfo/computer-go

--===============1564350900306597524==--