Is Cosine-Similarity of Embeddings Really About Similarity?
Not on the map. Why?
Abstract (arXiv)
Cosine-similarity is the cosine of the angle between two vectors, or equivalently the dot product between their normalizations. A popular application is to quantify semantic similarity between high-dimensional objects by applying cosine-similarity to a learned low-dimensional feature embedding. This can work better but sometimes also worse than the unnormalized dot-product between embedded vectors in practice. To gain insight into this empirical observation, we study embeddings derived from regularized linear models, where closed-form solutions facilitate analytical insights. We derive analytically how cosine-similarity can yield arbitrary and therefore meaningless `similarities.' For some linear models the similarities are not even unique, while for others they are implicitly controlled by the regularization. We discuss implications beyond linear models: a combination of different regularizations are employed when learning deep models; these have implicit and unintended effects when taking cosine-similarities of the resulting embeddings, rendering results opaque and possibly arbitrary. Based on these insights, we caution against blindly using cosine-similarity and outline alternatives.
Key facts. Cited by 89 papers in the map (data through 14 Oct 2026). Builds on 6 of its 7 references that are in the map. First posted on arXiv 8 Mar 2024.
Builds on
6 of 7 references.
References · 6
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,178
- 2022Problems with Cosine as a Measure of Embedding Similarity for High Frequency Wordscited by 49
- 2021Towards a Better Understanding of Linear Models for Recommendationcited by 18
- 2018Regularized Singular Value Decomposition and Application to Recommender Systemcited by 6
Built on by
Citing papers per year: 2024: 25; 2025: 34; 2026: 30.
89 papers.
Sort:
By area:
- 2025TimeChat-Online: 80% Visual Tokens are Naturally Redundant in Streaming Videoscited by 97
- 2025Do Multilingual LLMs Think In English?cited by 78
- 2024Who's asking? User personas and the mechanics of latent misalignmentcited by 40
- 2024Language Ranker: A Metric for Quantifying LLM Performance Across High and Low-Resource Languagescited by 38
- 2024What Factors Affect Multi-Modal In-Context Learning? An In-Depth Explorationcited by 31
- 2024Logically Consistent Language Models via Neuro-Symbolic Integrationcited by 30
- 2024Optimal Design for Reward Modeling in RLHFcited by 25
- 2025Is CLIP ideal? No. Can we fix it? Yes!cited by 21
- 2024Evaluation of RAG Metrics for Question Answering in the Telecom Domaincited by 20
- 2024Recent advances in text embedding: A Comprehensive Review of Top-Performing Methods on the MTEB Benchmarkcited by 19
- 2025Semantics at an Angle: When Cosine Similarity Works Until It Doesn'tcited by 13
- 2024Data Generation Using Large Language Models for Text Classification: An Empirical Case Studycited by 11
38 more
- 2024Token-based Decision Criteria Are Suboptimal in In-context Learningcited by 9
- 2024DataLab: A Unified Platform for LLM-Powered Business Intelligencecited by 8
- 2024IM-Context: In-Context Learning for Imbalanced Regression Taskscited by 7
- 2025Principled Context Engineering for RAG: Statistical Guarantees via Conformal Predictioncited by 6
- 2024Revisiting Cosine Similarity via Normalized ICA-transformed Embeddingscited by 5
- 2024Enhancing LLM-Based Text Classification in Political Science: Automatic Prompt Optimization and Dynamic Exemplar Selection for Few-Shot Learningcited by 5
- 2025Preserving Privacy and Utility in LLM-Based Product Recommendationscited by 5
- 2025Network-Level Prompt and Trait Leakage in Local Research Agentscited by 5
- 2024COS-Mix: Cosine Similarity and Distance Fusion for Improved Information Retrievalcited by 4
- 2024Quantifying Positional Biases in Text Embedding Modelscited by 4
- 2025A novel Facial Recognition technique with Focusing on Masked Facescited by 4
- 2025Modeling Hierarchical Spaces: A Review and Unified Framework for Surrogate-Based Architecture Designcited by 4
- 2025GENIUS: An Agentic AI Framework for Autonomous Design and Execution of Simulation Protocolscited by 4
- 2024IRSC: A Zero-shot Evaluation Benchmark for Information Retrieval through Semantic Comprehension in Retrieval-Augmented Generation Scenarioscited by 3
- 2024DoPAMine: Domain-specific Pre-training Adaptation from seed-guided data Miningcited by 3
- 2025This looks like what? Challenges and Future Research Directions for Part-Prototype Modelscited by 3
- 2025ARCeR: an Agentic RAG for the Automated Definition of Cyber Rangescited by 3
- 2025TRACE: Textual Relevance Augmentation and Contextual Encoding for Multimodal Hate Detectioncited by 3
- 2025Contextual Representation Flow Across Depth in State-Space and Transformer Architecturescited by 3
- 2025SocialDF: Benchmark Dataset and Detection Model for Mitigating Harmful Deepfake Content on Social Media Platformscited by 2
- 2025Exploring LLM Capabilities in Extracting DCAT-Compatible Metadata for Data Catalogingcited by 2
- 2025Event Causality Identification with Synthetic Controlcited by 2
- 2025Demystifying Network Foundation Modelscited by 2
- 2026ScalingAttention: Discovering Intrinsic Sparse Attention Topology for Video Diffusion Transformerscited by 2
- 2024Implementing NLPs in industrial process modeling: Addressing Categorical Variablescited by 1
- 2024SimO Loss: Anchor-Free Contrastive Loss for Fine-Grained Supervised Contrastive Learningcited by 1
- 2025Improving Network Threat Detection by Knowledge Graph, Large Language Model, and Imbalanced Learningcited by 1
- 2025Neural Network Graph Similarity Computation Based on Graph Fusioncited by 1
- 2025Attacks and Defenses Against LLM Fingerprintingcited by 1
- 2025Do LLMs exhibit the same commonsense capabilities across languages?cited by 1
- 2025How Small Transformation Expose the Weakness of Semantic Similarity Measurescited by 1
- 2025DA-Font: Few-Shot Font Generation via Dual-Attention Hybrid Integrationcited by 1
- 2025Explainable AI for Analyzing Person-Specific Patterns in Facial Recognition Taskscited by 1
- 2025Multiple Treatments Causal Effects Estimation with Task Embeddings and Balanced Representation Learningcited by 1
- 2026Beyond Cosine Similaritycited by 1
- 2026Gauge Freedom and Metric Dependence in Neural Representation Spacescited by 1
- 2026Perturbation: A simple and efficient adversarial tracer for representation learning in language modelscited by 1
- 2026What Cosine Similarity of Label Representations Can and Cannot Tell uscited by 1
50 most cited of 89 All 89 (JSON)
- 2026Learning What to Forget: Distributional Unlearning for LLM Representation Spaces30 Sep 2026
- 2026How Strong Is the Evidence for the Artificial Hivemind? Reevaluating Evidence for the Open-Ended Homogeneity of Language Models27 Sep 2026
- 2026Human-Grounded Calibration for Long-Text Image-Text Congruence in Vision-Language Models14 Sep 2026
- 2026ECOKV: Geometry-Aware KV Cache Eviction via Complementary Diversity Metrics6 Sep 2026
- 2026A Dual-Dimensional LLM Framework for Automated Item Incidental Content Similarity Analysis in Large-Scale Assessments25 Aug 2026
- 2026Logical Embeddings for Argument Analysis15 Aug 2026
- 2026Adapting Vision Foundation Models with Cascaded Semantics5 Aug 2026
- 2026Visualizing Graph-to-Answer Mechanism Recovery in Materials-Science Hypothesis Generation4 Aug 2026
- 2026Divergent large language model predictions from convergent representations in ambiguous word pairs3 Aug 2026
- 2026WordPolo: Evaluating Language Models Through Iterative Semantic Feedback18 Jul 2026
- 2026The Hyperspherical Geometry of CLIP Latent Space: A Semantic Mixture Model15 Jul 2026
- 2026PLGSA-Transformer: Periocular Landmark-Guided Attention with Occlusion-Adaptive Cosine Thresholding for Cross-Modal Masked and Unmasked Face Recognition3 Jul 2026
38 more
- 2026Anisotropy Decides Cosine vs. Rank Metrics for Text Embeddings28 Jun 2026
- 2026ScalingAttention: Discovering Intrinsic Sparse Attention Topology for Video Diffusion Transformers22 Jun 2026
- 2026Token Inflation: How Dishonest Providers Can Overcharge for Large Language Model Usage28 May 2026
- 2026A Comparative Study of Language Models for Khmer Retrieval-Augmented Question Answering21 May 2026
- 2026Large-Scale ChatBot Validation Through Customer Digital Twin Simulations15 May 2026
- 2026SCOPE: Siamese Contrastive Operon Pair Embeddings for Functional Sequence Representation and Classification10 May 2026
- 2026Topic Is Not Agenda: A Citation-Community Audit of Text Embeddings8 May 2026
- 2026Semantic Entanglement in Vector-Based Retrieval: A Formal Framework and Context-Conditioned Disentanglement Pipeline for Agentic RAG Systems20 Apr 2026
- 2026Empirical Characterization of Rationale Stability Under Controlled Perturbations for Explainable Pattern Recognition6 Apr 2026
- 2026Retrieval-Augmented Question Answering over Scientific Literature for the Electron-Ion Collider2 Apr 2026
- 2026What Cosine Similarity of Label Representations Can and Cannot Tell us31 Mar 2026
- 2026Perturbation: A simple and efficient adversarial tracer for representation learning in language models25 Mar 2026
- 2026Training for Compositional Sensitivity Reduces Dense Retrieval Generalization16 Mar 2026
- 2026Gauge Freedom and Metric Dependence in Neural Representation Spaces6 Mar 2026
- 2026Semantic Labeling for Third-Party Cybersecurity Risk Assessment: A Semi-Supervised Approach to Intent-Aware Question Retrieval9 Feb 2026
- 2026Beyond Cosine Similarity5 Feb 2026
- 2026Embedding Learning on Multiplex Networks for Link Prediction2 Feb 2026
- 2026Distance-to-Distance Ratio: A Similarity Measure for Sentences Based on Rate of Change in LLM Embeddings25 Jan 2026
- 2025GENIUS: An Agentic AI Framework for Autonomous Design and Execution of Simulation Protocols6 Dec 2025
- 2025Principled Context Engineering for RAG: Statistical Guarantees via Conformal Prediction22 Nov 2025
- 2025Multiple Treatments Causal Effects Estimation with Task Embeddings and Balanced Representation Learning12 Nov 2025
- 2025Future of AI Models: A Computational perspective on Model collapse29 Oct 2025
- 2025Contextual Representation Flow Across Depth in State-Space and Transformer Architectures8 Oct 2025
- 2025Demystifying Network Foundation Models27 Sep 2025
- 2025Explainable AI for Analyzing Person-Specific Patterns in Facial Recognition Tasks22 Sep 2025
- 2025DA-Font: Few-Shot Font Generation via Dual-Attention Hybrid Integration20 Sep 2025
- 2025Event Causality Identification with Synthetic Control16 Sep 2025
- 2025Examining the Relationship between Scientific Publishing Activity and Hype-Driven Financial Bubbles: A Comparison of the Dot-Com and AI Eras15 Sep 2025
- 2025How Small Transformation Expose the Weakness of Semantic Similarity Measures8 Sep 2025
- 2025Do LLMs exhibit the same commonsense capabilities across languages?8 Sep 2025
- 2025Network-Level Prompt and Trait Leakage in Local Research Agents27 Aug 2025
- 2025Attacks and Defenses Against LLM Fingerprinting12 Aug 2025
- 2025Survey of Swarm Intelligence Approaches to Search Documents Based On Semantic Similarity15 Jul 2025
- 2025Survey of Genetic and Differential Evolutionary Algorithm Approaches to Search Documents Based On Semantic Similarity15 Jul 2025
- 2025Exploring LLM Capabilities in Extracting DCAT-Compatible Metadata for Data Cataloging4 Jul 2025
- 2025Modeling Hierarchical Spaces: A Review and Unified Framework for Surrogate-Based Architecture Design27 Jun 2025
- 2025SocialDF: Benchmark Dataset and Detection Model for Mitigating Harmful Deepfake Content on Social Media Platforms5 Jun 2025
- 2025Preserving Privacy and Utility in LLM-Based Product Recommendations2 May 2025
50 newest of 89 All 89 (JSON)
- 2024Evaluation of RAG Metrics for Question Answering in the Telecom Domaincited by 20
- 2025Principled Context Engineering for RAG: Statistical Guarantees via Conformal Predictioncited by 6
- 2024COS-Mix: Cosine Similarity and Distance Fusion for Improved Information Retrievalcited by 4
- 2024IRSC: A Zero-shot Evaluation Benchmark for Information Retrieval through Semantic Comprehension in Retrieval-Augmented Generation Scenarioscited by 3
- 2026Retrieval-Augmented Question Answering over Scientific Literature for the Electron-Ion Collidercited by 1
- 2026Semantic Entanglement in Vector-Based Retrieval: A Formal Framework and Context-Conditioned Disentanglement Pipeline for Agentic RAG Systemscited by 0
- 2026Topic Is Not Agenda: A Citation-Community Audit of Text Embeddingscited by 0
- 2026A Comparative Study of Language Models for Khmer Retrieval-Augmented Question Answeringcited by 0
- 2026A Comparative Study of Language Models for Khmer Retrieval-Augmented Question Answering21 May 2026
- 2026Topic Is Not Agenda: A Citation-Community Audit of Text Embeddings8 May 2026
- 2026Semantic Entanglement in Vector-Based Retrieval: A Formal Framework and Context-Conditioned Disentanglement Pipeline for Agentic RAG Systems20 Apr 2026
- 2026Retrieval-Augmented Question Answering over Scientific Literature for the Electron-Ion Collider2 Apr 2026
- 2025Principled Context Engineering for RAG: Statistical Guarantees via Conformal Prediction22 Nov 2025
- 2024IRSC: A Zero-shot Evaluation Benchmark for Information Retrieval through Semantic Comprehension in Retrieval-Augmented Generation Scenarios24 Sep 2024
- 2024Evaluation of RAG Metrics for Question Answering in the Telecom Domain15 Jul 2024
- 2024COS-Mix: Cosine Similarity and Distance Fusion for Improved Information Retrieval2 Jun 2024
- 2025Network-Level Prompt and Trait Leakage in Local Research Agentscited by 5
- 2025GENIUS: An Agentic AI Framework for Autonomous Design and Execution of Simulation Protocolscited by 4
- 2025ARCeR: an Agentic RAG for the Automated Definition of Cyber Rangescited by 3
- 2024GuidelineGuard: An Agentic Framework for Medical Note Evaluation with Guideline Adherencecited by 0
- 2025GENIUS: An Agentic AI Framework for Autonomous Design and Execution of Simulation Protocols6 Dec 2025
- 2025Network-Level Prompt and Trait Leakage in Local Research Agents27 Aug 2025
- 2025ARCeR: an Agentic RAG for the Automated Definition of Cyber Ranges16 Apr 2025
- 2024GuidelineGuard: An Agentic Framework for Medical Note Evaluation with Guideline Adherence9 Nov 2024
- 2024Optimal Design for Reward Modeling in RLHFcited by 25
- 2024Optimal Design for Reward Modeling in RLHF22 Oct 2024
- 2025TimeChat-Online: 80% Visual Tokens are Naturally Redundant in Streaming Videoscited by 97
- 2024Language Ranker: A Metric for Quantifying LLM Performance Across High and Low-Resource Languagescited by 38
- 2024Logically Consistent Language Models via Neuro-Symbolic Integrationcited by 30
- 2025Is CLIP ideal? No. Can we fix it? Yes!cited by 21
- 2024Recent advances in text embedding: A Comprehensive Review of Top-Performing Methods on the MTEB Benchmarkcited by 19
- 2025Semantics at an Angle: When Cosine Similarity Works Until It Doesn'tcited by 13
- 2024Data Generation Using Large Language Models for Text Classification: An Empirical Case Studycited by 11
- 2024Token-based Decision Criteria Are Suboptimal in In-context Learningcited by 9
- 2024DataLab: A Unified Platform for LLM-Powered Business Intelligencecited by 8
- 2024IM-Context: In-Context Learning for Imbalanced Regression Taskscited by 7
- 2024Revisiting Cosine Similarity via Normalized ICA-transformed Embeddingscited by 5
- 2024Enhancing LLM-Based Text Classification in Political Science: Automatic Prompt Optimization and Dynamic Exemplar Selection for Few-Shot Learningcited by 5
12 most cited of 65 All 65 (JSON)
- 2026How Strong Is the Evidence for the Artificial Hivemind? Reevaluating Evidence for the Open-Ended Homogeneity of Language Models27 Sep 2026
- 2026A Dual-Dimensional LLM Framework for Automated Item Incidental Content Similarity Analysis in Large-Scale Assessments25 Aug 2026
- 2026Logical Embeddings for Argument Analysis15 Aug 2026
- 2026Adapting Vision Foundation Models with Cascaded Semantics5 Aug 2026
- 2026Visualizing Graph-to-Answer Mechanism Recovery in Materials-Science Hypothesis Generation4 Aug 2026
- 2026Divergent large language model predictions from convergent representations in ambiguous word pairs3 Aug 2026
- 2026The Hyperspherical Geometry of CLIP Latent Space: A Semantic Mixture Model15 Jul 2026
- 2026PLGSA-Transformer: Periocular Landmark-Guided Attention with Occlusion-Adaptive Cosine Thresholding for Cross-Modal Masked and Unmasked Face Recognition3 Jul 2026
- 2026Anisotropy Decides Cosine vs. Rank Metrics for Text Embeddings28 Jun 2026
- 2026Token Inflation: How Dishonest Providers Can Overcharge for Large Language Model Usage28 May 2026
- 2026Large-Scale ChatBot Validation Through Customer Digital Twin Simulations15 May 2026
- 2026SCOPE: Siamese Contrastive Operon Pair Embeddings for Functional Sequence Representation and Classification10 May 2026
12 newest of 65 All 65 (JSON)