Introduction
Determining semantic relatedness—the degree to which two concepts are associated—is a cornerstone of Natural Language Processing (NLP). While humans intuitively understand the link between "apple" and "iPhone," teaching machines to quantify these relationships remains a significant challenge. Traditional approaches typically rely on hand-crafted dictionaries like WordNet, which are precise but slow to update, or corpus-based methods like Latent Semantic Analysis, which are computationally expensive due to the need to process massive volumes of raw text.
This paper introduces WSR (WikiStruRel), a novel algorithm that leverages the structural metadata of Wikipedia—specifically its article link network and category tree—to calculate relatedness. By focusing on these "meta" structures rather than raw article text, WSR achieves high accuracy comparable to state-of-the-art methods like Explicit Semantic Analysis (ESA) while maintaining significantly lower computational overhead.
Methodology
The WSR algorithm operates by mapping input words to Wikipedia concepts and then synthesizing two specialized structural measures: RelArtNet and RelCatTree.
The WSR Pipeline
The process begins with a word-to-concept mapping phase. Using Wikipedia's disambiguation and redirection pages, the system resolves synonyms and polysemy to identify the specific Wikipedia articles corresponding to the input terms.
RelArtNet (Article Network)
RelArtNet treats Wikipedia articles as nodes in a graph. Unlike simpler link-based measures, RelArtNet distinguishes between different types of links. For instance, "See Also" links and bidirectional links are assigned higher weights than standard body links. The algorithm utilizes a modified Jaccard coefficient to measure the overlap between the neighbors of two concepts. Crucially, it expands its analysis to include 2nd and 3rd-degree connections, capturing relationships between concepts that inhabit the same "semantic neighborhood" even if they are not directly linked.
RelCatTree (Category Tree)
RelCatTree utilizes Wikipedia’s hierarchical category system. It calculates relatedness based on the "Information Content" of the Least Common Subsumer (LCS)—the most specific category shared by two concepts. This provides a taxonomic perspective that complements the associative data found in the article network.
Experimental Evaluation
The authors evaluated WSR against three standard benchmarks: Miller and Charles (30 word pairs), Rubenstein and Goodenough (65 word pairs), and WordSimilarity-353. Performance was measured by the Spearman correlation between the algorithm's scores and human judgments.
Key Results
WSR demonstrated strong performance across all test sets, achieving a correlation of approximately 0.70–0.73. This performance is highly competitive with text-heavy methods like ESA (~0.75), despite WSR's much lower memory and processing requirements.
As shown in the results, WSR consistently outperformed other structure-based methods like WikiRelate and WLM (Wikipedia Link-based Measure). Analysis of the individual components revealed that the article network (RelArtNet) was generally more informative than the category tree (RelCatTree), likely due to the higher density and descriptive nature of the link network.
Conclusion
WSR proves that Wikipedia’s internal structure—its links and categories—is a rich source of semantic knowledge that can be harvested without the need for intensive natural language processing of article text. By treating structure as knowledge, WSR provides an efficient, scalable, and accurate solution for semantic relatedness tasks. Future work may involve incorporating external web links or lightweight analysis of article lead paragraphs to further refine the measure's precision.
Summary updated