LCZero Accomplishments and Goals Thus Far

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

Moderators: hgm, Rebel, chrisw

User avatar
AdminX
Posts: 6344
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: LCZero Accomplishments and Goals Thus Far

Post by AdminX »

Wow! :shock:

This is a big jump!

Image
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
mar
Posts: 2567
Joined: Fri Nov 26, 2010 2:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: LCZero Accomplishments and Goals Thus Far

Post by mar »

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.
Well, on my hw Leela seems to use CPU 2 cores + GPU, so I played a short match against my engine and Leela performed like 2800+ engine already (it was net 217) and the TC was 40/1 minute so rather fast for Leela.
Also people who want a strong chess entity don't care about 1 CPU.

Even mobile phones today already have multiple cores and since OpenGL ES 3.1 the GPUs are capable of running compute shaders,
so it's likely Leela will run even on mobiles in the future.

Nobody prevents other engines to utilize GPUs, but they can't.

What's a problem is huge tactical blunders - at least 100 elo, missing simple forks is rather embarassing.
User avatar
hgm
Posts: 27842
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 »

You are comparing TFLOPS, which is irrelevant. It makes you compare algorithms in a completely biased metric. If you have two non-identical things it is always possible to adopt a metric that either will make one much better, or the other.

An algorithm always needs more than just a single type of operation. You have addition, multiplication, branching, storage... If one algorithm uses more branches, and the other more multiplications, I can arbitrarily decide which one will be 'better' by counting only branches, or only multiplications. To get a meaningful comparison you have to weight the elementary operations in proportion to their cost.
Last edited by hgm on Mon Apr 30, 2018 8:25 pm, edited 2 times in total.
noobpwnftw
Posts: 560
Joined: Sun Nov 08, 2015 11:10 pm

Re: LCZero Accomplishments and Goals Thus Far

Post by noobpwnftw »

frankp wrote:
noobpwnftw wrote: Where is the breakthrough in domain specific implementation exactly?
No one tells how to play - it learns for itself - perhaps ?
This is not domain specific as I understands it.
People tend to believe the alternative approach is somehow "superior", mislead by the results from a hardware overkill.
Uri Blass
Posts: 10404
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: LCZero Accomplishments and Goals Thus Far

Post by Uri Blass »

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.

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.
If Stockfish had its evaluation FGPA'ed it may be a 4000 elo engine but who cares for that anyway ? The fact is Stockfish has been throwing away evaluation features for the sake of speed throughout the years.

Daniel
I wonder 2100 at what time control and if the rating is not higher at longer time control.

Edit:I am not sure if the parts that stockfish throwed away were productive for stockfish even with no price in speed and I guess that stockfish had counter productive code in the evaluation not because it made it slower but because something that humans believe to help simply does not help.

Edit 2:I believe that stockfish scale better than weaker engines including engines with slower evaluation and when I say scale better I mean that if the weaker engine need 10 minutes against 1 minute of stockfish to get 50% then they need more than 20 minutes against 2 minutes of stockfish to get 50%

generally stronger engine at STC scale better and Alphazero is an exception to the rule if to believe Google.
Last edited by Uri Blass on Mon Apr 30, 2018 8:33 pm, edited 2 times 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:
frankp wrote:
noobpwnftw wrote: Where is the breakthrough in domain specific implementation exactly?
No one tells how to play - it learns for itself - perhaps ?
This is not domain specific as I understands it.
People tend to believe the alternative approach is somehow "superior", mislead by the results from a hardware overkill.
I was just pointing out that we seem to be comparing the merits of too very different approaches on the basis of the arrangements of semiconductors they use.

(It seems that any discussion of A0/leela turns into a A0/SF 'willy-waving' contest. I am still fascinated that leela play such a high standard of chess, not compared to SF of course, on my consumers grade two generation old graphics card.)
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 »

Uri Blass wrote:
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.

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.
If Stockfish had its evaluation FGPA'ed it may be a 4000 elo engine but who cares for that anyway ? The fact is Stockfish has been throwing away evaluation features for the sake of speed throughout the years.

Daniel
I wonder 2100 at what time control and if the rating is not higher at longer time control.

Edit:I am not sure if the part that stockfish throwed away were productive for stockfish even with no price in speed and I guess that stockfish had counter productive code in the evaluation not because it made it slower but because something that humans believe to help simply does not help.
I have an i5-2500K (quad-core) and a GTX1060. Playing g/10 matches, Leela 202 has had a ~2900 CCRL performance. The opponents used the quad. Note also that Leela does NOT use 100% of the CPUs, while the opponents do. This is seen clearly in the task manager.
"Tactics are the bricks and sticks that make up a game, but positional play is the architectural blueprint."
noobpwnftw
Posts: 560
Joined: Sun Nov 08, 2015 11:10 pm

Re: LCZero Accomplishments and Goals Thus Far

Post by noobpwnftw »

hgm wrote:You are comparing TFLOPS, which is irrelevant.
.
hgm wrote:But any 'hardware avantage' should be measured in $$$, (possibly including the price of electricity);, other ways just don't make any sense.
I only compare GPU to GPU, to show how a TPU is different than a ordinary GPU which you can get with a few hundred bucks.

There is a limited number of GPUs you can pack in a "single machine", so does CPUs, so the per unit performance matters, no? Without that, how do you compare the price tag?
User avatar
hgm
Posts: 27842
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 »

Exactly. The whole misconception that AlphaZero had any hardware advantage at all comes from ridiculously overweighting the importance of multiplication, because the CPU is extremely poor at that, and Stockfish happens to not need it. It is like claiming a wheelbarrow has an extreme hardware advantage over a helicopter, by only counting the number of wheels.
noobpwnftw
Posts: 560
Joined: Sun Nov 08, 2015 11:10 pm

Re: LCZero Accomplishments and Goals Thus Far

Post by noobpwnftw »

frankp wrote: I was just pointing out that we seem to be comparing the merits of too very different approaches on the basis of the arrangements of semiconductors they use.

(It seems that any discussion of A0/leela turns into a A0/SF 'willy-waving' contest. I am still fascinated that leela play such a high standard of chess, not compared to SF of course, on my consumers grade two generation old graphics card.)
I think there is nothing wrong with the approach, and it appears to scale well because we are at the stage where people usually have 1 GPU in their computers, which is easier to do doubling than where they already had some 8 CPU cores.