Stockfish vs Leela

Sort:
HurtU

I mostly use Stockfish to analyze positions. Recently, I added Leela as an additional engine for analysis. I figured that both of these very strong chess engines would mostly agree when calculating the best move and the position evaluation. I was surprised! They frequently disagree on both fronts. In fact, the best move of one engine often doesn't even rank in the top three of the other engine's calculations. I also noticed that Stockfish evaluations are usually more extreme than Leela's. For instance, even when they agree on the best move, Stockfish might say that white has a +1.50 advantage whereas Leela might evaluate white's advantage at +0.40. Also, Stockfish seems to evaluate much deeper and faster than Leela. Stockfish gets to a depth of 25 within seconds where it might take Leela 10 minutes to get to that depth - at least, on my computer. Finally, I noticed that in complex positions, Stockfish will often find some esoteric (non-human) move that only works in a "computer line" whereas Leela usually finds a strong, human-like move that makes the position easier to play.  

ChessBegginerNow

This is Stockfish V Leela Chess. Ended in a draw.

[Event "?"]
[Site "?"]
[Date "2023.02.26"]
[Round "?"]
[White "Leela Chess Gui"]
[Black "Stockfish 15.1"]
[Result "1/2-1/2"]
[ECO "B10"]
[GameDuration "00:09:31"]
[GameEndTime "2023-02-26T17:20:18.398 W. Central Africa Standard Time"]
[GameStartTime "2023-02-26T17:10:46.915 W. Central Africa Standard Time"]
[Opening "Caro-Kann defense"]
[PlyCount "167"]
[TimeControl "1000/300"]

1. e4 {+0.14/6 5.4s} c6 {-0.38/31 17s} 2. Nf3 {+0.21/7 4.8s} d5 {-0.19/25 3.1s}
3. e5 {+0.20/8 3.1s} Bg4 {-0.20/25 3.8s} 4. Be2 {+0.17/10 3.8s}
c5 {-0.19/26 3.7s} 5. O-O {+0.17/11 4.6s} Nc6 {-0.16/25 0.98s}
6. c4 {+0.14/10 4.8s} d4 {-0.27/25 0.26s} 7. Nxd4 {+0.14/10 4.4s}
Bxe2 {-0.11/27 7.7s} 8. Nxe2 {+0.18/9 5.1s} e6 {-0.29/27 3.8s}
9. f4 {+0.18/8 12s} Qd7 {-0.06/25 4.5s} 10. Nbc3 {+0.18/7 8.9s}
O-O-O {-0.19/27 2.3s} 11. b3 {+0.17/7 2.5s} Be7 {-0.24/30 6.8s}
12. Rb1 {+0.12/7 6.5s} h5 {-0.03/23 4.8s} 13. Ne4 {+0.10/8 4.5s}
f5 {-0.09/26 4.3s} 14. Ng5 {+0.09/9 7.3s} Nh6 {0.00/24 3.5s}
15. Nf3 {+0.08/8 3.2s} h4 {-0.10/25 3.1s} 16. h3 {+0.05/9 4.8s}
Nf7 {-0.05/28 0.001s} 17. b4 {+0.06/10 5.2s} g5 {-0.01/30 0.001s}
18. b5 {+0.04/11 5.2s} Nb4 {+0.09/28 0.004s} 19. d4 {-0.02/10 10s}
g4 {+0.55/25 3.7s} 20. hxg4 {-0.08/12 3.7s} fxg4 {+0.56/21 3.9s}
21. Ng5 {-0.01/12 2.3s} Bxg5 {+0.66/23 2.0s} 22. fxg5 {-0.36/8 8.8s}
h3 {+0.49/23 3.1s} 23. Rxb4 {-0.02/9 4.8s} cxb4 {+0.48/28 8.0s}
24. Qc2 {-0.12/11 2.5s} Rhg8 {+0.52/27 1.3s} 25. g6 {-0.18/11 8.0s}
Nh8 {+0.54/29 3.8s} 26. Bg5 {-0.14/11 3.9s} hxg2 {+0.60/26 0.77s}
27. Kxg2 {-0.20/10 4.3s} Nxg6 {+0.17/30 9.1s} 28. Bxd8 {-0.21/11 2.2s}
Qh7 {+0.17/25 1.5s} 29. Kg1 {-0.14/11 9.5s} Rh8 {+0.16/30 0.001s}
30. Ng3 {-0.21/12 5.9s} Qh3 {+0.34/34 0.003s} 31. Bf6 {-0.18/13 9.7s}
Qxg3+ {+0.55/23 4.6s} 32. Qg2 {-0.21/1 0.090s} Rh3 {+0.71/27 3.9s}
33. Qxg3 {-0.30/14 3.0s} Rxg3+ {+0.30/28 8.9s} 34. Kh2 {-0.32/11 3.7s}
Rh3+ {+0.39/30 3.9s} 35. Kg2 {-0.43/12 20s} Rd3 {+0.63/26 3.1s}
36. Bg5 {-0.45/16 5.3s} Rxd4 {+0.44/27 3.4s} 37. Rf6 {-0.53/16 1.3s}
Nxe5 {+0.54/30 2.0s} 38. Rf8+ {-0.53/14 1.7s} Kc7 {+0.49/31 2.8s}
39. Bf4 {-0.42/14 2.2s} Re4 {+0.45/31 1.3s} 40. c5 {-0.39/12 2.6s}
Kd7 {+0.41/30 2.6s} 41. Bg3 {-0.27/10 8.3s} b6 {+0.39/32 0.003s}
42. Ra8 {-0.33/11 10s} bxc5 {+0.44/38 0s} 43. Rxa7+ {-0.30/13 4.0s}
Kd6 {+0.37/33 3.3s} 44. b6 {-0.21/13 3.5s} Re2+ {+0.35/33 2.0s}
45. Kf1 {-0.11/11 7.6s} Re3 {+0.36/35 0.002s} 46. Kf2 {-0.05/10 3.9s}
Rf3+ {+0.35/28 4.0s} 47. Kg2 {-0.14/10 2.3s} Kc6 {+0.34/34 2.5s}
48. Bxe5 {-0.16/9 4.0s} Kxb6 {+0.30/35 2.0s} 49. Ra8 {-0.14/7 2.8s}
Kb7 {+0.29/35 0.50s} 50. Ra5 {-0.14/7 9.1s} Kc6 {+0.27/35 0.29s}
51. Ra8 {-0.14/6 5.8s} Kb7 {+0.25/36 0.002s} 52. Ra5 {-0.11/6 2.9s}
Kb6 {+0.25/38 0.81s} 53. Ra8 {-0.10/5 1.8s} Kc6 {+0.17/39 24s}
54. Bg7 {-0.10/6 2.2s} Kb7 {+0.15/34 4.6s} 55. Ra5 {-0.08/5 3.3s}
Kc6 {+0.13/33 1.5s} 56. Ra8 {-0.09/5 1.6s} Kd5 {+0.13/33 2.0s}
57. Bf8 {-0.07/5 2.0s} Rc3 {+0.10/34 0.76s} 58. Rd8+ {-0.07/5 1.4s}
Kc4 {+0.07/35 2.1s} 59. Rc8 {-0.07/5 1.4s} Kd4 {+0.06/35 1.9s}
60. Rd8+ {-0.05/5 1.2s} Ke3 {+0.07/35 2.3s} 61. Rc8 {-0.02/4 1.0s}
Kd4 {+0.03/35 2.6s} 62. Rd8+ {-0.06/5 0.66s} Ke4 {+0.01/35 2.5s}
63. Rc8 {-0.03/5 0.97s} Rc2+ {0.00/35 22s} 64. Kg3 {-0.02/6 0.34s}
Rxa2 {0.00/36 1.0s} 65. Rxc5 {0.00/4 0.63s} Ra3+ {0.00/32 1.5s}
66. Kxg4 {0.00/4 0.70s} Rb3 {0.00/35 1.7s} 67. Rb5 {0.00/3 0.46s}
Rb1 {0.00/38 1.5s} 68. Bxb4 {0.00/3 0.37s} e5 {0.00/39 1.6s}
69. Rb8 {0.00/3 0.32s} Rg1+ {0.00/35 5.0s} 70. Kh3 {0.00/4 0.29s}
Kd5 {0.00/38 2.2s} 71. Bf8 {0.00/3 0.25s} Rg8 {0.00/36 1.8s}
72. Rd8+ {0.00/3 0.21s} Ke6 {0.00/38 2.1s} 73. Be7 {+0.01/4 0.18s}
Rxd8 {0.00/37 1.8s} 74. Bxd8 {0.00/5 0.17s} e4 {0.00/42 1.8s}
75. Bh4 {0.00/2 0.14s} e3 {0.00/42 2.0s} 76. Kg2 {0.00/3 0.11s}
Ke5 {0.00/39 1.9s} 77. Kh3 {0.00/3 0.11s} Kd5 {0.00/42 1.9s}
78. Bg3 {0.00/3 0.091s} Kc4 {0.00/43 7.9s} 79. Kg2 {0.00/1 0.12s}
e2 {0.00/44 1.4s} 80. Bh4 {0.00/3 0.058s} Kd3 {0.00/46 1.2s}
81. Be1 {0.00/2 0.056s} Kc2 {0.00/47 1.2s} 82. Bg3 {0.00/3 0.045s}
Kd2 {0.00/47 0.96s} 83. Kf3 {0.00/1 0.043s} e1=Q {0.00/47 1.3s}
84. Bxe1+ {0.00/2 0.035s, Draw by insufficient mating material} 1/2-1/2

 

USMNTfan

I just downloaded Leela into Chessbase. I noted the same thing with the speed. Stockfish 15.1 will get to depth 35 on my computer in maybe 30 seconds. I let Leela run for multiple minutes and it was still at depth 24 (the exact same position). Does anyone know why this is?

Dietosky

👍