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

Transformer中自自底向上的的表示演化:基于机器翻译和语言建模目标的研究

The Bottom-up Evolution of Representations in the Transformer: A Study with Machine Translation and Language Modeling Objectives

Yandex(Yandex(亚德斯));University of Amsterdam(阿姆斯特丹大学);University of Edinburgh(爱丁堡大学);University of Zurich(苏黎世大学)

Elena Voita, Rico Sennrich, Ivan Titov

摘要:

我们试图理解在不同的学习目标下,个体标记的表示和学习特征空间的结构如何在深度神经网络的层之间演变。我们专注于Transformers进行分析,因为它们在各种任务中表现出了有效性,包括机器翻译(MT),标准的从左到右语言模型(LM)和掩码语言建模(MLM)。以前的工作使用黑盒探测任务,以表明由Transformer学习的表示显着不同的目标。在这项工作中,我们使用典型相关分析和互信息估计研究信息如何在Transformer层之间流动,以及这个过程如何取决于学习目标的选择。例如,当你从底层到顶层时,从左到右的语言模型中关于过去的信息会消失,而关于未来的预测会形成。相比之下,对于MLM,表示最初获取有关令牌周围的上下文的信息,部分忘记令牌身份并产生更一般化的令牌表示。然后,令牌身份在MLM顶层重新创建。

英文摘要:

We seek to understand how the representations of individual tokens and the structure of the learned feature space evolve between layers in deep neural networks under different learning objectives. We focus on the Transformers for our analysis as they have been shown effective on various tasks, including machine translation (MT), standard left-to-right language models (LM) and masked language modeling (MLM). Previous work used black-box probing tasks to show that the representations learned by the Transformer differ significantly depending on the objective. In this work, we use canonical correlation analysis and mutual information estimators to study how information flows across Transformer layers and how this process depends on the choice of learning objective. For example, as you go from bottom to top layers, information about the past in left-to-right language models gets vanished and predictions about the future get formed. In contrast, for MLM, representations initially acquire information about the context around the token, partially forgetting the token identity and producing a more generalized token representation. The token identity then gets recreated at the top MLM layers.

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

↑