[Paper Review] Normalized Google Distance of Multisets with Applications
This paper introduces a normalized Google distance (NGD) for multisets of search terms, extending the pairwise NGD to capture shared semantic similarity among multiple terms using web search frequencies. It demonstrates superior performance in classification tasks—such as taxonomic grouping and political candidate clustering—compared to pairwise NGD, especially when using Google's API over web interfaces or Bing.
Normalized Google distance (NGD) is a relative semantic distance based on the World Wide Web (or any other large electronic database, for instance Wikipedia) and a search engine that returns aggregate page counts. The earlier NGD between pairs of search terms (including phrases) is not sufficient for all applications. We propose an NGD of finite multisets of search terms that is better for many applications. This gives a relative semantics shared by a multiset of search terms. We give applications and compare the results with those obtained using the pairwise NGD. The derivation of NGD method is based on Kolmogorov complexity.
Motivation & Objective
- To extend the pairwise normalized Google distance (NGD) to multisets of search terms for improved semantic similarity measurement.
- To develop a computable, parameter-free similarity measure based on web search frequencies that captures shared semantics across multiple terms.
- To evaluate the method’s performance on real-world classification tasks where pairwise NGD fails to capture group structure.
- To compare the multiset NGD against pairwise NGD, Bing, and Google n-grams in terms of accuracy and robustness.
Proposed method
- Proposes a multiset NGD defined as $ NGD(X) = \frac{\max_{x \in X} \log f(x) - \log f(x_1, \dots, x_n)}{\log N - \min_{x \in X} \log f(x)} $, where $ f(x) $ is the number of pages containing term $ x $, $ f(x_1, \dots, x_n) $ is the number of pages containing all terms, and $ N $ is the total number of indexed pages.
- Uses the World Wide Web and Google (or other search engines) as a large-scale database to retrieve aggregate page counts for term frequencies.
- Applies the multiset NGD to compute a single similarity score between a finite multiset of terms, representing their collective semantic relatedness.
- Employs spectral clustering and gap statistic to validate group structure in data, comparing results with pairwise NGD and alternative search engines.
- Uses the Google API, Google Web User Interface (WUI), Bing, and Google n-grams to assess robustness and performance across platforms.
- Validates the method using theoretical properties of Kolmogorov complexity and information distance, showing convergence to the universal distribution in the limit.
Experimental results
Research questions
- RQ1Can the normalized Google distance be meaningfully extended from pairs of terms to multisets of terms to capture collective semantic similarity?
- RQ2How does the multiset NGD compare to pairwise NGD in classifying complex data such as biological taxa or political candidates?
- RQ3Does the choice of search engine (Google vs. Bing) or interface (API vs. WUI) significantly affect the accuracy of multiset-based classification?
- RQ4To what extent does the multiset NGD preserve or violate metric properties like the triangle inequality in practice?
- RQ5How well does the multiset NGD perform on datasets with known group structures, such as vertebrate subclasses or political party affiliations?
Key findings
- The multiset NGD correctly classified all 12 vertebrate subclasses (reptiles, mammals, birds, fish) into their respective taxonomic groups.
- In the US 2008 primary candidate dataset, the multiset NGD correctly classified 11 out of 12 candidates, misclassifying Ron Paul as Democratic—likely due to his libertarian views.
- Pairwise NGD with gap statistic selected only one group in the taxonomy data, while the multiset NGD correctly identified four groups as the global maximum.
- Spectral clustering using multiset NGD achieved perfect classification in both the taxonomy and primary candidate datasets, whereas pairwise NGD failed to separate parties effectively.
- The Google API outperformed the Google WUI and Bing in all multiset classification tasks, with Bing showing significantly worse performance.
- The multiset NGD did not violate the triangle inequality in practice, despite theoretical non-metricity, and showed convergence toward the universal distribution as data size increased.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.