Skip to main content
QUICK REVIEW

[Paper Review] A Rank-Based Similarity Metric for Word Embeddings

Enrico Santus, Hongmin Wang|arXiv (Cornell University)|May 4, 2018
Topic ModelingComputer Science20 references10 citations
TL;DR

This paper proposes APSynP, a rank-based similarity metric adapted for dense word embeddings by introducing a stable power parameter (p = 0.1), which outperforms vector cosine in outlier detection and matches or exceeds it in semantic similarity estimation, particularly on genuine similarity datasets like SimLex-999.

ABSTRACT

Word Embeddings have recently imposed themselves as a standard for representing word meaning in NLP. Semantic similarity between word pairs has become the most common evaluation benchmark for these representations, with vector cosine being typically used as the only similarity metric. In this paper, we report experiments with a rank-based metric for WE, which performs comparably to vector cosine in similarity estimation and outperforms it in the recently-introduced and challenging task of outlier detection, thus suggesting that rank-based measures can improve clustering quality.

Motivation & Objective

  • To address the limitation of vector cosine in treating all dimensions equally, regardless of semantic relevance.
  • To adapt the rank-based metric APSyn, originally for sparse vectors, to dense word embeddings.
  • To develop an unsupervised, parameter-stable similarity measure for word embeddings that enhances clustering quality.
  • To evaluate the new metric on both standard similarity benchmarks and the more challenging outlier detection task.

Proposed method

  • Adapts the rank-based similarity measure APSyn to word embeddings by replacing the feature overlap parameter N with the full feature set size |f|.
  • Introduces a power parameter p to weight the contribution of ranked dimensions, proven to be stable at p = 0.1 across multiple tasks.
  • Employs a smoothed rank-based scoring function that prioritizes high-ranking dimensions in similarity computation.
  • Uses both pairwise comparison and cluster prototype approaches for outlier detection, with the latter being more efficient.
  • Applies the metric to GloVe and Skip-gram word embeddings trained on different corpora (Wikipedia, UMBC).
  • Employs Fisher’s r-to-z transformation and χ² tests to validate statistical significance of performance gains.

Experimental results

Research questions

  • RQ1Can a rank-based similarity metric outperform vector cosine in evaluating word embeddings?
  • RQ2Is the rank-based metric APSyn transferable to dense word embeddings with minimal hyperparameter tuning?
  • RQ3Does the proposed APSynP metric improve performance on the challenging outlier detection task compared to baseline methods?
  • RQ4Is the power parameter p in APSynP stable across different datasets and embedding types?
  • RQ5Can a cluster prototype approach achieve competitive outlier detection performance with lower computational cost?

Key findings

  • APSynP outperforms vector cosine in similarity estimation on the MEN dataset (p < 0.05) and on all datasets compared to APSyn (p < 0.01).
  • With Skip-Gram embeddings, APSynP performs comparably to cosine on WordSim and MEN, and slightly better on SimLex-999.
  • APSynP achieves the state-of-the-art accuracy of 73.4% and OPP of 94.9% on the outlier detection task using the Skip-Gram model trained on Wikipedia.
  • The model shows consistent performance across datasets, with a preference for genuine semantic similarity, as evidenced by better results on SimLex-999.
  • The cluster prototype method achieves competitive results with lower computational cost than pairwise comparison.
  • The power parameter p is empirically stable at 0.1 across multiple tasks, enabling an unsupervised application of the metric.

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.