Surpassing Cosine Similarity for Multidimensional Comparisons: Dimension Insensitive Euclidean Metric
Not on the map. Why?
Abstract (arXiv)
Advances in computational power and hardware efficiency have enabled tackling increasingly complex, high-dimensional problems. While artificial intelligence (AI) achieves remarkable results, the interpretability of high-dimensional solutions remains challenging. A critical issue is the comparison of multidimensional quantities, essential in techniques like Principal Component Analysis. Metrics such as cosine similarity are often used, for example in the development of natural language processing algorithms or recommender systems. However, the interpretability of such metrics diminishes as dimensions increase. This paper analyzes the effects of dimensionality, revealing significant limitations of cosine similarity, particularly its dependency on the dimension of vectors, leading to biased and poorly interpretable outcomes. To address this, we introduce a Dimension Insensitive Euclidean Metric (DIEM) which demonstrates superior robustness and generalizability across dimensions. DIEM maintains consistent variability and eliminates the biases observed in traditional metrics, making it a reliable tool for high-dimensional comparisons. An example of the advantages of DIEM over cosine similarity is reported for a large language model application. This novel metric has the potential to replace cosine similarity, providing a more accurate and insightful method to analyze multidimensional data in fields ranging from neuromotor control to machine learning.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 3 of its 29 references that are in the map. First posted on arXiv 11 Jul 2024.
Builds on
3 of 29 references.
References · 3
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 1,001
- 2017Cosine Normalization: Using Cosine Similarity Instead of Dot Product in Neural Networkscited by 59
Built on by
Citing papers per year: 2025: 5; 2026: 4.
9 papers.
- 2025Safe Pruning LoRA: Robust Distance-Guided Pruning for Safety Alignment in Adaptation of LLMscited by 10
- 2025Giving Simulated Cells a Voice: Evolving Prompt-to-Intervention Models for Cellular Controlcited by 2
- 2025Magnitude Matters: a Superior Class of Similarity Metrics for Holistic Semantic Understandingcited by 2
- 2025Real-time and personalized product recommendations for large e-commerce platformscited by 1
- 2025Sharp Eyes and Memory for VideoLLMs: Information-Aware Visual Token Pruning for Efficient and Reliable VideoLLM Reasoningcited by 0
- 2026Anisotropy Decides Cosine vs. Rank Metrics for Text Embeddingscited by 0
- 2026CosMAP: Contrastive Manifold Approximation and Projection for Dimensionality Reduction of Omics and Genealogical Datacited by 0
- 2026Geometric Filtering of LLM-Generated Samples for Few-Shot Text Classificationcited by 0
- 2026ECOKV: Geometry-Aware KV Cache Eviction via Complementary Diversity Metricscited by 0
- 2026ECOKV: Geometry-Aware KV Cache Eviction via Complementary Diversity Metrics6 Sep 2026
- 2026Geometric Filtering of LLM-Generated Samples for Few-Shot Text Classification14 Aug 2026
- 2026CosMAP: Contrastive Manifold Approximation and Projection for Dimensionality Reduction of Omics and Genealogical Data11 Aug 2026
- 2026Anisotropy Decides Cosine vs. Rank Metrics for Text Embeddings28 Jun 2026
- 2025Sharp Eyes and Memory for VideoLLMs: Information-Aware Visual Token Pruning for Efficient and Reliable VideoLLM Reasoning11 Nov 2025
- 2025Magnitude Matters: a Superior Class of Similarity Metrics for Holistic Semantic Understanding12 Sep 2025
- 2025Real-time and personalized product recommendations for large e-commerce platforms26 Jun 2025
- 2025Safe Pruning LoRA: Robust Distance-Guided Pruning for Safety Alignment in Adaptation of LLMs21 Jun 2025
- 2025Giving Simulated Cells a Voice: Evolving Prompt-to-Intervention Models for Cellular Control5 May 2025