Just Rank: Rethinking Evaluation with Word and Sentence Similarities

Bin Wang, C.-c. Jay Kuo, Haizhou Li · DOI

Abstract

Traditional word and sentence similarity benchmarks, such as the Semantic Textual Similarity Benchmark (STS-B), have increasingly become unreliable predictors of real-world embedding performance. This paper introduces EvalRank, a novel evaluation framework that reframes embedding quality as a local retrieval and ranking task. By focusing on a model's ability to identify highly similar counterparts among distractors, EvalRank achieves significantly higher correlation with downstream NLP tasks compared to traditional regression-based similarity metrics.

Introduction

For over a decade, intrinsic similarity tasks have served as the primary benchmark for word and sentence embeddings. These tasks typically involve calculating the cosine similarity between vector pairs and measuring their correlation with human-assigned scores. However, this approach is fundamentally flawed for several reasons. First, "similarity" is a multifaceted concept that humans struggle to score consistently on a linear scale. Second, the "whitening paradox" reveals that post-processing techniques can boost similarity scores while simultaneously degrading performance on downstream tasks like sentiment analysis. Finally, there is a documented low correlation between a model's rank on similarity leaderboards and its practical utility in production environments.

Methodology

EvalRank shifts the evaluation paradigm from global regression to local retrieval. Instead of asking how similar two random items are, EvalRank asks: "Given item A, can the model find its highly-similar counterpart B among a crowd of thousands of 'background' distractors?"

The EvalRank Workflow

  1. Positive Pairs: Identify pairs that are undeniably similar (e.g., the top 25% from existing datasets).
  2. Background Samples: Create a large pool of "noise" (e.g., 20,000+ random words or sentences).
  3. Ranking: For every positive pair $(c_x, c_y)$, the model uses $c_x$ as a query to rank all background samples based on their distance.
  4. Metrics: Quality is measured using Information Retrieval metrics, specifically Mean Reciprocal Rank (MRR) and Hits@k.

This approach mimics real-world applications like semantic search and recommendation engines, where the ability to find the "nearest neighbor" is far more critical than the exact distance to a distant, unrelated concept.

Results

The authors tested EvalRank against a battery of over 60 models. The results demonstrate that EvalRank provides a much more accurate reflection of a model's downstream performance than traditional benchmarks.

EvalRank (blue dots) shows a much stronger correlation with downstream performance (red dots) than traditional STS-B scores (white squares).

EvalRank showed a Spearman’s rank correlation ($\rho$) of >0.8 with 5 out of 10 downstream tasks. In contrast, traditional word similarity datasets rarely exceeded 0.5. On sentence embeddings, EvalRank's correlation for the Movie Review (MR) task was 83.43, while the standard STS-Benchmark was only 46.03.

Discussion: The Whitening Paradox

A key insight of this research is the explanation of the "whitening paradox." Traditional metrics often reward whitening because it makes the embedding space more isotropic, which improves correlation coefficients. However, this "trick" often harms the semantic ranking of neighbors.

Performance comparison showing how whitening improves STS-B scores but often degrades performance on downstream tasks like SST2 and MR.

As shown in the table above, while whitening (BERT-whitening) significantly improves STS-B scores compared to BERT-avg, it leads to a drop in rank and performance for downstream tasks like SST2 and MR. EvalRank correctly identifies that whitening is often neutral or negative for actual model quality, whereas traditional benchmarks are easily misled.

Conclusion

EvalRank offers a more robust and predictive framework for evaluating embedding models by prioritizing local connectivity over global distance. While it currently relies on existing similarity datasets to harvest positive pairs, it represents a significant step toward bridging the gap between intrinsic evaluation and real-world utility. Future work will focus on expanding EvalRank to multilingual settings and developing task-specific versions for specialized domains.

Summary updated

BibTeX
@inproceedings{wang2022just,
  author = {Bin Wang and C.-C. Jay Kuo and Haizhou Li},
  title = {{Just Rank: Rethinking Evaluation with Word and Sentence Similarities}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.419},
}
Figure