Parallel Rescoring with Transformer for Streaming On-Device Speech Recognition
Wei Li, James Qin, Chung-Cheng Chiu, Ruoming Pang, Yanzhang He

TL;DR
This paper introduces a Transformer-based 2nd-pass rescoring model for streaming on-device speech recognition, significantly reducing latency while improving recognition quality compared to traditional LSTM-based models.
Contribution
It replaces LSTM layers with Transformer layers in the 2nd-pass rescoring model, enabling parallel processing and reducing latency in streaming speech recognition.
Findings
Over 50% latency reduction compared to LSTM baseline
Improved speech recognition quality with Transformer rescoring
Efficient utilization of on-device computation resources
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSpeech and Audio Processing · Speech Recognition and Synthesis · Music and Audio Processing
MethodsLinear Layer · Absolute Position Encodings · Position-Wise Feed-Forward Layer · Tanh Activation · Attention Is All You Need · Byte Pair Encoding · Adam · Dropout · Label Smoothing · Multi-Head Attention
