arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.06834cs.LGstat.ML
收藏

注意力提高学习节点嵌入时的专注力

Attention improves concentration when learning node embeddings

Khoury College of Computer Science(胡里计算机学院);Northeastern University(东北大学);Amazon(亚马逊)

Matthew Dippel, Adam Kiezun, Tanay Mehta, Ravi Sundaram, Srikanth Thirumalai, Akshar Varma

摘要:

我们考虑在电子商务环境中根据节点属性预测图中边的问题。具体来说,给定标有搜索查询文本的节点,我们希望预测到共享产品的相关查询的链接。一系列深度神经架构的实验表明,具有注意力机制的简单前馈网络在学习嵌入方面表现最佳。这些模型的简单性使我们能够解释注意力的表现。我们提出了一个易于分析的查询生成模型AttEST,将产品和查询文本视为嵌入在潜在空间中的向量。我们证明(和经验验证)的AttEST查询文本嵌入的逐点互信息(PMI)矩阵显示类似于观察到的低秩行为在词嵌入。这种低秩属性允许我们导出一个损失函数,该损失函数最大化相关查询之间的互信息,该互信息用于训练注意力网络以学习查询嵌入。这个AttEST网络在F-1分数上击败了传统的基于内存的LSTM架构超过20%。我们证明了这一点,从注意力机制的权重强相关的最佳线性无偏估计(BLUE)的产品向量的权重,并得出结论,注意力在方差减少中起着重要的作用。

英文摘要:

We consider the problem of predicting edges in a graph from node attributes in an e-commerce setting. Specifically, given nodes labelled with search query text, we want to predict links to related queries that share products. Experiments with a range of deep neural architectures show that simple feedforward networks with an attention mechanism perform best for learning embeddings. The simplicity of these models allows us to explain the performance of attention. We propose an analytically tractable model of query generation, AttEST, that views both products and the query text as vectors embedded in a latent space. We prove (and empirically validate) that the point-wise mutual information (PMI) matrix of the AttEST query text embeddings displays a low-rank behavior analogous to that observed in word embeddings. This low-rank property allows us to derive a loss function that maximizes the mutual information between related queries which is used to train an attention network to learn query embeddings. This AttEST network beats traditional memory-based LSTM architectures by over 20% on F-1 score. We justify this out-performance by showing that the weights from the attention mechanism correlate strongly with the weights of the best linear unbiased estimator (BLUE) for the product vectors, and conclude that attention plays an important role in variance reduction.

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

↑