arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.05092cs.CLcs.AI
收藏

余弦作为高频词嵌入相似性度量的问题

Problems with Cosine as a Measure of Embedding Similarity for High Frequency Words

Stanford University(斯坦福大学);University of Michigan(密歇根大学)

Kaitlyn Zhou, Kawin Ethayarajh, Dallas Card, Dan Jurafsky

摘要:

上下文嵌入的余弦相似性用于许多NLP任务(例如,QA、IR、MT)和指标(例如,BERTScore)。在这里,我们发现系统的方式,在BERT嵌入的余弦估计的字的相似性被低估,并跟踪这种效果的训练数据频率。我们发现,相对于人类的判断,余弦相似性低估了频繁的话与其他实例相同的词或其他词跨上下文的相似性,即使在控制多义词和其他因素。我们推测,这种低估的相似性高频率的单词是由于高,低频率的单词的代表性几何的差异,并提供了一个正式的二维情况下的参数。

英文摘要:

Cosine similarity of contextual embeddings is used in many NLP tasks (e.g., QA, IR, MT) and metrics (e.g., BERTScore). Here, we uncover systematic ways in which word similarities estimated by cosine over BERT embeddings are understated and trace this effect to training data frequency. We find that relative to human judgements, cosine similarity underestimates the similarity of frequent words with other instances of the same word or other words across contexts, even after controlling for polysemy and other factors. We conjecture that this underestimation of similarity for high frequency words is due to differences in the representational geometry of high and low frequency words and provide a formal argument for the two-dimensional case.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑