Skip to main content
QUICK REVIEW

[Paper Review] Handling the Alignment for Wake Word Detection: A Comparison Between Alignment-Based, Alignment-Free and Hybrid Approaches

Vinícius Gadis Ribeiro, Yiteng Huang|arXiv (Cornell University)|Feb 17, 2023
Topic ModelingComputer Science4 citations
TL;DR

This paper compares alignment-based, alignment-free, and hybrid approaches for wake word detection using cross-entropy, CTC loss, and a two-stage training method combining aligned and unaligned data. The hybrid approach with a 50/50 data ratio outperforms both individual methods, especially at low False Accept rates, challenging the assumption that alignment-based training is a performance upper bound.

ABSTRACT

Wake word detection exists in most intelligent homes and portable devices. It offers these devices the ability to "wake up" when summoned at a low cost of power and computing. This paper focuses on understanding alignment's role in developing a wake-word system that answers a generic phrase. We discuss three approaches. The first is alignment-based, where the model is trained with frame-wise cross-entropy. The second is alignment-free, where the model is trained with CTC. The third, proposed by us, is a hybrid solution in which the model is trained with a small set of aligned data and then tuned with a sizeable unaligned dataset. We compare the three approaches and evaluate the impact of the different aligned-to-unaligned ratios for hybrid training. Our results show that the alignment-free system performs better than the alignment-based for the target operating point, and with a small fraction of the data (20%), we can train a model that complies with our initial constraints.

Motivation & Objective

  • To evaluate and compare alignment-based, alignment-free, and hybrid approaches for wake word detection under identical conditions.
  • To determine whether alignment-based training represents a performance upper bound and alignment-free a lower bound.
  • To investigate the impact of varying aligned-to-unaligned data ratios in hybrid training.
  • To assess the feasibility of using limited aligned data to improve performance when combined with large unaligned datasets.
  • To provide practical guidance on data collection needs for wake word detection systems with minimal labeled data.

Proposed method

  • Trained a wake word detection model on 274,194 utterances (523 hours) with 4,274 unique speakers.
  • Used cross-entropy loss for alignment-based training on a small subset of aligned data.
  • Used CTC loss for alignment-free training on a large unaligned dataset.
  • Proposed a hybrid training method: first fine-tune with aligned data using cross-entropy, then continue training with unaligned data using CTC loss.
  • Evaluated performance across different aligned-to-unaligned data ratios (1/99, 10/90, 20/80, 50/50).
  • Measured performance using False Accept rate (FAh) and False Reject rate, focusing on trade-offs at different operating points.
Figure 1 : DET curves for the pairs A01-B99 , A10-B90 , A20-B80 , and A50-B50 , for the alignment-based, alignment-free, and hybrid alignment settings.
Figure 1 : DET curves for the pairs A01-B99 , A10-B90 , A20-B80 , and A50-B50 , for the alignment-based, alignment-free, and hybrid alignment settings.

Experimental results

Research questions

  • RQ1Does alignment-based training with a small aligned dataset represent a performance upper bound?
  • RQ2Does alignment-free training with a large unaligned dataset represent a performance lower bound?
  • RQ3Can combining a small amount of aligned data with a large unaligned dataset improve performance beyond either method alone?
  • RQ4How does the ratio of aligned to unaligned data affect the performance of the hybrid training approach?
  • RQ5Does the hybrid model achieve better generalization, especially at low FAh levels?

Key findings

  • The alignment-free system outperformed the alignment-based system at low False Accept rates (FAh), contradicting the initial hypothesis that alignment-based training is optimal.
  • With only 20% of the data (aligned), the alignment-free model achieved reasonable performance, demonstrating data efficiency.
  • The hybrid model with a 50/50 aligned-to-unaligned ratio achieved the best overall performance, combining the strengths of both approaches.
  • At low FAh levels, the hybrid model performed similarly to the alignment-free system, but at higher FAh levels, it approached the performance of the alignment-based model.
  • The hybrid model showed a unique behavior: it converged toward the alignment-free system for low ratios (1/99, 10/90, 20/80), but only at 50/50 did it surpass both in performance.
  • The CTC-based system triggered faster than the cross-entropy system, as indicated by decoder scores showing a step-function behavior, though standard deviations suggest this is not a consistent rule.
Figure 2 : Decoder scores of one positive utterance for the CE-A20 , CE-B80 , CTC-A20 , and CTC-B80 models.
Figure 2 : Decoder scores of one positive utterance for the CE-A20 , CE-B80 , CTC-A20 , and CTC-B80 models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.