TGAVC: Improving Autoencoder Voice Conversion with Text-Guided and Adversarial Training

Huaizhen Tang, Xulong Zhang, Jianzong Wang, Ning Cheng, Zhen Zeng, Edward Xiao, Jing XiaoASRU 2021 · DOI

Abstract

Non-parallel many-to-many voice conversion remains an interesting but challenging speech processing task. Recently, AutoVC, a conditional autoencoder based method, achieved excellent conversion results by disentangling the speaker identity and the speech content using information-constraining bottlenecks. However, due to the pure autoencoder training method, it is difficult to evaluate the separation effect of content and speaker identity. In this paper, a novel voice conversion framework, named Text Guided AutoVC (TGAVC), is proposed to more effectively separate content and timbre from speech, where an expected content embedding produced based on the text transcriptions is designed to guide the extraction of voice content. In addition, adversarial training is applied to eliminate the speaker identity information in the estimated content embedding extracted from speech. Under the guidance of the expected content embedding and the adversarial training, the content encoder is trained to extract speaker-independent content embedding from speech. Experiments on the AIShell-3 dataset show that the proposed model outperforms AutoVC in terms of naturalness and similarity of converted speech.

1. Introduction

Voice Conversion (VC) is the process of modifying a speaker's identity (timbre) while preserving the underlying linguistic content. Achieving high-quality non-parallel many-to-many conversion—where models are trained on datasets without matching utterances across speakers—is a significant challenge.

Recent state-of-the-art models like AutoVC utilize a conditional autoencoder architecture. These models rely on a narrow "information bottleneck" to force the network to discard speaker-specific details and retain only content. However, this unsupervised approach often leads to "leakage," where speaker-specific traits such as rhythm or pitch persist in the content embedding, resulting in converted audio that sounds like a mixture of source and target speakers.

The baseline AutoVC architecture for training and conversion.

2. The TGAVC Framework

To overcome the limitations of unsupervised bottlenecks, we introduce TGAVC (Text-Guided AutoVC). This framework adds explicit supervision and adversarial constraints to ensure superior disentanglement of content and style.

The proposed TGAVC architecture, featuring text-guided supervision and adversarial training.

2.1 Text-Guided Supervision

While text transcriptions are often available in multi-speaker datasets, they are frequently underutilized in VC training. TGAVC employs a Text Encoder (based on the FastSpeech2 architecture) to generate an "ideal" content embedding directly from text. During the training phase, the Content Encoder (which processes audio) is supervised to match this text-derived embedding. This provides a stable linguistic "anchor" that prevents the model from relying on speaker-dependent acoustic features for content representation.

2.2 Adversarial Training

To further purify the content embedding, TGAVC incorporates an Adversarial Speaker Classifier. This classifier attempts to predict the speaker's identity from the content embedding. By training the Content Encoder to "fool" this classifier via a Gradient Reversal Layer, the model effectively scrubs any remaining traces of the speaker's unique voice from the content representation, ensuring it is truly speaker-independent.

2.3 Training Strategy

The architecture utilizes FFTBlocks (Feed-Forward Transformer) for the text encoder and decoder, and LSTMs for the style and content encoders. The authors found that a two-stage optimization process—first training the text encoder and decoder, then fixing them to train the content encoder—yielded significantly better results than joint optimization.

3. Experiments and Results

The model was evaluated using the AIShell-3 dataset, a high-fidelity Mandarin speech corpus containing approximately 85 hours of recordings from 218 speakers.

3.1 Quantitative Performance

TGAVC demonstrated substantial improvements over the AutoVC and VQVC baselines across both objective and subjective metrics:

  • Objective Quality: The Mel-Cepstral Distortion (MCD) dropped from 9.93 (AutoVC) to 8.21 (TGAVC), indicating a closer match to target speech.
  • Subjective Naturalness (MOS): Human evaluators rated TGAVC at 3.64, compared to AutoVC’s 3.25.
  • Speaker Similarity: TGAVC achieved a similarity score of 3.84, significantly outperforming AutoVC’s 3.08.

3.2 Zero-Shot Capabilities

By employing a pre-trained style encoder trained with GE2E loss, TGAVC generalizes effectively to "unseen" speakers. Even for individuals not included in the training set, the model maintained higher naturalness and similarity scores than baseline methods.

4. Conclusion

TGAVC addresses the fundamental challenge of feature leakage in autoencoder-based voice conversion. By leveraging text transcriptions as a guiding signal and employing adversarial training to strip away speaker identity, the model achieves a more robust separation of content and timbre. Experimental results confirm that this approach leads to significant gains in the naturalness and similarity of converted speech.

Summary updated

BibTeX
@inproceedings{tang2021tgavc,
  author = {Huaizhen Tang and Xulong Zhang and Jianzong Wang and Ning Cheng and Zhen Zeng and Edward Xiao and Jing Xiao},
  title = {{TGAVC: Improving Autoencoder Voice Conversion with Text-Guided and Adversarial Training}},
  booktitle = {ASRU},
  year = {2021},
  doi = {10.1109/asru51503.2021.9688088},
}
Figure