mlsanityData to 7 Oct 2026

Beyond Cosine Similarity

arXiv 2602.05266 ↗First posted 5 Feb 2026cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Cosine similarity, the standard metric for measuring semantic similarity in vector spaces, is mathematically grounded in the Cauchy-Schwarz inequality, which inherently limits it to capturing linear relationships--a constraint that fails to model the complex, nonlinear structures of real-world semantic spaces. We advance this theoretical underpinning by deriving a tighter upper bound for the dot product than the classical Cauchy-Schwarz bound. This new bound leads directly to recos, a similarity metric that normalizes the dot product by the sorted vector components. recos relaxes the condition for perfect similarity from strict linear dependence to ordinal concordance, thereby capturing a broader class of relationships. Extensive experiments across 11 embedding models--spanning static, contextualized, and universal types--demonstrate that recos consistently outperforms traditional cosine similarity, achieving higher correlation with human judgments on standard Semantic Textual Similarity (STS) benchmarks. Our work establishes recos as a mathematically principled and empirically superior alternative, offering enhanced accuracy for semantic analysis in complex embedding spaces.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 6 of its 15 references that are in the map. First posted on arXiv 5 Feb 2026.

Builds on

6 of 15 references.

References · 6

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  4. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  5. 2024Is Cosine-Similarity of Embeddings Really About Similarity?cited by 89
  6. 2022Problems with Cosine as a Measure of Embedding Similarity for High Frequency Wordscited by 49

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.