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

用非线性“探针”探测属性,以及更多

Hitting "Probe"rty with Non-Linearity, and More

University of Amsterdam(阿姆斯特丹大学)

Avik Pal, Madhura Pawar

AI总结:

本文引入并简化了非线性结构探针,结合可视化框架研究BERT各层编码的依存树结构,发现径向基函数探针比线性探针更有效。

摘要:

结构探针学习一个线性变换,以发现依存树如何被嵌入到语言模型的隐藏状态中。这种简单的设计可能无法充分利用编码信息的结构。因此,为了全面研究编码信息的结构,我们引入了非线性结构探针。我们重新表述了White等人提出的非线性结构探针的设计,使其设计更简单但依然有效。我们还设计了一个可视化框架,使我们能够定性评估句子中两个词在预测依存树中的连接强度。我们使用这一技术来理解哪种非线性探针变体擅长编码句法信息。此外,我们还用它来定性研究BERT在其每一层中编码的依存树结构。我们发现,对于BERT模型而言,径向基函数(RBF)是一种比线性探针更有效的非线性探针。

英文摘要:

Structural probes learn a linear transformation to find how dependency trees are embedded in the hidden states of language models. This simple design may not allow for full exploitation of the structure of the encoded information. Hence, to investigate the structure of the encoded information to its full extent, we incorporate non-linear structural probes. We reformulate the design of non-linear structural probes introduced by White et al. making its design simpler yet effective. We also design a visualization framework that lets us qualitatively assess how strongly two words in a sentence are connected in the predicted dependency tree. We use this technique to understand which non-linear probe variant is good at encoding syntactical information. Additionally, we also use it to qualitatively investigate the structure of dependency trees that BERT encodes in each of its layers. We find that the radial basis function (RBF) is an effective non-linear probe for the BERT model than the linear probe.

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

↑