Enhancing sentence embedding with dynamic interaction
作者:Jinsong Xie, Yongjun Li, Qiwei Sun, Yi Lin
摘要
Sentence embedding is a powerful tool in many natural language processing subfields, such as sentiment analysis, natural language inference and questions classification. However, previous work just integrates the final states, which are the output of encoder of multiple-layer architecture, with average pooling or max pooling as the final sentence representation. Average pooling is simple and fast for summarizing the overall meaning of sentences, but it may ignore some significant latent semantic features considering that information is flowing through the multiple layers. In this paper, we propose a new dynamic interaction method for improving the final sentence representation. It aims to make the states of the last layer more conducive to the next classification layer by introducing some constraint from the states of the previous layers. The constraint is the product of dynamic interaction between states of intermediate layers and states of the upper-most layer. Experiments can surpass prior state-of-the-art sentence embedding methods on 4 datasets.
论文关键词:Sentence embedding, Sentiment analysis, Self-attention, Deep neural networks
论文评审过程:
论文官网地址:https://doi.org/10.1007/s10489-019-01456-x