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

使用Mean-Max Attention Autoencoder学习通用句子表示

Learning Universal Sentence Representations with Mean-Max Attention Autoencoder

Key Laboratory of Computational Linguistics, Ministry of Education(教育部计算语言学重点实验室);School of Electronics Engineering and Computer Science, Peking University(北京大学信息科学技术学院)

Minghua Zhang, Yunfang Wu, Weikang Li, Wei Li

摘要:

为了学习通用的句子表示,以前的方法集中在复杂的递归神经网络或监督学习。在本文中,我们提出了一个平均最大注意自动编码器(平均最大AAE)的编码器-解码器框架内。我们的自动编码器完全依赖于多头自我注意力机制来重建输入序列。在编码中,我们提出了一个均值-最大值策略,该策略在隐藏向量上应用均值和最大池化操作来捕获输入的各种信息。为了使信息能够动态地引导重建过程,解码器对均值-最大值表示进行关注。通过在大量未标记数据上训练我们的模型,我们获得了高质量的句子表示。在广泛的10个转移任务上的实验结果表明,我们的模型优于最先进的无监督单一方法,包括经典的skip-thoughts和先进的skip-thoughts+LN模型。此外,与传统的递归神经网络相比,我们的平均最大AAE大大减少了训练时间。

英文摘要:

In order to learn universal sentence representations, previous methods focus on complex recurrent neural networks or supervised learning. In this paper, we propose a mean-max attention autoencoder (mean-max AAE) within the encoder-decoder framework. Our autoencoder rely entirely on the MultiHead self-attention mechanism to reconstruct the input sequence. In the encoding we propose a mean-max strategy that applies both mean and max pooling operations over the hidden vectors to capture diverse information of the input. To enable the information to steer the reconstruction process dynamically, the decoder performs attention over the mean-max representation. By training our model on a large collection of unlabelled data, we obtain high-quality representations of sentences. Experimental results on a broad range of 10 transfer tasks demonstrate that our model outperforms the state-of-the-art unsupervised single methods, including the classical skip-thoughts and the advanced skip-thoughts+LN model. Furthermore, compared with the traditional recurrent neural network, our mean-max AAE greatly reduce the training time.

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

↑