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

把单词放进BERT的嘴里:用伪词导航上下文化的向量空间

Putting Words in BERT's Mouth: Navigating Contextualized Vector Spaces with Pseudowords

Hebrew University of Jerusalem(希伯来大学);University of Utah(犹他大学);Georgetown University(乔治城大学)

Taelin Karidi, Yichu Zhou, Nathan Schneider, Omri Abend, Vivek Srikumar

摘要:

我们提出了一种方法,探索在上下文向量空间(特别是,BERT空间)中的各个点周围的区域,作为一种方式来调查这些区域对应于词义。通过在输入层中引入一个上下文化的“伪词”作为静态嵌入的替代,然后对句子中的一个词进行掩码预测,我们能够以受控的方式围绕各个实例研究BERT空间的几何形状。使用我们的方法对一组精心构造的句子,针对模糊的英语单词,我们发现大量的规律性的上下文空间,区域对应于不同的词义,但这些区域之间偶尔有“意义空洞”-区域不对应于任何可理解的意义。

英文摘要:

We present a method for exploring regions around individual points in a contextualized vector space (particularly, BERT space), as a way to investigate how these regions correspond to word senses. By inducing a contextualized "pseudoword" as a stand-in for a static embedding in the input layer, and then performing masked prediction of a word in the sentence, we are able to investigate the geometry of the BERT-space in a controlled manner around individual instances. Using our method on a set of carefully constructed sentences targeting ambiguous English words, we find substantial regularity in the contextualized space, with regions that correspond to distinct word senses; but between these regions there are occasionally "sense voids" -- regions that do not correspond to any intelligible sense.

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

↑