Monotonic Chunkwise Attention

Chung-Cheng Chiu, Colin Raffel
12/14/2017
cs.CLstat.ML

Official code: craffel/mocha (54 stars, Jupyter Notebook, last commit 2018-02-23).

Abstract

Sequence-to-sequence models with soft attention have been successfully applied to a wide variety of problems, but their decoding process incurs a quadratic time and space cost and is inapplicable to real-time sequence transduction. To address these issues, we propose Monotonic Chunkwise Attention (MoChA), which adaptively splits the input sequence into small chunks over which soft attention is computed.

Show full abstract

We show that models utilizing MoChA can be trained efficiently with standard backpropagation while allowing online and linear-time decoding at test time. When applied to online speech recognition, we obtain state-of-the-art results and match the performance of a model using an offline soft attention mechanism. In document summarization experiments where we do not expect monotonic alignments, we show significantly improved performance compared to a baseline monotonic attention-based model.

View on arXivView PDF

Code Implementations(1)

craffel/mochaOfficial100%

Example implementation of Monotonic Chunkwise Attention.

5412Jupyter NotebookFeb 22, 20188 years ago

Similar Papers

Cite this paper

@article{chiu2017monotonic,
  title  = {Monotonic Chunkwise Attention},
  author = {Chung-Cheng Chiu and Colin Raffel},
  year   = {2017},
  eprint = {1712.05382},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1712.05382}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1712.05382.svg)](https://codeofpaper.com/paper/1712.05382)

Discussion