Accelerating the Training of HTK on GPU with CUDA

Zhihui Du,Xiangyu Li,Ji Wu
DOI: https://doi.org/10.1109/ipdpsw.2012.235
2012-01-01
Abstract:The training procedure of Hidden Markov Model (HMM) based Speech Recognition is often very time consuming because of its high computational complexity. The new parallel hardware like GPU can provide multi-thread processing and very high floating-point capability. We take advantage of GPU to accelerate a popular HMM-based Speech Recognition package - HTK. Based on the sequential code of HTK, we design the "paraTraining", a parallel training model in HTK and develop different optimization methods to improve the performance of HTK on GPU which include unrolling the nested loops and using "reduction add" which can maximize the number of threads per block; using warp mechanism of GPU to reduce synchronizing latency; building different indices of threads to address data efficiently. Experimental results show that about 20+ speedup can be achieved without loss in accuracy. We also discuss the implementation of our method on multi-GPU and got around two times speedup compared with on single-GPU.
What problem does this paper attempt to address?