ESPnet-SLU: Advancing Spoken Language Understanding Through ESPnet

Siddhant Arora, Siddharth Dalmia, Pavel Denisov, Xuankai Chang, Yushi Ueda, Yifan Peng, Yuekai Zhang, Sujay Kumar, Karthik Ganesan, Brian Yan, Ngoc Thang Vu, Alan W. Black, Shinji Watanabe · DOI

TL;DR

This paper introduces ESPnet-SLU, a new open-source toolkit designed to streamline research and development in Spoken Language Understanding (SLU). By building upon the established ESPnet framework, ESPnet-SLU offers standardized recipes for various SLU benchmarks, enabling researchers to easily experiment with different end-to-end models, pretrained components, and even pipeline approaches, achieving state-of-the-art or competitive performance across diverse tasks and languages.

What Problem Does This Paper Address?

As Automatic Speech Recognition (ASR) systems become increasingly sophisticated, the focus is shifting towards leveraging their outputs for downstream Natural Language Processing (NLP) tasks, particularly Spoken Language Understanding (SLU). SLU aims to extract semantic meaning from spoken utterances, powering voice assistants, chatbots, and other interactive systems. However, the SLU research landscape has been fragmented, with a lack of standardized, reproducible open-source toolkits. This makes it challenging for researchers to compare different methodologies, build upon existing work, and achieve consistent results across various SLU benchmarks. The paper addresses this gap by providing a unified, end-to-end framework that simplifies the entire SLU pipeline, from data preparation to model training and evaluation.

Methods

ESPnet-SLU is built upon the existing ESPnet toolkit, which is a comprehensive framework for various speech processing tasks like ASR, Text-to-Speech (TTS), and Speech Translation (ST). The key methodological contributions of ESPnet-SLU include:

  • Standardized Recipes: The toolkit provides pre-configured "recipes" for a wide range of SLU benchmarks, covering intent classification, slot filling, emotion recognition, and dialogue act classification. These recipes facilitate reproducible experiments and allow for easy comparison of different approaches.
  • End-to-End (E2E) SLU Focus: While traditional SLU systems use a pipeline of separate ASR and NLU modules, ESPnet-SLU emphasizes E2E approaches. These models can capture nuances in speech that text-based systems miss and are particularly beneficial for low-resource languages.
  • Modular Design and Pretrained Components: ESPnet-SLU seamlessly integrates with ESPnet's existing capabilities, allowing researchers to leverage pretrained ASR models (e.g., HUBERT, Wav2vec2) and NLU models (e.g., BERT, MPNet) as feature extractors. This significantly boosts performance, especially in low-resource scenarios.
  • Pipeline Integration: The toolkit also supports a pipeline approach, enabling users to combine various speech processing tasks (like speech enhancement) before the SLU module, mimicking real-world scenarios.
  • Multilingual Support: ESPnet-SLU includes recipes for SLU tasks in languages beyond English, such as Dutch, Tamil, Sinhala, and Mandarin, promoting broader accessibility.

Datasets

ESPnet-SLU was evaluated on a variety of SLU datasets, including:

  • Fluent Speech Commands (FSC) [3]: A mid-resource dataset for intent classification.
  • Snips SmartLight (Snips) [13]: Another mid-resource dataset for intent classification.
  • SLURP [4]: A high-resource dataset for intent classification and slot filling.
  • Grabo [12]: A low-resource dataset for intent classification in Dutch.
  • CAT-SLU MAP [27]: A dataset for intent classification in Mandarin.
  • Speech Commands [44]: A dataset for limited-domain ASR, used here for intent classification.
  • Harper Valley Bank [41]: A corpus for spoken dialogue between an agent and a customer.
  • IEMOCAP [6]: A dataset for emotion recognition.
  • Switchboard (SWB) [7]: A corpus for dialogue act classification.

The paper also mentions the use of synthetic data for SLURP.

Key Insights and Ideas

  • Unified Framework Advantage: The core insight is that a single, unified toolkit like ESPnet-SLU can significantly accelerate SLU research by standardizing experiments and facilitating the integration of diverse components.
  • Pretrained Models are Crucial: Leveraging pretrained ASR and NLU models as feature extractors is a highly effective strategy, particularly for mid-resource and low-resource scenarios, often leading to state-of-the-art performance.
  • E2E Models Offer Benefits: End-to-end models can capture richer semantic information and are more robust in challenging acoustic conditions compared to traditional pipeline approaches.
  • Pipeline Approaches Still Relevant: For real-world applications, integrating speech enhancement or other front-end processing steps before SLU can significantly improve robustness, as demonstrated in noisy speech scenarios.
  • Multilingual SLU is Achievable: The toolkit's support for non-English languages highlights the growing importance and feasibility of multilingual SLU research.

Key Results

ESPnet-SLU demonstrated competitive and often state-of-the-art performance across various benchmarks:

  • Intent Classification: Achieved 98.9% accuracy on FSC with SpecAug and pretrained HUBERT, outperforming previous results. On SLURP, it achieved 86.3% accuracy with pretrained HUBERT and synthetic data.
  • Slot Filling: Outperformed the previous best SLU-F1 score on the SLURP dataset.
  • Emotion Recognition: Achieved 70.0% accuracy on IEMOCAP using a pretrained HUBERT model.
  • Dialogue Act Classification: Reached 67.5% accuracy on the SWB dataset with context and pretrained HUBERT.
  • Noisy Speech: Demonstrated that speech enhancement significantly mitigates performance degradation in noisy conditions, with intent classification accuracy improving from around 50% to over 70% at low SNRs.

Limitations and Future Work

  • Limitations: The paper notes that pretrained ASR systems did not always improve performance on larger, more linguistically diverse datasets like SLURP. Similarly, integrating pretrained NLU models as post-encoders did not consistently yield performance gains in all tested scenarios.
  • Future Work: The authors plan to expand ESPnet-SLU by supporting more SLU corpora and implementing additional SLU systems, such as multi-task learning for NLU, to further advance the field. They also aim to continue improving the modularity and accessibility of the toolkit.

Summary updated

BibTeX
@inproceedings{arora2021espnet,
  author = {Siddhant Arora and Siddharth Dalmia and Pavel Denisov and Xuankai Chang and Yushi Ueda and Yifan Peng and Yuekai Zhang and Sujay Kumar and Karthik Ganesan and Brian Yan and Ngoc Thang Vu and Alan W. Black and Shinji Watanabe},
  title = {{ESPnet-SLU: Advancing Spoken Language Understanding Through ESPnet}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2021},
  doi = {10.1109/icassp43922.2022.9747674},
}
Figure