Spiralformer: Low Latency Encoder for Streaming Speech Recognition with Circular Layer Skipping and Early Exiting
Emiru Tsunoo, Hayato Futami, Yosuke Kashiwagi, Siddhant Arora, Shinji Watanabe
TL;DR
The paper tackles encoder-side latency in streaming ASR by addressing blockwise processing delays. It introduces Spiralformer, which merges circular layer skipping, layer dropping, cached cross-block computation, and early exiting to reduce system word emission delay while maintaining comparable WER and compute to traditional block-based Transformers. Experimental results on LibriSpeech and CSJ show substantial SWD reductions (e.g., ~21.6% at P50 on LibriSpeech and ~7.0% on CSJ) and notable improvements in maximum theoretical latency, without sacrificing accuracy. This approach offers a practical path toward lower-latency, real-time streaming ASR without prohibitive increases in computation.
Abstract
For streaming speech recognition, a Transformer-based encoder has been widely used with block processing. Although many studies addressed improving emission latency of transducers, little work has been explored for improving encoding latency of the block processing. We seek to reduce latency by frequently emitting a chunk with a small shift rather than scarce large-chunk emissions, resulting in higher computational costs. To efficiently compute with the small chunk shift, we propose a new encoder, Spiralformer, tailored for block processing by combining layer dropping and early exiting. We skip layer computation in a cyclic manner and shift the computed layer in each block spirally, which completes computation for all the layers over the block processing. Experimentally, we observed that our method achieved 21.6% reduction in the averaged token emission delay in Librispeech, and 7.0% in CSJ, compared with the baseline with similar computational cost and word error rates.
