paper-with-me

홈 › Papers

Comparing in context: Improving cosine similarity measures with a metric tensor

2022-03-28 · ICON 2021 12 · Isa M. Apallius de Vos, Ghislaine L. van den Boogerd, Mara D. Fennema, Adriana D. Correia

Cosine similarity is a widely used measure of the relatedness of pre-trained word embeddings, trained on a language modeling goal. Datasets such as WordSim-353 and SimLex-999 rate how similar words are according to human annotators, and as such are often used to evaluate the performance of language models. Thus, any improvement on the word similarity task requires an improved word representation. In this paper, we propose instead the use of an extended cosine similarity measure to improve performance on that task, with gains in interpretability. We explore the hypothesis that this approach is particularly useful if the word-similarity pairs share the same context, for which distinct contextualized similarity measures can be learned. We first use the dataset of Richie et al. (2020) to learn contextualized metrics and compare the results with the baseline values obtained using the standard cosine similarity measure, which consistently shows improvement. We also train a contextualized similarity measure for both SimLex-999 and WordSim-353, comparing the results with the corresponding baselines, and using these datasets as independent test sets for the all-context similarity measure learned on the contextualized dataset, obtaining positive results for a number of tests.

📄 PDF Abstract BibTeX arXiv:2203.14996

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingWord EmbeddingsWord Similarity

Similar Papers 제목 키워드 기반

A Triangle Inequality for Cosine Similarity

2021-07-08 · Erich Schubert

Similarity search is a fundamental problem for many data analysis techniques. Many efficient search techniques rely on the triangle inequality of metrics, which allows pruning parts of the search space based on transitiv…

Variance-Adjusted Cosine Distance as Similarity Metric

2025-02-04 · Satyajeet Sahoo, Jhareswar Maiti

Cosine similarity is a popular distance measure that measures the similarity between two vectors in the inner product space. It is widely used in many data classification algorithms like K-Nearest Neighbors, Clustering e…

valid

Dynamic Homophily with Imperfect Recall: Modeling Resilience in Adversarial Networks

2025-12-13 · Saad Alqithami arxiv

The purpose of this study is to investigate how homophily, memory constraints, and adversarial disruptions collectively shape the resilience and adaptability of complex networks. To achieve this, we develop a new framewo…

Automatic essay scoring: leveraging Jaccard coefficient and Cosine similaritywith n-gram variation in vector space model approach

2025-10-17 · Andharini Dwi Cahyani, Moh. Wildan Fathoni, Fika Hastarita Rachman, Ari Basuki 외 arxiv

Automated essay scoring (AES) is a vital area of research aiming to provide efficient and accurate assessment tools for evaluating written content. This study investigates the effectiveness of two popular similarity metr…

Automated Essay Scoring

A Rank-Based Similarity Metric for Word Embeddings

2018-05-04 · ACL 2018 7 · Enrico Santus, Hongmin Wang, Emmanuele Chersoni, Yue Zhang

Word Embeddings have recently imposed themselves as a standard for representing word meaning in NLP. Semantic similarity between word pairs has become the most common evaluation benchmark for these representations, with …

ClusteringOutlier DetectionSemantic SimilaritySemantic Textual Similarity+1