Towards Structured Deep Neural Network for Automatic Speech Recognition

Yi-Hsiu Liao, Hung-yi Lee, Lin-shan Lee

This paper from National Taiwan University explores a novel intersection of deep learning and structured prediction for Automatic Speech Recognition (ASR). By moving beyond traditional frame-level training, the authors propose a framework that optimizes for the entire utterance globally.

TL;DR

The authors introduce the Structured Deep Neural Network (sDNN), a framework that combines the non-linear modeling power of deep learning with the global sequence-level optimization of structured learning. By training on entire utterances rather than individual frames, their "Full-scale" sDNN achieves a 5.5% relative improvement in Phoneme Error Rate (PER) over state-of-the-art baselines on the TIMIT dataset.

What Problem Does This Paper Address?

Traditional ASR systems often rely on a hybrid DNN-HMM approach. While powerful, these systems typically train the DNN acoustic model on a frame-by-frame basis using cross-entropy loss. This ignores the global "structure" of the speech—the fact that an utterance is a continuous sequence where phoneme transitions and overall context matter.

Previous attempts to solve this used Structured Learning (like Structured SVMs or CRFs), which look at the mapping between an entire acoustic sequence and a label sequence. However, these methods are largely linear, making them ill-suited for the highly complex, non-linear nature of raw speech signals. The authors aim to bridge this gap by creating a deep, non-linear version of structured learning.

Methods

The core of the approach is the Structured DNN (sDNN). Unlike a standard DNN that classifies a single frame, the sDNN takes a structured feature vector $\Psi(x, y)$ representing an entire utterance $x$ and a candidate label sequence $y$.

The concept of Structured SVM and Structured DNN

1. The Structured Feature Vector

To make the utterance manageable for a network, the authors encode it into a vector $\Psi(x, y)$ that mimics the parameters of an HMM. It concatenates:

  • The sum of acoustic vectors for each phoneme (representing observation probabilities).
  • The counts of transitions between phonemes (representing transition probabilities).

2. Learning and Loss Functions

The sDNN learns a scoring function $F(x, y; \theta)$ that assigns a high value to correct label sequences. The authors tested two loss functions:

  • Approx. Ph. Acc: Minimizing the mean square error between the network's output and the actual phoneme accuracy.
  • Max. Margin: Inspired by SVMs, this loss forces the score of the correct sequence to be higher than all incorrect sequences by a specific margin (the phoneme error rate).
Fig. 2: We need to maximize the margin between the correct label sequence (yi) and all the other incorrect label sequences (in blue color).

3. Full-Scale Structured DNN (FSDNN)

The authors further propose FSDNN, where the front-end feature extraction DNN and the back-end structured DNN are trained jointly. This allows errors to propagate back through the entire pipeline, optimizing the features specifically for global sequence recognition.

Datasets

The models were evaluated on the TIMIT acoustic-phonetic continuous speech corpus.

  • Training: Standard training set (excluding dialect sentences), mapped to 48 phonemes.
  • Testing: Core testing set (24 speakers), mapped to 39 phonemes for evaluation.
  • Baseline: A state-of-the-art Kaldi-based system using sMBR (State-level Minimum Bayes Risk) training.

Key Insights and Ideas

  • Global Optimization Matters: Training to distinguish between entire sequences is more effective than frame-level classification. The sDNN learns "substantial information" that frame-level DNNs miss.
  • Margin > Accuracy: The Max Margin loss significantly outperformed the Accuracy Approximation loss. The authors suggest this is because the margin loss focuses on the difference between correct and incorrect sequences, making it more robust when dealing with the vast space of possible incorrect sequences.
  • Better Calibration: As shown in Figure 4, the FSDNN scores correlate much more strongly with actual phoneme accuracy compared to standard baseline scores. In the baseline, the highest-scoring path wasn't always the most accurate; in FSDNN, it usually was.
Correlation between FSDNN score and Phoneme Accuracy

Key Results

The proposed FSDNN outperformed both the linear Structured SVM and the strong Kaldi baseline:

Method Phoneme Error Rate (PER)
Structured SVM 24.32%
Baseline (Kaldi sMBR) 18.90%
Structured DNN (Max Margin) 17.95%
Full-scale Structured DNN (FSDNN) 17.78%

The FSDNN achieved a 5.5% relative improvement over the baseline.

Limitations and Future Work

  • Simplified HMM Structure: The current work uses a simplified HMM with only one state per phoneme. Standard ASR systems typically use three states per phoneme to better model temporal dynamics.
  • Lattice Dependency: During inference, the system searches through a pre-generated lattice of possible sequences. This means the performance is inherently bounded by the quality of the initial lattice generation.
  • Computational Complexity: Training on entire utterances is computationally expensive. The authors had to limit the number of negative examples used during training due to time constraints.
  • Future Directions: The authors plan to extend the model to support multiple states per phoneme and explore more efficient ways to traverse the massive space of possible label sequences.

Summary updated

BibTeX
@inproceedings{liao2015towards,
  author = {Yi-Hsiu Liao and Hung-yi Lee and Lin-shan Lee},
  title = {{Towards Structured Deep Neural Network for Automatic Speech Recognition}},
  booktitle = {ASRU},
  year = {2015},
  url = {https://openreview.net/forum?id=RHtTpei8ghf},
}
Figure