Spiralformer:面向流式语音识别的低延迟编码器,采用循环层跳过与早退机制
Spiralformer: Low Latency Encoder for Streaming Speech Recognition with Circular Layer Skipping and Early Exiting
AI总结:
针对流式语音识别分块处理编码延迟优化不足的问题,提出结合循环层跳过与早退的Spiralformer编码器,在相近计算成本与词错误率下显著降低token发射延迟。
摘要:
在流式语音识别任务中,基于Transformer的编码器常与分块处理结合使用。现有研究多聚焦于降低 transducer 的发射延迟,针对分块处理的编码延迟优化工作仍较为缺乏。本文旨在通过小步长频繁输出块、而非大步长少量输出大chunk的方式降低延迟,但该思路会带来计算成本升高的问题。为在小chunk步长下实现高效计算,本文提出一种专为分块处理设计的新型编码器Spiralformer,结合了层丢弃与早退机制:该方法以循环方式跳过层计算,且每个块中参与计算的层呈螺旋式移位,通过分块处理流程完成所有层的计算。实验结果显示,在计算成本与词错误率相近的情况下,相比基线模型,本文方法在Librispeech数据集上的平均token发射延迟降低21.6%,在CSJ数据集上降低7.0%。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。