Skip to main content
QUICK REVIEW

[Paper Review] Low-Latency Sequence-to-Sequence Speech Recognition and Translation by Partial Hypothesis Selection

Danni Liu, Gerasimos Spanakis|arXiv (Cornell University)|May 22, 2020
Natural Language Processing TechniquesComputer Science43 references9 citations
TL;DR

This paper proposes a low-latency sequence-to-sequence speech recognition and translation framework using partial hypothesis selection, unidirectional encoders, and adaptation to partial sequences. It achieves 83% latency reduction (0.8s) on the How2 ASR dataset with only 1% WER increase, and 84% latency reduction (0.7s) on speech translation with 5% relative BLEU loss, while maintaining strong accuracy through selective output commitment and efficient inference.

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

Motivation & Objective

  • Address the challenge of high latency in online sequence-to-sequence models for speech recognition and translation.
  • Enable a single model to serve both offline and online inference without retraining.
  • Reduce latency in chunk-based incremental inference while minimizing degradation in automatic speech recognition and translation quality.
  • Explore strategies to stabilize predictions during streaming inference by selectively committing to partial hypotheses.
  • Develop a method to adapt pre-trained full-sequence models for incremental inference with minimal performance drop.

Proposed method

  • Use a unidirectional encoder that excludes future context, enabling efficient incremental decoding without future dependency.
  • Apply partial hypothesis selection by committing only to a prefix of each chunk’s output, reducing unstable predictions.
  • Implement the prefix function via strategies like hold-n (fixed output rate) and local agreement (consensus-based selection).
  • Adapt the pre-trained model to partial sequences through a fine-tuning procedure that simulates streaming inputs.
  • Condition the decoder on committed hypotheses from previous chunks, enabling context-aware, incremental generation.
  • Use a fixed chunk size and decode incrementally as new audio segments arrive, reusing decoder states to avoid re-computation.

Experimental results

Research questions

  • RQ1How can partial hypothesis selection improve the latency-quality trade-off in streaming ASR and speech translation?
  • RQ2Can a unidirectional encoder trained on full sequences be effectively adapted for incremental inference with minimal accuracy loss?
  • RQ3Which hypothesis selection strategy (hold-n, local agreement, hold-0) achieves the best balance between latency and quality?
  • RQ4To what extent does model adaptation to partial sequences improve performance in low-latency settings?
  • RQ5Can the proposed method be generalized across different sequence-to-sequence tasks like ASR and speech translation?

Key findings

  • The local agreement strategy achieved the best latency-quality trade-off in ASR, reducing latency to 0.8 seconds with only 1% absolute WER increase (6% relative) compared to offline transcription.
  • The unidirectional model achieved 14.4% WER on the How2 ASR dataset, matching the performance of the bidirectional model after adaptation to partial sequences.
  • After adaptation, the unidirectional model maintained 14.4% WER in offline inference, proving it preserves full-sequence performance.
  • On the How2 English-Portuguese speech translation task, the method reduced latency by 84% (to 0.7 seconds) with only 5% relative BLEU loss (44.5 to 42.1) compared to the offline system.
  • The hold-4 and local agreement strategies outperformed hold-0 and hold-2, with local agreement achieving lower latency than hold-4 while maintaining similar quality.
  • Adaptation to partial sequences reduced error rates by up to 1% in ASR, with a slight latency increase of up to 0.3 seconds, indicating improved output control.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.