ArticleslgStudy

mathematics

Information distance

Information distance is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Information distance rather than just read about it. In short: Information distance is the distance between two finite objects (represented as computer files) expressed as the number of bits in the shortest program which transforms one object into the other one or vice versa on a universal computer. This is an extension of Kolmogorov complexity.

Key takeaways

  • Information distance belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Information distance to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Information distance from memory before moving on to harder problems.

Reference excerpt

Information distance is the distance between two finite objects (represented as computer files) expressed as the number of bits in the shortest program which transforms one object into the other one or vice versa on a universal computer. This is an extension of Kolmogorov complexity. The Kolmogorov complexity of a single finite object is the information in that object; the information distance between a pair of finite objects is the minimum information required to go from one object to the other or vice versa. Information distance was first defined and investigated in based on thermodynamic principles, see also. Subsequently, it achieved final form in. It is applied in the normalized compression distance and the normalized Google distance.

Properties Formally the information distance ID(x,y) between x and y is defined by

ID(x,y)=min⁡{|p|:p(x)=y&p(y)=x}, with p a finite binary program for the fixed universal computer with as inputs finite binary strings x,y. In it is proven that ID(x,y)=E(x,y)+O(log⁡⋅max⁡{K(x∣y),K(y∣x)}) with

E(x,y)=max⁡{K(x∣y),K(y∣x)}, where K(⋅∣⋅) is the Kolmogorov complexity defined by of the prefix type. This E(x,y) is the important quantity.

Universality Let Δ be the class of upper semicomputable distances D(x,y) that satisfy the density condition

∑x:x≠y2−D(x,y)≤1,∑y:y≠x2−D(x,y)≤1, This excludes irrelevant distances such as D(x,y)=12 for x≠y; it takes care that if the distance growth then the number of objects within that distance of a given object grows. If D∈Δ then E(x,y)≤D(x,y) up to a constant additive term. The probabilistic expressions of the distance is the first cohomological class in information symmetric cohomology, which may be conceived as a universality property.

Metricity The distance E(x,y) is a metric up to an additive O(log⁡.max⁡{K(x∣y),K(y∣x)}) term in the metric (in)equalities. The probabilistic version of the metric is indeed unique has shown by Han in 1981.

Maximum overlap If E(x,y)=K(x∣y), then there is a program p of length K(x∣y) that converts y to x, and a program q of length K(y∣x)−K(x∣y) such that the program qp converts x to y. (The programs are of the self-delimiting format which means that one can decide where one program ends and the other begins in concatenation of the programs.) That is, the shortest programs to convert between two objects can be made maximally overlapping: For K(x∣y)≤K(y∣x) it can be divided into a program that converts object x to object y, and another program which concatenated with the first converts y to x while the concatenation of these two programs is a shortest program to convert between these objects.

Minimum overlap The programs to convert between objects x and y can also be made minimal overlapping. There exists a program p of length K(x∣y) up to an additive term of O(log⁡(max⁡{K(x∣y),K(y∣x)})) that maps y to x and has small complexity when x is known (K(p∣x)≈0). Interchanging the two objects we have the other program Having in mind the parallelism between Shannon information theory and Kolmogorov complexity theory, one can say that this result is parallel to the Slepian-Wolf and Körner–Imre Csiszár–Marton theorems.

Applications

Theoretical The result of An.A. Muchnik on minimum overlap above is an important theoretical application showing that certain codes exist: to go to finite target object from any object there is a program which almost only depends on the target object! This result is fairly precise and the error term cannot be significantly improved. Information distance was material in the textbook, it occurs in the Encyclopedia on Distances.

Practical To determine the similarity of objects such as genomes, languages, music, internet attacks and worms, software programs, and so on, information distance is normalized and the Kolmogorov complexity terms approximated by real-world compressors (the Kolmogorov complexity is a lower bound to the length in bits of a compressed version of the object). The result is the normalized compression distance (NCD) between the objects. This pertains to objects given as computer files like the genome of a mouse or text of a book. If the objects are just given by name such as `Einstein' or `table' or the name of a book or the name `mouse', compression does not make sense. We need outside information about what the name means. Using a data base (such as the internet) and a means to search the database (such as a search engine like Google) provides this information. Every search engine on a data base that provides aggregate page counts can be used in the normalized Google distance (NGD). A python package for computing all information distances and volumes, multivariate mutual information, conditional mutual information, joint entropies, total correlations, in a dataset of n variables is available .

References

Related literature Arkhangel'skii, A. V.; Pontryagin, L. S. (1990), General Topology I: Basic Concepts and Constructions Dimension Theory, Encyclopaedia of Mathematical Sciences, Springer, ISBN 3-540-18178-4

Worked examples

Example 1 — a first encounter with Information distance

Start with the simplest possible case. Write down what Information distance claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Information distance before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Information distance ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Information distance

In research
Information distance appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Information distance in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Information distance is common in secondary-school and first-year university syllabi. It links to neighbouring topics Statistical distance, so understanding it makes those chapters shorter.
In everyday life
Look for Information distance outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Information distance” →

How to study Information distance in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Information distance means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Information distance out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Information distance in simple terms?

Information distance is the distance between two finite objects (represented as computer files) expressed as the number of bits in the shortest program which transforms one object into the other one or vice versa on a universal computer. This is an extension of Kolmogorov complexity.

Why does Information distance matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Information distance?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Information distance.

Tags

  • Statistical distance

Keep exploring