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

预训练在自然语言推理中的有效应用

On the Effective Use of Pretraining for Natural Language Inference

Stanford Linguistics(斯坦福大学语言学系);Stanford Computer Science(斯坦福大学计算机科学系)

Ignacio Cases, Minh-Thang Luong, Christopher Potts

摘要:

神经网络在许多NLP任务中表现出色,但关于预训练的分布式单词表示的性能及其与权重初始化和其他超参数的相互作用仍然存在悬而未决的问题。我们解决这些问题的经验,使用基于注意力的序列到序列模型的自然语言推理(NLI)。具体来说,我们比较了三种类型的嵌入:随机,预训练(GloVe,word2vec)和翻新(预训练加上WordNet信息)。我们表明,预训练的嵌入优于随机和翻新的大型NLI语料库。在更多受控数据集上的进一步实验揭示了改造嵌入可能有用的背景。我们还探索了两种原则性的方法来初始化其余的模型参数,高斯和正交,表明后者在NLI任务中产生高达2.9%的收益。

英文摘要:

Neural networks have excelled at many NLP tasks, but there remain open questions about the performance of pretrained distributed word representations and their interaction with weight initialization and other hyperparameters. We address these questions empirically using attention-based sequence-to-sequence models for natural language inference (NLI). Specifically, we compare three types of embeddings: random, pretrained (GloVe, word2vec), and retrofitted (pretrained plus WordNet information). We show that pretrained embeddings outperform both random and retrofitted ones in a large NLI corpus. Further experiments on more controlled data sets shed light on the contexts for which retrofitted embeddings can be useful. We also explore two principled approaches to initializing the rest of the model parameters, Gaussian and orthogonal, showing that the latter yields gains of up to 2.9% in the NLI task.

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

↑