TL;DR
MASR (Multi-label Aware Speech Representation) is a novel framework that enhances self-supervised speech models by incorporating available metadata—such as language, speaker location, or transcripts—during pre-training. By combining hard-triplet mining with external knowledge bases (like language similarity metrics), MASR significantly boosts performance on downstream tasks like language identification and audio classification without degrading standard speech recognition capabilities.
What Problem Does This Paper Address?
Modern speech representation learning has shifted toward self-supervised learning (SSL), where models like wav2vec 2.0 or HuBERT learn from massive amounts of raw audio. However, these models typically ignore the "side-information" or metadata often collected alongside the audio, such as the speaker's language, emotion, or geographic location.
While some prior work attempted to include labels, they were often restricted to a single type of metadata and failed to leverage external knowledge (e.g., the fact that Spanish and Italian are linguistically closer than Spanish and Japanese). The authors of MASR aim to bridge this gap by creating a flexible framework that can ingest multiple metadata streams and use external databases to inform how the model organizes its internal speech representations.
Methods
The MASR framework is designed to be "plug-and-play," meaning it can be added to any existing SSL method (the authors tested it with BEST-RQ and w2v-BERT). It introduces three key components:
- Metadata Encoder (ME): Instead of treating labels as simple IDs, MASR uses a fixed encoder to map metadata to a high-dimensional space based on external knowledge. For example, language labels are mapped to vectors from the
lang2vecdatabase, which captures syntactic and phonetic distances between thousands of languages. - Projection Layer: To handle multiple types of metadata simultaneously without confusing the main speech encoder, MASR uses metadata-specific projection layers. This allows the model to learn different "views" of the same audio clip tailored to different labels.
- MASR Objective (Hard Triplet Loss): The model uses a hard-triplet mining loss. For a given "anchor" audio clip, it finds the "hardest" positive (a clip with the same label that currently looks very different to the model) and the "hardest" negative (a clip with a different label that looks very similar). It then "pulls" the positive closer and "pushes" the negative away.
Datasets
- Pre-training: A massive collection of 429,000 hours of audio across 75 languages, combining datasets like VoxPopuli, Common Voice, Multilingual LibriSpeech (MLS), and BABEL.
- Language Identification (LangID): Evaluated on FLEURS (102 languages) and Dhwani (22 Indian languages).
- Automatic Speech Recognition (ASR): Evaluated on the MLS corpus (8 European languages).
- Non-semantic Tasks: Tested using the NOSS benchmark, which includes tasks like emotion recognition (Iemocap) and speaker verification (ASVSpoof).
Key Insights and Ideas
-
Syntactic Knowledge is Power: The choice of external knowledge matters. The authors found that using syntactic distance between languages (how they are structured) provided the best accuracy gains compared to genetic or geographic distances. Comparison of different Lang2Vec distance metrics; syntactic distance yields the highest accuracy.
-
Disentangling Similar Languages: MASR is particularly good at separating closely related languages that usually confuse models. For instance, it dramatically improved the model's ability to distinguish between Bosnian, Serbian, and Croatian. Confusion matrices showing how MASR significantly reduces errors between similar Serbo-Croatian languages compared to the BEST-RQ baseline.
-
Generalization to the Unseen: Remarkably, MASR improved accuracy even for languages that were not present in the pre-training data (non-overlapped languages), suggesting the model learned generalizable linguistic features.
- No Free Lunch for All Tasks: While adding geographic or text metadata helped audio classification, it slightly degraded performance on speaker and emotion tasks, indicating that metadata must be chosen carefully based on the target application.
Key Results
- Language Identification: On the FLEURS dataset, MASR improved the BEST-RQ baseline's accuracy from 75.4% to 83.7% (an 11.2% relative gain). The Equal Error Rate (EER) saw a massive reduction from 0.9 to 0.3.
- Unseen Languages: For languages not seen during pre-training, MASR achieved a 14.4% relative improvement in accuracy.
- ASR Stability: Importantly, adding the MASR objective did not degrade Word Error Rate (WER) on speech recognition tasks, proving that the model retains its semantic understanding while gaining better label awareness.
- Audio Classification: MASR variants (like GeoMASR) showed significant gains in tasks like environmental sound classification (Esc50-human).
Limitations and Future Work
- Metadata Quality: The framework relies heavily on the availability and quality of metadata and external knowledge bases. If the
lang2vecfeatures for a specific language are poor, the model's performance may suffer. - Task Interference: As noted in the NOSS results, some metadata can be counterproductive for specific downstream tasks. Future work could involve learning which metadata streams to weight more heavily for different objectives.
- Scaling: The authors suggest scaling this approach to even more diverse metadata types and larger, more varied datasets to further push the boundaries of universal speech representations.
Summary updated