Skip to main content
QUICK REVIEW

[Paper Review] Learning Acoustic Word Embeddings with Temporal Context for Query-by-Example Speech Search

Yougen Yuan, Cheung-Chi Leung|arXiv (Cornell University)|Jun 10, 2018
Music and Audio ProcessingComputer Science25 references4 citations
TL;DR

This paper proposes learning acoustic word embeddings with temporal context—incorporating surrounding words before and after target words—using a deep CNN trained with triplet loss on fixed-length speech segment pairs. The method improves query-by-example speech search accuracy over frame-level features and eliminates the need for dynamic time warping, reducing runtime computation while achieving up to 11% relative improvement in performance with sufficient training data.

ABSTRACT

We propose to learn acoustic word embeddings with temporal context for query-by-example (QbE) speech search. The temporal context includes the leading and trailing word sequences of a word. We assume that there exist spoken word pairs in the training database. We pad the word pairs with their original temporal context to form fixed-length speech segment pairs. We obtain the acoustic word embeddings through a deep convolutional neural network (CNN) which is trained on the speech segment pairs with a triplet loss. Shifting a fixed-length analysis window through the search content, we obtain a running sequence of embeddings. In this way, searching for the spoken query is equivalent to the matching of acoustic word embeddings. The experiments show that our proposed acoustic word embeddings learned with temporal context are effective in QbE speech search. They outperform the state-of-the-art frame-level feature representations and reduce run-time computation since no dynamic time warping is required in QbE speech search. We also find that it is important to have sufficient speech segment pairs to train the deep CNN for effective acoustic word embeddings.

Motivation & Objective

  • To address the mismatch between training embeddings on isolated words and applying them to continuous speech in query-by-example (QbE) speech search.
  • To improve QbE speech search accuracy by incorporating leading and trailing word sequences as temporal context during embedding learning.
  • To reduce runtime computation by replacing dynamic time warping with vector distance matching on learned acoustic word embeddings.
  • To investigate the impact of training data size on the performance of learned acoustic word embeddings.
  • To evaluate the effectiveness of multilingual background knowledge (e.g., multi-lingual BNFs) in learning robust acoustic word embeddings.

Proposed method

  • The method uses word pairs identified in a target language database and pads each word with its original preceding and following word sequences to form fixed-length speech segment pairs.
  • A deep convolutional neural network (CNN) is trained using triplet loss on these padded speech segment pairs, where each triplet consists of an anchor (target word), a positive (same word), and a negative (different word).
  • Temporal context padding ensures that the learned embeddings reflect natural speech contexts, reducing mismatch between training and inference in continuous search content.
  • During inference, a fixed-length sliding window is applied across the search content to generate a sequence of acoustic word embeddings.
  • Matching between the query and search content is performed by computing cosine distance between the query's embedding and the sequence of embeddings from the search content.
  • The model is trained on large-scale speech segment pairs from the Switchboard corpus, with ablation studies on data quantity and feature types (e.g., multi-lingual BNFs vs. spectral features).

Experimental results

Research questions

  • RQ1Does incorporating temporal context (leading and trailing words) into acoustic word embedding learning improve QbE speech search performance compared to zero padding or isolated word training?
  • RQ2Can acoustic word embeddings trained with temporal context reduce the need for dynamic time warping in QbE speech search while maintaining or improving accuracy?
  • RQ3How does the number of speech segment pairs affect the performance of learned acoustic word embeddings in QbE speech search?
  • RQ4Is multilingual background knowledge (e.g., multi-lingual BNFs) beneficial for learning effective acoustic word embeddings in low-resource settings?
  • RQ5Can acoustic word embeddings outperform state-of-the-art frame-level feature representations in terms of both accuracy and computational efficiency?

Key findings

  • Acoustic word embeddings trained with temporal context padding outperform zero padding by 3% to 11% relative improvement in MAP, P@N, and P@5 when more than 10k speech segment pairs are used.
  • The proposed method achieves a 4% relative improvement in both MAP and P@N over state-of-the-art frame-level feature representations, while eliminating the need for dynamic time warping.
  • Performance improves consistently with increasing numbers of speech segment pairs, and embeddings trained on larger vocabularies (Set 2) outperform those from smaller ones (Set 1) when data exceeds 10k pairs.
  • Acoustic word embeddings based on multi-lingual BNFs outperform those based on spectral features (e.g., MFCCs), indicating that multilingual knowledge enhances embedding quality.
  • The method reduces runtime computation significantly, as matching is done via vector distance instead of computationally heavy dynamic time warping.
  • Sufficient training data—specifically, over 100k speech segment pairs—is critical for effective acoustic word embedding learning, with performance gains observed only beyond this threshold.

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.