A word on random opening

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Dann Corbit, Harvey Williamson

User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

A word on random opening

Post by xr_a_y »

In the aim of generating training data with/for Minic, I am using random move for n-ply, then starts to play.
If n is odd (meaning that white plays one more random move than black) then black score is better than white. This looks natural.

But if n is even (i've try 6, 8 and 10), white is also loosing it advantage, while white is still the "first" to play a not random move.

Does someone already notice that ?
Ras
Posts: 2485
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Re: A word on random opening

Post by Ras »

xr_a_y wrote: Thu Nov 12, 2020 7:20 pmDoes someone already notice that ?
I don't use random moves for openings, but it seems logical: White's advantage is having the initiative, but White needs to actively maintain and foster that, and random moves give it away.
Rasmus Althoff
https://www.ct800.net
User avatar
Laskos
Posts: 10948
Joined: Wed Jul 26, 2006 10:21 pm
Full name: Kai Laskos

Re: A word on random opening

Post by Laskos »

xr_a_y wrote: Thu Nov 12, 2020 7:20 pm In the aim of generating training data with/for Minic, I am using random move for n-ply, then starts to play.
If n is odd (meaning that white plays one more random move than black) then black score is better than white. This looks natural.

But if n is even (i've try 6, 8 and 10), white is also loosing it advantage, while white is still the "first" to play a not random move.

Does someone already notice that ?

4 plies random openings still have some 0.20 in classical SF eval median white advantage, which is in line with the expected white advantage. The spread is fairly large, that is what you mean, that often one can find 0.40 or -0.20 openings?

Here is the distribution of 4 plies random openings in SF eval:

Image
Madeleine Birchfield
Posts: 512
Joined: Tue Sep 29, 2020 4:29 pm
Location: Dublin, Ireland
Full name: Madeleine Birchfield

Re: A word on random opening

Post by Madeleine Birchfield »

Laskos wrote: Thu Nov 12, 2020 9:37 pm 4 plies random openings still have some 0.20 in classical SF eval median white advantage, which is in line with the expected white advantage. The spread is fairly large, that is what you mean, that often one can find 0.40 or -0.20 openings?

Here is the distribution of 4 plies random openings in SF eval:

Image
I would like to see the same test done with the current dev version of Stockfish.
User avatar
Laskos
Posts: 10948
Joined: Wed Jul 26, 2006 10:21 pm
Full name: Kai Laskos

Re: A word on random opening

Post by Laskos »

Madeleine Birchfield wrote: Thu Nov 12, 2020 9:48 pm
Laskos wrote: Thu Nov 12, 2020 9:37 pm 4 plies random openings still have some 0.20 in classical SF eval median white advantage, which is in line with the expected white advantage. The spread is fairly large, that is what you mean, that often one can find 0.40 or -0.20 openings?

Here is the distribution of 4 plies random openings in SF eval:

Image
I would like to see the same test done with the current dev version of Stockfish.
It won't look very different, maybe a bit compressed. This was 2-3 years ago with the old SF dev at 100ms / positions. The individual values vary quite a bit with time per position used, but the shape of the distribution overall is fairly constant. Median white advantage of some 0.20 is always there and it would probably be just a bit smaller with the current SF dev.
User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: A word on random opening

Post by xr_a_y »

I'm talking in game results not evaluation just after the random moves (but those games were played at fixed depth search).
User avatar
Laskos
Posts: 10948
Joined: Wed Jul 26, 2006 10:21 pm
Full name: Kai Laskos

Re: A word on random opening

Post by Laskos »

xr_a_y wrote: Fri Nov 13, 2020 8:10 am I'm talking in game results not evaluation just after the random moves (but those games were played at fixed depth search).
I think SF tests do have a white advantage in results.