PromptVC: Flexible Stylistic Voice Conversion in Latent Space Driven by Natural Language Prompts

Jixun Yao, Yuguang Yang, Yi Lei, Ziqian Ning, Yanni Hu, Yu Pan, Jingjing Yin, Hongbin Zhou, Heng Lu, Lei Xie

Abstract

Style voice conversion aims to transform the style of source speech to a desired style according to real-world application demands. However, the current style voice conversion approach relies on pre-defined labels or reference speech to control the conversion process, which leads to limitations in style diversity or falls short in terms of the intuitive and interpretability of style representation. In this study, we propose PromptVC, a novel style voice conversion approach that employs a latent diffusion model to generate a style vector driven by natural language prompts. Specifically, the style vector is extracted by a style encoder during training, and then the latent diffusion model is trained independently to sample the style vector from noise, with this process being conditioned on natural language prompts. To improve style expressiveness, we leverage HuBERT to extract discrete tokens and replace them with the K-Means center embedding to serve as the linguistic content, which minimizes residual style information. Additionally, we deduplicate the same discrete token and employ a differentiable duration predictor to re-predict the duration of each token, which can adapt the duration of the same linguistic content to different styles. The subjective and objective evaluation results demonstrate the effectiveness of our proposed system.

Introduction

Voice conversion (VC) focuses on altering a speaker's identity or stylistic attributes while preserving the underlying linguistic content. Traditional methods typically rely on categorical labels (e.g., "Happy", "Sad") or reference audio clips. Label-based methods often produce "averaged" styles that lack nuance, while reference-based methods require users to provide specific audio examples, which can be unintuitive and difficult to source.

PromptVC addresses these limitations by introducing a natural language interface for style control. This allows users to describe desired speech characteristics—such as timbre, emotion, and rhythm—using descriptive prompts like "a middle-aged man speaking excitedly in a news broadcast style."

Methodology

The PromptVC framework consists of several specialized modules designed for effective style disentanglement and generation.

Latent Diffusion for Style Generation

Instead of directly mapping text to audio, PromptVC utilizes a Latent Diffusion Model (LDM). During training, a style encoder extracts a latent style vector from target audio. The LDM is then trained to "sample" this vector from Gaussian noise, conditioned on text prompts processed through a ChatGLM2 large language model. This approach allows for efficient and expressive style modeling in a compact latent space.

Linguistic Disentanglement and Duration Prediction

To prevent the source speaker's style from leaking into the converted speech, the system employs HuBERT to extract discrete semantic tokens. These tokens are deduplicated and replaced with K-Means center embeddings, providing a "clean" representation of linguistic content. Furthermore, a differentiable duration predictor is used to re-estimate the timing of these tokens, enabling the model to adjust the speech rhythm (e.g., tempo) to match the target style.

Overview of the PromptVC architecture, including the latent diffusion process for style generation and the HuBERT-based linguistic extraction pipeline.

Experiments and Results

The model was trained on an internal 400-hour Mandarin corpus, with a subset of 50,000 utterances annotated with natural language prompts by professional linguists.

Performance Comparison

PromptVC was evaluated against strong baselines, including MixEmo and StyleSpeech. Objective metrics such as Mel-cepstral distortion (MCD) and Character Error Rate (CER) were used to assess signal quality and intelligibility, while Mean Opinion Score (MOS) and Speaker MOS (SMOS) provided subjective quality assessments.

Comparison of PromptVC against baseline models across speech quality and style similarity metrics.

As shown in the results, PromptVC achieves superior performance across almost all metrics, notably reaching an MCD of 5.91 and a MOS of 3.90. Subjective preference tests further revealed that PromptVC's text-driven style control is highly effective; in comparisons between speech generated from reference audio versus text prompts, over half of the participants (52.6%) expressed no preference, indicating that natural language prompts can be as effective as actual audio references for controlling stylistic nuances.

Conclusion

PromptVC demonstrates a significant step forward in making voice conversion more intuitive and flexible. By leveraging latent diffusion and robust linguistic disentanglement, it enables high-quality, prompt-driven style conversion. Future work will focus on scaling the system to more diverse "in-the-wild" data and improving inference speeds for real-time applications.

Summary updated

Abstract

Style voice conversion aims to transform the style of source speech to a desired style according to real-world application demands. However, the current style voice conversion approach relies on pre-defined labels or reference speech to control the conversion process, which leads to limitations in style diversity or falls short in terms of the intuitive and interpretability of style representation. In this study, we propose PromptVC, a novel style voice conversion approach that employs a latent diffusion model to generate a style vector driven by natural language prompts. Specifically, the style vector is extracted by a style encoder during training, and then the latent diffusion model is trained independently to sample the style vector from noise, with this process being conditioned on natural language prompts. To improve style expressiveness, we leverage HuBERT to extract discrete tokens and replace them with the K-Means center embedding to serve as the linguistic content, which minimizes residual style information. Additionally, we deduplicate the same discrete token and employ a differentiable duration predictor to re-predict the duration of each token, which can adapt the duration of the same linguistic content to different styles. The subjective and objective evaluation results demonstrate the effectiveness of our proposed system.
BibTeX
@inproceedings{yao2024promptvc,
  author = {Jixun Yao and Yuguang Yang and Yi Lei and Ziqian Ning and Yanni Hu and Yu Pan and Jingjing Yin and Hongbin Zhou and Heng Lu and Lei Xie},
  title = {{PromptVC: Flexible Stylistic Voice Conversion in Latent Space Driven by Natural Language Prompts}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  url = {https://openreview.net/forum?id=iwfQWksoEl},
}
Figure