Kolmogorov Complexity
Some concepts are more complex than others. Our desire to satisfy hunger can be easily expressed; the desire for self-actualization less so. The question of how to create a formal and rigorous framework for quantifying complexity in a way that aligns with our intuitive understanding was the concern of Russian mathematician Andrey Kolmogorov. As a premise, Kolmogorov posited that the complexity of an object can be understood by how concisely it can be described. If the object can be described in a very short and simple manner it is considered to be of low complexity. Conversely, if describing the object requires long and detailed explanation it is considered to be of high complexity.
Consider the string “1010101010101010”. The string can be thought of as eight repetitions of “10” and expressed in the programming language python as “10”*8 which is a shorter description of the string itself, meaning that the Kolmogorov complexity is low. The initial string has effectively been compressed. In contrast, the string “7fs€sgt%jm412d29sr” does not appear to have any obvious pattern or way to compress it and has a higher Kolmogorov complexity. Indeed, the string displays signs of incompressibility, meaning that there exists no shorter description of the string than itself.
Formally the Kolmogorov complexity K(s) of a string s is the length of the shortest binary program p such that a universal Turing machine U outputs s when it runs p.
K(s)=min{∣p∣:U(p)=s}, where ∣p∣ is the length of the program p
A Turing machine is a theoretical model of computation that manipulates symbols on an infinite tape according to a set of rules. It represents the fundamental capabilities of a computer. When we speak of Kolmogorov complexity, we refer to the shortest program that a universal Turing machine can execute to produce a given string s. This program serves as a compressed version of the string. The universal Turing machine is essential because it can simulate any other Turing machine, making the measure of complexity independent of any specific computational device. The length of this shortest program, in bits, is the Kolmogorov complexity of the string. As such, Kolmogorov complexity ties the idea of description length directly to the fundamental process of computation, providing a precise and machine-independent measure of an object's complexity.
Initially, a problem might have a high perceived complexity, but upon further analysis, it may be revealed to have a low Kolmogorov complexity. However, a problem arises as we can never know if the shortest program has been found as doing so would require us to search the space of all possible programs. In other words, we’ve encountered a halting problem, and as Turing proved, there is no general algorithm that can decide for every possible program and input whether the program will eventually halt or run forever. It is impossible to compute K(s) for all strings. Of course, we can be quite successful in compressing an object using heuristics or compression algorithms, but these do not always find the shortest representation. As such, Kolmogorov’s contributions to understanding complexity are mainly theoretical. Three contributions in particular strike me as important.
First, the theory offers a formal and rigorous way to quantify the complexity of individual objects. The shortest possible program that can produce the object is its complexity. It’s not a subjective or context-dependent notion of complexity, as it is based on a universal Turing machine; instead, it’s a precise mathematical concept.
Second, Kolmogorov complexity provides a formal definition of incompressibility. A string is incompressible if its Kolmogorov complexity is close to its length, meaning that there is no shorter program that can generate the string. This is an important concept for understanding the limits of compression. From this insight, the concept of algorithmic randomness finds its foundation. A string is considered algorithmically random if its shortest description is essentially the string itself, providing a rigorous basis for defining and studying randomness in sequences.
Third, Kolmogorov complexity bridges the gap between algorithmic information theory and classical information theory, as the complexity of an object is directly tied to its information content. The maximally compressed version of a string is its information content, and overly verbose writing is to be avoided.
In essence, when Newton first developed a mathematical description of gravity, he compressed the events of a falling body into a concise and accurate representation of physical reality. A problem of high perceived complexity could now be represented as simply as F=ma. The key to understanding lies in finding the shortest and most efficient representation of information.
The fact that we may never know if we have succeeded in finding the most compressed representation of phenomena is humbling but exciting; for who knows what discoveries lie ahead. Kolmogorov complexity not only provides a framework for understanding and quantifying complexity but also invites us to continually seek deeper insights in both theoretical and practical domains. To pursue simplicity within complexity.