[Paper Review] Normalized Web Distance and Word Similarity
This paper introduces the Normalized Web Distance (NWD) as a practical, compression-free method to measure word similarity by leveraging aggregate web search statistics. By using search hit counts from a search engine to approximate information-theoretic distances, NWD achieves a similarity score between 0 and 1, with empirical validation showing strong agreement (mean accuracy 0.8725) with human-annotated semantic concordances like WordNet.
There is a great deal of work in cognitive psychology, linguistics, and computer science, about using word (or phrase) frequencies in context in text corpora to develop measures for word similarity or word association, going back to at least the 1960s. The goal of this chapter is to introduce the normalizedis a general way to tap the amorphous low-grade knowledge available for free on the Internet, typed in by local users aiming at personal gratification of diverse objectives, and yet globally achieving what is effectively the largest semantic electronic database in the world. Moreover, this database is available for all by using any search engine that can return aggregate page-count estimates for a large range of search-queries. In the paper introducing the NWD it was called `normalized Google distance (NGD),' but since Google doesn't allow computer searches anymore, we opt for the more neutral and descriptive NWD. web distance (NWD) method to determine similarity between words and phrases. It
Motivation & Objective
- To develop a scalable, automated method for measuring semantic similarity between words and phrases without relying on manually curated knowledge bases.
- To leverage the vast, unstructured web as a low-cost, large-scale semantic database for computing word similarity.
- To provide a computationally efficient alternative to alignment-based or feature-engineered methods in natural language processing.
- To validate the NWD approach against human-annotated semantic similarity benchmarks such as WordNet.
Proposed method
- NWD computes word similarity using search hit counts from a web search engine, treating these as proxies for information-theoretic probabilities.
- The method applies a normalized distance formula derived from information theory, approximating Kolmogorov complexity using web page frequencies.
- Key components include individual term frequency (P(x)), co-occurrence frequency (P(x,y)), and a global web size estimate (N) to compute the normalized distance.
- The NWD formula is: eG(x,y) = [max{log P(x), log P(y)} - log P(x,y)] / [max{log P(x), log P(y)}] for terms x and y.
- The approach uses anchor terms and vectorization to compare new words against a fixed set of reference terms, caching repeated queries for efficiency.
- The method is validated through randomized trials comparing NWD-based classifications against human-annotated semantic concordances.
Experimental results
Research questions
- RQ1Can web search statistics provide a reliable, scalable proxy for semantic similarity between words?
- RQ2How well does NWD-based similarity correlate with human-annotated semantic similarity, such as in WordNet?
- RQ3Does the NWD method remain stable under changes in the size of the indexed web corpus?
- RQ4Can NWD be used effectively in automated classification tasks without manual feature engineering?
Key findings
- The NWD method achieved a mean accuracy of 0.8725 in classifying word similarity, demonstrating strong alignment with human-annotated semantic concordances.
- When tested on a reduced web index (half the size), the NWD score for 'horse' and 'rider' changed only slightly from 0.443 to 0.460, indicating robustness to corpus size fluctuations.
- The method showed high consistency, with a standard deviation of approximately 0.1169 across 100 randomized trials, indicating rare performance below 75% agreement.
- The total number of required web searches was reduced to 49,600 over 100 experiments through query caching, demonstrating computational efficiency.
- Despite not being a true metric due to non-triangle inequality, NWD correctly captures relative semantics—e.g., 'man' and 'centaur' are close, 'centaur' and 'horse' are close, but 'man' and 'horse' are distant.
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.