Delay-penalized transducer for low-latency streaming ASR

Wei Kang, Zengwei Yao, Fangjun Kuang, Liyong Guo, Xiaoyu Yang +3 more
10/31/2022
eess.AScs.CLcs.LG

Official code: k2-fsa/k2 (1,371 stars, Cuda, Apache-2.0, last commit 2026-11-13).

Abstract

In streaming automatic speech recognition (ASR), it is desirable to reduce latency as much as possible while having minimum impact on recognition accuracy. Although a few existing methods are able to achieve this goal, they are difficult to implement due to their dependency on external alignments.

Show full abstract

In this paper, we propose a simple way to penalize symbol delay in transducer model, so that we can balance the trade-off between symbol delay and accuracy for streaming models without external alignments. Specifically, our method adds a small constant times (T/2 - t), where T is the number of frames and t is the current frame, to all the non-blank log-probabilities (after normalization) that are fed into the two dimensional transducer recursion. For both streaming Conformer models and unidirectional long short-term memory (LSTM) models, experimental results show that it can significantly reduce the symbol delay with an acceptable performance degradation. Our method achieves similar delay-accuracy trade-off to the previously published FastEmit, but we believe our method is preferable because it has a better justification: it is equivalent to penalizing the average symbol delay. Our work is open-sourced and publicly available (https://github.com/k2-fsa/k2).

View on arXivView PDF

Code Implementations(1)

k2-fsa/k2Official100%
Apache-2.0

FSA/FST algorithms, differentiable, with PyTorch compatibility.

1,371243Cuda, C++Apr 17, 20202 weeks agoApache-2.0

Similar Papers

Cite this paper

@article{kang2022delaypenalized,
  title  = {Delay-penalized transducer for low-latency streaming ASR},
  author = {Wei Kang and Zengwei Yao and Fangjun Kuang and Liyong Guo and Xiaoyu Yang and Long lin and Piotr Żelasko and Daniel Povey},
  year   = {2022},
  eprint = {2211.00490},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.00490}
}

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

Discussion