arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2506.06169cs.CLcs.AI
收藏

semantic-features:在可解释语义空间中研究上下文化词嵌入的易用工具

semantic-features: A User-Friendly Tool for Studying Contextual Word Embeddings in Interpretable Semantic Spaces

The University of Texas at Austin(德克萨斯大学奥斯汀分校);Toyota Technological Institute at Chicago(芝加哥丰田技术研究所)

Jwalanthi Ranganathan, Rohan Jha, Kanishka Misra, Kyle Mahowald

AI总结:

本文提出 semantic-features 库,将上下文化词嵌入投影到可解释语义空间,并通过450个歧义与格句子对验证三个MLP能敏感反映构式带来的生命性解释差异。

摘要:

我们介绍 semantic-features,这是一个基于 Chronis 等人(2023)的可扩展、易于使用的库,用于通过将语言模型(LMs)的上下文化词嵌入投影到可解释空间来研究这些嵌入。我们在一项实验中应用该工具,测量与格构式选择(介词式或双宾语式)对话语语义解释的语境影响(Bresnan,2007)。具体而言,我们检验与“I sent the letter to London.”相比,“I sent London the letter.”中的“London”是否更可能被解释为有生命的指称对象(例如作为人名)。为此,我们设计了一个包含450个句子对的数据集,每对分别采用一种与格构式,其中接收者在“人”与“地点”属性上存在歧义。通过应用 semantic-features,我们表明三个掩码语言模型的上下文化词嵌入表现出预期的敏感性。这使我们对该工具的实用性感到乐观。

英文摘要:

We introduce semantic-features, an extensible, easy-to-use library based on Chronis et al. (2023) for studying contextualized word embeddings of LMs by projecting them into interpretable spaces. We apply this tool in an experiment where we measure the contextual effect of the choice of dative construction (prepositional or double object) on the semantic interpretation of utterances (Bresnan, 2007). Specifically, we test whether "London" in "I sent London the letter." is more likely to be interpreted as an animate referent (e.g., as the name of a person) than in "I sent the letter to London." To this end, we devise a dataset of 450 sentence pairs, one in each dative construction, with recipients being ambiguous with respect to person-hood vs. place-hood. By applying semantic-features, we show that the contextualized word embeddings of three masked language models show the expected sensitivities. This leaves us optimistic about the usefulness of our tool.

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

↑