arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2104.08465cs.CL
收藏

上下文词嵌入中基于频率的失真

Frequency-based Distortions in Contextualized Word Embeddings

Stanford University(斯坦福大学)

Kaitlyn Zhou, Kawin Ethayarajh, Dan Jurafsky

摘要:

预训练数据中的词频如何影响上下文化BERT嵌入中相似性度量的行为?是否有系统的方法夸大或低估某些单词的关系?在这项工作中,我们探索的几何特征的语境化词嵌入与两个新的工具:(1)一个身份探针,预测一个词的身份使用其嵌入;(2)最小的包围球一个词的语境化表示。我们的研究结果表明,高频率和低频率的话显着不同,就其代表性的几何形状。这样的差异引入了失真:当与人类判断相比时,嵌入相似性的点估计(例如,余弦相似性)可能高估或低估两个词的语义相似性,这取决于这些词在训练数据中的频率。这对下游社会产生了影响:BERT-Base在区分南美和非洲国家方面比北美和欧洲国家更困难。我们发现,这些失真持续使用BERT多语言时,这表明他们不能很容易地固定与额外的数据,这反过来又引入了新的失真。

英文摘要:

How does word frequency in pre-training data affect the behavior of similarity metrics in contextualized BERT embeddings? Are there systematic ways in which some word relationships are exaggerated or understated? In this work, we explore the geometric characteristics of contextualized word embeddings with two novel tools: (1) an identity probe that predicts the identity of a word using its embedding; (2) the minimal bounding sphere for a word's contextualized representations. Our results reveal that words of high and low frequency differ significantly with respect to their representational geometry. Such differences introduce distortions: when compared to human judgments, point estimates of embedding similarity (e.g., cosine similarity) can over- or under-estimate the semantic similarity of two words, depending on the frequency of those words in the training data. This has downstream societal implications: BERT-Base has more trouble differentiating between South American and African countries than North American and European ones. We find that these distortions persist when using BERT-Multilingual, suggesting that they cannot be easily fixed with additional data, which in turn introduces new distortions.

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

↑