mlsanityData to 7 Oct 2026

Distance-to-Distance Ratio: A Similarity Measure for Sentences Based on Rate of Change in LLM Embeddings

arXiv 2601.17705 ↗First posted 25 Jan 2026cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

A measure of similarity between text embeddings can be considered adequate only if it adheres to the human perception of similarity between texts. In this paper, we introduce the distance-to-distance ratio (DDR), a novel measure of similarity between LLM sentence embeddings. Inspired by Lipschitz continuity, DDR measures the rate of change in similarity between the pre-context word embeddings and the similarity between post-context LLM embeddings, thus measuring the semantic influence of context. We evaluate the performance of DDR in experiments designed as a series of perturbations applied to sentences drawn from a sentence dataset. For each sentence, we generate variants by replacing one, two, or three words with either synonyms, which constitute semantically similar text, or randomly chosen words, which constitute semantically dissimilar text. We compare the performance of DDR with other prevailing similarity metrics and demonstrate that DDR consistently provides finer discrimination between semantically similar and dissimilar texts, even under minimal, controlled edits.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 5 of its 12 references that are in the map. First posted on arXiv 25 Jan 2026.

Builds on

5 of 12 references.

References · 5

  1. 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 466
  2. 2023Improving Text Embeddings with Large Language Modelscited by 295
  3. 2024Is Cosine-Similarity of Embeddings Really About Similarity?cited by 89
  4. 2022Problems with Cosine as a Measure of Embedding Similarity for High Frequency Wordscited by 49
  5. 2025Semantics at an Angle: When Cosine Similarity Works Until It Doesn'tcited by 13

Built on by

Not cited yet.