Scaling of Lc0 at high Leela Ratio

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

Moderators: hgm, Rebel, chrisw

yanquis1972
Posts: 1766
Joined: Wed Jun 03, 2009 12:14 am

Re: Scaling of Lc0 at high Leela Ratio

Post by yanquis1972 »

yanquis1972 wrote: Tue Nov 27, 2018 5:19 pm curious about test30 scaling; imo it should be much closer to A0, at least at present.

using DM openings, 128MB hash, 3 cores/~7MN/s for SF8 & default settings for Lc0 w/ a GTX 1080 it scored 2W-4L-18D (-28 elo) @ 0+12s in the first batch of 24 games i ran. should be very roughly equivalent to 1s/move A0 matches.
2nd round +1 -2 =21 for test30, overall elo -21 to SF8. Raised TC to 0+15s, since in many positions Lc0 is only searching 4-6kns. After the 3rd round I’ll post opening evolution if there’s anything interesting

A0 was maybe +30 at the equivalent, so I’d assume test30 will surpass it, provided it scales as well.
Uri Blass
Posts: 10282
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: Scaling of Lc0 at high Leela Ratio

Post by Uri Blass »

jp wrote: Wed Nov 28, 2018 10:20 am
Uri Blass wrote: Wed Nov 28, 2018 5:25 am I totally dislike the MCTS algorithm because it means that you cannot see simple things like the fact that a move is leading to mate in 2 for the opponent.

Komodo MCTS did not see mate in 2 in the only game that it lost in TCEC when it played 44...Kxf7

I do not believe that the reason for AlphaZero's good results is the fact that they did not use the alphabeta and I believe that alphaZero can be stronger if they fix it to use a better algorithm that can see forced mates with a mate score in the same way that humans see.
But Komodo MCTS is using real MCTS for playing.
A0 & Lc0 are not, so you cannot really compare.
So what is the algorithm of A0 or LC0 and do you see mate scores with LC0(except maybe mate in 1 that even komodo MCTS saw in the game but earlier did a mistake that allowed mate in 2 inspite of having the mate line in the pv)?
Werewolf
Posts: 1796
Joined: Thu Sep 18, 2008 10:24 pm

Re: Scaling of Lc0 at high Leela Ratio

Post by Werewolf »

jp wrote: Wed Nov 28, 2018 10:20 am
Uri Blass wrote: Wed Nov 28, 2018 5:25 am I totally dislike the MCTS algorithm because it means that you cannot see simple things like the fact that a move is leading to mate in 2 for the opponent.

Komodo MCTS did not see mate in 2 in the only game that it lost in TCEC when it played 44...Kxf7

I do not believe that the reason for AlphaZero's good results is the fact that they did not use the alphabeta and I believe that alphaZero can be stronger if they fix it to use a better algorithm that can see forced mates with a mate score in the same way that humans see.
But Komodo MCTS is using real MCTS for playing.
A0 & Lc0 are not, so you cannot really compare.
can you explain the difference?
chrisw
Posts: 4317
Joined: Tue Apr 03, 2012 4:28 pm

Re: Scaling of Lc0 at high Leela Ratio

Post by chrisw »

Uri Blass wrote: Wed Nov 28, 2018 5:25 am
shrapnel wrote: Tue Nov 27, 2018 2:52 pm Looks like Lc0 is nowhere near AlphaZero levels.
Wish some AlphaZero team member would give a few anonymous tips the lc0 people, who seem to be floundering.
The wait goes on...
Oh well, let the Stockfishes and Komodos have their days in the Sun....while it lasts... mainly due to an abominable lack of interest in chess shown by the Google Teams.
But, I sense, that the Day is not far when the alpha-beta engines will go the way of the Dinosaurs...
Which will deliver the coup de grâce, lco, AlphaZero or a third, as yet unreleased Engine, remains to be seen...
I totally dislike the MCTS algorithm because it means that you cannot see simple things like the fact that a move is leading to mate in 2 for the opponent.

Komodo MCTS did not see mate in 2 in the only game that it lost in TCEC when it played 44...Kxf7

Every human who is not a beginner is going to see that there is a forced mate after 44...Kxf7 but Komodo played it with 29.91 score after 26 seconds with 185734 nodes.
I guess that A0 also show a similiar behaviour and it is clearly not the way that humans think.

http://legacy-tcec.chessdom.com/archive ... i=4&ga=183

I do not believe that the reason for AlphaZero's good results is the fact that they did not use the alphabeta and I believe that alphaZero can be stronger if they fix it to use a better algorithm that can see forced mates with a mate score in the same way that humans see.

Maybe it is possible to have some combination of alphabeta and MCTS but I find the pure MCTS to be an extremely stupid algorithm if it cannot see mate scores even for mates that humans can easily calculate.
Disagree here. It has been shown that given enough nodes, MCTS and minimax converge. Since alpha beta is just a faster, more efficient, version of minimax, that means alpha beta and MCTS converge too. It's therefore not correct to say that MCTS can't find mate in two. It can, it's a question only of the pruning/extension settings (exploration/exploitation). Also, I forgot to write, the effectiveness of the policy function of the AZ/LC0 neural network. With a 100% effective policy it will find mates and defences to mates. In practise, alpha-beta search nowadays, does masses more pruning than anyone could have imagined possible, and also misses many things. Alpha-beta, in practise, also has a "policy" function, which is also not 100% perfect.
Milos
Posts: 4190
Joined: Wed Nov 25, 2009 1:47 am

Re: Scaling of Lc0 at high Leela Ratio

Post by Milos »

chrisw wrote: Wed Nov 28, 2018 6:46 pmDisagree here. It has been shown that given enough nodes, MCTS and minimax converge. Since alpha beta is just a faster, more efficient, version of minimax, that means alpha beta and MCTS converge too. It's therefore not correct to say that MCTS can't find mate in two. It can, it's a question only of the pruning/extension settings (exploration/exploitation). Also, I forgot to write, the effectiveness of the policy function of the AZ/LC0 neural network. With a 100% effective policy it will find mates and defences to mates. In practise, alpha-beta search nowadays, does masses more pruning than anyone could have imagined possible, and also misses many things. Alpha-beta, in practise, also has a "policy" function, which is also not 100% perfect.
MCTS and minimax might converge with enough nodes, but modern A/B engine search is due to enormous amount of pruning much further from pure minimax than is pure minimax from MCTS. So modern A/B engine search will never converge to MCTS no matter how many nodes you search.
chrisw
Posts: 4317
Joined: Tue Apr 03, 2012 4:28 pm

Re: Scaling of Lc0 at high Leela Ratio

Post by chrisw »

Milos wrote: Wed Nov 28, 2018 11:22 pm
chrisw wrote: Wed Nov 28, 2018 6:46 pmDisagree here. It has been shown that given enough nodes, MCTS and minimax converge. Since alpha beta is just a faster, more efficient, version of minimax, that means alpha beta and MCTS converge too. It's therefore not correct to say that MCTS can't find mate in two. It can, it's a question only of the pruning/extension settings (exploration/exploitation). Also, I forgot to write, the effectiveness of the policy function of the AZ/LC0 neural network. With a 100% effective policy it will find mates and defences to mates. In practise, alpha-beta search nowadays, does masses more pruning than anyone could have imagined possible, and also misses many things. Alpha-beta, in practise, also has a "policy" function, which is also not 100% perfect.
MCTS and minimax might converge with enough nodes, but modern A/B engine search is due to enormous amount of pruning much further from pure minimax than is pure minimax from MCTS. So modern A/B engine search will never converge to MCTS no matter how many nodes you search.
Sure, the text above agrees. As in “nowadays ....”.
As it stands, now, AB engines (SF) are using statistical pruning, the development criteria (SF) are statistical (if it works, keep it ....). The NN driving AZ and LC0 is a statistical engine by its very nature. What it learns it what it comes across. The explore/exploit function is based on what works (nobody has any chess knowledge reason for tweaking the parameter values). I think i am going to argue that with statistics driving decisions, then MCTS-NN and heavy pruned AB will converge anyway.
User avatar
Laskos
Posts: 10948
Joined: Wed Jul 26, 2006 10:21 pm
Full name: Kai Laskos

Re: Scaling of Lc0 at high Leela Ratio

Post by Laskos »

For 4 real LTC games, 1 hour + 1 minute increment, between Stockfish 10 on 4 threads and Lc0 v19 ID11261 (still one of the strongest nets) on RTX 2070, I didn't choose balanced openings, as the draw rate will be above 80%, so one would expect all 4 games ending in draw. I have chosen two 2-mover dubious gambits, which introduce almost an ideal disbalance (White advantage). I used Syzygy 6-men TBs only for adjudication in Cutechess. "Leela Ratio" is about 3.0, very high, so one would expect a good result from Lc0, judging from short time control games.



1/ A dubious King's Gambit Declined

1. e4 e5 2. f4 f5 *

[d]rnbqkbnr/pppp2pp/8/4pp2/4PP2/8/PPPP2PP/RNBQKBNR w KQkq -

This is a borderline opening, with about half White chance of winning and half chance of draw between 2 strong equal opponents. It usually leads to an open game.

The LTC games are here:

a) Stockfish as White:

[pgn][Event "My Tournament"] [Site "?"] [Date "2018.12.07"] [Round "1"] [White "Stockfish 10"] [Black "Lc0 v19 ID11261"] [Result "1-0"] [ECO "C30"] [GameDuration "02:23:03"] [GameEndTime "2018-12-07T09:54:14.759 GTB Standard Time"] [GameStartTime "2018-12-07T07:31:11.742 GTB Standard Time"] [Opening "King's gambit"] [PlyCount "83"] [TimeControl "3600+60"] 1. e4 {book} e5 {book} 2. f4 {book} f5 {book} 3. exf5 {+1.11/31 100s} Qe7 {-1.06/21 62s} 4. Nf3 {+1.31/32 86s} d6 {-0.94/36 79s} 5. fxe5 {+1.73/29 50s} dxe5 {-0.96/43 52s} 6. Bb5+ {+1.01/35 461s} c6 {-0.94/40 67s} 7. Be2 {+1.26/33 125s} e4 {-0.95/41 28s} 8. Nd4 {+1.23/32 62s} Qe5 {-0.95/42 33s} 9. c3 {+1.13/34 191s} c5 {-0.96/41 36s} 10. Nb3 {+1.39/32 92s} Bxf5 {-0.97/36 273s} 11. O-O {+1.58/28 33s} Bd6 {-0.93/51 75s} 12. g3 {+1.68/33 66s} Nf6 {-0.93/50 0.30s} 13. d4 {+2.34/34 45s} exd3 {-1.27/30 104s} 14. Bf3 {+2.45/38 108s} Qe7 {-3.16/31 234s} 15. Re1 {+2.20/38 136s} Be6 {-3.19/30 89s} 16. Bxb7 {+2.49/37 52s} Qxb7 {-3.21/40 78s} 17. Rxe6+ {+2.46/38 90s} Be7 {-3.39/30 485s} 18. Qxd3 {+2.29/39 138s} O-O {-3.38/25 0.30s} 19. Bg5 {+2.37/39 47s} Bd8 {-2.78/24 315s} 20. Bxf6 {+2.51/36 96s} Bxf6 {-3.19/24 180s} 21. N1d2 {+2.33/35 98s} Nd7 {-3.20/23 60s} 22. Ne4 {+2.70/36 63s} Rad8 {-2.73/24 340s} 23. Rf1 {+2.99/34 55s} Kh8 {-3.08/22 143s} 24. Na5 {+3.08/33 53s} Qxb2 {-1.29/32 137s} 25. Rd6 {+4.83/34 57s} Bxc3 {-5.79/23 272s} 26. Rxd7 {+5.28/33 69s} Bd4+ {-5.91/27 48s} 27. Kh1 {+5.36/36 109s} Rde8 {-6.02/26 57s} 28. Nc6 {+5.72/33 63s} Rxf1+ {-5.70/22 241s} 29. Qxf1 {+5.72/1 0s} Qxa2 {-5.73/20 43s} 30. Ne7 {+9.22/40 49s} Be5 {-9.51/22 254s} 31. Ng5 {+M25/57 65s} Bf6 {-20.35/12 157s} 32. Rxa7 {+M23/67 80s} Bxe7 {-21.02/13 71s} 33. Nf7+ {+M21/74 86s} Kg8 {-21.51/13 50s} 34. Rxa2 {+M19/82 100s} Rf8 {-21.92/12 117s} 35. Qc4 {+M17/81 90s} h6 {-23.97/12 140s} 36. Ra7 {+M15/88 90s} Bf6 {-26.67/12 142s} 37. Ne5+ {+M13/103 86s} Kh7 {-29.09/11 88s} 38. Nd7 {+M11/127 61s} Kh8 {-43.47/9 209s} 39. Nxf8 {+M7/127 0.56s} Bg5 {-76.56/6 259s} 40. Qc2 {+M5/127 0.080s} g6 {-120.87/4 155s} 41. Qxg6 {+M3/127 0.004s} c4 {-114.89/3 155s} 42. Rh7# {+M1/126 0.003s, White mates} 1-0[/pgn]
Stockfish wins quite easily in an open game.


b) Lc0 as White:

[pgn][Event "My Tournament"] [Site "?"] [Date "2018.12.07"] [Round "2"] [White "Lc0 v19 ID11261"] [Black "Stockfish 10"] [Result "1/2-1/2"] [ECO "C30"] [GameDuration "04:51:04"] [GameEndTime "2018-12-07T23:52:33.141 GTB Standard Time"] [GameStartTime "2018-12-07T19:01:28.581 GTB Standard Time"] [Opening "King's gambit"] [PlyCount "181"] [Termination "adjudication"] [TimeControl "3600+60"] 1. e4 {book} e5 {book} 2. f4 {book} f5 {book} 3. exf5 {+1.08/21 61s} Qe7 {-0.76/35 196s} 4. Qh5+ {+1.10/31 57s} Kd8 {-0.64/30 45s} 5. fxe5 {+1.13/25 41s} Qxe5+ {-0.83/34 123s} 6. Be2 {+1.13/21 0.24s} d6 {-0.87/36 182s} 7. Nf3 {+1.21/37 158s} Qxf5 {-0.69/31 31s} 8. Ng5 {+1.23/48 65s} Nh6 {-0.83/36 86s} 9. d4 {+1.23/54 0.26s} Be7 {-0.79/33 85s} 10. c3 {+1.27/40 105s} Re8 {-0.88/37 269s} 11. Rf1 {+1.26/46 59s} Qg6 {-0.88/36 49s} 12. Qxg6 {+1.26/45 0.24s} hxg6 {-0.86/36 82s} 13. h3 {+1.29/36 128s} Kd7 {-0.74/33 56s} 14. Kd1 {+1.32/57 189s} b6 {-0.64/36 65s} 15. Ne6 {+1.32/66 85s} Nf5 {-0.69/39 146s} 16. Nf4 {+1.13/32 303s} Bg5 {-0.66/38 103s} 17. Bb5+ {+1.15/46 100s} c6 {-0.77/35 91s} 18. Bd3 {+1.18/52 201s} Bxf4 {-0.63/37 94s} 19. Rxf4 {+1.66/31 262s} Ba6 {-0.82/37 133s} 20. c4 {+1.79/35 120s} d5 {-0.77/39 150s} 21. Na3 {+1.87/31 78s} dxc4 {-0.82/38 92s} 22. Nxc4 {+1.99/40 99s} Kc7 {-0.70/38 46s} 23. Rg4 {+2.12/41 129s} Bxc4 {-0.66/38 84s} 24. Bxc4 {+2.12/24 0.28s} Nd7 {-0.58/36 60s} 25. Bd3 {+2.24/36 134s} Re3 {-0.90/41 170s} 26. Bxf5 {+2.28/51 114s} gxf5 {-0.68/39 84s} 27. Rxg7 {+2.34/44 55s} Re4 {-0.67/42 141s} 28. Bd2 {+2.38/40 0.24s} Rxd4 {-1.09/42 234s} 29. Kc2 {+2.29/42 248s} Re8 {-0.96/40 64s} 30. Rd1 {+2.29/39 1.4s} Ree4 {-0.90/42 83s} 31. g3 {+2.29/37 0.37s} Kc8 {-0.82/41 58s} 32. Re1 {+2.03/39 281s} Rxe1 {-1.01/44 149s} 33. Bxe1 {+2.02/28 0.26s} Re4 {-0.96/41 60s} 34. Kd1 {+2.02/26 0.27s} Nc5 {-1.35/43 647s} 35. h4 {+2.01/24 0.26s} Nd3 {-1.24/40 51s} 36. Bc3 {+2.01/24 0.27s} f4 {-0.89/39 53s} 37. gxf4 {+1.89/47 504s} Rxf4 {-1.01/45 133s} 38. Kd2 {+1.89/53 0.48s} Nxb2 {-1.03/47 92s} 39. Bxb2 {+2.18/32 460s} Rxh4 {-1.03/51 78s} 40. Rxa7 {+2.19/35 114s} b5 {-1.03/52 79s} 41. Be5 {+2.20/36 63s} Re4 {-1.03/52 85s} 42. Re7 {+2.20/38 50s} Kd8 {-1.03/53 66s} 43. Re6 {+2.21/35 61s} Kd7 {-0.85/41 71s} 44. Rd6+ {+2.22/34 60s} Kc7 {-0.85/43 116s} 45. Re6+ {+2.22/34 149s} Kd7 {-0.90/48 77s} 46. Rd6+ {+2.22/31 38s} Kc7 {-0.90/51 78s} 47. Bg3 {+2.22/28 88s} Kb6 {-0.91/52 98s} 48. Bf2+ {+2.21/28 185s} Kc7 {-0.91/53 96s} 49. Bg3 {+2.21/20 0.55s} Kb6 {-0.99/51 121s} 50. Kc1 {+2.15/27 275s} b4 {-0.90/48 113s} 51. Rf6 {+2.17/22 320s} Kb5 {-0.90/50 42s} 52. Rf5+ {+2.16/20 261s} Ka4 {-0.90/53 78s} 53. Bc7 {+2.20/21 245s} b3 {-0.90/55 76s} 54. Ra5+ {+2.11/28 301s} Kb4 {-0.90/1 0s} 55. a3+ {+2.12/33 20s} Kc3 {-0.90/55 74s} 56. Be5+ {+2.10/31 31s} Kd3 {-0.90/56 97s} 57. Bh8 {+2.09/28 74s} c5 {-0.90/55 63s} 58. Ra8 {+2.10/26 38s} Re2 {-0.91/55 116s} 59. Kb1 {+2.10/24 39s} Rh2 {-0.91/50 87s} 60. Rg8 {+2.24/21 244s} Rh4 {-0.91/51 590s} 61. Bf6 {+2.18/21 247s} Rf4 {-0.99/44 83s} 62. Rd8+ {+2.18/38 0.49s} Kc4 {-0.64/47 33s} 63. Bg5 {+2.18/36 0.80s} Rf1+ {-0.64/48 47s} 64. Kb2 {+2.70/19 136s} Rg1 {-0.64/49 47s} 65. Bd2 {+2.69/17 115s} Rg4 {-0.64/50 56s} 66. Rb8 {+1.72/19 182s} Rg2 {-0.64/51 44s} 67. Rd8 {+1.62/27 60s} Rg4 {-0.64/52 48s} 68. Be3 {+1.62/23 2.1s} Rg2+ {-0.22/43 42s} 69. Kb1 {+1.39/24 48s} Kc3 {-0.09/35 373s} 70. Bxc5 {+1.28/25 35s} Rb2+ {-0.09/36 165s} 71. Kc1 {+1.24/25 89s} Rc2+ {-0.09/40 37s} 72. Kd1 {+1.22/25 95s} Rh2 {-0.09/42 50s} 73. Bb4+ {+1.31/20 42s} Kb2 {-0.09/28 43s} 74. Rb8 {+1.29/20 25s} Rh1+ {-0.09/44 33s} 75. Ke2 {+1.28/21 139s} Rh2+ {-0.09/48 32s} 76. Kd1 {+1.28/21 0.26s} Rh1+ {-0.09/51 46s} 77. Ke2 {+0.50/26 92s} Rh2+ {-0.09/51 50s} 78. Kd3 {+0.39/30 95s} Rh3+ {-0.09/55 67s} 79. Kd2 {+0.38/28 0.29s} Rh2+ {-0.09/38 217s} 80. Ke3 {+0.29/28 84s} Rh3+ {0.00/37 57s} 81. Kd2 {+0.25/27 40s} Rh2+ {0.00/52 119s} 82. Ke3 {+0.18/28 116s} Rh3+ {0.00/42 64s} 83. Kd4 {+0.18/26 0.28s} Kc2 {0.00/35 60s} 84. Rc8+ {+0.18/25 0.35s} Kd1 {0.00/45 40s} 85. Bc3 {+0.14/23 140s} Kc2 {0.00/47 28s} 86. Ba1+ {+0.11/20 92s} Kb1 {0.00/47 48s} 87. Bc3 {+0.09/17 67s} Kc2 {0.00/50 48s} 88. Ba1+ {+0.09/17 0.25s} Kb1 {0.00/35 31s} 89. Rc3 {+0.09/15 16s} Rh4+ {0.00/38 29s} 90. Kc5 {+0.05/13 154s} b2 {0.00/34 31s} 91. Bxb2 {+0.05/12 0.26s, Draw by adjudication: SyzygyTB} 1/2-1/2[/pgn]
Lc0 fails to convert a pretty large advantage in the middlegame, in a protracted Queenless open game.





2/ A dubious pseudo- Queen's Gambit Declined

1. d4 d5 2. c4 b6 *

[d]rnbqkbnr/p1p1pppp/1p6/3p4/2PP4/8/PP2PPPP/RNBQKBNR w KQkq -

This is a borderline opening, with about half White chance of winning and half chance of draw between 2 strong equal opponents. It usually leads to a closed game.

The LTC games are here:

a) Stockfish as White:

[pgn][Event "My Tournament"] [Site "?"] [Date "2018.12.08"] [Round "1"] [White "Stockfish 10"] [Black "Lc0 v19 ID11261"] [Result "1-0"] [ECO "D06"] [GameDuration "03:52:10"] [GameEndTime "2018-12-08T17:04:21.783 GTB Standard Time"] [GameStartTime "2018-12-08T13:12:11.137 GTB Standard Time"] [Opening "Queen's Gambit"] [PlyCount "143"] [TimeControl "3600+60"] 1. d4 {book} d5 {book} 2. c4 {book} b6 {book} 3. cxd5 {+1.55/34 97s} Nf6 {-1.41/19 79s} 4. Nf3 {+1.54/34 121s} Bb7 {-1.43/24 48s} 5. Qc2 {+1.68/32 66s} Bxd5 {-1.47/25 116s} 6. Nc3 {+1.86/32 80s} Bb7 {-1.51/22 116s} 7. e4 {+1.74/34 82s} e6 {-1.52/20 6.5s} 8. Bf4 {+1.87/34 343s} Nbd7 {-1.57/23 246s} 9. Bd3 {+1.91/29 45s} Bb4 {-1.57/21 0.28s} 10. O-O {+1.97/30 65s} O-O {-1.57/21 0.29s} 11. Ne2 {+2.08/36 135s} h6 {-2.22/22 422s} 12. Bxc7 {+2.13/37 47s} Qe7 {-2.23/22 35s} 13. Rac1 {+1.96/38 207s} Rfc8 {-1.92/15 159s} 14. Qb1 {+1.92/38 55s} Qe8 {-1.95/17 158s} 15. a3 {+1.97/39 207s} Bf8 {-1.86/17 192s} 16. Bf4 {+2.03/34 72s} b5 {-1.86/15 208s} 17. h3 {+2.07/35 278s} Nb6 {-1.88/18 83s} 18. Nd2 {+1.91/32 108s} a5 {-1.79/18 174s} 19. Rfd1 {+1.94/34 108s} Nc4 {-1.74/15 291s} 20. Bxc4 {+1.91/34 101s} bxc4 {-1.68/14 86s} 21. Qc2 {+1.74/36 200s} Rd8 {-1.55/14 140s} 22. Qb1 {+1.81/38 109s} Qb5 {-1.49/14 188s} 23. Rc3 {+1.81/38 43s} Ba6 {-1.53/13 132s} 24. f3 {+1.97/36 101s} Qb7 {-1.58/20 200s} 25. Rdc1 {+1.94/35 149s} Rdc8 {-1.62/19 79s} 26. Qa1 {+1.95/34 104s} Bb5 {-1.92/16 186s} 27. Ng3 {+2.05/35 174s} Qb6 {-2.08/15 150s} 28. Be3 {+2.05/33 49s} Nd7 {-2.17/18 120s} 29. b3 {+2.59/35 136s} Bb4 {-2.17/34 0.49s} 30. bxc4 {+2.56/34 84s} Bxc3 {-2.21/20 62s} 31. Rxc3 {+2.61/32 53s} Qc7 {-2.25/18 67s} 32. Nh5 {+2.69/35 122s} a4 {-2.34/18 95s} 33. Qc1 {+2.73/38 355s} Kh7 {-2.54/15 201s} 34. Nf4 {+2.76/37 364s} Ba6 {-2.61/16 95s} 35. Qc2 {+2.72/38 224s} Kg8 {-2.71/15 184s} 36. Nd3 {+2.62/34 157s} Nf8 {-2.77/15 119s} 37. Qxa4 {+3.04/29 58s} Ng6 {-2.84/14 119s} 38. Qc2 {+3.12/32 89s} Nh4 {-2.98/13 248s} 39. Nf1 {+3.23/33 119s} Qd8 {-3.10/12 210s} 40. Qc1 {+3.27/34 145s} Qc7 {-3.10/12 140s} 41. Nb4 {+3.48/30 59s} f5 {-3.65/15 121s} 42. Bf2 {+3.74/30 32s} Qd8 {-3.90/19 110s} 43. c5 {+3.93/34 67s} Bxf1 {-4.15/20 139s} 44. Qxf1 {+3.95/36 54s} Qg5 {-3.32/15 58s} 45. d5 {+4.54/32 41s} fxe4 {-4.80/15 101s} 46. fxe4 {+5.08/31 41s} Rf8 {-5.32/15 113s} 47. Rg3 {+5.56/33 43s} Qh5 {-5.99/15 146s} 48. d6 {+6.76/29 58s} Ng6 {-6.62/14 133s} 49. c6 {+6.99/32 76s} Nf4 {-7.15/13 84s} 50. Rf3 {+8.70/29 58s} Qa5 {-9.29/12 130s} 51. d7 {+9.60/29 47s} Ng6 {-10.02/12 66s} 52. Rxf8+ {+11.37/31 47s} Rxf8 {-11.47/12 92s} 53. Qc4 {+17.28/30 54s} Nf4 {-11.68/11 92s} 54. c7 {+21.75/32 66s} Qg5 {-9.54/14 53s} 55. Kf1 {+23.29/30 53s} Qxg2+ {-9.74/18 43s} 56. Ke1 {+23.05/1 0s} Nxh3 {-10.13/16 59s} 57. Qxe6+ {+63.14/28 34s} Kh7 {-12.79/15 65s} 58. d8=Q {+M63/34 48s} Qxf2+ {-12.35/15 32s} 59. Kd1 {+7.83/1 0s} Qf3+ {-13.63/14 145s} 60. Kc2 {+M39/41 35s} Qe2+ {-15.65/13 59s} 61. Kb3 {+M33/47 50s} Qe3+ {-16.78/13 58s} 62. Ka4 {+M29/55 52s} Qa7+ {-17.09/11 38s} 63. Na6 {+M27/64 70s} Ng5 {-18.22/11 78s} 64. Qxf8 {+M25/70 57s} Qd4+ {-18.59/11 24s} 65. Kb5 {+M23/71 63s} Qd3+ {-18.84/11 34s} 66. Qc4 {+M15/84 49s} Qd7+ {-20.54/9 64s} 67. Ka5 {+M13/103 55s} Kg6 {-20.09/9 93s} 68. c8=Q {+M11/115 58s} Qd2+ {-15.59/9 56s} 69. Qcb4 {+M9/127 3.8s} Qa2 {-16.29/9 65s} 70. Qff5+ {+M5/127 0.085s} Kh5 {-16.81/9 0.044s} 71. Qg4+ {+M3/127 0.005s} Kg6 {-15.17/6 0.022s} 72. Qcf5# {+M1/127 0.004s, White mates} 1-0 [/pgn]
Stockfish builds steadily its advantage from the opening in a closed game to end with a Win.


b) Lc0 as White:

[pgn][Event "My Tournament"] [Site "?"] [Date "2018.12.08"] [Round "2"] [White "Lc0 v19 ID11261"] [Black "Stockfish 10"] [Result "1/2-1/2"] [ECO "D06"] [GameDuration "07:14:48"] [GameEndTime "2018-12-09T00:19:10.191 GTB Standard Time"] [GameStartTime "2018-12-08T17:04:21.863 GTB Standard Time"] [Opening "Queen's Gambit"] [PlyCount "322"] [TimeControl "3600+60"] 1. d4 {book} d5 {book} 2. c4 {book} b6 {book} 3. cxd5 {+1.41/19 61s} Nf6 {-1.25/34 174s} 4. Nf3 {+1.44/24 52s} Bb7 {-1.17/33 98s} 5. Qc2 {+1.47/23 54s} Qxd5 {-1.13/32 141s} 6. Nc3 {+1.53/24 102s} Qd8 {-1.11/33 80s} 7. e4 {+1.54/23 121s} e6 {-1.09/31 50s} 8. Bf4 {+1.57/24 40s} Be7 {-1.04/33 98s} 9. Bd3 {+1.60/24 65s} Nbd7 {-1.25/36 562s} 10. O-O {+1.80/18 189s} Nh5 {-1.26/31 38s} 11. Be3 {+1.80/18 103s} O-O {-1.32/31 131s} 12. Rad1 {+1.84/17 75s} Qc8 {-1.22/35 436s} 13. e5 {+2.30/18 212s} Bxf3 {-1.91/36 321s} 14. gxf3 {+2.62/21 190s} g6 {-1.63/33 42s} 15. Be4 {+2.66/24 82s} c6 {-1.55/32 96s} 16. Ne2 {+2.66/30 0.25s} Nb8 {-1.59/32 159s} 17. Kg2 {+2.66/29 0.24s} Kh8 {-1.50/30 142s} 18. Rc1 {+2.70/29 251s} Qd8 {-1.50/31 91s} 19. Bxc6 {+2.72/29 102s} Nxc6 {-1.37/33 35s} 20. Qxc6 {+2.72/34 0.29s} Ng7 {-1.47/37 102s} 21. Rfd1 {+3.00/26 397s} Nf5 {-1.48/38 192s} 22. Ng3 {+3.04/26 51s} Rc8 {-1.70/41 190s} 23. Qxc8 {+3.03/26 0.28s} Nh4+ {-1.04/37 60s} 24. Kh3 {+3.17/26 246s} Qxc8 {-1.15/39 75s} 25. Rxc8 {+3.14/29 41s} Rxc8 {-1.33/42 92s} 26. f4 {+3.11/28 78s} Rd8 {-1.25/40 61s} 27. Rc1 {+3.09/21 88s} Rd7 {-1.08/36 71s} 28. b4 {+3.09/22 1.5s} h5 {-1.40/46 302s} 29. b5 {+3.48/22 352s} Kg7 {-1.39/47 43s} 30. Rc8 {+3.59/22 285s} Nf3 {-1.39/49 59s} 31. Rc4 {+3.56/25 97s} Nh4 {-1.39/48 133s} 32. Ne4 {+3.63/23 257s} Nf5 {-1.39/48 116s} 33. Kg2 {+3.54/19 108s} Bh4 {-1.39/48 68s} 34. Kf3 {+3.82/17 253s} Ne7 {-1.49/44 148s} 35. Ke2 {+3.72/21 111s} Nd5 {-1.45/45 194s} 36. Nc3 {+3.88/15 213s} Ne7 {-1.49/42 59s} 37. a4 {+4.05/18 170s} Kg8 {-1.77/43 273s} 38. Na2 {+4.06/16 181s} Kf8 {-1.87/44 113s} 39. Nb4 {+4.01/15 139s} Ke8 {-1.78/43 52s} 40. Kd3 {+4.06/15 362s} Kf8 {-1.82/45 134s} 41. Rc3 {+4.09/13 216s} Kg7 {-1.78/43 70s} 42. Rc1 {+4.10/12 154s} Kf8 {-1.68/42 46s} 43. Rc4 {+4.06/13 125s} Ke8 {-1.77/50 127s} 44. Rc2 {+4.06/13 121s} Kf8 {-1.87/46 46s} 45. Rc1 {+4.06/13 110s} Ke8 {-1.87/48 44s} 46. Rc3 {+4.04/13 94s} Rb7 {-1.87/50 66s} 47. Ke4 {+4.06/13 120s} Rd7 {-1.87/52 50s} 48. Kd3 {+4.03/14 116s} Kf8 {-1.97/42 67s} 49. Rc4 {+4.04/14 105s} Ke8 {-1.97/47 137s} 50. Rc1 {+4.04/14 105s} Rb7 {-1.97/45 31s} 51. Rc3 {+4.05/14 81s} Rd7 {-1.85/46 36s} 52. Rc2 {+4.06/13 62s} Kf8 {-1.87/46 85s} 53. Rc3 {+4.05/13 56s} Ke8 {-1.97/47 51s} 54. Rc1 {+4.06/13 64s} Kf8 {-1.97/50 70s} 55. h3 {+4.06/14 16s} Ke8 {-2.02/46 268s} 56. Rc3 {+4.02/14 105s} Rb7 {-2.02/47 28s} 57. Rc2 {+4.03/13 56s} Rd7 {-2.36/40 217s} 58. Rc1 {+3.99/13 64s} Kd8 {-1.86/44 44s} 59. Nc6+ {+4.22/14 27s} Nxc6 {-1.86/48 26s} 60. Rxc6 {+4.17/14 28s} Rd5 {-1.87/51 46s} 61. Kc2 {+4.15/14 113s} Rd7 {-1.87/50 36s} 62. Kc3 {+4.18/13 67s} Rd5 {-2.21/51 242s} 63. Kb4 {+4.15/13 65s} Be7+ {-2.21/50 38s} 64. Kb3 {+4.16/13 57s} Kd7 {-2.21/51 33s} 65. Kc4 {+4.14/13 28s} Bh4 {-2.21/46 32s} 66. a5 {+5.30/17 42s} Bd8 {-2.41/43 59s} 67. a6 {+5.43/17 28s} Bc7 {-3.02/46 181s} 68. Bd2 {+5.33/17 51s} Kd8 {-3.29/47 98s} 69. Bc1 {+5.28/15 143s} Kd7 {-3.29/40 24s} 70. Bb2 {+5.25/16 56s} Bd8 {-3.37/46 40s} 71. Ba1 {+5.21/17 70s} Bc7 {-3.48/47 104s} 72. Bc3 {+5.22/17 41s} Kc8 {-3.17/48 16s} 73. Bd2 {+5.17/15 82s} Kd7 {-3.54/48 114s} 74. Bc1 {+5.15/16 59s} Kc8 {-3.35/41 40s} 75. Bd2 {+5.15/16 63s} Kd8 {-3.65/45 81s} 76. Bb4 {+5.20/16 44s} Kd7 {-3.64/39 16s} 77. Bc3 {+5.18/16 74s} Kd8 {-3.61/49 57s} 78. Bd2 {+5.09/17 53s} Kc8 {-3.64/46 52s} 79. Bc3 {+5.03/16 37s} Kd7 {-3.03/42 29s} 80. Be1 {+4.96/18 93s} Bb8 {-3.29/43 78s} 81. Bd2 {+4.96/17 52s} Bc7 {-3.67/49 124s} 82. Be1 {+4.93/18 67s} Kc8 {-3.60/44 26s} 83. Bc3 {+4.94/17 43s} Kd8 {-3.62/49 101s} 84. Bb4 {+4.95/17 74s} Kd7 {-3.29/45 33s} 85. Bf8 {+4.91/19 51s} Bb8 {-3.29/51 41s} 86. Bh6 {+4.89/19 60s} Bc7 {-3.50/54 105s} 87. Bg7 {+4.86/18 71s} Kc8 {-3.29/55 60s} 88. Bf8 {+4.89/16 53s} Kd7 {-3.82/45 60s} 89. Bg7 {+4.82/17 65s} Kd8 {-3.90/48 60s} 90. Bf8 {+4.76/17 61s} Kd7 {-3.78/47 18s} 91. Bb4 {+4.72/17 23s} Bb8 {-3.71/43 20s} 92. Ba3 {+4.70/17 85s} Bc7 {-4.13/46 131s} 93. Bb2 {+4.67/17 65s} Bd8 {-4.28/40 71s} 94. f3 {+4.69/16 55s} Bc7 {-4.40/39 35s} 95. Bc1 {+4.58/15 72s} Kd8 {-4.42/43 57s} 96. Be3 {+4.57/15 57s} Kc8 {-4.23/45 29s} 97. Kb4 {+5.18/14 58s} Rd8 {-4.38/38 82s} 98. Rc1 {+5.38/14 38s} Rf8 {-3.75/35 21s} 99. Kc4 {+7.59/13 39s} Kd7 {-4.17/42 127s} 100. d5 {+7.70/18 38s} Rg8 {-4.86/35 69s} 101. Kd4 {+9.42/12 93s} Bd8 {-4.99/33 26s} 102. d6 {+9.83/11 36s} h4 {-3.16/49 21s} 103. Ke4 {+8.91/10 83s} Rh8 {-3.16/52 34s} 104. Rc3 {+8.60/11 85s} Re8 {-3.50/54 142s} 105. Rc2 {+8.87/10 51s} Rg8 {-3.98/53 72s} 106. Rf2 {+8.87/10 85s} Rh8 {-3.98/50 28s} 107. Rh2 {+8.50/10 59s} Rg8 {-3.98/56 25s} 108. Rd2 {+8.67/10 60s} Kc8 {-3.98/54 30s} 109. Rg2 {+8.94/9 60s} Kd7 {-3.98/56 36s} 110. Rh2 {+8.71/10 60s} f6 {-3.98/56 38s} 111. Rg2 {+13.29/10 27s} f5+ {-3.98/66 35s} 112. Kd4 {+12.55/11 92s} Rg7 {-3.98/69 37s} 113. Kd3 {+12.94/10 61s} Rg8 {-3.98/67 40s} 114. Rg1 {+12.98/10 55s} Rg7 {-3.98/69 34s} 115. Ke2 {+12.94/10 64s} Ke8 {-3.98/58 119s} 116. Rf1 {+13.42/9 61s} Rg8 {-3.98/64 40s} 117. Re1 {+13.21/9 59s} Kd7 {-3.98/71 42s} 118. Rg1 {+12.84/9 59s} Rg7 {-3.98/73 42s} 119. Kd3 {+12.88/9 44s} Rg8 {-3.98/69 36s} 120. Kc3 {+12.56/9 78s} Rg7 {-3.98/70 56s} 121. Bf2 {+12.66/9 43s} Rg8 {-3.98/67 41s} 122. Kd3 {+12.26/10 74s} Rg7 {-3.98/71 38s} 123. Rc1 {+12.43/10 32s} Rh7 {-3.98/71 130s} 124. Ke2 {+12.14/10 86s} Rh8 {-3.98/66 228s} 125. Kd2 {+12.20/10 56s} Rh7 {-3.98/66 52s} 126. Kd3 {+12.00/10 63s} Rh8 {-3.98/64 29s} 127. Ke2 {+11.92/10 60s} Rh7 {-3.98/62 149s} 128. Rf1 {+11.89/10 64s} Rg7 {-3.98/58 80s} 129. Be3 {+11.81/10 59s} Rh7 {-3.98/60 60s} 130. Rh1 {+11.81/9 62s} Rh8 {-3.98/58 60s} 131. Rb1 {+11.64/9 58s} Rg8 {-3.98/56 60s} 132. Re1 {+11.52/9 34s} Rh8 {-3.98/54 60s} 133. Bf2 {+11.28/9 73s} Rh7 {-3.98/53 34s} 134. Bd4 {+11.09/9 71s} Rg7 {-3.98/60 86s} 135. Bf2 {+10.90/9 61s} Rh7 {-3.98/51 60s} 136. Rg1 {+10.63/9 51s} Rg7 {-3.98/49 60s} 137. Rb1 {+10.27/9 71s} Rh7 {-3.98/46 60s} 138. Kd3 {+10.07/9 60s} Rh8 {-3.98/46 44s} 139. Kd2 {+9.85/9 58s} Rg8 {-3.98/42 76s} 140. Rg1 {+9.39/9 60s} Rg7 {-3.98/41 60s} 141. Re1 {+9.05/9 62s} Rg8 {-3.98/42 60s} 142. Kc2 {+8.63/9 57s} Rh8 {-3.98/37 32s} 143. Kb2 {+8.42/9 57s} Rh7 {-3.91/34 88s} 144. Rg1 {+7.90/9 64s} Rg7 {-3.88/34 60s} 145. Ka1 {+7.50/10 61s} Rg8 {-3.86/32 60s} 146. Rd1 {+7.03/10 60s} Rg7 {-3.69/28 60s} 147. Re1 {+6.55/10 59s} Rg8 {-3.78/29 60s} 148. Rg1 {+6.07/10 59s} Rg7 {-3.44/25 22s} 149. Rd1 {+5.57/10 59s} Rg8 {-3.35/24 98s} 150. Rd2 {+5.19/10 60s} Rg7 {-3.20/30 60s} 151. Kb1 {+4.71/10 60s} Rh7 {-3.32/24 60s} 152. Rd1 {+4.29/10 62s} Rg7 {-3.03/19 17s} 153. Ka1 {+3.98/10 56s} Rg8 {-0.76/42 40s} 154. Re1 {+3.82/10 65s} Rf8 {0.00/44 37s} 155. Ka2 {+3.33/10 60s} Rf7 {0.00/51 41s} 156. Kb2 {+2.60/10 60s} Rh7 {0.00/52 22s} 157. Rh1 {+2.30/18 30s} Rh8 {0.00/55 44s} 158. Rc1 {+0.32/8 89s} Rh7 {0.00/54 54s} 159. Re1 {+0.07/7 61s} Rg7 {0.00/55 48s} 160. Rg1 {+0.01/5 60s} Rg8 {0.00/64 26s} 161. Ka3 {0.00/3 59s} Be7 {0.00/114 192s, Draw by fifty moves rule} 1/2-1/2[/pgn]
Although both engines failed to comprehend that the position is blocked, Stockfish manages to hold the blockade, and Lc0 failed to convert its advantage again.

========================



That +2 -0 =2 for SF10 at real LTC in these games with diverse developments, the double failure of Lc0 to convert, indicate again that scaling to real LTC might be not that good for Lc0.
crem
Posts: 177
Joined: Wed May 23, 2018 9:29 pm

Re: Scaling of Lc0 at high Leela Ratio

Post by crem »

Laskos wrote: Mon Dec 10, 2018 9:07 pm That +2 -0 =2 for SF10 at real LTC in these games with diverse developments, the double failure of Lc0 to convert, indicate again that scaling to real LTC might be not that good for Lc0.
Which Lc0 version did you use? The most recent one v0.19.1 (it's just a version rename of v0.19.1-rc2 from 3 days ago so rc2 is fine too) has Cpuct growing with time (taken from AlphaZero paper) and it should help with LTC scalability.
User avatar
Laskos
Posts: 10948
Joined: Wed Jul 26, 2006 10:21 pm
Full name: Kai Laskos

Re: Scaling of Lc0 at high Leela Ratio

Post by Laskos »

crem wrote: Mon Dec 10, 2018 11:14 pm
Laskos wrote: Mon Dec 10, 2018 9:07 pm That +2 -0 =2 for SF10 at real LTC in these games with diverse developments, the double failure of Lc0 to convert, indicate again that scaling to real LTC might be not that good for Lc0.
Which Lc0 version did you use? The most recent one v0.19.1 (it's just a version rename of v0.19.1-rc2 from 3 days ago so rc2 is fine too) has Cpuct growing with time (taken from AlphaZero paper) and it should help with LTC scalability.
I used Lc0 v0.19.
I saw the new versions just two hours ago, right now I was testing their NPS with NNCache and Batch sizes, such things.
I will perform some tests these days, scaling too. Although going to real long TC is hard with many games, but I might try the same borderline openings as in previous post.
duncan
Posts: 12038
Joined: Mon Jul 07, 2008 10:50 pm

Re: Scaling of Lc0 at high Leela Ratio

Post by duncan »

crem wrote: Mon Dec 10, 2018 11:14 pm
Laskos wrote: Mon Dec 10, 2018 9:07 pm That +2 -0 =2 for SF10 at real LTC in these games with diverse developments, the double failure of Lc0 to convert, indicate again that scaling to real LTC might be not that good for Lc0.
Which Lc0 version did you use? The most recent one v0.19.1 (it's just a version rename of v0.19.1-rc2 from 3 days ago so rc2 is fine too) has Cpuct growing with time (taken from AlphaZero paper) and it should help with LTC scalability.
How helpful would you consider the latest AlphaZero paper for lc0 ?