Trace norm regularization and faster inference for embedded speech recognition RNNs
This work addresses efficiency challenges for embedded speech recognition systems, offering incremental improvements in compression and inference speed.
The authors tackled the problem of compressing and speeding up dense matrix multiplications in neural networks for embedded large vocabulary continuous speech recognition (LVCSR), achieving 3x to 7x speedups over existing libraries on ARM processors through optimized kernels.
We propose and evaluate new techniques for compressing and speeding up dense matrix multiplications as found in the fully connected and recurrent layers of neural networks for embedded large vocabulary continuous speech recognition (LVCSR). For compression, we introduce and study a trace norm regularization technique for training low rank factored versions of matrix multiplications. Compared to standard low rank training, we show that our method leads to good accuracy versus number of parameter trade-offs and can be used to speed up training of large models. For speedup, we enable faster inference on ARM processors through new open sourced kernels optimized for small batch sizes, resulting in 3x to 7x speed ups over the widely used gemmlowp library. Beyond LVCSR, we expect our techniques and kernels to be more generally applicable to embedded neural networks with large fully connected or recurrent layers.