论文标题

与变压器进行平行撤退以进行流媒体演讲识别

Parallel Rescoring with Transformer for Streaming On-Device Speech Recognition

论文作者

Li, Wei, Qin, James, Chiu, Chung-Cheng, Pang, Ruoming, He, Yanzhang

论文摘要

端到端模型的最新进展通过采用两次通行模型优于常规模型。两次通行的模型为在设备上的语音识别提供了更好的速度折衷,其中1级模型以流媒体方式生成假设,而第二通道模型则重新评分了具有完整音频序列上下文的假设。第二通道模型在超越常规模型的端到端模型的质量改进中起着关键作用。两次通行模型的一个主要挑战是第二通道模型引入的计算潜伏期。具体而言,两通道模型的原始设计使用LSTMS用于第二通道模型,由于它们受经常性的约束,因此必须延迟延迟,并且必须顺序进行推理。在这项工作中,我们探索了使用变压器层替换第二届乘员委员会中的LSTM层,该层可以并行处理整个假设序列,因此可以更有效地利用偏好的计算资源。与基于LSTM的基线相比,我们提议的变压者委员可以随着质量提高而实现50%以上的潜伏期降低。

Recent advances of end-to-end models have outperformed conventional models through employing a two-pass model. The two-pass model provides better speed-quality trade-offs for on-device speech recognition, where a 1st-pass model generates hypotheses in a streaming fashion, and a 2nd-pass model re-scores the hypotheses with full audio sequence context. The 2nd-pass model plays a key role in the quality improvement of the end-to-end model to surpass the conventional model. One main challenge of the two-pass model is the computation latency introduced by the 2nd-pass model. Specifically, the original design of the two-pass model uses LSTMs for the 2nd-pass model, which are subject to long latency as they are constrained by the recurrent nature and have to run inference sequentially. In this work we explore replacing the LSTM layers in the 2nd-pass rescorer with Transformer layers, which can process the entire hypothesis sequences in parallel and can therefore utilize the on-device computation resources more efficiently. Compared with an LSTM-based baseline, our proposed Transformer rescorer achieves more than 50% latency reduction with quality improvement.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源