关于语言编码器之间的仿射同伦
On Affine Homotopy between Language Encoders
AI总结:
本文研究语言编码器间的仿射同伦对齐,提出一种内在相似性度量,证明其虽不对称但能有效反映外在下游任务性能,并为揭示预训练编码器空间结构提供了新视角。
摘要:
预训练语言编码器——将文本表示为向量的函数——是许多NLP任务的组成部分。我们解决语言编码器分析中的一个自然问题:两个编码器相似意味着什么?我们认为,忠实的相似性度量需要是内在的,即任务无关的,但仍能提供关于外在相似性(即下游任务上的性能)的信息。通常认为,如果两个编码器是同伦的,即它们可以通过某种变换对齐,则它们是相似的。本着这一精神,我们研究语言编码器的仿射对齐性质及其对外在相似性的影响。我们发现,尽管仿射对齐本质上是一种不对称的相似性概念,但它仍能提供关于外在相似性的信息。我们在自然语言表示的数据集上证实了这一点。除了提供外在相似性的有用界限外,仿射内在相似性还允许我们通过对预训练编码器定义顺序,开始揭示预训练编码器空间的结构。
英文摘要:
Pre-trained language encoders -- functions that represent text as vectors -- are an integral component of many NLP tasks. We tackle a natural question in language encoder analysis: What does it mean for two encoders to be similar? We contend that a faithful measure of similarity needs to be \emph{intrinsic}, that is, task-independent, yet still be informative of \emph{extrinsic} similarity -- the performance on downstream tasks. It is common to consider two encoders similar if they are \emph{homotopic}, i.e., if they can be aligned through some transformation. In this spirit, we study the properties of \emph{affine} alignment of language encoders and its implications on extrinsic similarity. We find that while affine alignment is fundamentally an asymmetric notion of similarity, it is still informative of extrinsic similarity. We confirm this on datasets of natural language representations. Beyond providing useful bounds on extrinsic similarity, affine intrinsic similarity also allows us to begin uncovering the structure of the space of pre-trained encoders by defining an order over them.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。