arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.06220eess.AScs.AIcs.CLcs.LGcs.SD
收藏

Label-Looping:面向Transducer的高效解码方法

Label-Looping: Highly Efficient Decoding for Transducers

NVIDIA(英伟达);University of London(伦敦大学)

Vladimir Bataev, Hainan Xu, Daniel Galvez, Vitaly Lavrukhin, Boris Ginsburg

AI总结:

本研究针对Transducer语音识别模型解码效率问题,提出交换帧与标签循环顺序、结合CUDA张量并行假设操作的Label-Looping贪心解码算法,在批量32时速度最高提升2倍,通用性强且已开源。

摘要:

本文提出一种适用于基于Transducer的语音识别模型的高效贪心解码算法。我们重新设计了RNN-T解码的标准嵌套循环结构,交换帧与标签的循环顺序:外层循环遍历标签,内层循环遍历帧以搜索下一个非空白符号。此外,我们使用CUDA张量以特殊结构存储部分假设,支持并行化的假设操作。实验表明,在批量大小为32时,label-looping算法比传统批量解码速度最高快2.0倍。该算法还可与其他编译器或GPU调用相关技术结合以获得更高加速比。我们的算法具有通用性,可同时适配传统Transducer与Token-and-Duration Transducer。我们已开源实现以惠及研究社区。

英文摘要:

This paper introduces a highly efficient greedy decoding algorithm for Transducer-based speech recognition models. We redesign the standard nested-loop design for RNN-T decoding, swapping loops over frames and labels: the outer loop iterates over labels, while the inner loop iterates over frames searching for the next non-blank symbol. Additionally, we represent partial hypotheses in a special structure using CUDA tensors, supporting parallelized hypotheses manipulations. Experiments show that the label-looping algorithm is up to 2.0X faster than conventional batched decoding when using batch size 32. It can be further combined with other compiler or GPU call-related techniques to achieve even more speedup. Our algorithm is general-purpose and can work with both conventional Transducers and Token-and-Duration Transducers. We open-source our implementation to benefit the research community.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑