arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.03674cs.LGcs.CLstat.ML
收藏

基于注意力的外部知识整合条件化方法

Attention-based Conditioning Methods for External Knowledge Integration

National Technical University of Athens(雅典国立技术大学);University of Edinburgh(爱丁堡大学);Behavioral Signal Technologies(行为信号技术公司)

Katerina Margatina, Christos Baziotis, Alexandros Potamianos

摘要:

在本文中,我们提出了一种新的方法,将外部知识纳入递归神经网络(RNN)。我们建议将词典特征集成到基于RNN架构的自注意机制中。这种对注意力分配的制约形式,强化了最突出的单词对手头任务的贡献。我们介绍了三种方法,即注意力连接,基于特征的门控和仿射变换。在六个基准数据集上的实验表明了该方法的有效性。基于注意力特征的门控在不同任务中产生一致的性能改善。我们的方法被实现为基于RNN的模型的简单附加模块,具有最小的计算开销,并且可以适应任何深度神经架构。

英文摘要:

In this paper, we present a novel approach for incorporating external knowledge in Recurrent Neural Networks (RNNs). We propose the integration of lexicon features into the self-attention mechanism of RNN-based architectures. This form of conditioning on the attention distribution, enforces the contribution of the most salient words for the task at hand. We introduce three methods, namely attentional concatenation, feature-based gating and affine transformation. Experiments on six benchmark datasets show the effectiveness of our methods. Attentional feature-based gating yields consistent performance improvement across tasks. Our approach is implemented as a simple add-on module for RNN-based models with minimal computational overhead and can be adapted to any deep neural architecture.

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

↑