Unsupervised Cross-Modal Alignment of Speech and Text Embedding Spaces

Yu-An Chung, Wei-Hung Weng, Schrasing Tong, James R. Glass

Modern Automatic Speech Recognition (ASR) and speech-to-text translation systems are notoriously data-hungry, requiring thousands of hours of parallel audio and text transcriptions. For the vast majority of the world’s 7,000+ languages, such parallel datasets simply do not exist. This research from MIT’s CSAIL presents a novel framework for aligning speech and text embedding spaces without any parallel data, opening new possibilities for speech technologies in low-resource environments.

The Challenge of Zero-Resource Languages

While transcripts are often unavailable for many languages, independent data sources—such as raw audio recordings and digital text from Wikipedia or news—are frequently accessible. The challenge lies in bridging these two modalities without a "Rosetta Stone" (parallel data) to guide the process. The authors address this by treating the problem as a cross-modal distribution matching task.

Methodology

The framework consists of three main stages designed to map independent speech and text data into a shared semantic space:

  1. Learning Modality-Specific Embeddings: Text embeddings are created using standard Word2Vec. For speech, the authors use Speech2Vec, an RNN-based encoder-decoder. To remain fully unsupervised, they use off-the-shelf segmentation tools (like BES-GMM or SylSeg) to divide raw audio into "word-like" units without needing a phonetic dictionary.
  2. Adversarial Alignment: Inspired by unsupervised machine translation, a Generative Adversarial Network (GAN) setup is employed. A Generator (a linear mapping $W$) attempts to rotate the speech embedding space to match the text space, while a Discriminator tries to distinguish between real text vectors and mapped speech vectors.
  3. Refinement: After a rough initial alignment, the authors build a "synthetic dictionary" by finding mutual nearest neighbors between the two spaces and apply Procrustes analysis to fine-tune the mapping.
Table 1: Experimental configurations for Speech2Vec training, detailing segmentation methods and supervision status.

Key Insights: The Structural Similarity Hypothesis

The core premise of this work is that speech and text embeddings exhibit similar geometric structures because they describe the same human experience. If "apple" and "orange" are close in the text space, their acoustic representations in a semantic speech space should also be close.

Unlike previous work focusing on acoustic-phonetic similarity (how a word sounds), this method prioritizes semantic similarity (what a word means). This leads to a unique phenomenon where the model often "fails" exact word classification by picking a synonym, proving it has learned deep semantic relationships.

Table 2: Top-5 nearest neighbors in the text space for given input audio segments, demonstrating semantic alignment and synonym retrieval.

Performance and Results

The authors evaluated their approach using four major corpora: English and French LibriSpeech, and English and German Spoken Wikipedia Corpora (SWC). Key results include:

  • Comparable to Supervised Methods: In spoken word classification, the unsupervised alignment (Configuration A) achieved 23.7% accuracy on English LibriSpeech, nearly matching the 25.4% achieved by the supervised version (Configuration A*) which utilized a parallel dictionary.
  • Semantic Retrieval Strength: When evaluating "Synonym Retrieval" (counting a synonym as a correct match), performance jumped to over 52% P@1.
  • Cross-Modal Translation: The system successfully performed spoken word translation (e.g., English audio $\rightarrow$ German text), significantly outperforming majority-word baselines.

Limitations and Future Directions

While promising, the system's performance is sensitive to the quality of initial unsupervised audio segmentation and domain mismatches between speech and text sources (e.g., aligning audiobooks with Wikipedia text). Future work aims to extend this framework from isolated word-like units to continuous ASR, handling full sentences and grammar without supervision.

Summary updated

BibTeX
@inproceedings{chung2018unsupervised,
  author = {Yu-An Chung and Wei-Hung Weng and Schrasing Tong and James R. Glass},
  title = {{Unsupervised Cross-Modal Alignment of Speech and Text Embedding Spaces}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=rk-YODb_WH},
}
Figure