Semantics at an Angle: When Cosine Similarity Works Until It Doesn't

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autore principale: You, Kisung
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912383513919488
author You, Kisung
author_facet You, Kisung
contents Cosine similarity has become a standard metric for comparing embeddings in modern machine learning. Its scale-invariance and alignment with model training objectives have contributed to its widespread adoption. However, recent studies have revealed important limitations, particularly when embedding norms carry meaningful semantic information. This informal article offers a reflective and selective examination of the evolution, strengths, and limitations of cosine similarity. We highlight why it performs well in many settings, where it tends to break down, and how emerging alternatives are beginning to address its blind spots. We hope to offer a mix of conceptual clarity and practical perspective, especially for quantitative scientists who think about embeddings not just as vectors, but as geometric and philosophical objects.
format Preprint
id arxiv_https___arxiv_org_abs_2504_16318
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Semantics at an Angle: When Cosine Similarity Works Until It Doesn't
You, Kisung
Machine Learning
Cosine similarity has become a standard metric for comparing embeddings in modern machine learning. Its scale-invariance and alignment with model training objectives have contributed to its widespread adoption. However, recent studies have revealed important limitations, particularly when embedding norms carry meaningful semantic information. This informal article offers a reflective and selective examination of the evolution, strengths, and limitations of cosine similarity. We highlight why it performs well in many settings, where it tends to break down, and how emerging alternatives are beginning to address its blind spots. We hope to offer a mix of conceptual clarity and practical perspective, especially for quantitative scientists who think about embeddings not just as vectors, but as geometric and philosophical objects.
title Semantics at an Angle: When Cosine Similarity Works Until It Doesn't
topic Machine Learning
url https://arxiv.org/abs/2504.16318