Where are the funs of Leela?

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

Moderators: hgm, Rebel, chrisw

Dann Corbit
Posts: 12537
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Where are the funs of Leela?

Post by Dann Corbit »

If they figure out how to get GPU cards the do alpha beta, or they get GPU cards to do full recursion without wait, then the Alpha beta searcher engines will mop the floor with the NN engines, laughing all the way to the bank.
The compute cycles of the GPU cards are orders of magnitude higher than the CPU approach.
It looks like a miracle.
It's a giant nuclear pile strapped to a 1950 Ford pickup.
Beautiful, brutal, and it goes.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
Nay Lin Tun
Posts: 708
Joined: Mon Jan 16, 2012 6:34 am

Re: Where are the funs of Leela?

Post by Nay Lin Tun »

Please check current standing of Leela in TCEC and CCC, Leela is back to no 1.
As I said before, previous tournment results were due to small sample size.

In TCEC,
Last edited by Nay Lin Tun on Sun Jun 23, 2019 6:31 pm, edited 2 times in total.
Nay Lin Tun
Posts: 708
Joined: Mon Jan 16, 2012 6:34 am

Re: Where are the funs of Leela?

Post by Nay Lin Tun »

In chess.com,
chrisw
Posts: 4313
Joined: Tue Apr 03, 2012 4:28 pm

Re: Where are the funs of Leela?

Post by chrisw »

Dann Corbit wrote: Wed Jun 19, 2019 9:58 am If they figure out how to get GPU cards the do alpha beta, or they get GPU cards to do full recursion without wait, then the Alpha beta searcher engines will mop the floor with the NN engines, laughing all the way to the bank.
The compute cycles of the GPU cards are orders of magnitude higher than the CPU approach.
It looks like a miracle.
It's a giant nuclear pile strapped to a 1950 Ford pickup.
Beautiful, brutal, and it goes.
a chess engine running on GPU was written some time ago, I would guess it was AB, there should be a link somewhere.

why do you suppose AB algorithm would be so good on GPU? AB is an inherently sequential algorithm, sure you can do tricks with parallelisation, or run lots of threads at once, but why would a GPU excel over, say a CPU with multi-thread capability?

For example, a standard GPU operation could be to multiply a 1000 square matrix with another 1000 square matrix, one instruction. Whoosh.
But then let’s say you’ld like to add all the 1000 cells together to give one output. That requires, or used to, last time I looked, an algorithm which add 500 cells together, then 250 cells, then 125 cells, then 64 cells, then 32 cells, then 16, then 8, then 4, then 2, then you got the answer. Not so whoosh.
GPUs are great for some things, but not all.
corres
Posts: 3657
Joined: Wed Nov 18, 2015 11:41 am
Location: hungary

Re: Where are the funs of Leela?

Post by corres »

If there is a small difference in Elo between two engines like Stockfish and Leele with well selected hardware, opening book and time control any of the two engines can be made winner.
Even without intention too.
And somebody can make big words about it.
Uri Blass
Posts: 10267
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: Where are the funs of Leela?

Post by Uri Blass »

Dann Corbit wrote: Wed Jun 19, 2019 9:58 am If they figure out how to get GPU cards the do alpha beta, or they get GPU cards to do full recursion without wait, then the Alpha beta searcher engines will mop the floor with the NN engines, laughing all the way to the bank.
The compute cycles of the GPU cards are orders of magnitude higher than the CPU approach.
It looks like a miracle.
It's a giant nuclear pile strapped to a 1950 Ford pickup.
Beautiful, brutal, and it goes.
I do not see contradiction between alpha-beta and NN.
from the following link
http://www.chessdom.com/alliestein-the- ... -tcec-s15/

Adam Treat said the following:

"I do think that AlphaBeta is a superior search method and that there is no reason that an AB+(eval method) engine can’t compete favorably with an MCTS+(eval method) regardless the eval method. But this is just my theory and worth very little until proven. Only the future will tell."
supersharp77
Posts: 1242
Joined: Sat Jul 05, 2014 7:54 am
Location: Southwest USA

Re: Where are the funs of Leela?

Post by supersharp77 »

Dann Corbit wrote: Wed Jun 19, 2019 9:58 am If they figure out how to get GPU cards the do alpha beta, or they get GPU cards to do full recursion without wait, then the Alpha beta searcher engines will mop the floor with the NN engines, laughing all the way to the bank.
The compute cycles of the GPU cards are orders of magnitude higher than the CPU approach.
It looks like a miracle.
It's a giant nuclear pile strapped to a 1950 Ford pickup.
Beautiful, brutal, and it goes.

Well said Dann!! I 100% agree....."Lets Compare Apples With Apples and Oranges with Oranges..Shall We?" :D :wink:
corres
Posts: 3657
Joined: Wed Nov 18, 2015 11:41 am
Location: hungary

Re: Where are the funs of Leela?

Post by corres »

CCC 9: The Gaunlet Final
Stockfish : Leelenstein(!) = 34 : 32 after 66 games.
So where is Leela?
This match also proves on appropriate hardware Stockfish and their developers can keep step with NN engines.
From these competitions we, the user of chess engines gain the most.
Thanks for every each team!
Nay Lin Tun
Posts: 708
Joined: Mon Jan 16, 2012 6:34 am

Re: Where are the funs of Leela?

Post by Nay Lin Tun »

Leela is overhyped cos she plays beautiful chess , like resurrected Paul Morphy or Tal with steroid!!

First she sacrificed one pawn, then two pawns, and then one piece!
[pgn][Event "CCC 9: The Gauntlet Semifinals (5|2)"] [Site "?"] [Date "2019.07.04"] [Round "1"] [White "Stockfish"] [Black "Lc0"] [Result "0-1"] [ECO "A01"] [GameDuration "00:17:32"] [GameEndTime "2019-07-04T19:32:24.961 PDT"] [GameStartTime "2019-07-04T19:14:52.527 PDT"] [Opening "Nimzovich-Larsen attack"] [PlyCount "220"] [TimeControl "300+2"] [Variation "Modern Variation"] 1. b3 e5 2. Bb2 Nc6 3. e3 d5 4. Bb5 Ne7 5. Bxe5 a6 6. Bxc6+ Nxc6 7. Bb2 Qg5 8. Kf1 Bg4 9. Ne2 O-O-O 10. d4 h5 11. h3 Bf5 12. Nd2 Nb4 13. Nf3 Qf6 14. Ne1 g5 15. Qd2 Qg6 16. c4 Nd3 17. cxd5 Nxb2 18. Qxb2 Bd6 19. Rd1 h4 20. f3 Rhe8 21. Qd2 Kb8 22. e4 Bxe4 23. fxe4 Rxe4 24. Nc3 Re7 25. Qd3 Qf6+ 26. Qf3 Qg7 27. Nc2 Rde8 28. Qf5 Qh6 29. Kg1 Bg3 30. Rf1 c6 31. Qd3 Qd6 32. b4 cxd5 33. a4 f5 34. Qxf5 Rc7 35. Nd1 Re2 36. Qf8+ Qxf8 37. Rxf8+ Ka7 38. Nce3 Rc1 39. Rf1 Rd2 40. a5 Kb8 41. Rf8+ Kc7 42. Rf7+ Kd8 43.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