Text-Guided HuBERT: Self-Supervised Speech Pre-Training via Generative Adversarial Networks

Duo Ma, Xianghu Yue, Junyi Ao, Xiaoxue Gao, Haizhou Li

TL;DR

T-HuBERT (Text-guided HuBERT) is a novel self-supervised pre-training framework that improves speech representations by leveraging massive amounts of unpaired text. By using a Generative Adversarial Network (GAN) to map speech to phoneme-like units, the model learns a hierarchical representation that significantly outperforms standard HuBERT, achieving up to a 15.3% relative reduction in Word Error Rate (WER).

What Problem Does This Paper Address?

Self-supervised learning (SSL) has transformed speech processing by allowing models like HuBERT and wav2vec 2.0 to learn from vast amounts of unlabeled audio. However, these models typically ignore a massive resource: text.

While humans naturally improve their speaking and listening skills through reading, teaching a machine to do the same usually requires "paired" data (audio with exact transcripts). Paired data is expensive and scarce. Previous attempts to use unpaired text often failed to create a direct, explicit correspondence between the acoustic "codes" the model learns and the actual phonemes of a language. T-HuBERT aims to bridge this gap without needing a single line of transcribed audio.

Methods

The authors introduce a two-pronged approach to "tokenize" speech, creating a hierarchy of targets for the model to predict during pre-training.

  1. GAN-based Tokenizer: Inspired by wav2vec-U 2.0, the researchers use a GAN to bridge the modality gap. A generator converts speech features into phoneme-like sequences. Simultaneously, a discriminator is trained to distinguish these generated sequences from real phoneme sequences derived from a large, unpaired text corpus. This forces the generator to produce "pseudo-labels" that are statistically identical to real language.
  2. HuBERT-based Tokenizer: This follows the standard HuBERT approach of using k-means clustering on hidden representations to create high-level semantic targets.
  3. Multi-Layer Supervision: This is the core innovation. Instead of using one set of targets for the whole model, T-HuBERT uses hierarchical supervision:
  4. Intermediate Layers: Supervised by the GAN-derived phonetic units.
  5. Top Layers: Supervised by the HuBERT-derived semantic units.

The model architecture is based on the HuBERT-base transformer (12 blocks, 768-dimensional embeddings) but uses a "bucket relative position embedding" to better handle temporal relationships in speech.

Datasets

  • Speech Pre-training: LibriSpeech 960-hour unlabeled dataset.
  • Text Pre-training: LibriSpeech LM corpus (~40 million English sentences).
  • Fine-tuning/Evaluation:
    • LibriSpeech: Various subsets (1h, 10h, 100h, etc.) for Automatic Speech Recognition (ASR).
  • SUPERB Benchmark: A comprehensive testbed covering Speaker ID, Keyword Spotting, Intent Classification, and more.

Key Insights and Ideas

  • Phonemes as "Better Teachers": The authors found that GAN-derived phoneme units are superior to standard HuBERT clusters for capturing phonetic detail. In ablation studies, using only these GAN units as targets still outperformed the baseline HuBERT.
  • The Hierarchy Matters: By placing phonetic targets at intermediate layers and semantic targets at the top, the model mimics the human auditory system, which processes raw sound into phonemes before extracting high-level meaning.
  • Unpaired Alignment: The GAN effectively "discovers" the structure of language in audio by matching its distribution to text, proving that explicit transcripts aren't necessary to align the two modalities.

Key Results

  • ASR Performance: On the LibriSpeech 100h "train-clean" subset, T-HuBERT achieved a 4.8% WER (without a language model), significantly beating standard HuBERT (6.3%) and even the more recent WavLM (5.7%).
  • Low-Resource Gains: The improvements were most dramatic in low-resource settings (1-hour and 10-hour subsets), where T-HuBERT achieved up to a 15.3% relative WER reduction.
  • SUPERB Benchmark: T-HuBERT showed state-of-the-art performance in semantic tasks like Intent Classification (98.81% accuracy) and competitive results in speaker-related tasks, proving the representations are robust across different domains.

Limitations and Future Work

  • Computational Overhead: Training a GAN-based tokenizer adds an extra step and additional complexity to the pre-training pipeline compared to simple k-means clustering.
  • Language Specificity: The current study focuses on English. The effectiveness of this GAN-based alignment in tonal languages or low-resource languages with different phonological structures remains to be seen.
  • Scaling Up: The authors suggest that future work will involve scaling the model and integrating it with even larger language models to capture more complex semantic information.

Summary updated

BibTeX
@article{ma2024text,
  author = {Duo Ma and Xianghu Yue and Junyi Ao and Xiaoxue Gao and Haizhou Li},
  title = {{Text-Guided HuBERT: Self-Supervised Speech Pre-Training via Generative Adversarial Networks}},
  journal = {IEEE Signal Processing Letters},
  year = {2024},
  url = {https://openreview.net/forum?id=9HKDtaDNg1},
}
Figure