# Attention-based Conditioning Methods for External Knowledge Integration

**Authors:** Katerina Margatina, Christos Baziotis, Alexandros Potamianos

arXiv: 1906.03674 · 2019-06-11

## TL;DR

This paper introduces three novel methods for integrating external lexicon-based knowledge into RNNs via attention mechanisms, improving task performance with minimal computational cost.

## Contribution

The paper proposes three new attention-based conditioning techniques for external knowledge integration in RNNs, enhancing their effectiveness across multiple benchmarks.

## Key findings

- Attentional gating improves performance consistently.
- Methods are simple to implement with minimal overhead.
- Effective across six benchmark datasets.

## 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.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1906.03674/full.md

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/1906.03674/full.md

## References

60 references — full list in the complete paper: https://tomesphere.com/paper/1906.03674/full.md

---
Source: https://tomesphere.com/paper/1906.03674