Saturday, July 27, 2019

Statistics

"Best by test", said former-worldchampion Fischer about 1.e4. He got the best results with 1.e4 so he kept playing the same lines which brought him fortune earlier. Chess is about results so logically we like playing openings which have won us games before.

On the other hand some amateurs ditch an opening from the moment they have lost a game with it. They change openings at the same rate as they change their underpants. They play any opening but know nothing. They don't want to make any effort to find a solution for a problem in the opening or worse they think wrongly that the defeat is because of the chosen opening.

In the book Ivan's Chess Journey Unravelled the strong Dutch grandmaster Ivan Sokolov gives therefore the advise to test at least an opening a couple of times before taking the decision to give it up. Next to that he also made the interesting comment that he sometimes removes openings from his repertoire although they are theoretically sound. If the resulting positions don't fit your style and results remain under par then obviously you can't keep on playing them as a professional.

So statistics influence our choices in chess but in comparison with computerchess this is child's play. In computerchess statistics have always been used very intensively to make progress. Each new minor-upgrade of an engine is tested extensively not only to remove any bugs but especially to define any change of the playing-strength. Besides in the course of the history of computerchess we see an increasing use of techniques embracing statistics.

Speed had always been the key. The faster we can evaluate, the faster we can make new changes. The first logical step was to make automatic testsessions to avoid the slowness of the human operators. In the last decade as hardware kept gaining speed, it became also more and more interesting to choose for rather short and more than slow and long (games). This change of analysis I already explained in 2015 here see computers achieve autonomy and nowadays I use it myself regularly.

In the last 2 years programmers even started to work with only bullet-games or faster. The path was cleared for the neural networks which more than ever need huge amounts of games to learn. This way AlphaZero played against itself 44 million games and learned to play the best ever chess performed in history in just a couple of hours. It was only given the rules of chess and the rest was figured out by the engine. At least that is what we were told everywhere as you could read e.g. at chessbase. The real story behind was much more difficult to discover. To learn more about it I decided to buy the very hyped book Game Changer.
I am halfway with the book but meanwhile I do realize the book wasn't meant to explain the code of Alphazero. The authors are in the first place players so not surprisingly they concentrate on the chess-content of the games. It is still a nice book to read but to learn about the technical aspects of the engine, you better study the scientific document of Google/Deepmind.

That file explains that the engine works with a probability-distribution of 4672 possible moves. Knowing the starting position only contains 20 possible moves then this is clearly something very complex which not everybody can create. Even the experienced Leela-developers which used the input from Alpha Zero had still many questions. Maybe this was also the purpose of Deepmind. They try to give a new method to the world for creating a superstrong engine but leave things open so developers are forced to use their imagination.

Besides such very sophisticated learning-process is totally useless for a chessplayer. Playing 44 million games in a couple of hours is no option. The only statistics based on games played by humans with some value, are openingbooks extracted from a database (see my article green moves). Still even then the value is rather limited which I experienced first hand recently. Last season I played a game in which I played after the moves 1.e4 e5 with black 19 consecutive moves considered to be the most popular one at master-level. The Chigorin-variation of the Spanish remains today the undisputed number 1.
Only at move 21 I deviate from the 4 last master-games in the big-database 2019. It already had little statistical value but more remarkable is that black was landed in an unpleasant position. This combined with a well prepared and excellently playing opponent made a deadly combination.
[Event "Interclub KOSK - Deurne"] [Site "?"] [Date "2019.??.??"] [Round "?"] [White "Decrop, B."] [Black "Brabo"] [Result "1-0"] [ECO "C99"] [WhiteElo "2188"] [BlackElo "2309"] [PlyCount "71"] [CurrentPosition "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"] 1. e4 e5 2. Nf3 {(In our game of 2015 Benjamin chose for Nc3 but Nf3 was no surprise.)} 2... Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O-O Be7 6. Re1 b5 7. Bb3 d6 8. c3 O-O 9. h3 Na5 {(I have found in the big database 2019 still 1 game played in 2012 from Benjamin with this position. However his opponent played Bb7.)} 10. Bc2 c5 11. d4 Qc7 12. Nbd2 cxd4 13. cxd4 Nc6 14. Nb3 a5 15. Be3 a4 16. Nbd2 Bd7 17. Rc1 Qb7 18. Nf1 Rfe8?! {(I play this mainline already for 15 years but this is probably the last time.)} (18... Rfc8!? 19. Ng3!? Ne8 20. b3!? g6! 21. Ne2 Bd8!) (18... Bd8!? 19. Ng3 h6! 20. dxe5 dxe5 21. Qe2 Bc7! 22. Nh4 Bb6) 19. Ng3 Bd8 20. d5 {(In the book "the Chigorin Bible" Qe2 is given as the refutation but it is not so simple as some very recent correspondence-games demonstrate. I've not yet encountered before d5 in an official game but I had covered it in my personal notes as a critical test.)} 20... Nb4!? {(Almost anybody plays Nb4 but Ne7 is not really inferior.)} (20... Ne7!? 21. Nh4 Rf8!? 22. Bd3!? Kh8!? 23. Qf3! Bb6!? 24. Bg5! Nfg8 25. Rc2! f6!? {(Or first b4 and only then f6.)} 26. Bd2 b4 27. Rec1! g6!? 28. Qe2! b3 29. axb3 axb3 30. Rc4 Ra2 31. Rb1 Qa7 32. Rc3) 21. Bb1 Be7!? {(After the game my teammate Daniel Sadkowski criticized this move. I don't think this is really fair as it is very important to connect the rooks in this type of positions and other bishop-moves are unavailable. In my personal notes I found Na6 but I couldn't remember that in the game as I hadn't checked this line in my preparation.)} (21... Na6!? 22. Qe2! g6!? 23. Nd2! h5 24. Nf3! Ba5!? 25. Nh4!) 22. Nh4 g6 23. Bg5!? {(First Qd2 and next Bg5 is probably a little more accurate.)} 23... Qb6?! {(This idea is known and playable after 21.. .Na6 22.Nh4 g6 23.Bg5 Qb6 but here it doesn't work. The engine recommends the accurate Rec8 but white still keeps the better chances.)} 24. Qd2 Na6 25. Nhf5 {(After the game Benjamin told me that he had seen those sacrifices in the preparation. If you know that very strong players like Tkachiev, Bellaiche, Van Kampen and Bok have missed this in their games then it once again proves I am too predictable with my openings.)} 25... Bd8?! {(Gxf5 is no fun but the problems are become bigger now.)} (25... gxf5! 26. Bxf6 f4! (26... Bxf6?! 27. Nh5 Qd8 28. Qh6 Bh8 29. exf5 e4 30. Rxe4 Rxe4 31. Bxe4 Qh4 32. Rc3 Nc5 33. Rg3+ +- {[%eval 937,30]}) 27. Bxe7 Rxe7 28. Nh5 Qd8 29. Qe2) 26. Nh6+ Kg7 27. Rc3 Ng8 {(I saw white's next sacrifice after releasing my piece. In the postmortem I improved my play with the stronger Rf8 which makes the win for white a lot more difficult.)} 28. Nh5+ gxh5 29. Rg3 Bg4 30. Nf5+ Kh8 31. hxg4 h4 32. Rh3 Ra7 33. Rxh4 Bxg5 {(Also this time I only see the rooksacrifice after I released my piece. The position is beyond repair anyway but I should solve more tactical puzzles.)} 34. Rxh7+ Kxh7 35. Qxg5 f6 36. Qh5+ 1-0
Benjamin is a redoubtable opponent about which I wrote before already on my blog see ambitions part 2. Likely we can consider this game one of his better or even his best. For me this defeat was a sign to study properly again the Spanish Chigorin. 20 years of experience doesn't mean you are done with an opening. Fortunately I was lucky as last year a book about this opening was written by 2 grandmasters: Ivan Sokolov and the Spanish grandmaster Ivan Salgado Lopez.
As the authors notice in the book, it is weird no similar book was ever written before about this opening despite it is the most popular line of the Spanish. In the meantime I finished the book and I can definitely recommend it for anybody interested in this opening. We get a very good and extensive overview of the opening and it seems the opening is still fully playable. Also many improvements are given upon old evaluations. At chesspub the critic was given that it is incomplete. It is not totally unjustified as also 20.d5 isn't treated in the book. Still we shouldn't be too harsh either. With Na5 you can find more than 8000 mastergames in the big database 2019 and we still need to add the correspondence-games. In the book there are numerous alternatives given so you can get with ease around any missing lines with both colors.

Brabo

No comments:

Post a Comment