Speech Enhancement for Wake-Up-Word detection in Voice Assistants

David Bonet, Guillermo Cámbara, Fernando López, Pablo Gómez, Carlos Segura, Jordi Luque, Mireia Farrús

Introduction

Voice assistants such as Alexa, Siri, or Telefónica’s "Aura" rely on robust Wake-Up-Word (WUW) detection to initiate user interaction. However, real-world acoustic environments present significant challenges; background noise from televisions, music, or nearby conversations can mask trigger words (causing misses) or trigger devices accidentally (causing false alarms).

Traditional Speech Enhancement (SE) algorithms typically optimize for perceptual quality—making audio sound better to human ears. Yet, what sounds "clean" to a human is not always optimal for a machine-learning classifier. This research addresses the performance gap by proposing a task-specific enhancement model designed specifically for keyword spotting in noisy conditions.

Proposed Architecture and Methodology

The researchers developed a fully-convolutional denoising auto-encoder that operates directly on raw audio waveforms. The system utilizes a U-Net-style architecture with skip connections to preserve low-level signal details during reconstruction. Between the encoder and decoder, residual blocks (ResBlock1D) are employed to extract deep features while maintaining the signal's integrity.

The JointSE architecture featuring a U-Net denoising auto-encoder and a composite loss function that includes classification feedback.

The Joint Loss Function

The core innovation lies in the training objective. Rather than simply minimizing the difference between noisy and clean audio, the model uses a composite "Joint" loss function:

  1. Waveform Loss ($L_{raw}$): Ensures time-domain alignment with the clean signal.
  2. Spectrogram Loss ($L_{spec}$): Matches the frequency content (Log-Mel Spectrogram) of the clean version.
  3. Classification Loss ($L_{BCE}$): Penalizes the SE model if the enhanced audio leads to an incorrect decision by the WUW classifier.

Training the enhancer and the classifier together from scratch—an approach termed JointSE—was found to yield the most significant performance gains.

Experimental Setup

The study utilized a diverse dataset to ensure real-world applicability:

  • OK Aura Database: ~4,300 samples of the "OK Aura" trigger word.
  • Crowdsourced Data: 1,096 samples including "hard negatives" (e.g., "Hola Laura") to test phonetic discrimination.
  • Common Voice: A 10:1 ratio of non-trigger speech samples to positive samples.
  • Noise & Augmentation: Background noise from the QUT-NOISE database, TV, and music, augmented with Room Impulse Responses (RIR) to simulate various acoustic environments.

Performance Evaluation

The JointSE approach was benchmarked against a baseline (no enhancement) and state-of-the-art (SOTA) models like SEGAN and Denoiser.

Performance comparison showing JointSE outperforming baselines and SOTA denoisers, particularly in very noisy conditions.

Key results include:

  • Superiority in High Noise: In "Very Noisy" conditions (0 to -10 dB SNR), JointSE achieved a Macro F1-score of 0.902, significantly outperforming the baseline (0.869) and SEGAN (0.798).
  • Specific Noise Resilience: The model demonstrated a 11.2% increase in F1-score in loud office environments and a 3.8% increase during background conversations.
  • The "Do No Harm" Principle: Unlike general denoisers that can introduce artifacts, JointSE maintained a high 0.990 F1-score in clean environments, matching the baseline performance.

Conclusion

This research demonstrates that machine-centric speech enhancement, when trained jointly with the target classifier, significantly improves WUW detection in adverse conditions without degrading performance in quiet settings. Future work will focus on optimizing the model for low-power edge devices and exploring the generalizability of the architecture across multiple keywords.

Summary updated

BibTeX
@inproceedings{bonet2021speech,
  author = {David Bonet and Guillermo Cámbara and Fernando López and Pablo Gómez and Carlos Segura and Jordi Luque and Mireia Farrús},
  title = {{Speech Enhancement for Wake-Up-Word detection in Voice Assistants}},
  booktitle = {IberSPEECH},
  year = {2021},
}
Figure