A Correspondence Variational Autoencoder for Unsupervised Acoustic Word Embeddings

Puyuan Peng, Herman Kamper, Karen LivescuarXiv 2020

Abstract: We propose a new unsupervised model for mapping a variable-duration speech segment to a fixed-dimensional representation. The resulting acoustic word embeddings can form the basis of search, discovery, and indexing systems for low- and zero-resource languages. Our model, which we refer to as a maximal sampling correspondence variational autoencoder (MCVAE), is a recurrent neural network (RNN) trained with a novel self-supervised correspondence loss that encourages consistency between embeddings of different instances of the same word. Our training scheme improves on previous correspondence training approaches through the use and comparison of multiple samples from the approximate posterior distribution. In the zero-resource setting, the MCVAE can be trained in an unsupervised way, without any ground-truth word pairs, by using the word-like segments discovered via an unsupervised term discovery system. In both this setting and a semi-supervised low-resource setting (with a limited set of ground-truth word pairs), the MCVAE outperforms previous state-of-the-art models, such as Siamese-, CAE- and VAE-based RNNs.

Introduction

In speech processing, comparing audio segments of varying durations is a fundamental challenge. Acoustic Word Embeddings (AWEs) address this by mapping segments into fixed-dimensional vectors, enabling efficient search and discovery. While supervised AWE models are effective, they rely on large-scale transcriptions, which are unavailable for the majority of the world's languages. This paper introduces the Maximal Sampling Correspondence Variational Autoencoder (MCVAE), a generative approach designed to learn robust representations in zero-resource and low-resource settings.

Methodology

The MCVAE builds upon the Variational Autoencoder (VAE) framework but utilizes a "correspondence" training objective. Unlike a standard VAE that reconstructs an input $x$ from its own latent representation $z$, the MCVAE is trained on pairs of segments $(x_1, x_2)$ that represent the same word. The model attempts to reconstruct $x_2$ using the latent representation derived from $x_1$.

The MCVAE architecture utilizes GRU-based encoders and decoders to map variable-length acoustic segments into a latent space $z$.

Maximal Sampling

The core innovation is the "maximal sampling" strategy. Standard VAEs typically draw a single sample from the latent distribution. However, a single sample may not capture the specific acoustic realization of a different instance of the same word. In the MCVAE, the model draws $K$ independent samples from the latent distribution of $x_1$ and calculates the reconstruction loss based only on the "best" (most likely) sample for $x_2$. This strategy acts as a buffer against acoustic mismatch, such as differences in speaker identity or background noise.

To prevent "posterior collapse"—where the decoder ignores the latent variables—the authors employ KL term annealing and a conditioning scheme where the latent vector is fed into the Recurrent Neural Network (RNN) decoder at every time step.

Experimental Setup

The model was evaluated on two datasets:

  • English: The Buckeye corpus (~6 hours of speech).
  • Xitsonga: The NCHLT corpus (~2.5 hours of speech).

In the zero-resource setting, the authors used an Unsupervised Term Discovery (UTD) system to automatically identify recurring patterns in the audio, creating "noisy" pairs for training without human labels. Performance was measured using Average Precision (AP) in a "same-different" word discrimination task.

Results and Discussion

The MCVAE achieved state-of-the-art results in both unsupervised and semi-supervised settings. On the Buckeye corpus, the MCVAE reached an AP of 39.5%, outperforming the previous state-of-the-art CAE-RNN (35.5%) and, notably, traditional Dynamic Time Warping (DTW) (35.9%). This is a significant milestone, as DTW operates on uncompressed audio sequences, while AWEs use compressed, fixed-size representations.

Comparison of validation AP across different training pair sizes, showing the MCVAE's superior data efficiency compared to SiameseRNN and CAE-RNN baselines.

As shown in the comparative analysis, the MCVAE is particularly robust when training on noisy pairs generated by UTD systems. While discriminative models like Siamese networks perform well with high-quality ground-truth pairs, the generative nature of the MCVAE provides better stability and data efficiency in low-resource scenarios.

Conclusion

The MCVAE provides a powerful framework for unsupervised acoustic representation learning. By combining correspondence training with a maximal sampling strategy, the model achieves superior robustness to acoustic variability. Future work includes testing these embeddings in downstream tasks like query-by-example search and further refining the integration of label information in semi-supervised contexts.

Summary updated

BibTeX
@misc{peng2020correspondence,
  author = {Puyuan Peng and Herman Kamper and Karen Livescu},
  title = {{A Correspondence Variational Autoencoder for Unsupervised Acoustic Word Embeddings}},
  year = {2020},
  eprint = {2012.02221},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.02221},
}
Figure