HybridVC: Efficient Voice Style Conversion with Text and Audio Prompts

Xinlei Niu, Jing Zhang, Charles Patrick Martin

Abstract

Voice Conversion (VC) traditionally relies on either reference audio or text-based style descriptions, often requiring significant computational resources. We present HybridVC, a novel framework that supports both audio and natural language prompts for flexible voice styling. By leveraging a pre-trained generative backbone and a contrastive learning strategy with chunk-shuffled negative sampling, HybridVC achieves high-quality speech synthesis with a fraction of the training time required by previous state-of-the-art models.

Introduction

Voice Conversion (VC) is the task of modifying a speaker's identity and vocal style while preserving the linguistic content of the original utterance. While early models required parallel data—recordings of different speakers reciting identical text—modern "any-to-any" (A2A) systems have moved toward non-parallel approaches using short audio snippets as style references. However, these systems remain rigid, as they require a physical recording of the target style.

Text-guided VC has emerged to provide more flexibility, allowing users to describe desired vocal characteristics (e.g., "a high-pitched, energetic voice"). Despite their potential, existing text-guided models often demand massive datasets and weeks of training on high-end hardware. HybridVC addresses these challenges by providing a unified framework for both audio and text prompts, emphasizing training efficiency without sacrificing output fidelity.

Methodology

HybridVC is built upon a Conditional Variational Autoencoder (CVAE) architecture, specifically utilizing the FreeVC framework as its generative backbone. This choice allows the model to benefit from existing disentanglement techniques that separate speech content from speaker identity.

Disentanglement and Representation

The system employs WavLM combined with a bottleneck extractor to isolate linguistic content. This ensures that the conversion process only affects the "how" of the speech, not the "what."

Hybrid Prompting and Contrastive Learning

The core innovation of HybridVC lies in its ability to map both audio and text into a shared latent style space. To achieve this, the authors fine-tune a RoBERTa-based text encoder. The goal is to produce text embeddings ($g$) that align closely with speaker style embeddings ($s$) extracted from actual audio samples.

To refine this alignment, the framework introduces a novel Negative Sampling technique. Instead of simply using random samples from a batch as negatives, the model takes a correct text embedding, divides it into chunks, and shuffles them. This forces the model to learn the specific nuances of stylistic descriptions rather than relying on global keyword matching, significantly improving the precision of the text-to-style mapping.

Efficiency via Latent Modeling

Unlike VITS-based models that decode raw waveforms during every training step—a process that is both memory-intensive and slow—HybridVC operates primarily within the latent distribution. This architectural choice drastically reduces the "compute tax," allowing for rapid iteration.

Experimental Setup

The model was evaluated using two primary datasets:

  1. VCTK: A standard multi-speaker dataset (107 speakers) used to measure general conversion quality and speaker similarity.
  2. PromptSpeech: A specialized dataset containing over 26,000 speech samples paired with natural language descriptions, used to train and validate the text-prompting capabilities.

Results and Discussion

Training Efficiency

One of the most significant findings is the model's efficiency. HybridVC reached competitive performance levels with only 15–25 hours of training on two NVIDIA RTX 3090 GPUs. In contrast, many baseline models require upwards of 12 days of training on more powerful hardware clusters.

Speech Quality and Prompt Accuracy

HybridVC achieved a NISQA score of 4.52, indicating high naturalness and speech quality that outperforms established baselines like YourTTS. In terms of prompt following, the model demonstrated approximately 90% accuracy for instructions related to increasing pitch or volume.

Generalization

The model showed robust generalization. Even when the underlying backbone was trained on the relatively constrained VCTK dataset, it successfully adapted to the more diverse descriptions found in PromptSpeech, suggesting that the contrastive alignment strategy effectively captures universal vocal attributes.

Limitations and Future Work

While the model excels at "upward" style shifts (higher pitch, louder volume), it faces an asymmetry in performance, with only ~60% accuracy for "lower" pitch or volume prompts. This suggests a potential bias in the training distribution or an inherent difficulty in mapping lower-frequency vocal characteristics to text embeddings. Future research will focus on prompt tuning and refining the embedding space to achieve more balanced sensitivity across all stylistic descriptors.

Summary updated

BibTeX
@inproceedings{niu2024hybridvc,
  author = {Xinlei Niu and Jing Zhang and Charles Patrick Martin},
  title = {{HybridVC: Efficient Voice Style Conversion with Text and Audio Prompts}},
  booktitle = {Interspeech},
  year = {2024},
  doi = {10.21437/interspeech.2024-46},
}
Figure