HackerPapers

arXiv:cs/0312044cs.CV

Clustering by compression

Rudi Cilibrasi, Paul Vitanyi

Abstract

We present a new method for clustering based on compression. The method doesn't use subject-specific features or background knowledge, and works as follows: First, we determine a universal similarity distance, the normalized compression distance or NCD, computed from the lengths of compressed data files (singly and in pairwise concatenation). Second, we apply a hierarchical clustering method. The NCD is universal in that it is not restricted to a specific application area, and works across application area boundaries. A theoretical precursor, the normalized information distance, co-developed by one of the authors, is provably optimal but uses the non-computable notion of Kolmogorov complexity. We propose precise notions of similarity metric, normal compressor, and show that the NCD based on a normal compressor is a similarity metric that approximates universality. To extract a hierarchy of clusters from the distance matrix, we determine a dendrogram (binary tree) by a new quartet method and a fast heuristic to implement it. The method is implemented and available as public software, and is robust under choice of different compressors. To substantiate our claims of universality and robustness, we report evidence of successful application in areas as diverse as genomics, virology, languages, literature, music, handwritten digits, astronomy, and combinations of objects from completely different domains, using statistical, dictionary, and block sorting compressors. In genomics we presented new evidence for major questions in Mammalian evolution, based on whole-mitochondrial genomic analysis: the Eutherian orders and the Marsupionta hypothesis against the Theria hypothesis.

arXiv comments
LaTeX, 27 pages, 20 figures
Journal reference
DOI
Subjects
cs.CVComputer Vision and Pattern Recognition cond-mat.stat-mechStatistical Mechanics cs.AIArtificial Intelligence physics.data-anData Analysis, Statistics and Probability q-bio.GNGenomics q-bio.QMQuantitative Methods

On Hacker News

Linked by 5 identifiable commenters in 5 comments across 5 threads, from Aug 2018 to Jul 2024.

Comments linking this paper, per year.

Discussed in comments5 threads

    • Thank you for talking with me! I do realize the benefits of the 'compression' model of ML. Sometimes you can even use compression directly, like here: https://arxiv.org/abs/cs/0312044 . I suppose you're right that you only need a few substantively similar outputs to potentially…

      Kim_BruningView on HNParent context

    • Something important to note is that the authors use normalized compression distance (NCD). NCD is a way to approximate Kolmogorov complexity. This is a pretty old idea, see [1,2]. Old but still very useful, like perceptrons. [1] Li and Vitanyi. An Introduction to Kolmogorov…

      nextosView on HNParent context

    • This article is surprisingly short on actual applications. For some interesting applications one might look at the the Wikipedia article for the normalized compression distance: https://en.wikipedia.org/wiki/Normalized_compression_distanc... This paper here shows some…

      sischoelView on HNParent context

    • The author of the article would have been wise to include this information. I did find "Clustering by Compression", https://arxiv.org/abs/cs/0312044 The emphasis in this paper was not on "efficiency", but rather on phylogenetic grouping. The authors used the "Universal…

      bediger4000View on HNParent context

    • I guess it provides an objective definition of when something is simple or complicated. This could have applications in statistics or machine learning, where "simpler" hypotheses could be less likely to overfit. There are computable measures of "simplicity" (unlike Kolmogorov…

      jkabrgView on HNParent context

Submitted to Hacker News

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