arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.08910cs.CLcs.LGeess.AS
收藏

利用语义素提高循环神经网络序列建模能力

Improving Sequence Modeling Ability of Recurrent Neural Networks via Sememes

Tsinghua University(清华大学);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心);Beijing University of Posts and Telecommunications(北京邮电大学)

Yujia Qin, Fanchao Qi, Sicong Ouyang, Zhiyuan Liu, Cheng Yang, Yasheng Wang, Qun Liu, Maosong Sun

摘要:

义素是人类语言的最小语义单位,在各种自然语言处理应用中得到了成功的应用。然而,大多数现有的研究都是在特定的任务中使用义位,很少有人从根本上利用义位。在本文中,我们提出将语义纳入循环神经网络(RNN),以提高其序列建模能力,这有利于各种下游任务。我们设计了三种不同的义素合并方法,并将它们应用于典型的RNN,包括LSTM,GRU及其双向变体。在评估中,我们使用了几个基准数据集,包括PTB和WikiText-2用于语言建模,SNLI用于自然语言推理,另外两个数据集用于情感分析和释义检测。实验结果表明,与普通RNN相比,我们的义素合并模型有明显的一致性改善,这证明了我们的义素合并方法的有效性。此外,我们还发现,结合语义的模型具有更高的鲁棒性,在防御对抗攻击方面优于对抗训练。本工作的所有代码和数据可以在https://github.com/thunlp/SememeRNN上获得。

英文摘要:

Sememes, the minimum semantic units of human languages, have been successfully utilized in various natural language processing applications. However, most existing studies exploit sememes in specific tasks and few efforts are made to utilize sememes more fundamentally. In this paper, we propose to incorporate sememes into recurrent neural networks (RNNs) to improve their sequence modeling ability, which is beneficial to all kinds of downstream tasks. We design three different sememe incorporation methods and employ them in typical RNNs including LSTM, GRU and their bidirectional variants. In evaluation, we use several benchmark datasets involving PTB and WikiText-2 for language modeling, SNLI for natural language inference and another two datasets for sentiment analysis and paraphrase detection. Experimental results show evident and consistent improvement of our sememe-incorporated models compared with vanilla RNNs, which proves the effectiveness of our sememe incorporation methods. Moreover, we find the sememe-incorporated models have higher robustness and outperform adversarial training in defending adversarial attack. All the code and data of this work can be obtained at https://github.com/thunlp/SememeRNN.

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

↑