Abstract
Traditional word embeddings are learned from massive text corpora, yet humans acquire language semantics through auditory context long before literacy. This paper introduces Sequence-to-Sequence Audio2Vec, a novel architecture designed to learn semantic word representations directly from raw audio signals. By employing a skip-gram-like objective to predict neighboring audio segments, the model captures high-level meaning without the need for text transcripts or visual grounding. Evaluations on standard word-similarity benchmarks demonstrate that these audio-derived embeddings perform competitively with established text-based models like GloVe.
Introduction
In Natural Language Processing (NLP), mapping words to mathematical vectors (embeddings) is a foundational task. Models typically learn that "apple" and "orange" are related by observing their co-occurrence in text. However, this reliance on written data ignores the primary way humans learn language: through sound.
Previous research into speech embeddings often focused on acoustic-phonetic similarity—ensuring different utterances of the same word map to the same vector. While useful for speech recognition, this approach fails to capture semantic relationships (e.g., that "cat" and "dog" are related concepts). This work bridges that gap, moving from phonetic representation to semantic understanding using only raw, unlabeled speech data.
Methodology: Seq2seq Audio2Vec
The authors propose the Seq2seq Audio2Vec model, which integrates an RNN Encoder-Decoder framework with a skip-gram training objective.
- Encoder: A multi-layer Long Short-Term Memory (LSTM) network processes variable-length audio segments (represented as MFCC features) into a fixed-length vector.
- Decoder: This vector serves as the input for a second LSTM.
- Skip-Gram Objective: Instead of trying to reconstruct the input, this decoder is tasked with predicting the audio segments immediately preceding and following the input segment in the original speech stream.
This approach leverages the distributional hypothesis: words appearing in similar contexts likely share similar meanings. By forcing the model to predict context rather than content, it is incentivized to learn abstract semantic representations rather than just memorizing acoustic patterns.
Experimental Setup
The model was trained on the LibriSpeech corpus, utilizing 500 hours of English speech from over 1,200 speakers. To evaluate semantic capture, the learned vectors were tested on 13 standard word-similarity benchmarks, including WS-353, SimLex-999, and Rare-Word. Performance was measured by the Spearman correlation between the model's vector distances and human-assigned similarity ratings.
Results and Discussion
The Audio2Vec embeddings were compared against GloVe vectors trained on Wikipedia.
Key findings include:
- Competitive Performance: Audio2Vec achieved results remarkably close to GloVe across most benchmarks. For instance, on the RG-65 dataset, Audio2Vec reached a correlation of 0.7274, compared to GloVe’s 0.7662.
- Semantic Mapping: The model successfully grouped semantically related words (e.g., "boy" and "lad") closely in the embedding space, despite their acoustic differences.
- Robustness: The architecture proved capable of extracting stable semantic signals despite variations in speaker pitch, speed, and background noise inherent in raw audio.
Conclusion and Future Work
This research demonstrates that the semantic structure of language can be recovered directly from the speech signal. This "unimodal" learning is particularly significant for low-resource languages where large text corpora or paired image-text data are unavailable.
However, challenges remain. The current implementation relies on "forced alignment" for word segmentation. Future iterations aim to achieve fully unsupervised discovery of word boundaries. Additionally, while competitive, a performance gap remains between audio-based and text-based models, likely due to the higher variance in speech signals. Future work will explore these embeddings in downstream applications like speech-to-speech translation and voice search.
Summary updated