arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1811.04568cs.SDcs.CLeess.ASstat.ML
收藏

基于编码器/解码器的语音识别中用于更快束搜索的假设和语音的矢量化

Vectorization of hypotheses and speech for faster beam search in encoder decoder-based speech recognition

Toyohashi University of Technology(丰桥技术科学大学);Mitsubishi Electric Research Laboratories (MERL)(三菱电机研究实验室(MERL));Johns Hopkins University(约翰斯·霍普金斯大学)

Hiroshi Seki, Takaaki Hori, Shinji Watanabe

摘要:

基于注意的编码器解码器网络在推理步骤中使用从左到右的束搜索算法。当前束搜索扩展假设并在下一个时间步长遍历扩展的假设。这种遍历通常使用for循环程序来实现,并且它导致识别过程的速度降低。在本文中,我们提出了一种并行技术的束搜索,加速搜索过程中,通过向量化多个假设,以消除for循环程序。我们还提出了一种技术,批量多个语音发音离线识别使用,这减少了循环程序方面的遍历多个发音。与训练期间不同,由于用于高效解码的若干修剪和阈值化技术,该扩展在束搜索期间不是微不足道的。此外,我们的方法可以结合外部模块,RNNLM和CTC的分数,在一个批作为浅融合。通过矢量化假设,与原束搜索算法相比,实现了3.7倍的加速比;通过进一步将处理单元改为GPU,实现了10.5倍的加速比。

英文摘要:

Attention-based encoder decoder network uses a left-to-right beam search algorithm in the inference step. The current beam search expands hypotheses and traverses the expanded hypotheses at the next time step. This traversal is implemented using a for-loop program in general, and it leads to speed down of the recognition process. In this paper, we propose a parallelism technique for beam search, which accelerates the search process by vectorizing multiple hypotheses to eliminate the for-loop program. We also propose a technique to batch multiple speech utterances for off-line recognition use, which reduces the for-loop program with regard to the traverse of multiple utterances. This extension is not trivial during beam search unlike during training due to several pruning and thresholding techniques for efficient decoding. In addition, our method can combine scores of external modules, RNNLM and CTC, in a batch as shallow fusion. We achieved 3.7 x speedup compared with the original beam search algorithm by vectoring hypotheses, and achieved 10.5 x speedup by further changing processing unit to GPU.

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

↑