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

当FastText引起注意时:使用约束位置加权的词表示的有效估计

When FastText Pays Attention: Efficient Estimation of Word Representations using Constrained Positional Weighting

Masaryk University(马萨里克大学);Achievers University(阿奇弗斯大学);RARE Technologies Ltd.(RARE技术有限公司)

Vít Novotný, Michal Štefánik, Eniafe Festus Ayetiran, Petr Sojka, Radim Řehůřek

摘要:

2018年,Mikolov等人引入了位置语言模型,该模型具有基于注意力的神经机器翻译模型的特征,并在内在单词类比任务上实现了最先进的性能。然而,位置模型实际上并不快,它从来没有被评估的定性标准或外在的任务。我们提出了一个受约束的位置模型,它采用了神经机器翻译的稀疏注意力机制,以提高位置模型的速度。我们评估三个新的定性标准和语言建模的位置和约束的位置模型。我们发现,位置和约束位置模型包含可解释的信息的语法属性的话,并优于其他浅模型的语言建模。我们还表明,我们的约束模型在语言建模方面优于位置模型,并且训练速度是位置模型的两倍。

英文摘要:

In 2018, Mikolov et al. introduced the positional language model, which has characteristics of attention-based neural machine translation models and which achieved state-of-the-art performance on the intrinsic word analogy task. However, the positional model is not practically fast and it has never been evaluated on qualitative criteria or extrinsic tasks. We propose a constrained positional model, which adapts the sparse attention mechanism from neural machine translation to improve the speed of the positional model. We evaluate the positional and constrained positional models on three novel qualitative criteria and on language modeling. We show that the positional and constrained positional models contain interpretable information about the grammatical properties of words and outperform other shallow models on language modeling. We also show that our constrained model outperforms the positional model on language modeling and trains twice as fast.

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

↑