Speechlmscore: Evaluating Speech Generation Using Speech Language Model

Soumi Maiti, Yifan Peng, Takaaki Saeki, Shinji Watanabe

Evaluating the quality of generated speech—whether from a Text-to-Speech (TTS) engine or a voice conversion system—has long been a bottleneck in audio research. The "gold standard" is human evaluation, typically through Mean Opinion Score (MOS) tests. However, human tests are expensive, slow, and impossible to scale for real-time model development.

A new paper from researchers at Carnegie Mellon University and the University of Tokyo introduces SpeechLMScore, an unsupervised metric that leverages the power of Speech Language Models to judge audio quality without needing a single human label or even a reference "clean" recording.

TL;DR

SpeechLMScore is a non-intrusive, unsupervised metric that evaluates speech quality by measuring how "likely" a speech sample is according to a pretrained speech language model. By treating speech as a sequence of discrete tokens, it achieves high correlation with human judgment across TTS, voice conversion, and speech enhancement tasks without requiring expensive human-annotated data.

What Problem Does This Paper Address?

Existing automatic metrics for speech quality generally fall into two camps, both with significant flaws:

  1. Objective Signal Metrics (e.g., MCD, PESQ): These measure acoustic similarity to a reference signal. Unfortunately, they correlate poorly with how humans actually perceive quality.
  2. Supervised Neural Metrics (e.g., MOSNet, DNSMOS): These are trained to predict human MOS scores directly. While accurate, they require massive amounts of human-labeled data and often fail when applied to "out-of-domain" audio that differs from their training set.

The authors sought a "third way": a metric that is as scalable as objective metrics but as perceptive as neural ones, all while being completely unsupervised.

Methods

The core idea behind SpeechLMScore is that high-quality, natural speech should be "probable" according to a model trained on vast amounts of real human speech. The process follows three main steps:

  1. Tokenization: Raw audio is converted into a sequence of discrete "speech units." This is done using a self-supervised encoder (like HuBERT) followed by k-means clustering to map continuous features into a finite vocabulary of tokens.
  2. Language Modeling: A Unit Language Model (uLM)—either a Transformer or an LSTM—is trained to predict the next speech token in a sequence.
  3. Scoring: To evaluate a new piece of audio, the system tokenizes it and calculates the average log-probability of that sequence. A higher probability (lower perplexity) indicates higher quality.
The Speech Language Model pipeline converts raw speech into discrete units for processing by a language model.

A key technical contribution is the handling of token duration. Standard speech language models often collapse repeated tokens (e.g., 20, 20, 20 becomes 20) to save memory. The authors found that keeping these repetitions—which represent the duration of sounds—significantly improves the metric's correlation with human judgment.

The computation of SpeechLMScore involves iteratively predicting the probability of each token based on the preceding context.

Datasets

The authors validated SpeechLMScore using several major benchmarks:

  • VoiceMOS Challenge 2022: A massive dataset of 7,106 utterances from 187 different systems (TTS and Voice Conversion) with associated human MOS labels.
  • DNS-Challenge 2020: Used to evaluate the metric's sensitivity to noise and reverberation.
  • LibriLight & LibriSpeech: Used for the unsupervised training of the underlying speech language models (up to 16,800 hours of audio).

Key Insights and Ideas

  • Likelihood as Quality: The fundamental "aha" moment is that a language model’s internal sense of "naturalness" is a powerful proxy for human-perceived quality.
  • Duration is Crucial: Retaining repeated tokens (duration information) in the LSTM-based uLM provided a major boost in performance. This suggests that rhythmic and temporal consistency is a major factor in how we judge speech quality.
  • Feature Layer Matters: When extracting features from HuBERT, the authors found that lower layers (layers 3 or 4) correlate better with human quality scores than the final layers. This implies that "quality" is more related to mid-level acoustic features than high-level semantic ones.
  • Robustness to Domain Shift: Because it is unsupervised, SpeechLMScore generalizes better to mismatched domains (like noisy speech) compared to supervised models that were only trained on clean synthetic speech.

Key Results

SpeechLMScore demonstrated impressive competitive performance:

  • High Correlation: On the VoiceMOS 2022 dataset, it achieved a system-level Spearman Rank Correlation Coefficient (SRCC) of approximately 0.75, rivaling some supervised methods.
  • Noise Sensitivity: In the DNS challenge, SpeechLMScore showed a higher correlation with Signal-to-Noise Ratio (SNR) than supervised baselines like MOSNet, proving it can effectively detect background noise and distortion.
  • Voice Conversion Excellence: The metric performed particularly well on voice conversion tasks, reaching an SRCC of 0.829 in certain configurations.

Limitations and Future Work

While promising, the authors noted that SpeechLMScore had lower correlation with older TTS systems (like those from early Blizzard Challenges). They hypothesize the model currently prioritizes fluency over pitch characteristics, the latter being a primary failure mode of older synthesis techniques.

Future work aims to incorporate more complex, "prosody-rich" tokens that capture intonation and emotion more effectively, potentially closing the gap in evaluating older or more expressive speech systems.

For those interested in implementation, the authors have open-sourced the SpeechLMScore evaluation metric and pretrained models via the ESPnet toolkit.

Summary updated

BibTeX
@inproceedings{maiti2023speechlmscore,
  author = {Soumi Maiti and Yifan Peng and Takaaki Saeki and Shinji Watanabe},
  title = {{Speechlmscore: Evaluating Speech Generation Using Speech Language Model}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  doi = {10.1109/icassp49357.2023.10095710},
}
Figure