Self-supervised Neural Factor Analysis for Disentangling Utterance-level Speech Representations

Weiwei Lin, Chenhang He, Man-Wai Mak, Youzhi Tu

Introduction

Self-supervised learning (SSL) has fundamentally transformed the landscape of speech processing. Models such as wav2vec 2.0 and HuBERT have demonstrated remarkable success by learning from vast quantities of unlabeled audio, particularly excelling in frame-level tasks like Automatic Speech Recognition (ASR). However, a significant performance gap remains for utterance-level tasks—such as Automatic Speaker Verification (ASV), Language Identification (LID), and Emotion Recognition (ER).

The primary challenge lies in the nature of the learned representations: these models are often dominated by phonetic content, which acts as "clutter" when trying to extract global characteristics like speaker identity or emotional state. To achieve high performance on these non-semantic tasks, researchers typically rely on extensive supervised fine-tuning. This paper introduces Neural Factor Analysis (NFA), a method designed to disentangle the message from the messenger by integrating classical statistical decomposition directly into the neural training loop.

Methodology

The NFA Framework

Neural Factor Analysis (NFA) combines the clustering capabilities of HuBERT with the structural rigor of Factor Analysis (FA). The approach is built on three core pillars:

  1. Alignment via Acoustic Units: Rather than treating a recording as a monolithic sequence, NFA uses HuBERT’s hidden acoustic units (derived via K-means clustering) to align speech frames. By grouping similar sounds (e.g., all instances of a specific phoneme) within a recording, the model can perform "apples-to-apples" comparisons across different speakers, effectively normalizing for varying linguistic content.
  2. Factor Analysis (FA) Decomposition: In traditional statistics, FA decomposes a signal into a loading matrix and a latent vector. In this context, the latent vector is designed to capture the "utterance identity"—the unique signature of the speaker, language, or emotion.
  3. Differentiable Variational Inference: Traditionally, FA models are trained using the Expectation-Maximization (EM) algorithm, which is computationally slow and incompatible with backpropagation. The authors overcome this by deriving a variational lower bound (ELBO) for the FA model. This allows the FA component to function as a differentiable layer, enabling gradients to flow back into the Transformer layers during training.

Joint Optimization

The model is trained using a dual objective function. It retains HuBERT’s standard masked prediction task to ensure it continues to learn robust linguistic content, while simultaneously optimizing the NFA objective to isolate utterance-level identity. This joint optimization forces the Transformer to discover identity as a fundamental property of the audio signal without requiring explicit labels.

Experimental Setup

The NFA model was evaluated against several industry-standard benchmarks to test its versatility and efficiency:

  • SUPERB Benchmark: Utilized for evaluating speaker verification (ASV), identification (SID), diarization (SD), and emotion recognition (ER).
  • VoxCeleb1: The primary dataset for speaker recognition performance.
  • IEMOCAP: Used to assess the model's ability to capture emotional states.
  • Common Language: A dataset comprising 45 languages for LID evaluation.
  • LibriSpeech: Used for initial self-supervised pre-training and ASR baseline testing.

Key Results and Insights

Superior Performance and Efficiency

NFA established a new state-of-the-art for resource-efficient speech processing. On the SUPERB benchmark, NFA outperformed previous leading models, including WavLM, across all utterance-level non-semantic tasks. Most notably, the model achieved a 40% relative reduction in Equal Error Rate (EER) in speaker verification tasks compared to WavLM.

Data Efficiency

One of the most significant findings was the model's data efficiency. NFA achieved its superior results using only 20% of the labeled data required by competing models. This suggests that the NFA objective successfully pre-structures the latent space, making downstream supervised tasks much easier to learn.

Disentanglement Without Sacrifice

A critical requirement for the model was that the focus on utterance-level identity should not degrade its understanding of speech content. The results confirmed that adding the NFA objective did not negatively impact Word Error Rate (WER) in ASR tasks. This provides strong evidence that the model is truly disentangling representations rather than simply shifting its focus from content to identity.

Limitations and Future Work

While NFA represents a significant step forward, the authors identified several areas for further development:

  • Domain Sensitivity: The model performs exceptionally well on clean data (like LibriSpeech) but sees a performance dip on "in-the-wild" data (like VoxCeleb) that contains background noise and spontaneous speech patterns.
  • Identity Overlap: Currently, NFA extracts a single global vector for the utterance. It does not yet distinguish between different utterance-level traits, such as separating a speaker's permanent identity from their transient emotional state.

Future research will focus on further decomposing these specific sub-traits during the self-supervised phase to create even more granular and robust speech representations.

Summary updated

BibTeX
@inproceedings{lin2023self,
  author = {Weiwei Lin and Chenhang He and Man-Wai Mak and Youzhi Tu},
  title = {{Self-supervised Neural Factor Analysis for Disentangling Utterance-level Speech Representations}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=L7ILQjTQ8k},
}
Figure