Introduction
Self-supervised learning (SSL) has revolutionized speech processing through models like HuBERT and WavLM, which learn powerful representations from raw audio. However, evaluating these models typically requires expensive downstream fine-tuning on labeled data. This paper explores a novel, training-free evaluation metric: using text-based Large Language Models (LLMs) to assess the quality of discretized speech representations without the need for labeled data or additional training.
Methodology
The proposed approach converts continuous speech features into discrete tokens using k-means clustering, creating a "pseudo-alphabet" for speech. After deduplicating consecutive identical tokens to focus on linguistic transitions, the resulting sequence is fed into a standard text-based LLM (such as Gemma, Qwen, or Phi). The LLM calculates the Mean Log-Likelihood (MLL), measuring how "predictable" or linguistically coherent the sequence of tokens is based on the statistical patterns the LLM learned during text training.
Key Insights: The Role of Context
A critical finding is that LLMs effectively leverage in-context learning to adapt to the specific "dialect" of the speech tokens on the fly. As shown in Figure 1, the MLL score improves monotonically as the context window—consisting of tokens from preceding and succeeding utterances—increases. This suggests that the LLM can better predict token sequences when provided with more global information about the speaker and acoustic environment.
Experimental Results
The researchers validated the MLL metric using the LibriSpeech and VoxCeleb1 benchmarks.
ASR Correlation and Model Ranking
The MLL metric demonstrates a strong correlation with actual Word Error Rate (WER) in Automatic Speech Recognition (ASR) tasks. For instance, the XEUS model, which had the best ASR performance (3.34% WER), consistently achieved the highest MLL scores across different LLMs. The metric successfully ranked three major SSL models—HuBERT, WavLM, and XEUS—in the same order as their performance on downstream benchmarks.
Speaker Verification
Beyond simple evaluation, the internal hidden states (embeddings) generated by the LLM while processing these speech tokens were found to be incredibly rich. By using LLM embeddings for speaker verification, the researchers achieved a significantly lower Equal Error Rate (EER) compared to traditional MFCC features or simple k-means centroid pooling.
Conclusion
This work demonstrates that text-based LLMs, despite never being trained on audio, possess an inherent ability to model the underlying structure of discretized speech. This enables a fast, label-free method for ranking speech models and extracting high-quality features for tasks like speaker verification, potentially accelerating the development cycle for new speech SSL architectures by providing real-time feedback without expensive fine-tuning.
Summary updated