pith. sign in

arxiv: 1906.03674 · v1 · pith:ZKNQIS64new · submitted 2019-06-09 · 💻 cs.LG · cs.CL· stat.ML

Attention-based Conditioning Methods for External Knowledge Integration

classification 💻 cs.LG cs.CLstat.ML
keywords methodsapproachattentionalconditioningexternalfeature-basedgatingintegration
0
0 comments X p. Extension
pith:ZKNQIS64 Add to your LaTeX paper What is a Pith Number?
\usepackage{pith}
\pithnumber{ZKNQIS64}

Prints a linked pith:ZKNQIS64 badge after your title and writes the identifier into PDF metadata. Compiles on arXiv with no extra files. Learn more

read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.