VAST:上下文化语言模型的效价评估语义测试
VAST: The Valence-Assessing Semantics Test for Contextualizing Language Models
摘要:
VAST是一种新颖的上下文化词嵌入的内在评价任务。VAST使用效价,一个词与愉悦的关联,来衡量词级LM语义与广泛使用的人类判断的对应关系,并检查上下文化,标记化和LM特定几何的影响。由于先前的研究发现,来自GPT-2的CWE在其他内在评估上表现不佳,因此我们选择GPT-2作为我们的主要对象,并包括表明VAST对其他7种LM有用的结果,并且可以在7种语言中使用。GPT-2的结果表明,一个词的语义包含了更接近模型输出的层中上下文的语义,使得VAST分数在我们的上下文设置之间存在差异,范围从第11层的Pearson's rho的0.55到0.77。我们还表明,多重标记化的话没有语义编码,直到层8,在那里他们实现皮尔逊的ρ.46,表示存在的编码过程中的多重标记化的话,不同于单标记化的话,其中ρ是最高的层0。我们发现,一些神经元的值具有更大的幅度比其余的掩模在GPT-2的顶层的词级语义,但词级语义可以通过取消非语义主成分恢复:皮尔森的rho在顶层从0.32提高到0.76。在隔离语义后,我们通过对四个单词相似性任务的相关工作进行改进,展示了VAST在理解LM语义方面的实用性,SimLex-999的得分为.50,优于GPT-2的.45。最后,我们发现,10个WEAT偏见测试,比较各组之间的词嵌入协会的差异,表现出更多的刻板印象一致的偏见后,隔离语义,表明非语义结构在LM也掩盖偏见。
英文摘要:
VAST, the Valence-Assessing Semantics Test, is a novel intrinsic evaluation task for contextualized word embeddings (CWEs). VAST uses valence, the association of a word with pleasantness, to measure the correspondence of word-level LM semantics with widely used human judgments, and examines the effects of contextualization, tokenization, and LM-specific geometry. Because prior research has found that CWEs from GPT-2 perform poorly on other intrinsic evaluations, we select GPT-2 as our primary subject, and include results showing that VAST is useful for 7 other LMs, and can be used in 7 languages. GPT-2 results show that the semantics of a word incorporate the semantics of context in layers closer to model output, such that VAST scores diverge between our contextual settings, ranging from Pearson's rho of .55 to .77 in layer 11. We also show that multiply tokenized words are not semantically encoded until layer 8, where they achieve Pearson's rho of .46, indicating the presence of an encoding process for multiply tokenized words which differs from that of singly tokenized words, for which rho is highest in layer 0. We find that a few neurons with values having greater magnitude than the rest mask word-level semantics in GPT-2's top layer, but that word-level semantics can be recovered by nullifying non-semantic principal components: Pearson's rho in the top layer improves from .32 to .76. After isolating semantics, we show the utility of VAST for understanding LM semantics via improvements over related work on four word similarity tasks, with a score of .50 on SimLex-999, better than the previous best of .45 for GPT-2. Finally, we show that 8 of 10 WEAT bias tests, which compare differences in word embedding associations between groups of words, exhibit more stereotype-congruent biases after isolating semantics, indicating that non-semantic structures in LMs also mask biases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。