General-Purpose Speech Representation Learning through a Self-Supervised Multi-Granularity Framework

Yucheng Zhao, Dacheng Yin, Chong Luo, Zhiyuan Zhao, Chuanxin Tang, Wenjun Zeng, Zheng-Jun ZhaarXiv 2021

Introduction

The Multi-Granularity Framework (MGF) presents a novel self-supervised approach to speech representation learning. Unlike traditional models that treat speech as a uniform sequence, MGF acknowledges speech as a hierarchical signal. By integrating generative learning for fine-grained acoustic details with discriminative learning for high-level semantics, MGF produces a versatile feature extractor capable of state-of-the-art performance in phoneme classification, speaker recognition, and emotion detection.

Problem Statement

Speech signals are inherently multi-scale, ranging from raw pressure samples (milliseconds) to frames, phonemes, and full sentences. Existing self-supervised learning (SSL) models, such as Contrastive Predictive Coding (CPC) or Mockingjay, typically apply a single learning objective across all scales. The authors posit that this "one-size-fits-all" approach is suboptimal. Low-level acoustic features are better captured through signal reconstruction (generative), whereas high-level semantic and speaker-specific information is best distilled by distinguishing between different sounds (discriminative).

Methodology

MGF utilizes a deep bidirectional Transformer architecture preceded by a convolutional "stem." The framework optimizes four distinct objectives across different temporal scales:

  1. Sample-Scale (Generative): A decoder reconstructs the raw waveform from embeddings, optimized via Scale-Invariant Signal-to-Distortion Ratio (SI-SDR) loss.
  2. Frame-Scale (Generative): The model predicts hand-crafted acoustic features (MFCCs and fMLLR) for unmasked frames using an L2 loss.
  3. Phoneme-Scale (Discriminative): A continuous Masked Language Model (cMLM) masks 140ms segments. It employs an InfoNCE contrastive loss to align predicted embeddings with true unmasked segments against negative samples.
  4. Sentence-Scale (Discriminative): Inspired by SimCLR, this objective crops two segments from the same sentence to encourage similar global representations while distancing those from different sentences.
The Multi-Granularity Framework (MGF) architecture, illustrating the various generative and discriminative heads.

Experimental Setup

The model was pre-trained on the LibriSpeech train-clean-100 subset. Evaluation spanned several benchmarks:

  • Phoneme and Speaker Classification: LibriSpeech.
  • Automatic Speech Recognition (ASR): Wall Street Journal (WSJ).
  • Emotion Classification: IEMOCAP.
  • One-Shot Speaker Classification: A new benchmark introduced by the authors using LibriSpeech train-clean-360 to test model robustness with minimal fine-tuning data.

Key Results

MGF achieved significant performance gains across all tasks:

  • Phoneme Classification: Reached 73.4% accuracy on LibriSpeech, significantly outperforming CPC (65.5%) and TERA (65.9%).
  • Speaker Recognition: Achieved 100% accuracy on standard tasks and 82.7% on the challenging one-shot task.
  • Emotion Classification: Set a new state-of-the-art for audio-only methods on IEMOCAP with 73.1% accuracy.

A critical finding was the model's data efficiency. In low-resource scenarios using only 0.1% of labeled data (approx. 6 minutes), the pre-trained MGF model maintained 72.3% phoneme accuracy, while a model trained from scratch failed to exceed 35%.

Phoneme accuracy comparison between pre-trained MGF and training from scratch across varying data usage percentages.

Conclusion

The success of MGF demonstrates that specialized losses for different granularities of speech are highly complementary. Generative tasks provide a robust acoustic foundation, while discriminative tasks extract the semantic features necessary for complex downstream applications. Future work may involve applying this multi-granularity logic to other domains, such as computer vision, where hierarchical structures are equally prevalent.

Summary updated

BibTeX
@misc{zhao2021general,
  author = {Yucheng Zhao and Dacheng Yin and Chong Luo and Zhiyuan Zhao and Chuanxin Tang and Wenjun Zeng and Zheng-Jun Zha},
  title = {{General-Purpose Speech Representation Learning through a Self-Supervised Multi-Granularity Framework}},
  year = {2021},
  eprint = {2102.01930},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.01930},
}
Figure