Skip to main content
QUICK REVIEW

[Paper Review] Text-Free Prosody-Aware Generative Spoken Language Modeling

Eugene Kharitonov, Ann Lee|arXiv (Cornell University)|Sep 7, 2021
Speech Recognition and SynthesisComputer Science42 references16 citations
TL;DR

This paper proposes pGSLM, a text-free generative spoken language model that jointly models phonetic content and prosody using self-supervised units and quantized prosodic features (F0 and duration). By employing a multi-stream transformer language model and a HiFi-GAN vocoder, pGSLM generates coherent, expressive, and prosodically consistent speech from spoken prompts, outperforming text-free baselines in both content and prosody modeling, with quantized prosody streams yielding superior diversity and consistency in generation.

ABSTRACT

Speech pre-training has primarily demonstrated efficacy on classification tasks, while its capability of generating novel speech, similar to how GPT-2 can generate coherent paragraphs, has barely been explored. Generative Spoken Language Modeling (GSLM) \cite{Lakhotia2021} is the only prior work addressing the generative aspects of speech pre-training, which replaces text with discovered phone-like units for language modeling and shows the ability to generate meaningful novel sentences. Unfortunately, despite eliminating the need of text, the units used in GSLM discard most of the prosodic information. Hence, GSLM fails to leverage prosody for better comprehension, and does not generate expressive speech. In this work, we present a prosody-aware generative spoken language model (pGSLM). It is composed of a multi-stream transformer language model (MS-TLM) of speech, represented as discovered unit and prosodic feature streams, and an adapted HiFi-GAN model converting MS-TLM outputs to waveforms. We devise a series of metrics for prosody modeling and generation, and re-use metrics from GSLM for content modeling. Experimental results show that the pGSLM can utilize prosody to improve both prosody and content modeling, and also generate natural, meaningful, and coherent speech given a spoken prompt. Audio samples can be found at https://speechbot.github.io/pgslm. Codes and models are available at https://github.com/pytorch/fairseq/tree/main/examples/textless_nlp/pgslm.

Motivation & Objective

  • To develop a text-free generative spoken language model that preserves prosodic information lost in prior text-free approaches.
  • To investigate whether joint modeling of phonetic content and prosody improves speech generation quality and coherence.
  • To evaluate the impact of discrete vs. continuous prosodic representations on generation diversity and consistency.
  • To design and validate new metrics for prosody modeling and generation in the absence of text supervision.
  • To enable conditional speech generation that maintains both semantic and prosodic consistency with a given prompt.

Proposed method

  • The model uses a multi-stream transformer language model (MS-TLM) that processes separate streams of self-supervised units and quantized prosodic features (F0 and duration).
  • Prosodic features are represented as discrete tokens via vector quantization, enabling better modeling of multi-modal distributions compared to continuous representations.
  • The MS-TLM is trained autoregressively to predict the next unit and prosodic tokens given prior sequences, using cross-entropy loss for discrete tokens and L1 loss for continuous values.
  • A fine-tuned HiFi-GAN vocoder converts the generated unit and prosody sequences into high-fidelity waveforms.
  • The model is evaluated using a combination of content metrics (e.g., BLEU) and newly devised prosody metrics: MAE for duration and F0, and correlation-based metrics for consistency and expressiveness.
  • Ablation studies compare models with and without prosody input, and with discrete vs. continuous prosody representations, to isolate the impact of each design choice.

Experimental results

Research questions

  • RQ1Can joint modeling of phonetic content and prosody improve both content and prosody modeling in text-free spoken language generation?
  • RQ2Does using discrete representations for prosody lead to better generation diversity and consistency compared to continuous representations?
  • RQ3How does the inclusion of prosody in the input affect the model’s ability to maintain prosodic consistency during autoregressive generation?
  • RQ4To what extent does prosody-aware modeling improve the coherence and expressiveness of generated speech relative to the input prompt?
  • RQ5Can the proposed model generate natural, meaningful, and coherent speech without any text supervision?

Key findings

  • Models with prosody input achieve significantly lower MAE for duration (0.536 vs. 0.542) and F0 (0.077 vs. 0.096) in continuation tasks, indicating improved prosody modeling.
  • The discrete-prosody model (row 12) achieves a 2x higher standard deviation in F0 values than continuous models, indicating greater prosodic diversity.
  • The discrete-prosody model with prosody input achieves the highest MOS (4.21) and M-MOS (3.85), outperforming other variants in human evaluation.
  • Correlation metrics for prosody consistency improve substantially with prosody input: duration correlation increases from 0.176 to 0.344, and F0 from 0.093 to 0.494.
  • The word-level BLEU score is higher for models with prosody input (e.g., 12.8 for row 12 vs. 12.5 for row 10), showing improved content modeling.
  • The model with discrete prosody and prosody input achieves the best balance of expressiveness, consistency, and coherence, as confirmed by human evaluation and metric analysis.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.