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

AE-Flow: AutoEncoder Normalizing Flow

Jakub Mosiński, Piotr Biliński, Thomas Merritt, Abdelhamid Ezzerg, Daniel Korzekwa · DOI

Abstract

Recently normalizing flows have been gaining traction in text-to-speech (TTS) and voice conversion (VC) due to their state-of-the-art (SOTA) performance. Normalizing flows are unsupervised generative models. In this paper, we introduce supervision to the training process of normalizing flows, without the need for parallel data. We call this training paradigm AutoEncoder Normalizing Flow (AE-Flow). It adds a reconstruction loss forcing the model to use information from the conditioning to reconstruct an audio sample. Our goal is to understand the impact of each component and find the right combination of the negative log-likelihood (NLL) and the reconstruction loss in training normalizing flows with coupling blocks. For that reason we will compare flow-based mapping model trained with: (i) NLL loss, (ii) NLL and reconstruction losses, as well as (iii) reconstruction loss only. Additionally, we compare our model with SOTA VC baseline. The models are evaluated in terms of naturalness, speaker similarity, intelligibility in many-to-many and many-to-any VC settings. The results show that the proposed training paradigm systematically improves speaker similarity and naturalness when compared to regular training methods of normalizing flows. Furthermore, we show that our method improves speaker similarity and intelligibility over the state-of-the-art.

Introduction

Voice Conversion (VC) aims to transform a source speaker's voice to sound like a target speaker while preserving the linguistic content. While Normalizing Flows have emerged as powerful generative models for this task due to their ability to learn reversible mappings between complex data and simple latent spaces, they often suffer from a "leakage" problem.

In an ideal VC system, the latent space should only contain linguistic information, while the speaker identity is provided via external conditioning. However, standard normalizing flows often fail to perfectly disentangle these components. The authors demonstrated this by training a simple classifier on the latent space of a standard flow model; it could identify the speaker with 29% accuracy. This suggests the model "hides" speaker information in the latent space to satisfy the mathematical requirements of invertibility, rather than relying on the provided speaker embeddings. This leakage directly degrades the quality of voice conversion, especially in zero-shot scenarios.

Methodology

To address the disentanglement issue, we propose AE-Flow (AutoEncoder Normalizing Flow). While traditional flows are trained in an unsupervised manner using only Negative Log-Likelihood (NLL), AE-Flow introduces supervision through an autoencoder-style reconstruction loss ($L_1$ loss).

Architecture of the AE-Flow system, showing the speech encoder/decoder, phoneme conditioning, and flow components.

The training innovation lies in a modified loop designed to break the model's reliance on "hidden" latent information:

  1. Encode: An audio sample $x$ is mapped to a latent vector $z$.
  2. Resample: Instead of decoding the exact vector $z$, the model samples a new $z'$ from the prior distribution.
  3. Decode: The model decodes $z'$ back into audio ($x_{gen}$) using the original speaker conditioning.
  4. Optimization: The model is optimized using a weighted combination of NLL and the $L_1$ difference between the original audio $x$ and the generated audio $x_{gen}$.

By forcing the model to reconstruct audio from a sampled latent point rather than the exact encoded point, the model is compelled to rely on the conditioning information (speaker identity, pitch, etc.) to achieve an accurate output. This effectively prevents the model from passing speaker information through the latent space.

Experimental Setup

The models were evaluated using an internal high-quality dataset consisting of approximately 91,000 utterances from 118 gender-balanced professional US English voice talents. Audio was sampled at 24 kHz and converted to 80-dimensional mel-spectrograms.

Evaluation was conducted across two primary settings:

  • Seen to Seen (S to S): Conversion between speakers included in the training set.
  • Seen to Unseen (S to U): Zero-shot conversion to speakers the model never encountered during training.

Results and Discussion

We compared AE-Flow against FlowVC (standard NLL-only flow) and CopyCat (a state-of-the-art non-flow baseline). The results indicate that the introduction of the reconstruction loss significantly enhances performance across key metrics.

Table summarizing Speaker Similarity and Naturalness results across different systems.

Speaker Similarity and Naturalness

AE-Flow and its variant ND-Flow (reconstruction loss only) consistently outperformed the standard FlowVC. In "Seen to Seen" tests, AE-Flow achieved a similarity score of 74.3, significantly higher than the source anchor. Furthermore, AE-Flow matched or exceeded the naturalness of source recordings in several tests. The $L_1$ loss acts as a vital regularizer, preventing the "extreme" behaviors (such as unnaturally high-pitched voices) sometimes observed in pure NLL flow models by keeping the output within a more natural range of human speech.

Intelligibility and Efficiency

Using Word Error Rate (WER) as a proxy for intelligibility, all flow-based models, including AE-Flow, significantly outperformed the non-flow CopyCat baseline. This confirms that flows are inherently superior at preserving linguistic content. Additionally, because the model learns to decode from a sampled prior, the encoding step can be skipped during inference, potentially increasing generation speed.

Conclusion

AE-Flow demonstrates that adding a reconstruction loss to normalizing flows effectively solves the speaker information leakage problem in voice conversion. This hybrid training paradigm achieves supervision without requiring rare parallel data. Future work will explore the balance between NLL and reconstruction loss on noisier datasets and investigate alternative loss functions, such as adversarial or perceptual losses, to further refine audio quality.

Summary updated

BibTeX
@inproceedings{mosinski2023ae,
  author = {Jakub Mosiński and Piotr Biliński and Thomas Merritt and Abdelhamid Ezzerg and Daniel Korzekwa},
  title = {{AE-Flow: AutoEncoder Normalizing Flow}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  doi = {10.1109/icassp49357.2023.10095301},
}
Figure