[Paper Review] A Measure of Similarity in Textual Data Using Spearman's Rank Correlation Coefficient
This paper proposes using Spearman's Rank Correlation Coefficient (SRCC) as a novel similarity measure for textual data in vector space models, leveraging its ability to detect nonlinear relationships. Experiments on 14 textual documents show SRCC outperforms cosine similarity and Pearson correlation in capturing semantic similarity, especially in cases with low-term overlap but meaningful conceptual connections, demonstrating robustness in knowledge extraction tasks.
In the last decade, many diverse advances have occurred in the field of information extraction from data. Information extraction in its simplest form takes place in computing environments, where structured data can be extracted through a series of queries. The continuous expansion of quantities of data have therefore provided an opportunity for knowledge extraction (KE) from a textual document (TD). A typical problem of this kind is the extraction of common characteristics and knowledge from a group of TDs, with the possibility to group such similar TDs in a process known as clustering. In this paper we present a technique for such KE among a group of TDs related to the common characteristics and meaning of their content. Our technique is based on the Spearman's Rank Correlation Coefficient (SRCC), for which the conducted experiments have proven to be comprehensive measure to achieve a high-quality KE.
Motivation & Objective
- To address the limitation of traditional similarity measures in capturing semantic similarity when term overlap is low but conceptual relevance is high.
- To evaluate the effectiveness of Spearman’s Rank Correlation Coefficient (SRCC) in measuring similarity between TF-IDF vector representations of textual documents.
- To demonstrate that SRCC can detect nonlinear associations in textual data where cosine and Pearson correlation may fail.
- To provide a reliable, non-standard alternative to existing similarity measures for clustering and knowledge extraction in NLP.
- To validate the method through empirical experiments on a diverse set of textual documents across multiple topics.
Proposed method
- Textual documents are represented in a vector space using the TF-IDF weighting scheme, transforming each document into a numerical vector.
- Similarity between document pairs is computed using Spearman’s Rank Correlation Coefficient (SRCC), which assesses the monotonic relationship between ranked term weights.
- The method compares SRCC against established measures: cosine similarity (CS) and Pearson correlation coefficient (PCC).
- SRCC is computed by ranking the TF-IDF values of terms in each document vector and then calculating the correlation between the two rank vectors.
- The approach is evaluated on a dataset of 14 textual documents covering diverse topics (e.g., aliens, law, news, stories) to test robustness across semantic contexts.
- Visual and quantitative comparisons are made between SRCC, CS, and PCC to assess performance in detecting meaningful document similarities.
Experimental results
Research questions
- RQ1Can Spearman’s Rank Correlation Coefficient effectively measure semantic similarity between textual documents when term overlap is minimal?
- RQ2How does SRCC compare to cosine similarity and Pearson correlation in detecting nonlinear relationships in textual data?
- RQ3Does SRCC provide a more realistic similarity score than traditional measures in cases of low-term overlap but high conceptual relevance?
- RQ4Can SRCC be reliably used in knowledge extraction and document clustering tasks involving heterogeneous textual content?
- RQ5What is the performance of SRCC in detecting subtle or indirect semantic associations between documents?
Key findings
- SRCC produced a similarity value of 0.0018 for documents d₁ and d₅, which discuss unrelated topics (leadership vs. family and medical leave), indicating a very low semantic connection.
- In contrast, cosine similarity gave a high value of 0.36 for the same pair, suggesting a misleading level of similarity due to term overlap from the word 'employee'.
- For highly similar documents d₈ and d₉ (both discussing alien sightings), SRCC achieved a similarity of 0.95, closely matching the cosine similarity of 0.97 and PCC of 0.97.
- SRCC detected a nonlinear association between d₆ and d₁₀ (similarity 0.022), which was not well captured by cosine or Pearson, indicating its strength in non-linear contexts.
- The method showed consistent performance across diverse document pairs, with SRCC values generally aligning with semantic intuition, especially in cases where other measures failed.
- Visual analysis confirmed that SRCC effectively distinguishes between semantically unrelated pairs and clearly related ones, even when term overlap is minimal.
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.