Orthogonality and isotropy of speaker and phonetic information in self-supervised speech representations

Mukhtar Mohamed, Oli Danyi Liu, Hao Tang, Sharon Goldwater

Abstract

Self-supervised speech representations can hugely benefit downstream speech technologies, yet the properties that make them useful are still poorly understood. Two candidate properties related to the geometry of the representation space have been hypothesized to correlate well with downstream tasks: (1) the degree of orthogonality between the subspaces spanned by the speaker centroids and phone centroids, and (2) the isotropy of the space, i.e., the degree to which all dimensions are effectively utilized. To study them, we introduce a new measure, Cumulative Residual Variance (CRV), which can be used to assess both properties. Using linear classifiers for speaker and phone ID to probe the representations of six different self-supervised models and two untrained baselines, we ask whether either orthogonality or isotropy correlate with linear probing accuracy. We find that both measures correlate with phonetic probing accuracy, though our results on isotropy are more nuanced.

Introduction

Self-supervised learning (SSL) models for speech, such as wav2vec 2.0 and HuBERT, have revolutionized downstream speech technologies. While previous probing studies demonstrate that these models linearly separate phone and speaker labels effectively, the geometric arrangement of this information in high-dimensional embedding space remains poorly understood. This paper investigates two specific geometric properties: orthogonality (whether speaker and phonetic information are disentangled into independent subspaces) and isotropy (whether the representation space utilizes all dimensions evenly rather than collapsing into a narrow cone).

Methodology

To quantify these properties, we introduce Cumulative Residual Variance (CRV).

  • Measuring Orthogonality: CRV assesses the orthogonality between two datasets (e.g., speaker and phone centroids) by calculating the remaining variance in one after iteratively projecting away the principal directions of the other.
  • Measuring Isotropy: A variant called self-CRV evaluates how uniformly a single dataset utilizes its dimensions, serving as a robust alternative to existing metrics like IsoScore.

Our experimental setup involves extracting frame-level representations from six trained SSL models (CPC-big, HuBERT, wav2vec 2.0, WavLM, WavLM+, Data2Vec), two randomly initialized baselines, and standard log Mel features. We utilize the LibriSpeech dev-clean subset, training linear classifiers to predict phone and speaker labels and computing Spearman rank correlations between probing accuracies and geometric measures.

Results and Analysis

Our findings indicate that training significantly reorganizes the representational geometry of phonetic information compared to speaker information.

Geometric analysis of speech representations. (a-c) Heatmaps of phonetic vs. speaker directions for different models. (d) Orthogonal residual variance showing subspace disentanglement. (e) Self-residual variance measuring isotropy.

Orthogonality and Training

Unlike untrained baselines or basic log Mel features, trained SSL models naturally organize phonetic and speaker information into highly orthogonal subspaces. This geometric separation likely minimizes interference between data types. Orthogonality between these subspaces significantly correlates with phonetic accuracy ($\rho = 0.54$ pooled across models).

Centroid vs. Frame Isotropy

While NLP research often emphasizes isotropic embedding spaces, we find that frame-level isotropy in speech models is low and a poor predictor of performance. Instead, the isotropy of class centroids—how evenly the centers of phone classes are distributed—is the critical factor. The self-CRV of phone centroids correlates exceptionally well with phone probing accuracy ($\rho = 0.94$).

Layer-wise Performance

Phonetic accuracy typically peaks in middle or late layers. Interestingly, speaker accuracy in the final layers of models like wav2vec 2.0 and Data2Vec drops significantly, sometimes performing worse than untrained baselines. This suggests that these models' final layers are highly specialized for phonetic content, often at the expense of speaker-specific information.

Conclusion

This work demonstrates that orthogonality and centroid isotropy are key geometric properties that correlate with the success of self-supervised speech representations. While currently limited to English read speech from the LibriSpeech corpus, these insights provide a path toward a more theoretical understanding of SSL geometry. Future research will extend this analysis to spontaneous speech and diverse acoustic environments to test the generalizability of these geometric principles.

Summary updated

BibTeX
@misc{mohamed2024orthogonality,
  author = {Mukhtar Mohamed and Oli Danyi Liu and Hao Tang and Sharon Goldwater},
  title = {{Orthogonality and isotropy of speaker and phonetic information in self-supervised speech representations}},
  year = {2024},
  eprint = {2406.09200},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.09200},
}
Figure