arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1806.09828cs.CLcs.AIcs.LG
收藏

利用广义池化增强句子嵌入

Enhancing Sentence Embedding with Generalized Pooling

Queen’s University(女王大学)

Qian Chen, Zhen-Hua Ling, Xiaodan Zhu

摘要:

池化是各种句子表示和嵌入模型的重要组成部分。本文探讨了增强句子嵌入的广义池化方法。我们提出了基于向量的多头注意力,其中包括广泛使用的最大池,平均池,标量自注意力作为特殊情况。该模型受益于适当设计的惩罚条款,以减少冗余的多头注意力。我们评估三个不同的任务:自然语言推理(NLI),作者分析,和情感分类所提出的模型。实验表明,该模型实现了显着的改进,基于强并行编码的方法,导致在四个数据集上的最先进的性能。所提出的方法可以很容易地实现,解决的问题比我们在本文中讨论的更多。

英文摘要:

Pooling is an essential component of a wide variety of sentence representation and embedding models. This paper explores generalized pooling methods to enhance sentence embedding. We propose vector-based multi-head attention that includes the widely used max pooling, mean pooling, and scalar self-attention as special cases. The model benefits from properly designed penalization terms to reduce redundancy in multi-head attention. We evaluate the proposed model on three different tasks: natural language inference (NLI), author profiling, and sentiment classification. The experiments show that the proposed model achieves significant improvement over strong sentence-encoding-based methods, resulting in state-of-the-art performances on four datasets. The proposed approach can be easily implemented for more problems than we discuss in this paper.

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

↑