Kernel Approximation Methods for Speech Recognition.

Avner May, Alireza Bagheri Garakani, Zhiyun Lu, Dong Guo, Kuan Liu, Aurélien Bellet, Linxi Fan, Michael Collins, Daniel J. Hsu, Brian Kingsbury, Michael Picheny, Fei Sha

TL;DR

Large-scale kernel methods can finally go head-to-head with Deep Neural Networks (DNNs) in speech recognition. By combining random Fourier features with novel feature selection, linear bottlenecks, and alternative early-stopping metrics, kernel acoustic models achieve performance comparable to—and sometimes better than—DNNs on benchmark datasets.

What Problem Does This Paper Address?

In Automatic Speech Recognition (ASR), acoustic models are responsible for predicting phonetic states from audio frames. Deep Neural Networks (DNNs) are the undisputed kings of this domain because they scale beautifully with millions of training samples.

Kernel methods offer an attractive alternative due to their powerful non-linear modeling capabilities and strong theoretical guarantees. However, they traditionally suffer from a massive scalability bottleneck: computing the kernel matrix scales quadratically ($O(N^2)$) with the number of samples, making them computationally intractable for large-scale speech tasks. This paper addresses how to efficiently scale kernel methods to large ASR datasets and investigates whether they can genuinely challenge dominant DNN architectures.

Methods

The authors bridge the scalability gap using Random Fourier Features (RFF), a technique that maps input features into a randomized, finite-dimensional space where a linear model can approximate a non-linear kernel. This effectively reframes the kernel model as a shallow neural network with fixed random weights and a cosine activation function.

To make this approach competitive with deep networks, the authors introduce three key enhancements:

  1. Iterative Random Feature Selection: Instead of training on a massive, unmanageable pool of random features, they iteratively generate features, train via Stochastic Gradient Descent (SGD), and retain only the features with the largest weight magnitudes ($\ell_2$ norm). This drastically reduces model size and training time.
  2. New Early Stopping Criteria: Standard cross-entropy training loss doesn't always correlate well with the ultimate goal of ASR: minimizing the Token Error Rate (TER). The authors introduce alternative validation metrics, such as Entropy Regularized Log Loss (ERLL), which penalize highly incorrect predictions less severely and mirror final decoding performance much more accurately.
  3. Linear Bottlenecks: They apply a low-rank factorization to the output weight matrix, significantly reducing the parameter footprint and accelerating training.
Figure 1: Kernel-acoustic model seen as a shallow neural network

Datasets

The methods were evaluated on four diverse speech recognition benchmarks containing between 2 million and 16 million acoustic frames:

  • TIMIT: A standard clean, phone-level benchmark.
  • Broadcast News (BN-50): A 50-hour subset of multi-speaker news audio.
  • IARPA Babel Cantonese & Bengali (limited language packs): Challenging conversational telephone speech characterized by high environmental noise, mispronunciations, and channel variability.

Key Insights and Ideas

  • Shallow vs. Deep: Because kernel methods can be viewed as shallow networks with a single randomized hidden layer, showing they can match DNNs adds weight to the argument that shallow architectures can perform on par with deep ones if properly optimized.
  • The Cross-Entropy Misalignment: Lower cross-entropy on a validation set does not guarantee a lower error rate in final speech decoding. By switching the early stopping metric to ERLL, the training process is guided by a proxy that actually mirrors final word and phone error rates.
  • Feature Selection as Kernel Design: Applying feature selection to RFFs derived from a Cauchy distribution (Laplacian kernel) implicitly discovers sparse, non-linear interactions among the original input features. This insight motivated the design of a highly effective "Sparse Gaussian" kernel that performed best across the majority of settings.

Key Results

  • Head-to-Head with DNNs: Across all four datasets, the optimized kernel models achieved performance remarkably close to strong 4-layer DNN baselines.
  • Test Set Wins: On the Cantonese and TIMIT test sets, the kernel models actually outperformed the DNN baselines by 0.5% and 0.1% absolute Token Error Rate (TER), respectively.
  • DNN Edge: On Bengali and Broadcast News, DNNs maintained a slight edge, outperforming kernels by 0.1% and 0.2% TER, respectively.
  • TIMIT Benchmark: The kernel model achieved a phone error rate of 20.4% on the TIMIT test set, outperforming previous kernel baselines in literature (21.3%).

Limitations and Future Work

  • Loss of Convexity: Introducing a linear bottleneck makes the optimization problem non-convex, sacrificing one of the primary theoretical advantages of kernel methods (guaranteed global convergence).
  • Sequence Training: This work focuses entirely on frame-level training. Modern state-of-the-art ASR relies heavily on sequence-discriminative training (such as MMI or MPE). It remains an open question how much kernel methods will benefit from these advanced sequence techniques compared to DNNs.
  • Extreme Scalability: While successfully scaled up to 50 hours of audio, it remains to be seen if these kernel approximations can handle industrial-scale datasets consisting of thousands of hours of data.

Summary updated

BibTeX
@misc{may2017kernel,
  author = {Avner May and Alireza Bagheri Garakani and Zhiyun Lu and Dong Guo and Kuan Liu and Aurélien Bellet and Linxi Fan and Michael Collins and Daniel J. Hsu and Brian Kingsbury and Michael Picheny and Fei Sha},
  title = {{Kernel Approximation Methods for Speech Recognition.}},
  year = {2017},
  eprint = {1701.03577},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1701.03577},
}
Figure