arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.06397cs.CL
收藏

理解分层序列编码器的多序图表示

To Understand Representation of Layer-aware Sequence Encoders as Multi-order-graph

Shanghai Jiao Tong University(上海交通大学)

Sufeng Duan, Hai Zhao

摘要:

在本文中,我们提出了一种解释的表示的自注意网络(SAN)的神经序列编码器,它认为由模型捕获的信息和模型的编码的图结构和这些图结构的生成分别。所提出的解释适用于现有的工作SAN为基础的模型,可以解释之间的关系的能力,捕捉结构或语言信息,模型的深度,和句子的长度,也可以扩展到其他模型,如基于递归神经网络的模型。我们还提出了一个重访的多重图称为多阶图(MoG)的基础上,我们的解释,模型的图结构在SAN为基础的模型在MoG的子图和转换的编码基于SAN的模型生成的MoG。基于我们的解释,我们进一步介绍了一个图形转换器,通过增强捕获多个不同阶的子图的能力,并专注于高阶的子图。在多个神经机器翻译任务上的实验结果表明,该方法能有效地提高机器翻译的性能.

英文摘要:

In this paper, we propose an explanation of representation for self-attention network (SAN) based neural sequence encoders, which regards the information captured by the model and the encoding of the model as graph structure and the generation of these graph structures respectively. The proposed explanation applies to existing works on SAN-based models and can explain the relationship among the ability to capture the structural or linguistic information, depth of model, and length of sentence, and can also be extended to other models such as recurrent neural network based models. We also propose a revisited multigraph called Multi-order-Graph (MoG) based on our explanation to model the graph structures in the SAN-based model as subgraphs in MoG and convert the encoding of SAN-based model to the generation of MoG. Based on our explanation, we further introduce a Graph-Transformer by enhancing the ability to capture multiple subgraphs of different orders and focusing on subgraphs of high orders. Experimental results on multiple neural machine translation tasks show that the Graph-Transformer can yield effective performance improvement.

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

↑