Neural Architecture Search for LF-MMI Trained Time Delay Neural Networks

Shoukang Hu, Xurong Xie, Mingyu Cui, Jiajun Deng, Shansong Liu, Jianwei Yu, Mengzhe Geng, Xunying Liu, Helen MengIEEE/ACM Trans. ASLP 2022 · DOI

Modern Automatic Speech Recognition (ASR) systems rely on complex Deep Neural Networks (DNNs) to achieve high accuracy. However, designing these networks—specifically determining the optimal temporal context (splicing) and layer widths—has traditionally been a manual, labor-intensive process requiring significant expert intuition. This research, published in IEEE/ACM Transactions on Audio, Speech, and Language Processing, presents a robust framework for automating this design process using Differentiable Architecture Search (NAS) for Factored Time Delay Neural Networks (TDNN-Fs).

The Challenge of Manual ASR Design

In hybrid HMM-DNN systems, the TDNN-F architecture is a popular choice due to its efficiency. It uses matrix factorization to reduce parameter counts while maintaining performance. Despite its efficiency, the "splicing context" (how many past and future audio frames a layer should observe) and the "bottleneck dimensionality" (the width of the linear projection) are typically hand-tuned. Previous attempts to apply NAS to ASR were often computationally prohibitive or struggled with the sequence-level criteria used in speech, such as Lattice-Free Maximum Mutual Information (LF-MMI).

Differentiable Architecture Search (DARTS) for ASR

To address these challenges, the authors employed several variants of Differentiable Architecture Search (DARTS). The core idea of DARTS is to relax the discrete search space into a continuous one, allowing the architecture to be optimized via gradient descent alongside the model weights.

Comparison of Softmax and Gumbel-Softmax DARTS. Gumbel-Softmax uses a temperature parameter to force architecture weights toward a discrete one-hot distribution.

As shown in Figure 1, the standard Softmax DARTS often results in a "blurred" distribution of architecture weights (e.g., $\lambda^l = [0.3, 0.4, 0.3]$), which can lead to ambiguity when deriving the final discrete architecture. To mitigate this, the researchers utilized Gumbel-Softmax DARTS, which incorporates a "sharpening" technique. By driving the temperature $T \to 0$, the distribution is forced toward a "one-hot" state (e.g., $\lambda^l = [0, 1, 0]$), significantly reducing uncertainty during the search process.

Optimizing the TDNN-F Search Space

The search space focused on two critical hyperparameters of the TDNN-F: temporal context offsets and bottleneck dimensionality. The researchers trained a single "super-network" containing all possible configurations, using parameter sharing to speed up the search.

The search space for TDNN-F layers. The model learns to select optimal temporal context offsets and bottleneck widths using binary indicators during the DARTS process.

Figure 6 illustrates how the NAS process selects paths within a layer. By applying binary indicators (1/0) to different temporal offsets and linear layer widths, the DARTS algorithm can effectively "prune" redundant connections. This automated approach often discovers non-intuitive temporal patterns that outperform human-designed baselines.

Key Results and Performance

The NAS-configured systems were evaluated on the Switchboard (SWBD) 300-hour corpus and the UASpeech dataset of dysarthric speech. The results demonstrate significant gains in both accuracy and efficiency:

  • Accuracy Improvements: The NAS models achieved absolute Word Error Rate (WER) reductions of up to 1.2% on Switchboard compared to standard Kaldi baselines.
  • Model Compression: The search process reduced model size by 31% relative to manual baselines. When compared to massive End-to-End (E2E) transformer models, the NAS-configured TDNN-F achieved competitive accuracy with a staggering 96% reduction in parameters.
  • Search Efficiency: The entire search over a space of $7^{28}$ candidate systems was completed in approximately 6.6 GPU days, a massive improvement over evolutionary NAS methods that can take weeks.
  • Generalization: On the challenging UASpeech task, the method provided a 1.0% absolute WER reduction and a 33% reduction in model size, proving its effectiveness for non-standard speech.

Conclusion

This research provides a powerful blueprint for using differentiable NAS to optimize ASR models. By moving away from expert-driven design toward data-driven architectural optimization, the authors have shown that it is possible to create smaller, faster, and more accurate speech recognition systems that are suitable for practical, real-world deployment.

Summary updated

BibTeX
@article{hu2022neural,
  author = {Shoukang Hu and Xurong Xie and Mingyu Cui and Jiajun Deng and Shansong Liu and Jianwei Yu and Mengzhe Geng and Xunying Liu and Helen Meng},
  title = {{Neural Architecture Search for LF-MMI Trained Time Delay Neural Networks}},
  journal = {IEEE ACM Trans. Audio Speech Lang. Process.},
  year = {2022},
  doi = {10.1109/taslp.2022.3153253},
}
Figure