Low-Latency Sequence-to-Sequence Speech Recognition and Translation by Partial Hypothesis Selection

Danni Liu, Gerasimos Spanakis, Jan Niehues
5/22/2020
cs.CLcs.SDeess.AS

Official code: dannigt/NMTGMinor.lowLatency (8 stars, Python, MIT, last commit 2020-05-15).

Abstract

Encoder-decoder models provide a generic architecture for sequence-to-sequence tasks such as speech recognition and translation. While offline systems are often evaluated on quality metrics like word error rates (WER) and BLEU, latency is also a crucial factor in many practical use-cases.

Show full abstract

We propose three latency reduction techniques for chunk-based incremental inference and evaluate their efficiency in terms of accuracy-latency trade-off. On the 300-hour How2 dataset, we reduce latency by 83% to 0.8 second by sacrificing 1% WER (6% rel.) compared to offline transcription. Although our experiments use the Transformer, the hypothesis selection strategies are applicable to other encoder-decoder models. To avoid expensive re-computation, we use a unidirectionally-attending encoder. After an adaptation procedure to partial sequences, the unidirectional model performs on-par with the original model. We further show that our approach is also applicable to low-latency speech translation. On How2 English-Portuguese speech translation, we reduce latency to 0.7 second (-84% rel.) while incurring a loss of 2.4 BLEU points (5% rel.) compared to the offline system.

View on arXivView PDF

Code Implementations(1)

MIT
81Python, ShellMay 15, 20206 years agoMIT

Similar Papers

Cite this paper

@article{liu2020lowlatency,
  title  = {Low-Latency Sequence-to-Sequence Speech Recognition and Translation by Partial Hypothesis Selection},
  author = {Danni Liu and Gerasimos Spanakis and Jan Niehues},
  year   = {2020},
  eprint = {2005.11185},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.11185}
}

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/2005.11185.svg)](https://codeofpaper.com/paper/2005.11185)

Discussion