arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2107.00653cs.CLcs.LG
收藏

Transformer-F:一个具有有效学习通用句子表示方法的Transformer网络

Transformer-F: A Transformer network with effective methods for learning universal sentence representation

Beijing University of Posts and Telecommunications(北京邮电大学)

Yu Shi

摘要:

Transformer模型广泛用于自然语言处理中的句子表示。然而,以前的基于transformer的模型集中在功能词,在大多数情况下,具有有限的意义,只能提取高层次的语义抽象特征。本文介绍了两种提高Transformers性能的方法。我们通过将词性权重向量与相关系数相乘来计算注意力得分,这有助于提取更实际意义的单词。权值向量由输入文本序列根据词性的重要性得到。此外,我们融合了每一层的特征,使句子表示结果更加全面和准确。在实验中,我们证明了我们的模型Transformer-F在三个标准文本分类数据集上的有效性。实验结果表明,我们提出的模型显着提高文本分类的性能相比,基线模型。具体来说,我们在简单任务上获得了比普通Transformer 5.28%的相对改进。

英文摘要:

The Transformer model is widely used in natural language processing for sentence representation. However, the previous Transformer-based models focus on function words that have limited meaning in most cases and could merely extract high-level semantic abstraction features. In this paper, two approaches are introduced to improve the performance of Transformers. We calculated the attention score by multiplying the part-of-speech weight vector with the correlation coefficient, which helps extract the words with more practical meaning. The weight vector is obtained by the input text sequence based on the importance of the part-of-speech. Furthermore, we fuse the features of each layer to make the sentence representation results more comprehensive and accurate. In experiments, we demonstrate the effectiveness of our model Transformer-F on three standard text classification datasets. Experimental results show that our proposed model significantly boosts the performance of text classification as compared to the baseline model. Specifically, we obtain a 5.28% relative improvement over the vanilla Transformer on the simple tasks.

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

↑