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

Hierarchical Sequence to Sequence Voice Conversion with Limited Data

Praveen Narayanan, Punarjay Chakravarty, Francois Charette, Gint Puskorius

TL;DR

This paper introduces an end-to-end sequence-to-sequence (seq2seq) voice conversion system that bypasses the need for massive parallel multi-speaker datasets. By pre-training a hierarchical encoder-decoder network as an autoencoder on a large single-speaker dataset, the model learns robust speech representations and alignment mechanics, which can then be rapidly adapted to small target voice conversion datasets via transfer learning.

What Problem Does This Paper Address?

Voice conversion (VC)—the task of modifying a source speaker’s voice to sound like a target speaker while keeping the linguistic content intact—traditionally relies on deep neural networks trained on large, parallel audio datasets (where both speakers say the exact same sentences). However, high-quality parallel speech corpuses are rare and expensive to collect.

Furthermore, conventional VC pipelines treat speech features disjointly, separately modeling fundamental frequency ($F_0$), duration, and linguistic context. This paper tackles these limitations by proposing an end-to-end system that maps raw acoustic features (mel-spectrograms) directly from source to target speaker, while introducing a clever training strategy to overcome severe data scarcity.

Methods

The authors design an attention-based encoder-decoder architecture inspired by recent successes in Automatic Speech Recognition (ASR) and Text-to-Speech (TTS) systems.

Figure 1: System Diagram: Our Attention based Encoder- Decoder architecture for Voice Conversion takes in a mel- spectrogram for the source speaker and outputs the mel- spectrogram for the target speaker.

Key architectural components include:

  • The Encoder: Input mel-spectrogram frames pass through a bottleneck "Pre-net" and a Convolutional Bank + Highway (CBH) layer to extract local context. This is followed by a Hierarchical Recurrent Encoder composed of bidirectional Gated Recurrent Units (GRUs). Crucially, this encoder stacks layers that pool neighboring frames, reducing the overall temporal sequence length by a factor of 4. This downsampling distills highly redundant audio frames into compact, phoneme-like representations.
  • The Decoder: A complex stack of unidirectional GRUs paired with a hybrid content-location attention mechanism. It ingests the encoder's hidden states and autoregressively generates the target speaker's mel-spectrogram frames.
  • The Vocoder: A pre-existing, open-source WaveNet implementation is utilized as a neural vocoder to synthesize high-fidelity raw audio waveforms from the predicted mel-spectrograms.

The Training Strategy (The Secret Sauce)

To train this network without a massive multi-speaker dataset, the authors employ a two-step transfer learning approach:

  1. Autoencoder Pre-training: The network is first trained on a massive, single-speaker dataset. Because the source and target are identical, the model acts as an autoencoder, forcing the network to master the complex task of speech alignment and feature extraction.
  2. Voice Adaptation: The pre-trained weights are frozen/transferred, and the network is fine-tuned on a tiny parallel dataset for a specific <source, target> speaker pair using an L1 loss function.

Datasets

  • LJSpeech: Used for the autoencoder pre-training phase. It consists of 13,100 short audio book utterances (~24 hours) from a single female speaker, sampled at 22,050 Hz.
  • CMU Arctic: Used for the voice conversion adaptation phase. It contains 1,132 phonetically balanced utterances per speaker. The authors evaluated combinations of male ("bdl", "rms") and female ("clb", "slt") speakers. The data was split into 1,000 training, 66 validation, and 66 test utterances.

Note on preprocessing: Because CMU Arctic is sampled at 16 kHz and the model struggled to learn at lower sample rates, the authors upsampled it to 22,050 Hz for processing, downsampling the final output back to 16 kHz.

Key Insights and Ideas

  • Exploiting Speech Redundancy: Raw audio frames are highly inflated descriptors of speech; a single phoneme typically spans roughly 10 frames. The hierarchical reduction of timesteps in the encoder acts as an implicit clustering mechanism. This structural prior helps the attention mechanism align sequences much faster and more reliably.
  • Alignment as a Transferable Skill: The most difficult part of sequence-to-sequence speech modeling is learning the attention alignment path. This paper demonstrates that a network can learn how to align speech frames by simply reconstructing a single speaker's voice, and that this alignment capability transfers effectively to entirely different speakers.
  • Disentanglement Without Explicit Constraints: Rather than using complex mathematical losses to separate speaker style from linguistic content, the architecture relies on the bottlenecking nature of the hierarchical encoder to naturally discard source speaker characteristics, allowing the decoder to inject the target speaker's style.

Key Results

The authors successfully demonstrated plausible voice conversion (e.g., converting a male voice "bdl" to a female voice "slt") using only 1,000 paired training sentences from the CMU Arctic dataset.

Figure 5: Feature extractor, depicted through attention align- ment and mel spectrograms produced by training the network to produce ljspeech voices, with source and target being the same.

While the pre-training phase yields perfectly sharp, linear attention alignments, the adapted voice conversion model produces slightly "kinked" but highly functional alignment paths. The resulting audio successfully adopts the pitch and duration characteristics of the target speaker.

Limitations and Future Work

  • Blurry Spectrograms: The converted mel-spectrograms suffer from a degree of oversmoothing or "blurriness." The authors attribute this to the combination of limited adaptation data and the use of a standard L1 loss function.
  • Missing Post-Net: Many modern TTS architectures use a residual "Post-net" (typically convolutional) to clean up and sharpen predicted spectrograms. This architecture lacks one, which the authors note is a clear avenue for improvement.
  • Hyperparameter Sensitivity: The system is highly sensitive to hyperparameter tuning, particularly regarding the capacity of the CBH network and the precise placement of dropout layers to balance generalization against blurriness.
  • Parallel Data Constraint: Although the data requirement is small, it still requires parallel data for the adaptation phase. The authors note that extending this hierarchical architecture to non-parallel generative frameworks (like CycleGANs or VAEs) is the logical next step.

Summary updated

BibTeX
@misc{narayanan2019hierarchical,
  author = {Praveen Narayanan and Punarjay Chakravarty and Francois Charette and Gint 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},
}

Loading related content...

Figure