Skip to main content
QUICK REVIEW

[Paper Review] Similarity of Objects and the Meaning of Words

Rudi Cilibrasi, Paul Vitányi|UvA-DARE (University of Amsterdam)|Feb 17, 2006
linguistics and terminology studiesArts and Humanities31 citations
TL;DR

This paper proposes a universal, parameter-free similarity measure for objects using compression-based Kolmogorov complexity and web-based Google Distance (NGD), enabling robust, cross-domain data clustering and semantic analysis without prior feature engineering. It achieves 87.25% average accuracy in learning WordNet categories, demonstrating strong alignment with human-annotated semantics.

ABSTRACT

We survey the emerging area of compression-based, parameter-free, similarity distance measures useful in data-mining, pattern recognition, learning and automatic semantics extraction. Given a family of distances on a set of objects, a distance is universal up to a certain precision for that family if it minorizes every distance in the family between every two objects in the set, up to the stated precision (we do not require the universal distance to be an element of the family). We consider similarity distances for two types of objects: literal objects that as such contain all of their meaning, like genomes or books, and names for objects. The latter may have literal embodyments like the first type, but may also be abstract like ``red'' or ``christianity.'' For the first type we consider a family of computable distance measures corresponding to parameters expressing similarity according to particular featuresdistances generated by web users corresponding to particular semantic relations between the (names for) the designated objects. For both families we give universal similarity distance measures, incorporating all particular distance measures in the family. In the first case the universal distance is based on compression and in the second case it is based on Google page counts related to search terms. In both cases experiments on a massive scale give evidence of the viability of the approaches. between pairs of literal objects. For the second type we consider similarity

Motivation & Objective

  • To develop a universal, parameter-free similarity metric that captures all effective distance measures across diverse data types without requiring domain-specific features.
  • To bridge the gap between literal data (e.g., genomes, texts) and abstract names (e.g., 'red', 'christianity') by unifying similarity measurement under a single framework.
  • To evaluate the effectiveness of compression-based and web-based similarity measures on real-world data, particularly in semantic categorization tasks.
  • To validate the proposed method against expert-annotated semantic resources like WordNet, ensuring alignment with human-constructed semantic hierarchies.

Proposed method

  • Uses normalized compression distance (NCD) based on Kolmogorov complexity to compute similarity between literal objects like genomes or texts, treating compression efficiency as a proxy for shared information.
  • Employs Google page counts to compute the Normalized Google Distance (NGD) between word names, using search frequency to infer semantic relatedness in a web-scale context.
  • Applies hierarchical clustering via a fast heuristic for the quartet method on NCD and NGD matrices to visualize and group similar objects or terms.
  • Uses a 6-anchor NGD vector representation for each term, where each component is the NGD between the term and a predefined anchor set, enabling SVM-based classification.
  • Automatically tunes SVM hyperparameters (kernel width and error cost) using five-fold cross-validation to optimize classification performance.
  • Reuses precomputed Google search counts (for anchors and individual terms) to minimize redundant queries, reducing computational cost by up to 90%.

Experimental results

Research questions

  • RQ1Can a universal, parameter-free similarity measure based on compression effectively capture diverse similarity types (e.g., edit, alignment, Lempel-Ziv) across different data domains?
  • RQ2To what extent does the NGD based on web search frequencies accurately reflect human-constructed semantic relations between word names?
  • RQ3How well can the proposed method learn and classify semantic categories (e.g., 'electrical') compared to expert-annotated resources like WordNet?
  • RQ4What is the scalability and robustness of the method when applied to large-scale, real-world data such as cultural heritage texts or diverse semantic categories?
  • RQ5Can the method maintain high accuracy even when faced with ambiguous terms (e.g., 'Julius Caesar') by leveraging context from surrounding objects?

Key findings

  • The compression-based NCD method successfully clusters diverse data types (music, text, genomes) without feature engineering, demonstrating robustness across domains.
  • The NGD-based method achieves a mean accuracy of 87.25% in classifying semantic categories using SVM, with a standard deviation of approximately 0.1169, indicating consistent performance.
  • The method correctly classified 100% of test examples in a controlled experiment on 'electrical' terms, showing high precision for unambiguous semantic categories.
  • The system remains effective even with ambiguous terms like 'Julius Caesar', where context from surrounding objects determines semantic meaning.
  • The total number of Google searches required for 100 experiments was bounded at 49,600, demonstrating computational efficiency through query caching and reuse.
  • The method shows strong agreement with WordNet, a gold-standard semantic resource, validating its use for automatic semantic extraction and learning.

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.