重建探测
Reconstruction Probing
摘要:
我们提出了重建探测,一个新的分析方法的上下文表示的基础上,在掩蔽语言模型(MLMs)的重建概率。该方法依赖于比较在给定序列中的令牌的重构概率,当以已经完全上下文化的单个令牌的表示为条件时,以及当仅以模型的解上下文化的词汇先验为条件时。这种比较可以被理解为量化语境化对重建的贡献-重建概率的差异只能归因于语境化引起的单个标记的代表性变化。我们将这种分析应用到三个多语言模型中,发现语境化提高了标记的可重构性,这些标记在线性和句法距离方面接近被重构的标记。此外,我们将我们的分析扩展到上下文表示的细粒度分解,我们发现这些提升主要归因于输入层的静态和位置嵌入。
英文摘要:
We propose reconstruction probing, a new analysis method for contextualized representations based on reconstruction probabilities in masked language models (MLMs). This method relies on comparing the reconstruction probabilities of tokens in a given sequence when conditioned on the representation of a single token that has been fully contextualized and when conditioned on only the decontextualized lexical prior of the model. This comparison can be understood as quantifying the contribution of contextualization towards reconstruction -- the difference in the reconstruction probabilities can only be attributed to the representational change of the single token induced by contextualization. We apply this analysis to three MLMs and find that contextualization boosts reconstructability of tokens that are close to the token being reconstructed in terms of linear and syntactic distance. Furthermore, we extend our analysis to finer-grained decomposition of contextualized representations, and we find that these boosts are largely attributable to static and positional embeddings at the input layer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。