chessbase india logo

Fat Fritz and the KID

by Albert Silver - 25/09/2019

While the title may sound like the name of the latest spaghetti western, it is actually a look at how Fat Fritz may change the way players view the King's Indian Defense, notably the Classical Main Line, long maligned by generations of engines. See how it compares to the latest Stockfish on it, and why its unique development gives it such a broad outlook on openings in general.

Evaluating a classic

If there is a standard opening whose reputation has been repeatedly pummeled by engines over the years, it is the King's Indian Defense. Especially the Classical main lines with the two sides rolling their pawns forward. While it enjoyed its spot in the sun with its last great proponent in Garry Kasparov, the latter’s inability to overcome his rival Vladimir Kramnik with it, leading him to actually stop playing it, was a hammer blow. Almost as if dictated by fate, the rise of the chess engines was around this time, with Fritz at the top, later followed by Rybka, Houdini and more, and they all seemed to universally condemn the opening with extremely positive evaluations for White, which were only reversed by a mistake or blunder. The conclusion one might draw from this is that while the KID might offer plenty of practical chances, it is fundamentally suspect.

 

Or is it?

 

Fat Fritz offers a very different perspective on this, and it is not just because it is a neural network. It is also because of how it was trained and developed. When I began training it, the idea was not only to offer it the bulk of human genius from Mega Database, but to see it learn about all the openings that exist. This does not mean it will necessary like them, just that if it doesn’t, its opinion will have come from the practical study of millions of positions. This highlights one of the major differences compared to the ‘zero’ approach used by AlphaZero. The ‘zero’ approach accurately claims to remove all human bias, since in effect it is learning solely from games played against itself, but its proponents fail to highlight that instead this introduces significant biases of its own.

The published article on AlphaZero, and even the excellent book on it by GM Matthew Sadler and Natasha Regan, clearly show that while AlphaZero may be incredibly strong, it is also a super specialist in very specific openings. When allowed to steer the games towards openings of its choice, it did unusually well, but if greater variety were enforced the results were much less impressive. Was this because some of these other openings were inherently flawed or because its skills were not as universally strong in all of them? I suspect a bit of both.

 

Consider the graphs published by Deep Mind on the time spent on various openings in its own self-play. Meaning the percent of time in those 44 million games that it laboured on each opening.

 

Here are three:

The original article from which this is displayed explains:

"Matches starting from the most popular human openings. AlphaZero plays against Stockfish in chess. In the left bar, AlphaZero plays white, starting from the given position; in the right bar, AlphaZero plays black. Each bar shows the results from AlphaZero’s perspective: win (green), draw (gray), or loss (red). The percentage frequency of self-play training games in which this opening was selected by AlphaZero is plotted against the duration of training, in hours."

 

As you can see from the first diagram in the list, the first three moves that might lead to the King’s Indian were barely ever touched by AlphaZero compared to other choices. Even the Caro Kann (the third diagram) enjoyed far greater interest. The results against Stockfish 8 were also less than inspiring, with more draws and losses as black than any of the others, as well as fewer wins. Fat Fritz is very different, and in my testing against Stockfish 10, with similar conditions (meaning 1000 to 1 speed difference), it is an opening where it will outscore the otherwise great engine quite significantly.

 

In my testing I use standard openings suites with balanced positions that enforce an opening, but not the exact continuation. In my longest test match*, when the Classical King’s Indian was played, Fat Fritz (an earlier development version) won both games as white and black.

Here are a few key positions that illustrate some of the more startling differences:

Fat Fritz (beta) - Stockfish 10 64 POPCNT

Position after 20...h3+ 21.Kh1

This is the position after 21.Kh1 and it is astonishing to see that Stockfish, playing black, thinks it is better with a -0.83 evaluation, while Fat Fritz thinks it is +2.02 ! It is hard to imagine a more striking disagreement.

Position after 27.Qa4

Six moves later Stockfish is beginning to see the light and now agrees White is better, if only by +0.25, while Fat Fritz evaluates itself at +3.29. Looking at the position, it is really hard to understand how Stockfish can be so unconcerned. In the past, with no diverging opinions, the conventional wisdom was to not argue with the engine, and just accept it knew what it was talking about. Now there is a diverging opinion, and a result to reinforce it as well.

 

In the second game in which they repeated the opening with reversed colours, we are treated to an example of how Fat Fritz handles the dynamic needs of Black’s position.

Stockfish 10 64 POPCNT - Fat Fritz (beta)

Position after 20.Qb3

The move is 20…Nxe4! A shot Stockfish did not expect. Though Fat Fritz found it on its own, it is only fair to point out that it has been played several times in correspondence play, and once even by GM John Nunn. Fat Fritz found it and played it in 14 seconds according to the timestamp in the game file.

 

Another clear divergence can be seen several moves later, when after 29…Nf4 the position stands so:

Position after 29...Nf4

Here is a condition that many players will recognize: the infamous 0.00. For the last couple of moves Stockfish 10 has judged the position as 0.00, and even for the next couple of moves after will continue to claim it is 0.00. However, at this point Fat Fritz is becoming quite happy with its position as black and thinks it is -1.22 in its favor. A few moves later, Stockfish will change its tune and from there on it never recovers.

 

So, am I suggesting the King’s Indian is winning or even better? No, but I feel confident that if anything it shows the fundamental vitality of the opening itself, and that Fat Fritz has a much better understanding overall of the needs and methods of the situations that arise from the King's Indian than most other engines. Using it as an analytical tool can lead to the discovery of plenty of gold nuggets, and I have no doubt there will be other openings that will also benefit.

 

*Stockfish was running on 32 threads (each 3.7 GHz), while Fat Fritz ran on an underclocked RTX 2080 (and 2 CPU threads). The games were 15 minutes plus 10 seconds increment. Ponder was off.

About the Author

Born in the US, he grew up in Paris, France, where he completed his Baccalaureat, and after college moved to Rio de Janeiro, Brazil. He had a peak rating of 2240 FIDE, and was a key designer of Chess Assistant 6. In 2010 he joined the ChessBase family as an editor and writer at ChessBase News. He is also a passionate photographer with work appearing in numerous publications.


Related news:
Introducing Fritz 17 with Fat Fritz and other goodies

@ 13/11/2019 by ChessBase (en)
Fritz 17 - The giant PC chess program, now with FAT Fritz*

@ 01/11/2019 by ChessBase Shop (en)
Analysing your openings repertoire with Fat Fritz

@ 28/10/2019 by ChessBase (en)
Using Fat Fritz in the Engine Cloud

@ 21/09/2019 by Nadja Wittmann (en)
Fat Fritz – What on Earth is that?

@ 12/09/2019 by Albert Silver (en)