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

用于语言表示的图递归网络的预训练

Pre-Training a Graph Recurrent Network for Language Representation

Westlake University(西湖大学);Langboat Technology(澜舟科技)

Yile Wang, Linyi Yang, Zhiyang Teng, Ming Zhou, Yue Zhang

摘要:

基于transformer的预训练模型近年来取得了很大的进展,成为自然语言处理的重要骨干之一。最近的工作表明,Transformer内部的注意力机制可能不是必要的,卷积神经网络和基于多层感知器的模型也被研究作为Transformer的替代方案。在本文中,我们考虑了一个图递归网络的语言模型预训练,它建立了一个图结构的每个序列与本地令牌级通信,以及一个与其他令牌解耦的会话级表示。在有监督的训练下,原模型在特定领域的文本分类中表现良好,但其在自监督学习知识迁移方面的潜力尚未得到充分发挥。我们通过优化架构并验证其在更一般的语言理解任务(英语和汉语)中的有效性来填补这一空白。至于模型效率,而不是基于transformer的模型中的二次复杂度,我们的模型具有线性复杂度,并且在推理过程中执行得更有效。此外,我们发现,我们的模型可以产生更多样化的输出与更少的上下文特征冗余比现有的基于注意力的模型。

英文摘要:

Transformer-based pre-trained models have gained much advance in recent years, becoming one of the most important backbones in natural language processing. Recent work shows that the attention mechanism inside Transformer may not be necessary, both convolutional neural networks and multi-layer perceptron based models have also been investigated as Transformer alternatives. In this paper, we consider a graph recurrent network for language model pre-training, which builds a graph structure for each sequence with local token-level communications, together with a sentence-level representation decoupled from other tokens. The original model performs well in domain-specific text classification under supervised training, however, its potential in learning transfer knowledge by self-supervised way has not been fully exploited. We fill this gap by optimizing the architecture and verifying its effectiveness in more general language understanding tasks, for both English and Chinese languages. As for model efficiency, instead of the quadratic complexity in Transformer-based models, our model has linear complexity and performs more efficiently during inference. Moreover, we find that our model can generate more diverse outputs with less contextualized feature redundancy than existing attention-based models.

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

↑