arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.04996eess.AScs.LG
收藏

面向基于CTC的语音识别的GPU加速WFST波束搜索解码器

GPU-Accelerated WFST Beam Search Decoder for CTC-based Speech Recognition

NVIDIA(英伟达)

Daniel Galvez, Tim Kaldewey

AI总结:

针对CTC语音识别中CPU波束搜索解码的性能瓶颈,提出GPU加速的WFST波束搜索解码器,支持流式推理与词增强等特性,实验证明其在离线/在线场景下均大幅提升性能且词错误率相当或更优。

摘要:

尽管连接主义时序分类(Connectionist Temporal Classification,CTC)模型在自动语音识别(automated speech recognition,ASR)流水线中实现了当前最优的准确率,但其性能一直受限于基于CPU的波束搜索解码。我们提出了一款与现有CTC模型兼容的GPU加速加权有限状态转换器(Weighted Finite State Transducer,WFST)波束搜索解码器。它提升了流水线吞吐量并降低了延迟,支持流式推理,还支持通过动态组合实现针对特定话语的词增强等高级特性。我们提供了预构建的基于DLPack的Python绑定,可在https://github.com/nvidia-riva/riva-asrlib-decoder获取,便于与基于Python的机器学习框架搭配使用。我们在离线和在线场景下评估了该解码器,证明它是目前针对CTC模型的最快波束搜索解码器。在离线场景下,其吞吐量最高可达当前最优CPU解码器的7倍;在在线流式场景下,其延迟降低了近8倍,且词错误率与现有水平相当或更优。

英文摘要:

While Connectionist Temporal Classification (CTC) models deliver state-of-the-art accuracy in automated speech recognition (ASR) pipelines, their performance has been limited by CPU-based beam search decoding. We introduce a GPU-accelerated Weighted Finite State Transducer (WFST) beam search decoder compatible with current CTC models. It increases pipeline throughput and decreases latency, supports streaming inference, and also supports advanced features like utterance-specific word boosting via on-the-fly composition. We provide pre-built DLPack-based python bindings for ease of use with Python-based machine learning frameworks at https://github.com/nvidia-riva/riva-asrlib-decoder. We evaluated our decoder for offline and online scenarios, demonstrating that it is the fastest beam search decoder for CTC models. In the offline scenario it achieves up to 7 times more throughput than the current state-of-the-art CPU decoder and in the online streaming scenario, it achieves nearly 8 times lower latency, with same or better word error rate.

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

↑