NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Hierarchical Sequence to Sequence Voice Conversion with Limited Data

P. J. Narayanan, Punarjay Chakravarty, François Charette, G.v. Puskorius · DOI

Abstract

We present a voice conversion solution using recurrent sequence to sequence modeling for DNNs. Our solution takes advantage of recent advances in attention based modeling in the fields of Neural Machine Translation (NMT), Text-to-Speech (TTS) and Automatic Speech Recognition (ASR). The problem consists of converting between voices in a parallel setting when limited audio pairs are available. Our seq2seq architecture makes use of a hierarchical encoder to summarize input audio frames. On the decoder side, we use an attention based architecture used in recent TTS works. Since there is a dearth of large multispeaker voice conversion databases needed for training DNNs, we resort to training the network with a large single speaker dataset as an autoencoder. This is then adapted for the smaller multispeaker voice conversion datasets available for voice conversion. In contrast with other voice conversion works that use $F_0$, duration and linguistic features, our system uses mel spectrograms as the audio representation. Output mel frames are converted back to audio using a wavenet vocoder.

Introduction

Voice conversion (VC)—the task of making Speaker A sound like Speaker B while preserving the original message—is a significant challenge in speech processing. Traditionally, this requires large "parallel" datasets where both speakers record the same sentences. Such data is expensive and rare. Furthermore, older methods often rely on hand-engineered features like fundamental frequency ($F_0$) and process audio frame-by-frame, which can lose the broader temporal context of speech rhythm and prosody.

This paper introduces an end-to-end VC system that utilizes a hierarchical sequence-to-sequence (seq2seq) architecture. By pretraining the model as an autoencoder on a large single-speaker dataset and then fine-tuning it on limited parallel data, we successfully mitigate the data scarcity problem common in deep learning-based voice conversion.

Methodology

Our architecture adapts successful designs from Text-to-Speech (TTS) and Automatic Speech Recognition (ASR) to create a robust mapping between speakers.

Hierarchical Encoder

To handle the high redundancy inherent in audio frames, the encoder uses a "pyramidal" structure. It stacks bi-directional Gated Recurrent Units (GRUs) that progressively reduce the temporal resolution by a factor of 4. This forces the model to "summarize" the audio into higher-level linguistic units, similar to phonemes, which provides a more stable context for the conversion process.

The hierarchical encoder uses stacked GRUs and neighbor accumulation to reduce temporal resolution.

Attention-Based Decoder and Transfer Learning

The decoder uses a hybrid content-location attention mechanism to focus on relevant parts of the source audio while generating target frames.

A key innovation is our training strategy. We first train the entire network as an autoencoder using the LJSpeech dataset (~24 hours of a single speaker). This teaches the model the general structure and "physics" of speech. We then perform transfer learning, retraining the model on a much smaller parallel dataset (CMU Arctic) to map the source speaker's characteristics to the target speaker's identity.

Key Results

The model successfully performs voice conversion between different genders (e.g., male "bdl" to female "slt"). A critical metric for seq2seq models is the quality of the attention alignment. As shown in our results, the model learns a nearly linear mapping, indicating it accurately tracks the progression of the sentence from source to target.

Attention alignment (a) and spectrogram comparisons (b-d) showing successful voice identity transfer.

While the resulting spectrograms can appear slightly oversmoothed due to the L1 loss function and limited adaptation data, the use of a WaveNet vocoder ensures the final audio is plausible and realistic. Unlike traditional methods, our system learns prosodic features like pitch and duration implicitly from the mel-spectrograms.

Conclusion and Future Work

This hierarchical seq2seq approach demonstrates that high-quality voice conversion is possible even with limited parallel data. Future improvements could include adding a "Postnet" to sharpen output spectrograms and exploring non-parallel voice conversion to remove the requirement for identical source and target utterances.

Summary updated

BibTeX
@misc{narayanan2019hierarchical,
  author = {P. J. Narayanan and Punarjay Chakravarty and François Charette and G.V. Puskorius},
  title = {{Hierarchical Sequence to Sequence Voice Conversion with Limited Data}},
  year = {2019},
  eprint = {1907.07769},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.07769},
}
Figure