Skip to main content
QUICK REVIEW

[Paper Review] The similarity metric

Ming Li, Xin Chen|arXiv (Cornell University)|Nov 20, 2001
Computability, Logic, AI AlgorithmsComputer Science25 references7 citations
TL;DR

This paper proposes the normalized information distance (NID), a universal similarity metric based on Kolmogorov complexity that minorizes all computable similarity distances. It introduces the normalized compression distance (NCD) as a practical approximation using standard compressors, successfully generating a fully automatic mitochondrial genome phylogeny and a 52-language family tree, demonstrating robustness across diverse domains without domain-specific parameters.

ABSTRACT

A new class of distances appropriate for measuring similarity relations between sequences, say one type of similarity per distance, is studied. We propose a new ``normalized information distance'', based on the noncomputable notion of Kolmogorov complexity, and show that it is in this class and it minorizes every computable distance in the class (that is, it is universal in that it discovers all computable similarities). We demonstrate that it is a metric and call it the {\em similarity metric}. This theory forms the foundation for a new practical tool. To evidence generality and robustness we give two distinctive applications in widely divergent areas using standard compression programs like gzip and GenCompress. First, we compare whole mitochondrial genomes and infer their evolutionary history. This results in a first completely automatic computed whole mitochondrial phylogeny tree. Secondly, we fully automatically compute the language tree of 52 different languages.

Motivation & Objective

  • To develop a general mathematical theory of similarity that requires no domain-specific knowledge or features.
  • To define a universal distance metric that captures all computable similarity relations between sequences.
  • To demonstrate the applicability of this metric in real-world domains such as bioinformatics and computational linguistics.
  • To provide a practical, computable approximation of the noncomputable NID using standard compression algorithms.
  • To validate the method through automatic construction of evolutionary and language phylogeny trees.

Proposed method

  • Proposes the normalized information distance (NID) as a universal metric derived from Kolmogorov complexity, defined as the normalized sum of the conditional complexities between two objects.
  • Introduces the normalized compression distance (NCD) as a practical approximation of NID, using real-world compressors like gzip and GenCompress.
  • Computes NCD via the formula: NCD(x,y) = [C(xy) - min(C(x), C(y))]/max(C(x), C(y)), where C(z) is the compressed size of z.
  • Applies NCD to hierarchical clustering of sequences, enabling automatic construction of phylogenetic and language trees.
  • Uses Basque as an outgroup in language tree construction to ensure independence from known language families.
  • Employs standard compression programs without tuning or feature engineering, ensuring parameter-free data mining.

Experimental results

Research questions

  • RQ1Can a universal similarity metric be defined that captures all computable similarity relations between sequences?
  • RQ2Is the normalized information distance (NID) a valid metric that satisfies the triangle inequality and other metric properties?
  • RQ3Can a practical approximation of NID—namely NCD—be used to automatically infer evolutionary and linguistic relationships from raw sequence data?
  • RQ4How well does NCD perform in reconstructing known biological and linguistic phylogenies without prior domain knowledge?
  • RQ5Does the method remain robust across vastly different domains such as genomics and linguistics?

Key findings

  • The normalized information distance (NID) is proven to be a metric, satisfying all metric properties including the triangle inequality.
  • The NID is universal in the sense that it minorizes every computable distance in the class of effective similarity measures.
  • The normalized compression distance (NCD) successfully reconstructs a whole mitochondrial genome phylogeny tree automatically, matching known evolutionary relationships.
  • The NCD method produces a language tree for 52 Euro-Asian languages that aligns with historical and linguistic classifications, placing English between Romance and Celtic languages and isolating Hungarian with Turkic languages.
  • The results were obtained in a single run without parameter tuning, demonstrating robustness and generalizability across domains.
  • The method outperforms ad hoc compression-based approaches by avoiding arbitrary triangularization and lacking theoretical justification.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.