arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.00988cs.CLcs.LG
收藏

注意词嵌入

Attention Word Embedding

Rice University(莱斯大学)

Shashank Sonkar, Andrew E. Waters, Richard G. Baraniuk

摘要:

词嵌入模型学习词的语义丰富的向量表示,并广泛用于初始化自然处理语言(NLP)模型。word 2 vec的流行的连续词袋(CBOW)模型通过屏蔽句子中的给定单词来学习向量嵌入,然后使用其他单词作为上下文来预测它。CBOW的局限性在于,它在进行预测时对上下文单词进行同等权重,这是低效的,因为某些单词的预测值比其他单词高。我们通过引入注意力词嵌入(AWE)模型,将注意力机制集成到CBOW模型中来解决这种低效率问题。我们还提出了AWE-S,其中包括子字信息。我们证明了AWE和AWE-S在各种单词相似性数据集上以及用于NLP模型初始化时的性能都优于最先进的词嵌入模型。

英文摘要:

Word embedding models learn semantically rich vector representations of words and are widely used to initialize natural processing language (NLP) models. The popular continuous bag-of-words (CBOW) model of word2vec learns a vector embedding by masking a given word in a sentence and then using the other words as a context to predict it. A limitation of CBOW is that it equally weights the context words when making a prediction, which is inefficient, since some words have higher predictive value than others. We tackle this inefficiency by introducing the Attention Word Embedding (AWE) model, which integrates the attention mechanism into the CBOW model. We also propose AWE-S, which incorporates subword information. We demonstrate that AWE and AWE-S outperform the state-of-the-art word embedding models both on a variety of word similarity datasets and when used for initialization of NLP models.

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

↑