Decoding Strategy with Perceptual Rating Prediction for Language Model-Based Text-to-Speech Synthesis

Kazuki Yamauchi, Wataru Nakata, Yuki Saito, Hiroshi SaruwatariAudio Imagination @ NeurIPS 2024

TL;DR

This paper introduces BOK-PRP, a novel decoding strategy for text-to-speech (TTS) systems that use language models. BOK-PRP leverages a perceptual rating predictor to select the best among multiple generated speech samples, significantly improving naturalness and addressing the instability issues of traditional sampling methods. This approach is modular and can be applied to existing TTS models without retraining.

What Problem Does This Paper Address?

Modern text-to-speech (TTS) systems often employ language models (LMs) to generate speech as a sequence of discrete tokens, similar to how text is generated. This approach allows for more diverse and expressive speech, overcoming issues like repetitive generation common in simpler methods. However, the inherent randomness in sampling-based decoding strategies, while beneficial for diversity, can also lead to undesirable artifacts and inconsistent speech quality. Existing methods to mitigate this, like top-k and top-p sampling, often reduce diversity, leading back to repetitive issues. The paper aims to bridge this gap by developing a decoding strategy that filters out poor-quality samples while preserving diversity, thereby enhancing the naturalness of synthesized speech.

Methods

The core contribution is BOK-PRP (Best-of-K with Perceptual Rating Prediction). This strategy involves:

  1. Sampling: Generating K candidate speech sequences (or blocks of sequences) from the LM-based TTS model.
  2. Perceptual Rating Prediction: Using an external predictor to estimate the perceptual quality (specifically, naturalness, measured by Mean Opinion Score or MOS) of each generated sample.
  3. Selection: Choosing the sample with the highest predicted perceptual rating.

BOK-PRP has two variants:

  • Sequence-wise BOK-PRP: Samples and rates entire speech sequences.
  • Block-wise BOK-PRP: Samples and rates smaller blocks of tokens iteratively. This is inspired by controlled decoding in text generation and is hypothesized to be more efficient for longer sequences.

A key aspect is that the perceptual rating predictor (UTMOS [21] is used) is trained independently of the TTS model using human ratings. This makes BOK-PRP a plug-and-play module that can be applied to various pre-trained LM-based TTS systems without requiring additional TTS model training. For block-wise prediction, a specific training process involving speech truncation was developed to adapt UTMOS for partially decoded sequences.

Datasets

  • LJSpeech: This dataset was used for training the LM-based TTS model. It contains speech from a single English speaker. The dataset was split into training (12,600 utterances), validation (250 utterances), and evaluation (250 utterances) subsets.

Key Insights and Ideas

  • Perceptual Rating as a Filter: Using a separate model to predict human perception of speech quality is a powerful way to guide the decoding process, going beyond simple probability-based selection.
  • Modularity is Key: Training the rating predictor independently allows BOK-PRP to be a versatile add-on for existing TTS systems, lowering the barrier to adoption.
  • The "Sweet Spot" for K: The study reveals that while a larger K (number of samples) generally helps, excessively large K can lead to overfitting to the predictor's scores, potentially degrading actual human perception of naturalness. There's an optimal range for K.
  • Block-wise vs. Sequence-wise: While block-wise BOK-PRP is conceptually similar to controlled decoding in text, the paper found no significant difference in performance on their single-speaker TTS task. They hypothesize that the benefits of block-wise processing might emerge in more complex tasks requiring diverse expressions (e.g., emotional TTS).

Key Results

  • Improved Naturalness: Block-wise BOK-PRP achieved the highest naturalness MOS (3.73 ± 0.07), significantly outperforming greedy decoding (3.35 ± 0.09) and naive sampling (3.57 ± 0.08), as well as top-k top-p sampling (3.62 ± 0.08). Sequence-wise BOK-PRP also showed significant improvement (3.71 ± 0.07).
  • UTMOS Correlation: The average UTMOS scores generally correlated with MOS, but the paper notes that optimizing solely for predicted UTMOS doesn't always guarantee an improvement in actual human MOS.
  • Ablation Study on K: The highest naturalness MOS was achieved with K=8 (3.83 ± 0.07). Larger values of K (like 32) led to a decrease in MOS, indicating the overfitting issue.

Limitations and Future Work

  • Single-Speaker Dataset: The experiments were conducted on the single-speaker LJSpeech dataset. The paper acknowledges that the benefits of block-wise BOK-PRP might be more pronounced in tasks requiring diverse expressions (e.g., spontaneous style TTS or emotional TTS), which were not explored in this study.
  • Focus on Naturalness: The current work focuses on naturalness MOS. Future work will investigate BOK-PRP's effectiveness for other perceptual aspects like prosodic naturalness and emotional suitability.
  • Broader Applications: The authors hope their work will inspire further research into decoding strategies for LM-based audio generation beyond TTS.

Summary updated

BibTeX
@inproceedings{yamauchi2024decoding,
  author = {Kazuki Yamauchi and Wataru Nakata and Yuki Saito and Hiroshi Saruwatari},
  title = {{Decoding Strategy with Perceptual Rating Prediction for Language Model-Based Text-to-Speech Synthesis}},
  booktitle = {Audio Imagination @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=7gki9ehY8t},
}
Figure