“平均值”近似于“第一主成分”?神经语言模型表征的实证分析
"Average" Approximates "First Principal Component"? An Empirical Analysis on Representations from Neural Language Models
摘要:
基于神经语言模型的语境化表示进一步发展了各种NLP任务的最新技术水平。尽管它取得了巨大的成功,但这种表征的性质仍然是一个谜。在本文中,我们提出了这些表示的经验性质-“平均”近似“第一主成分”。具体地,实验表明,这些表示的平均值与矩阵的第一主成分(其列是这些表示)共享几乎相同的方向。我们相信这解释了为什么平均表示总是一个简单而强大的基线。我们进一步的研究表明,这个属性也适用于更具挑战性的场景,例如,当表示来自随机初始化后的模型时。因此,我们推测,这个属性是固有的表示的分布,并不一定与输入结构。我们意识到,这些表示经验遵循正态分布的每个维度,并假设这是真的,我们证明,经验属性实际上可以数学推导。
英文摘要:
Contextualized representations based on neural language models have furthered the state of the art in various NLP tasks. Despite its great success, the nature of such representations remains a mystery. In this paper, we present an empirical property of these representations -- "average" approximates "first principal component". Specifically, experiments show that the average of these representations shares almost the same direction as the first principal component of the matrix whose columns are these representations. We believe this explains why the average representation is always a simple yet strong baseline. Our further examinations show that this property also holds in more challenging scenarios, for example, when the representations are from a model right after its random initialization. Therefore, we conjecture that this property is intrinsic to the distribution of representations and not necessarily related to the input structure. We realize that these representations empirically follow a normal distribution for each dimension, and by assuming this is true, we demonstrate that the empirical property can be in fact derived mathematically.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。