Historic Milestone: AlphaZero

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

Moderators: hgm, Rebel, chrisw

Lyudmil Tsvetkov
Posts: 6052
Joined: Tue Jun 12, 2012 12:41 pm

Re: Much weaker than Stockfish

Post by Lyudmil Tsvetkov »

MikeGL wrote:
Milos wrote:
MikeGL wrote:
Lyudmil Tsvetkov wrote:
Alpha chooses only 1.d4 and 1.Nf3, while Stockfish goes for 1.e4
Judging from this, I can say that Alpha is much weaker than SF in terms of software, and the only reason for the win is the very big hardware advantage.
I think Table 2 [ECO opennings] in the PDF would answer your argument.
All those 12 common opennings, on that Table 2, was played by AlphaZero against SF8, 100 times each. and only a total of 4 losses (out of 60 games) as white starting with 1.e4 (for AlphaZero) as shown on that table.
3 in Sicilian and one in Reti, that is pretty indicative. Also by far the worst percentage of Alpha0 vs SF in those openings.
edit: Not 60 games. 4 losses out of 300 games

50 games as white (and 50 as black) x 6 types of 1.e4 on that Table, if I understood the table correctly.
Was not it just 100 games?
How can 100 games become 300 games?
Was a book used or not after all?
Too many unclear things.

It seems that hardware advantage was 16/1.

I am skeptical, because you can not just go tuning like that.
It simply does not work. You can improve Stockfish play by 200-300 elos or so with perfect tuning, maybe even 500, but not more.
What is necessary is to get rid of redundancies and introduce very specific evaluation patterns, otherwise it simply does not work.

So, basically, currently Alpha is around 3000 elos or so, maybe even lower.
That is weaker even than Fritz 12.
Henk
Posts: 7217
Joined: Mon May 27, 2013 10:31 am

Re: Historic Milestone: AlphaZero

Post by Henk »

--
Last edited by Henk on Wed Dec 06, 2017 5:03 pm, edited 1 time in total.
Lyudmil Tsvetkov
Posts: 6052
Joined: Tue Jun 12, 2012 12:41 pm

Re: Historic Milestone: AlphaZero

Post by Lyudmil Tsvetkov »

jdart wrote:Even Stockfish on a Raspberry Pi is a strong chess player, though. So AlphaZero has decent performance, we just need a better comparison. I don't think there is any fundamental reason a NN based system such as AlphaZero couldn't run on commodity hardware, so maybe that can happen.

--Jon
Well, probably lower than 3000 elos.
Lyudmil Tsvetkov
Posts: 6052
Joined: Tue Jun 12, 2012 12:41 pm

Re: Much weaker than Stockfish

Post by Lyudmil Tsvetkov »

MikeGL wrote:
Lyudmil Tsvetkov wrote:
MikeGL wrote:
Lyudmil Tsvetkov wrote:
Alpha chooses only 1.d4 and 1.Nf3, while Stockfish goes for 1.e4
Judging from this, I can say that Alpha is much weaker than SF in terms of software, and the only reason for the win is the very big hardware advantage.
I think Table 2 [ECO opennings] in the PDF would answer your argument.
All those 12 common opennings (on that Table 2) was played by AlphaZero against SF8, 100 times each. and only a total of 4 losses (out of 300 games) as white starting with 1.e4 (for AlphaZero) as shown on that table.
For some reason, I have no access to that table and the page as a whole.
Very weird.
It seems the page recognises its detractors. :)
Image

The uppermost right diagram is a French Defence [C00], won't fit on my screen.

*
Just download the PDF (right-click then choose download) then upload again at gmail then view it from there.
Otherwise, just download and view it on your PC using any PDF reader.
The training matches are different from the 100 games match with Stockfish.
It is not at all clear to me where were books used and where not.
12 openings with reversed colours don't square in any way with 100 played games, so did they actually left some openings played more than others, or did not they flip colours?
kranium
Posts: 2129
Joined: Thu May 29, 2008 10:43 am

Re: Much weaker than Stockfish

Post by kranium »

Lyudmil Tsvetkov wrote:
The training matches are different from the 100 games match with Stockfish.
It is not at all clear to me where were books used and where not.
12 openings with reversed colours don't square in any way with 100 played games, so did they actually left some openings played more than others, or did not they flip colours?
I'm sure opening books were not used...
In the early self-play games things like 1.a3, 1.a4, etc. were probably tried by AlphaZero...
eventually it learned that 1. e4 or 1. d4 had the highest success rates.
jhellis3
Posts: 546
Joined: Sat Aug 17, 2013 12:36 am

Re: Much weaker than Stockfish

Post by jhellis3 »

Time to place an order for one of these: https://www.nvidia.com/en-us/data-center/dgx-station/

Unless Google starts selling TPU2s, which I doubt.....
Milos
Posts: 4190
Joined: Wed Nov 25, 2009 1:47 am

Re: Much weaker than Stockfish

Post by Milos »

jhellis3 wrote:Time to place an order for one of these: https://www.nvidia.com/en-us/data-center/dgx-station/

Unless Google starts selling TPU2s, which I doubt.....
If K80 is 5k$, that would be like 100k$ minimum starting price.
JJJ
Posts: 1346
Joined: Sat Apr 19, 2014 1:47 pm

Re: Historic Milestone: AlphaZero

Post by JJJ »

Lyudmil Tsvetkov wrote:
jdart wrote:Even Stockfish on a Raspberry Pi is a strong chess player, though. So AlphaZero has decent performance, we just need a better comparison. I don't think there is any fundamental reason a NN based system such as AlphaZero couldn't run on commodity hardware, so maybe that can happen.

--Jon
Well, probably lower than 3000 elos.
I don't think any engine below 3000 elo would crush Stockfish with a strong hardware.
MikeGL
Posts: 1010
Joined: Thu Sep 01, 2011 2:49 pm

Re: Much weaker than Stockfish

Post by MikeGL »

Lyudmil Tsvetkov wrote:The training matches are different from the 100 games match with Stockfish.
Yes, the plot on the diagram is the training game, but 100 games per openning was played. 50-50, and the score below the diagram is on AlphaZero perspective.
12 openings with reversed colours don't square in any way with 100 played games, so did they actually left some openings played more than others, or did not they flip colours?
12 opennings x 100 = 1,200 games total.
jhellis3
Posts: 546
Joined: Sat Aug 17, 2013 12:36 am

Re: Much weaker than Stockfish

Post by jhellis3 »

If K80 is 5k$, that would be like 100k$ minimum starting price.
It is $70,000 AFAIK.