Towards Unsupervised Automatic Speech Recognition Trained by Unaligned Speech and Text only

Yi-Chen Chen, Chia-Hao Shen, Sung-Feng Huang, Hung-yi LeearXiv 2018

Abstract

Automatic speech recognition (ASR) has been widely researched with supervised approaches, while many low-resourced languages lack audio-text aligned data, and supervised methods cannot be applied on them. In this work, we propose a framework to achieve unsupervised ASR on a read English speech dataset, where audio and text are unaligned. In the first stage, each word-level audio segment in the utterances is represented by a vector representation extracted by a sequence-of-sequence autoencoder, in which phonetic information and speaker information are disentangled. Secondly, semantic embeddings of audio segments are trained from the vector representations using a skip-gram model. Last but not the least, an unsupervised method is utilized to transform semantic embeddings of audio segments to text embedding space, and finally the transformed embeddings are mapped to words. With the above framework, we are towards unsupervised ASR trained by unaligned text and speech only.

Introduction

The rapid advancement of Automatic Speech Recognition (ASR) has largely been driven by supervised learning techniques that require vast amounts of transcribed audio. However, for the majority of the world's languages, such annotated datasets do not exist. This "data hunger" creates a digital divide, leaving low-resource languages without effective ASR tools.

This paper addresses this challenge by proposing a framework for unsupervised ASR. The goal is to enable a system to learn the mapping between speech and text using only unaligned corpora—essentially learning to recognize words by listening to speech and reading text independently. The core of the approach lies in disentangling phonetic content from acoustic noise and aligning the resulting semantic structures of audio and text.

Methodology

The researchers developed a three-stage pipeline to transform raw audio into textual representations without explicit alignment.

Stage 1: Phonetic and Speaker Disentanglement

The first challenge in unsupervised ASR is extracting a pure representation of what is being said, independent of who is saying it. The authors utilize a sequence-to-sequence autoencoder (SA) to generate fixed-length phonetic vectors ($v_p$). To achieve disentanglement, they implement an adversarial training regime. As shown in the architecture below, a Speaker Discriminator is tasked with identifying the speaker from the phonetic vector. Simultaneously, the Phonetic Encoder ($E_p$) is trained to minimize the discriminator's performance, ensuring that $v_p$ contains only phonetic information.

Architecture for disentangling phonetic and speaker information.

Stage 2: Audio Semantic Embedding (Audio Word2Vec)

Once phonetic vectors are extracted, the model must learn the "meaning" or semantic role of these segments. This is achieved through a skip-gram model, effectively creating an "Audio Word2Vec." By analyzing the context windows of phonetic segments, the model generates semantic embeddings ($v_{wi}$). This stage relies on the distributional hypothesis: segments appearing in similar phonetic contexts likely share similar semantic meanings.

Stage 3: Unsupervised Space Transformation

The final stage involves bridging the gap between the audio semantic space and a pre-existing text semantic space (trained on independent text data). The authors employ the Mini-Batch Cycle Iterative Closest Point (MBC-ICP) algorithm to find an affine transformation matrix that aligns these two high-dimensional spaces. The underlying assumption is that because both modalities represent the same language, their semantic clusters will exhibit similar geometric distributions.

Experimental Setup and Results

The framework was tested using the LibriSpeech dataset, comprising 960 hours of English speech. Evaluation focused on two areas: the quality of the learned semantic embeddings and the accuracy of the final audio-to-text mapping.

Semantic Quality

To verify that the audio embeddings captured genuine meaning, the authors tested them against standard word-similarity benchmarks such as MEN, MTurk, and SimLex999. The results were promising; for instance, the model achieved a Spearman’s rank correlation of 0.730 on the RW (Rare Words) dataset, indicating that the unsupervised audio embeddings are highly representative of semantic content.

The Mapping Challenge

The most difficult aspect of the framework is the unsupervised transformation. While the model struggled with a completely "cold start" (zero labeled pairs), experiments with varying levels of supervision revealed the potential of the alignment.

Mapping accuracy as a function of labeled pairs.

As shown in the table, providing just 1,000 labeled pairs allows the model to begin finding the correct alignment. With 5,000 pairs, the top-10 accuracy reaches 60.68%, and top-100 accuracy climbs to 86.38%. These results confirm that the semantic structures of audio and text are indeed alignable, provided the transformation matrix can be accurately estimated.

Conclusion and Future Directions

This research demonstrates a viable path toward unsupervised ASR by leveraging phonetic disentanglement and semantic space alignment. While the current implementation relies on some "oracle" information—such as known word boundaries and a small number of labeled pairs for optimal mapping—it proves the fundamental feasibility of the concept. Future work will focus on unsupervised word segmentation and more robust distribution matching techniques to achieve high-accuracy mapping without any labeled data.

Summary updated

Abstract

Automatic speech recognition (ASR) has been widely researched with supervised approaches, while many low-resourced languages lack audio-text aligned data, and supervised methods cannot be applied on them. In this work, we propose a framework to achieve unsupervised ASR on a read English speech dataset, where audio and text are unaligned. In the first stage, each word-level audio segment in the utterances is represented by a vector representation extracted by a sequence-of-sequence autoencoder, in which phonetic information and speaker information are disentangled. Secondly, semantic embeddings of audio segments are trained from the vector representations using a skip-gram model. Last but not the least, an unsupervised method is utilized to transform semantic embeddings of audio segments to text embedding space, and finally the transformed embeddings are mapped to words. With the above framework, we are towards unsupervised ASR trained by unaligned text and speech only.
BibTeX
@misc{chen2018towards,
  author = {Yi-Chen Chen and Chia-Hao Shen and Sung-Feng Huang and Hung-yi Lee},
  title = {{Towards Unsupervised Automatic Speech Recognition Trained by Unaligned Speech and Text only}},
  year = {2018},
  eprint = {1803.10952},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.10952},
}
Figure