LCZero Accomplishments and Goals Thus Far

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

Moderators: hgm, Rebel, chrisw

User avatar
hgm
Posts: 27836
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: LCZero Accomplishments and Goals Thus Far

Post by hgm »

What computer-chess afficidonados will buy is driven by what engines require. They used to by highly-overclocked dual-socket (or more) systems with the best CPUs they could find, and don't care about the graphics. When NN-based engines will be the dominant technology they will by PCs with modest CPUs and the most expensive GPU card. This could actually be cheaper. In the end the only thing that matters is how much Elo you buy for your buck; there is no law that says Chess must be restricted to CPUs.

Of course this will be a bit hard to swallow for those having invested k$20+ on 32 cores and no graphics card, while a basic $1000 PC with a k$5 GPU would play better Chess.

But any 'hardware avantage' should be measured in $$$, (possibly including the price of electricity);, other ways just don't make any sense.
duncan
Posts: 12038
Joined: Mon Jul 07, 2008 10:50 pm

Re: LCZero Accomplishments and Goals Thus Far

Post by duncan »

Daniel Shawul wrote:Sigh..wake me up when it is 2800 elo running on singe CPU core, which is what every other engine uses in rating lists.
If it surpasses stockfish and becomes the best computer chess entity, (even though 'unfairly') can I wake you, or would it be one big bore and you would prefer to sleep through it.?
wrote: As far as I am concerned, it is still a 2100 elo engine there.
I see so many excited people giving a hardware advantage to LCzero, like CCLS does for instance uses a GPU for LCzero and single core CPU for the rest of the engines.

I don't think anybody misses the fact that given a hardware advantage that will basically make the evaluation free, you can increase your elo to your satisfaction.
wrote: If Stockfish had its evaluation FGPA'ed it may be a 4000 elo engine but who cares for that anyway ?
Daniel
(1)what is the motivation of chess programmers. Is it an intellectual goal to use their skill to see how much elo they can get with limited resources.
or is it a love of chess that motivates them to see the best chess entity they can get ? The code being just a means to an end

(2)for balance list please could you list the positives of lCzero
duncan
Posts: 12038
Joined: Mon Jul 07, 2008 10:50 pm

Re: LCZero Accomplishments and Goals Thus Far

Post by duncan »

FWCC wrote:1. To reach the level of A0 (estimated 3300 rating in GTX 1060)
did ao uses eqivalent of 16,000 years. ?
Daniel Shawul
Posts: 4185
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: LCZero Accomplishments and Goals Thus Far

Post by Daniel Shawul »

hgm wrote:What computer-chess afficidonados will buy is driven by what engines require. They used to by highly-overclocked dual-socket (or more) systems with the best CPUs they could find, and don't care about the graphics. When NN-based engines will be the dominant technology they will by PCs with modest CPUs and the most expensive GPU card. This could actually be cheaper. In the end the only thing that matters is how much Elo you buy for your buck; there is no law that says Chess must be restricted to CPUs.

Of course this will be a bit hard to swallow for those having invested k$20+ on 32 cores and no graphics card, while a basic $1000 PC with a k$5 GPU would play better Chess.

But any 'hardware avantage' should be measured in $$$, (possibly including the price of electricity);, other ways just don't make any sense.
The AlphaZero paper claims a miracle one algorithm for all (go,chess,shogi) games, even with some presentation of their's putting a huge X on all the heuristic algorithms that Stockfish used. With such emphatic claims, one would be interested in the algorithmic breakthroughs. I actually thought they made a real breakthrough better than Deeblue's. On a closer inspection though, I expected that should have some solutions, for instance, for the tactical problems of MCTS, which they have given references to btw! Apparently, there is no algorithmic breakthrough, all they did is use a huge hardware to hide the problems. That is disappointing to say the least.

I like Giraffe's work better in this regard. He trained a neural network of the appropriate size (that is not too big or too small), showed that the result from NN could actually be better than hand-written eval, measured its stength and reported a 2600 elo on a single core. That is more honest than beating stockfish using a crappy algorithm run on a massive hardware.
User avatar
hgm
Posts: 27836
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: LCZero Accomplishments and Goals Thus Far

Post by hgm »

Again you refer to 'massive hardware'. But the hardware of AlphaZero was not really massive. Just different. AlphaZero needs fewer transistors to run at 3500 Elo than Stockfish needs to run at 3400 Elo, at 'standard' TC. It is just that the transistors have to be connected in an entirely different way.

That the AlphaZero hardware can do some things 100 times faster than equivalent (in terms of number of transistors) x64 CPUs, doesn't mean a thing. My rowing boat is infinitely faster than my Ferrari, for crossing the English Channel.
Nay Lin Tun
Posts: 708
Joined: Mon Jan 16, 2012 6:34 am

Re: LCZero Accomplishments and Goals Thus Far

Post by Nay Lin Tun »

I am really happy with Leela's achievements my current hardware. I play RPG games, so I have i5 3ghz 4 cores with 1060 GTX.

Here is, 4 cores stockfish latest version drew vs leela ID 227 ,draw. (overall score in 4 games= 3.5 -0.5 in favour of stockfish, so elo difference is around 300)


https://lichess.org/k5ZPaRqg

[pgn]1. e4 {(e2-e4 c7-c5 c2-c3 Ng8-f6 e4-e5 Nf6-d5 d2-d4 c5xd4 c3xd4 d7-d6 e5xd6
e7-e6 Nb1-c3 Bf8xd6 Ng1-f3 O-O Bf1-d3 Nb8-c6 O-O h7-h6) +0.04/18 2} e6
{(e7-e6 d2-d4 d7-d5 Nb1-d2 c7-c5 e4xd5 e6xd5 Bf1-b5+ Bc8-d7 Qd1-e2+ Qd8-e7
Bb5xd7+ Nb8xd7 d4xc5 Qe7xe2+ Ng1xe2 Bf8xc5 Nd2-b3 Bc5-b6 a2-a4 Ng8-f6
Bc1-f4 Ra8-c8 a4-a5 Bb6-c5 O-O O-O Ne2-d4 Rf8-e8 Rf1-e1 Re8-e4 Re1xe4
d5xe4) -0.17/23 5} 2. d4 {(d2-d4 d7-d5 Nb1-c3 Bf8-b4 e4xd5 e6xd5 a2-a3
Bb4xc3+ b2xc3 Ng8-f6 Bf1-d3 O-O Ng1-e2 Rf8-e8 O-O h7-h6 Ne2-g3 c7-c5 d4xc5)
+0.08/19 2} d5 {(d7-d5 Nb1-d2 c7-c5 Ng1-f3 Ng8-f6 e4xd5 e6xd5 Bf1-b5+
Bc8-d7 Bb5xd7+ Nb8xd7 O-O Bf8-e7 d4xc5 Nd7xc5 Nd2-b3 Nc5-e4 Nf3-d4 O-O
c2-c3 Rf8-e8 Nd4-f5 Be7-f8 Nb3-d4 Bf8-c5) -0.06/24 2} 3. Nc3 {(Nb1-c3
Bf8-b4 e4xd5 e6xd5 a2-a3 Bb4xc3+ b2xc3 Ng8-f6 Bf1-d3 O-O Ng1-e2 Rf8-e8 O-O
h7-h6 Ne2-g3 c7-c5 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and Goals Thus Far

Post by Daniel Shawul »

hgm wrote:Again you refer to 'massive hardware'. But the hardware of AlphaZero was not really massive. Just different. AlphaZero needs fewer transistors to run at 3500 Elo than Stockfish needs to run at 3400 Elo, at 'standard' TC. It is just that the transistors have to be connected in an entirely different way.

That the AlphaZero hardware can do some things 100 times faster than equivalent (in terms of number of transistors) x64 CPUs, doesn't mean a thing. My rowing boat is infinitely faster than my Ferrari, for crossing the English Channel.
4-TPUs can do 180 TFLOPs, while 64 CPU cores can do 1 TFLOP; that is like a 180x hardware advantage. It doesn't matter whether we call 4-TPUs massive or not, the 180x advantage given to A0 is there.

I am not interested in cost comparsions as they are irrelevant for algorithmic comparsions.

Btw, here is that big X I refered to https://youtu.be/A3ekFcZ3KNw?t=1682
noobpwnftw
Posts: 560
Joined: Sun Nov 08, 2015 11:10 pm

Re: LCZero Accomplishments and Goals Thus Far

Post by noobpwnftw »

hgm wrote:Again you refer to 'massive hardware'. But the hardware of AlphaZero was not really massive. Just different. AlphaZero needs fewer transistors to run at 3500 Elo than Stockfish needs to run at 3400 Elo, at 'standard' TC. It is just that the transistors have to be connected in an entirely different way.

That the AlphaZero hardware can do some things 100 times faster than equivalent (in terms of number of transistors) x64 CPUs, doesn't mean a thing. My rowing boat is infinitely faster than my Ferrari, for crossing the English Channel.
Not massive?
A "single machine" packing in 4 Gen.2 TPUs of which is 4 GPUs each, that's 16 GPUs total. Each of that one GPU is performing about a double of TFLOPs compared to a 1080TI.
A similar hardware like that would be a DGX-2, which costs like half a million last time I checked.

One could build a machine that's less than 1/10 of a million where "Stock"fish will yield +100 ELO over book-less SF8 64-threads.

On the CPU side to build a kind of decent chess-playing "single machine", the least you can get is some 8-way server, which usually has no less than 128 cores if not hyper-threaded. Do measurement there instead some one core to one GPU comparison, computers running on one core was at 90s.

Where is the breakthrough in domain specific implementation exactly?
Last edited by noobpwnftw on Mon Apr 30, 2018 8:21 pm, edited 1 time in total.
frankp
Posts: 228
Joined: Sun Mar 12, 2006 3:11 pm

Re: LCZero Accomplishments and Goals Thus Far

Post by frankp »

noobpwnftw wrote: Where is the breakthrough in domain specific implementation exactly?
No one tells how to play - it learns for itself - perhaps ?
Albert Silver
Posts: 3019
Joined: Wed Mar 08, 2006 9:57 pm
Location: Rio de Janeiro, Brazil

Re: LCZero Accomplishments and Goals Thus Far

Post by Albert Silver »

Daniel Shawul wrote:Sigh..wake me up when it is 2800 elo running on singe CPU core, which is what every other engine uses in rating lists. As far as I am concerned, it is still a 2100 elo engine there.
I see so many excited people giving a hardware advantage to LCzero, like CCLS does for instance uses a GPU for LCzero and single core CPU for the rest of the engines.
Well, to begin with, I remember when Rybka was the first engine to take advantage of the 64-bit environment when every standard OS was 32-bit. It had a big speed-up, and no one was able to do the same at first. Shredder 64-bit came out a couple of months later but with zero speedup. I don't recall people saying that it needed to run in a 32-bit environment like everyone else to be 'fair'.

The advantage you complain about is just sour grapes in my book. For one thing, if CCLS or whomever offer a GPU, then it is up to the authors to take advantage of it, not for the one who is able to, to learn to dumb down his machine for 'fairness'.

Leela is designed to use a GPU for best performance. it is inherent in its design. If it reaches 100 Elo better than everyone else on my computer because it alone can use the GPU to best advantage, while all others are weaker because they are only able to use the CPU, guess how much I (and everyone who analyzes with engines) will care?
Last edited by Albert Silver on Mon Apr 30, 2018 8:18 pm, edited 1 time in total.
"Tactics are the bricks and sticks that make up a game, but positional play is the architectural blueprint."