Abstract
Self-supervised learning (SSL) has revolutionized speech representation, yet most existing methods rely on masking individual 10ms frames. This paper argues that frame-level masking is linguistically suboptimal as it fails to capture higher-level structures like phonemes. We introduce segmental masking, a strategy that masks phonetically motivated segments. By forcing the model to reconstruct entire phonemes or words, it learns underlying phonotactic and prosodic constraints. Our results demonstrate that phoneme-level masking significantly outperforms frame-level baselines across a wide range of downstream tasks, including speech recognition, intent classification, and emotion recognition, even when using unsupervised segmentation.
Introduction
In the domain of Self-Supervised Learning (SSL) for speech, models like Mockingjay or TERA typically adopt a "Masked Language Model" approach similar to BERT. However, while BERT masks discrete words, speech models usually mask random, short-time frames (typically 10ms).
This frame-level masking is linguistically suboptimal. A single phoneme spans multiple frames; masking random frames is akin to masking random letters in a sentence. The model might learn to "smooth" the signal based on local acoustic patterns without ever understanding the higher-level structure of the language. The challenge addressed here is designing a masking strategy that encourages the model to capture phonotactics (the rules of sound sequencing) and prosody (the rhythm and duration of sounds).
Methodology
The core innovation is the shift from frame-level to Segmental Masking. The authors propose three variations:
- Phoneme-Based Masking: The utterance is segmented into phonemes, and the model masks all frames associated with randomly selected phonemes.
- Phoneme Span-Based Masking: Inspired by SpanBERT, this masks contiguous sequences of phonemes.
- Word-Based Masking: Masks all frames belonging to a specific lexical word.
The architecture utilizes a bidirectional Transformer encoder. The authors tested both Generative Predictive Coding (GPC), using an L1 reconstruction loss, and Contrastive Predictive Coding (CPC). Crucially, while segments can be defined via forced alignment, the authors demonstrate that unsupervised phonetic segmentation works nearly as well, removing the dependency on labeled data during pre-training.
Experimental Results
The proposed segmental masking approach was evaluated across a diverse set of downstream tasks, including Phoneme Classification (PC), Keyword Spotting (KWS), Speaker Identification (SID), Intent Classification (IC), and Speech Emotion Recognition (SER).
Key Findings
- Phonemes are the "Sweet Spot": Phoneme-level masking consistently outperformed both frame-level and word-level masking. Words are often too long, making the reconstruction task too difficult for the model to learn useful features early on.
- Implicit Prosody Learning: By masking a whole phoneme, the model must predict not just the sound but also its duration based on context, implicitly baking prosodic information into the representations.
- Data Efficiency: Models trained with segmental masking on only 100 hours of data often outperformed frame-based models trained on the full 960 hours of LibriSpeech.
- Robustness: The strategy is robust to imperfect boundaries; unsupervised segmenters still allowed the model to beat frame-level approaches.
Conclusion and Future Work
Segmental masking provides a more linguistically grounded approach to self-supervised speech representation. By moving beyond 10ms frames, models achieve significant gains in accuracy and data efficiency. Future work includes integrating boundary discovery directly into the SSL training loop and exploring hierarchical masking strategies that combine phoneme, span, and word-level masks to capture richer linguistic hierarchies.
Summary updated