HackerPapers

arXiv:cs/0111054cs.CC

The similarity metric

Ming Li, Xin Chen, Xin Li, Bin Ma, Paul Vitanyi

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.

arXiv comments
13 pages, LaTex, 5 figures, Part of this work appeared in Proc. 14th ACM-SIAM Symp. Discrete Algorithms, 2003. This is the final, corrected, version to appear in IEEE Trans Inform. Th
Journal reference
DOI
Subjects
cs.CCComputational Complexity cond-mat.stat-mechStatistical Mechanics cs.CEComputational Engineering, Finance, and Science cs.CVComputer Vision and Pattern Recognition math.COCombinatorics math.MGMetric Geometry math.STStatistics Theory physics.data-anData Analysis, Statistics and Probability q-bio.GNGenomics

On Hacker News

Linked by 2 identifiable commenters in 2 comments across 2 threads, from May 2021 to Feb 2026.

Comments linking this paper, per year.

Discussed in comments2 threads

    • I'm doing my PhD in compression-based machine learning, wanted to contribute a few clarifying points. The relationship between probabilistic modeling and lossless compression is very direct. A model that predicts the next symbol with probability p can on average losslessly…

      jackhurwitzView on HNParent context

    • Thanks, I had not seen that dissertation yet, it has much more information than that arxiv link - here is a a pdf of that dissertation that google gave me: https://www.illc.uva.nl/Research/Publications/Dissertations/... Although strictly speaking the idea with the evolutionary…

      sischoelView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.