Hard Non-Monotonic Attention for Character-Level Transduction
Not on the map. Why?
Abstract (arXiv)
Character-level string-to-string transduction is an important component of various NLP tasks. The goal is to map an input string to an output string, where the strings may be of different lengths and have characters taken from different alphabets. Recent approaches have used sequence-to-sequence models with an attention mechanism to learn which parts of the input string the model should focus on during the generation of the output string. Both soft attention and hard monotonic attention have been used, but hard non-monotonic attention has only been used in other sequence modeling tasks such as image captioning (Xu et al., 2015), and has required a stochastic approximation to compute the gradient. In this work, we introduce an exact, polynomial-time algorithm for marginalizing over the exponential number of non-monotonic alignments between two strings, showing that hard attention models can be viewed as neural reparameterizations of the classical IBM Model 1. We compare soft and hard non-monotonic attention experimentally and find that the exact algorithm significantly improves performance over the stochastic approximation and outperforms soft attention. Code is available at https://github. com/shijie-wu/neural-transducer.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). First posted on arXiv 29 Aug 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 8; 2022: 3; 2023: 1.
12 papers.
- 2021Sequence-to-Sequence Learning with Latent Neural Grammarscited by 30
- 2021Can a Transformer Pass the Wug Test? Tuning Copying Bias in Neural Morphological Inflection Modelscited by 13
- 2022Inducing and Using Alignments for Transition-based AMR Parsingcited by 11
- 2021A study of latent monotonic attention variantscited by 5
- 2021On Biasing Transformer Attention Towards Monotonicitycited by 5
- 2022Equivariant Transduction through Invariant Alignmentcited by 3
- 2021Computational Morphology with Neural Network Approachescited by 2
- 2023On the Learning Dynamics of Attention Networkscited by 2
- 2021Comparative Error Analysis in Neural and Finite-state Models for Unsupervised Character-level Transductioncited by 1
- 2021Searching for More Efficient Dynamic Programscited by 1
- 2021Differentiable Generative Phonologycited by 0
- 2022Cross-lingual Inflection as a Data Augmentation Method for Parsingcited by 0
- 2023On the Learning Dynamics of Attention Networks25 Jul 2023
- 2022Equivariant Transduction through Invariant Alignment22 Sep 2022
- 2022Cross-lingual Inflection as a Data Augmentation Method for Parsing19 May 2022
- 2022Inducing and Using Alignments for Transition-based AMR Parsing3 May 2022
- 2021Searching for More Efficient Dynamic Programs14 Sep 2021
- 2021Sequence-to-Sequence Learning with Latent Neural Grammars2 Sep 2021
- 2021Comparative Error Analysis in Neural and Finite-state Models for Unsupervised Character-level Transduction24 Jun 2021
- 2021Computational Morphology with Neural Network Approaches19 May 2021
- 2021Can a Transformer Pass the Wug Test? Tuning Copying Bias in Neural Morphological Inflection Models13 Apr 2021
- 2021On Biasing Transformer Attention Towards Monotonicity8 Apr 2021
- 2021A study of latent monotonic attention variants30 Mar 2021
- 2021Differentiable Generative Phonology10 Feb 2021