HiFi-Glot: High-Fidelity Neural Formant Synthesis with Differentiable Resonant Filters

Yicheng Gu, Pablo Pérez Zarazaga, Chaoren Wang, Zhizheng Wu, Zofia Malisz, Gustav Eje Henter, Lauri JuvelaarXiv 2024

TL;DR

HiFi-Glot is an end-to-end neural formant synthesis system that bridges the gap between precise speech controllability and high-fidelity audio quality. By integrating a neural vocoder with a fully differentiable, computationally efficient all-pole resonant filter, it allows users to precisely manipulate phonetic parameters (like formants and spectral tilt) while generating highly natural-sounding speech.

What Problem Does This Paper Address?

In speech science, phonetics, and speech therapy (such as transgender voice therapy), researchers and practitioners need to manipulate low-level acoustic parameters—like fundamental frequency ($F_0$) and formants (vocal tract resonance frequencies)—independently and accurately.

Historically, this was done using Digital Signal Processing (DSP) tools like Praat. While Praat offers precise control, its source-filter separation is imperfect, leaving residual formant information in the excitation signal which causes robotic artifacts when modified. On the flip side, modern deep learning vocoders generate incredibly realistic speech but typically rely on mel-spectrograms. Mel-spectrograms act as a "black box," making it highly difficult to intuitively disentangle and control specific phonetic characteristics.

Existing neural source-filter models attempt to solve this but often lack explicit vocal tract modeling or audio-level end-to-end supervision, leading to a drop in both speech quality and parameter control precision.

Methods

HiFi-Glot introduces an end-to-end neural source-filter architecture optimized using Generative Adversarial Network (GAN) losses.

Fig. 1: Architecture and training schemes for HiFi-Glot. The model consists of a GCNN feature mapper, an NSF-HiFiGAN decoder, and four different discriminators. Dark-blue blocks represent trainable neural networks, light-blue blocks represent intermediate features, yellow blocks are differentiable DSP modules, and dashed lines indicate loss-function input pairings.

The pipeline consists of three main stages:

  1. Feature Mapper (GCNN): A gated convolutional neural network takes interpretable speech parameters (voicing, $F_0$, formants $F_1\)–\(F_3$, spectral tilt, centroid, and energy) and maps them into a latent representation alongside all-pole filter parameters (reflection coefficients).
  2. Neural Excitation Generator (NSF-HiFiGAN): This component uses the latent representation and pitch contour to synthesize a clean glottal excitation signal.
  3. Differentiable All-Pole Synthesis Filter: Instead of using slow, autoregressive filtering, the authors implement a fully differentiable Finite Impulse Response (FIR) approximation of the synthesis filter. By performing filtering via complex multiplication directly in the STFT domain, the operation becomes highly parallelizable on GPUs and allows gradients to flow seamlessly from the final audio back to the excitation generator.

The entire system is trained end-to-end using a combination of multi-scale mel-spectrogram loss, an envelope spectrogram loss, and four distinct time/frequency-domain discriminators.

Datasets

  • Training: A massive internal dataset containing 1,664 hours of speech.
  • Evaluation: 1,000 utterances randomly selected from the public HiFi-TTS2 dataset.

Key Insights and Ideas

  • The Power of Differentiable DSP: By making the all-pole filter differentiable, the neural vocoder learns to generate an excitation signal that is perfectly tailored to the modified filter. This eliminates the "residual formant" artifacts that plague traditional DSP methods like Praat.
  • STFT-Domain Filtering Trick: Simulating an all-pole filter traditionally requires sequential, time-domain autoregressive steps (like in LPCNet), which are slow. Approximating this filter in the STFT domain unlocks massive GPU acceleration while maintaining mathematical differentiability.
  • Preserving Control via Envelope Loss: Introducing a explicit Lenvelope loss ensures that the network doesn't bypass the physical constraints of the source-filter model, forcing the acoustic parameters to remain highly interpretable and controllable.

Key Results

The authors evaluated HiFi-Glot against Praat and a neural formant synthesis baseline (NFS-HiFiGAN) across various parameter scaling factors (from 0.7 to 1.3).

Objective Evaluation

HiFi-Glot achieved significantly lower Root-Mean-Square Error (RMSE) when reconstructing manipulated speech parameters like spectral tilt, centroid, energy, and formants—especially during downward scaling.

Speech Parameter Manipulation Errors

Subjective Evaluation

In MUSHRA-like listening tests simulating vocal tract length modifications (by scaling all formants simultaneously), HiFi-Glot consistently outperformed both Praat and the NFS baseline in perceptual quality and naturalness. While Praat performs perfectly at a scale of 1.0 (copy-synthesis), its quality degrades drastically as soon as any formant manipulation is introduced. HiFi-Glot proved to be far more robust to scaling.

Fig. 3: Bar plots of the MUSHRA-like listening test results with 95% confidence intervals (CIs). All formant parameters are scaled over the range [0.7, . . . , 1.3] and then re-synthesized using different systems.

Limitations and Future Work

  • Inherent Naturalness Degradation: Globally scaling formants inherently sounds less natural to human ears because real human vocal tracts don't scale perfectly linearly.
  • Upward Scaling: While HiFi-Glot dominates in downward scaling (making a voice sound deeper/larger), its performance on upward scaling (making a voice sound higher/smaller) is on par with, but not vastly superior to, the neural baseline.
  • Unvoiced Speech Handling: Currently, formant contours in unvoiced regions (like hissing or silence) are filled using simple linear interpolation, which could be replaced with more realistic statistical modeling in future iterations.

Summary updated

BibTeX
@misc{gu2024hifi,
  author = {Yicheng Gu and Pablo Pérez Zarazaga and Chaoren Wang and Zhizheng Wu and Zofia Malisz and Gustav Eje Henter and Lauri Juvela},
  title = {{HiFi-Glot: High-Fidelity Neural Formant Synthesis with Differentiable Resonant Filters}},
  year = {2024},
  eprint = {2409.14823},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.14823},
}
Figure