arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1905.03175eess.SPcs.LG
收藏

一种面向硬件的节省存储器的CTC译码方法

A Hardware-Oriented and Memory-Efficient Method for CTC Decoding

Nanjing University(南京大学)

Siyuan Lu, Jinming Lu, Jun Lin, Zhongfeng Wang

摘要:

连接主义时态分类(CTC)在序列到序列分析任务中取得了巨大的成功,例如自动语音识别(ASR)和场景文本识别(STR)。这些应用可以使用CTC目标函数来训练递归神经网络(RNN),并在推理期间解码RNN的输出。虽然已经研究了用于RNN的硬件架构,但是基于硬件的CTC解码器对于高速基于CTC的推理系统是期望的。本文首次提出了一种低复杂度、低内存占用的基于波束搜索译码的CTC译码器。首先,我们改进了波束搜索译码算法,以节省存储空间。其次,我们压缩字典(从26.02MB减少到1.12MB),并使用它作为语言模型。与此同时,搜索这本字典是微不足道的。最后,用C++语言实现了一个英语自动语音识别和一个STR任务的定点CTC解码器。结果表明,该方法与浮点算法相比,精度损失很小。实验结果表明,所提出的波束搜索解码算法所需的存储压缩比分别为29.49(ASR)和17.95(STR)。

英文摘要:

The Connectionist Temporal Classification (CTC) has achieved great success in sequence to sequence analysis tasks such as automatic speech recognition (ASR) and scene text recognition (STR). These applications can use the CTC objective function to train the recurrent neural networks (RNNs), and decode the outputs of RNNs during inference. While hardware architectures for RNNs have been studied, hardware-based CTCdecoders are desired for high-speed CTC-based inference systems. This paper, for the first time, provides a low-complexity and memory-efficient approach to build a CTC-decoder based on the beam search decoding. Firstly, we improve the beam search decoding algorithm to save the storage space. Secondly, we compress a dictionary (reduced from 26.02MB to 1.12MB) and use it as the language model. Meanwhile searching this dictionary is trivial. Finally, a fixed-point CTC-decoder for an English ASR and an STR task using the proposed method is implemented with C++ language. It is shown that the proposed method has little precision loss compared with its floating-point counterpart. Our experiments demonstrate the compression ratio of the storage required by the proposed beam search decoding algorithm are 29.49 (ASR) and 17.95 (STR).

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

↑