Improving the Intent Classification accuracy in Noisy Environment

Mohamed Nabih Ali, Alessio Brutti, Daniele FalavignaarXiv 2023 · arXiv

TL;DR

This paper presents an end-to-end (E2E) pipeline that combines a time-domain speech enhancement front-end (Wave-U-Net) with a compact, high-performance intent classifier. The researchers demonstrate that applying speech enhancement significantly boosts intent classification accuracy in noisy environments, particularly when the classification model is trained directly on the enhanced signals.

What Problem Does This Paper Address?

Spoken Language Understanding (SLU) systems, like those powering smart home assistants, rely on Intent Classification (IC) to map spoken commands (e.g., "turn up the heat") to specific actions. Traditionally, this was done by first converting speech to text via Automatic Speech Recognition (ASR) and then processing the text. However, ASR errors—especially in noisy environments—propagate through the system, degrading performance.

While modern E2E neural models bypass ASR to map speech directly to intents, they still struggle when background noise (like a vacuum or airport chatter) is present. The authors tackle the challenge of making these E2E systems robust in real-world, noisy scenarios without relying on massive, hard-to-collect noisy datasets for every possible environment.

Methods

The authors propose a modular two-stage pipeline:

  1. Speech Enhancement (Front-end): They utilize Wave-U-Net, a time-domain model that operates directly on raw waveforms. Unlike traditional methods that use the Short-Time Fourier Transform (STFT) and often struggle with non-stationary noise or phase distortion, Wave-U-Net uses a series of 1-D convolutional downsampling and upsampling blocks with skip connections to map noisy signals to clean versions.
  2. Intent Classification (Back-end): The classifier is based on the Conv-TasNet architecture, originally designed for audio separation. It processes 40-Mel filter bank features through a normalization layer and a series of 1-D dilated convolutional residual blocks. This architecture is notably efficient and small in size while maintaining state-of-the-art performance.

The proposed system architecture is visualized in Figure 1: Figure 1: The proposed system of Speech Enhancement and Intent Classification

Figure 1: The proposed system of Speech Enhancement and Intent Classification

The study explores several training strategies, comparing models trained on clean speech, noisy speech, and speech processed by the enhancement front-end.

Datasets

  • Fluent Speech Commands (FSC): A dataset of 30,043 English utterances across 31 intents (e.g., action: "increase", object: "heat", location: "kitchen").
  • MS-SNSD (Microsoft Scalable Noisy Speech Dataset): Used to create a noisy version of FSC. The authors superimposed 8 types of noise (Air conditioner, Airport, Cafeteria, etc.) at varying Signal-to-Noise Ratios (SNRs) ranging from -20dB to 20dB.

Key Insights and Ideas

  • Artifact Tolerance: In ASR, the "artifacts" (distortions) introduced by speech enhancement can often hurt word error rates. However, the authors hypothesize that for Intent Classification, these artifacts are less relevant because the system only needs to capture the overall semantic meaning, not every individual word perfectly.
  • The Power of Matched Training: The best results occur when the classifier is trained on the output of the enhancement front-end. This "matched" condition helps the classifier learn to ignore the specific types of distortions the Wave-U-Net might introduce.
  • SNR Shifting: The enhancement front-end effectively shifts the SNR distribution toward positive values. As shown in Figure 2, the frequency-weighted segmental SNR (fwSNRseg) is significantly improved, avoiding the negative values that typically cause classification models to fail.
Figure 2: fwSNRseg distribution before and after applying the speech enhancement front-end.

Key Results

The experimental results, summarized in Table 2 (Figure 3), highlight the impact of the enhancement stage:

  • Baseline Performance: A model trained and tested on clean data achieves 98.7% accuracy.
  • The Noise Gap: When that same clean model is tested on noisy data, accuracy plummets to 54.3%.
  • Enhancement Boost: Simply adding the enhancement front-end to the clean model improves noisy test accuracy to 71.2%.
  • Optimal Strategy: Training the classifier on enhanced data and testing on enhanced data yields the best robust performance at 74.8%.
Table 2: Intent classification accuracy on FSC trained and eval- uated on different versions of FSC dataset

While training on raw noisy data also helps (reaching 70.9%), the enhancement-based approach provides a superior and more modular solution for handling diverse noise conditions.

Limitations and Future Work

The authors acknowledge that while the gain from training on enhanced data is clear, the improvement over training on raw noisy data is somewhat limited, suggesting that enhancing the entire training set is computationally expensive for the marginal gain.

Future directions include: * Testing the pipeline on more complex SLU datasets like ATIS or SLURP. * Exploring joint training, where the speech enhancement and intent classification modules are optimized together, allowing the classification performance to directly guide the enhancement process. * Evaluating other front-end architectures, such as Conv-TasNet, for the enhancement task itself.

Summary updated

Abstract

Intent classification is a fundamental task in the spoken language understanding field that has recently gained the attention of the scientific community, mainly because of the feasibility of approaching it with end-to-end neural models. In this way, avoiding using intermediate steps, i.e. automatic speech recognition, is possible, thus the propagation of errors due to background noise, spontaneous speech, speaking styles of users, etc. Towards the development of solutions applicable in real scenarios, it is interesting to investigate how environmental noise and related noise reduction techniques to address the intent classification task with end-to-end neural models. In this paper, we experiment with a noisy version of the fluent speech command data set, combining the intent classifier with a time-domain speech enhancement solution based on Wave-U-Net and considering different training strategies. Experimental results reveal that, for this task, the use of speech enhancement greatly improves the classification accuracy in noisy conditions, in particular when the classification model is trained on enhanced signals.
BibTeX
@misc{ali2023improving,
  author = {Mohamed Nabih Ali and Alessio Brutti and Daniele Falavigna},
  title = {{Improving the Intent Classification accuracy in Noisy Environment}},
  year = {2023},
  eprint = {2303.06585},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.06585},
}

Loading related content...

Figure