Kolmogorov complexity, named after the Russian mathematician Andrey Kolmogorov, is a measure of the computational resources needed to specify a particular string of characters. Specifically, it is defined as the length of the shortest possible description (in some fixed universal description language) of the string within the framework of algorithmic information theory. It is a measure of the amount of information contained in an object and is sometimes referred to as descriptive complexity.
When considering the Kolmogorov complexity of a good chess-playing algorithm, one must understand that the complexity is not so much about the strength of the chess play but about the conciseness of the algorithm's representation. The Kolmogorov complexity of an algorithm would be the length of the shortest computer program in bits that can play strong chess.
Several points are worth noting about this:
-
Simplicity vs. Strength: A simple algorithm may play weak chess, while a more complex (in terms of algorithmic structure) program could play much stronger chess. However, the latter might also have a longer description, affecting its Kolmogorov complexity.
-
Universality: Kolmogorov complexity is defined relative to a universal computing language or universal Turing machine. Therefore, the complexity depends on the choice of the programming language or the description method used.
-
Incompressibility: The Kolmogorov complexity of a string or algorithm is related to its incompressibility. A highly complex algorithm from this point of view would be one that cannot be significantly compressed into a shorter description. In the context of chess algorithms, this means that there is no much shorter program that exhibits the same level of play.
-
Uncomputability: Kolmogorov complexity is uncomputable, meaning there is no general method to compute the Kolmogorov complexity of an arbitrary string or algorithm. In practical terms, you cannot always find the shortest program that can play chess at a given level, especially because assessing the strength of play can be subjective and complex in itself.
In practice, developing a strong chess-playing algorithm involves balancing the complexity of the rules and strategies it encodes with the computational resources available (such as memory and processing power). While a highly-optimized and concise algorithm may have a lower Kolmogorov complexity, practical chess engines often incorporate large amounts of opening theory, endgame tablebases, and sophisticated evaluation functions, which all tend to increase the total description length and hence the algorithm's Kolmogorov complexity.
It's also worth noting that modern chess engines, like Stockfish or AlphaZero, which play at superhuman levels, are not designed with minimal Kolmogorov complexity in mind, but rather toward practical effectiveness and strength over the chessboard.