Pervasive Attention: 2D Convolutional Neural Networks for Sequence-to-Sequence Prediction
Maha Elbayad, Laurent Besacier, Jakob Verbeek
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/elbayadm/attn2dOfficialIn paperpytorch★ 0
- github.com/poifull10/PervasiveAttentionNetnone★ 0
- github.com/tdiggelm/nn-experimentsnone★ 0
Abstract
Current state-of-the-art machine translation systems are based on encoder-decoder architectures, that first encode the input sequence, and then generate an output sequence based on the input encoding. Both are interfaced with an attention mechanism that recombines a fixed encoding of the source tokens based on the decoder state. We propose an alternative approach which instead relies on a single 2D convolutional neural network across both sequences. Each layer of our network re-codes source tokens on the basis of the output sequence produced so far. Attention-like properties are therefore pervasive throughout the network. Our model yields excellent results, outperforming state-of-the-art encoder-decoder systems, while being conceptually simpler and having fewer parameters.
Tasks
Benchmark Results
| Dataset | Model | Metric | Claimed | Verified | Status |
|---|---|---|---|---|---|
| IWSLT2015 English-German | Pervasive Attention | BLEU score | 27.99 | — | Unverified |
| IWSLT2015 German-English | Pervasive Attention | BLEU score | 34.18 | — | Unverified |