Exact Source–Filter Symmetries in a Variational Time-Varying LP Vocoder

Speech is produced by a sound source (the vibrating vocal folds) passing through a filter (the vocal tract, whose resonances are the formants). If a learned speech model keeps these two parts cleanly separate, you can change the pitch without changing the vowel, read formants off the model reliably, and avoid the "breathy" or "robotic" artifacts that appear when pitch errors leak into the filter. Neural models rarely keep them separate on their own. This proposal uses the source-filter structure itself as a source of free supervision. We build a variational autoencoder (VAE: an encoder that maps audio to a distribution over hidden codes, and a decoder that regenerates audio from sampled codes). Its decoder is an explicit source-filter synthesizer whose filter is a time-varying linear predictor (TVLP: an all-pole filter whose coefficients change at every audio sample). Because the decoder is explicit, some transformations act on it exactly. Shifting pitch changes only the source parameters. Warping the vocal-tract length changes only the filter poles. Time-warping reparameterizes both trajectories together. None of these requires audio-domain signal processing that distorts the other component.

The core claim is that applying these group actions to the decoder's parameters gives two things. It produces physically consistent augmented utterances, and it gives exact targets for how the encoder's source and filter codes should respond. Training the encoder to respond this way should yield filter codes that stay put when the pitch moves. Those codes should in turn give more accurate formant tracks, especially for the third formant and for high-pitched voices where linear prediction tends to lock onto pitch harmonics. The two-sentence version is this: when the generator is a physical source-filter model, symmetry augmentation can be done in parameter space, where it is exact rather than approximate. That exactness can be turned into a disentanglement signal that ordinary audio-level augmentation cannot provide.

What exists and what is missing

The decoder mechanism comes from Differentiable Time-Varying Linear Prediction in the Context of End-to-End Analysis-by-Synthesis. That paper writes custom gradient kernels for the sample-wise recursion $s[n] = e[n] + \sum_{k=1}^{p} a_k[n]\, s[n-k]$, where $s$ is the output speech, $e$ the excitation and $a_k[n]$ the filter coefficients. It then trains a glottal-flow source-filter vocoder, GOLF-ss, on VCTK. We reuse that filter. GOLF-ss is deterministic and uses no augmentation. Its authors report pitch-estimation errors producing breathy artifacts for speaker p361, which is direct evidence that its filter is not insulated from source errors. That observation motivates this proposal.

Classical TVLP supplies the prior knowledge and the strongest analysis baseline. Time-Varying Quasi-Closed-Phase Weighted Linear Prediction Analysis (TVQCP) separates source from filter by hand. It down-weights the open phase of each glottal cycle and expands coefficients over smooth polynomials, as in Time-varying autoregressive tests for multiscale speech analysis. We aim to learn TVQCP's separation instead of hand-engineering it, and to keep its smooth-basis regularization as a prior. Our aim is not to discard that regularization.

The symmetry side motivates and constrains the design. Koopman-Assisted Trajectory Synthesis shows that whole-trajectory augmentations that commute with the dynamics avoid the "teleporting" failures of single-step augmentation. It has to search for commuting operators approximately in a learned latent space. In our decoder the commuting actions are known analytically, so no search is needed. CFASL aligns VAE latent subspaces with group actions on static images. We do the same for temporal trajectories with physically defined, rather than discovered, groups. To Augment or Not to Augment? Diagnosing Distributional Symmetry Breaking is the constraint we must respect. Real speech breaks pitch-shift symmetry: pitch and formants co-vary across speakers, and an octave-shifted male voice with unchanged formants is not a natural sample. We therefore restrict the transformations to a small neighbourhood of the identity and measure the breaking directly (below). Variational Lossy Autoencoder warns that autoregressive decoders make VAEs ignore their latents. Our decoder's recursion is linear, of fixed low order $p$, and driven by a synthetic excitation rather than teacher-forced on real speech. It therefore cannot model the signal without the latent, which is the kind of capacity restriction that paper recommends.

Core Claim

Let the encoder output two codes, $z_s$ for the source and $z_f$ for the filter. The decoder maps these to a pitch trajectory, glottal parameters and TVLP coefficient trajectories, and synthesizes audio $\hat x = D(z_s, z_f)$. For a transformation $g$, let $g_\theta$ denote its exact action on the decoder parameters. Pitch scaling by factor $\alpha$ multiplies the $f_0$ trajectory and leaves $a_k[n]$ untouched. Vocal-tract length warping rotates pole angles with a first-order all-pass frequency warp and preserves pole radii, the operation studied in Frequency-warped and stabilized time-varying cepstral coefficients. Time warping reparameterizes $n$ in both source and filter trajectories. We synthesize $x_g = D_{g_\theta}(z_s, z_f)$, re-encode it, and add a consistency term to the ELBO:

$$\mathcal{L} = \mathrm{ELBO}(x) + \mathrm{ELBO}(x_g) - \lambda\, \mathbb{E}_{g \sim \mu}\big[\, d(z_f(x_g),\, \rho_f(g)\, z_f(x)) + d(z_s(x_g),\, \rho_s(g)\, z_s(x)) \big].$$

Here $\mu$ is a distribution over small group elements, $\rho_f$ and $\rho_s$ are the prescribed actions on each code, and $d$ is a divergence between encoder posteriors. The prescribed actions follow the decoder: pitch scaling leaves $z_f$ fixed ($\rho_f = $ identity) and moves a dedicated $f_0$ channel of $z_s$. Length warping does the reverse. We claim that the consistency term, not the augmented data alone, is what forces the filter code to stop absorbing pitch.

Research Program

The first component is the decoder. It is the GOLF-ss source-filter synthesizer, with filter coefficients parameterized through reflection coefficients or pole radius–angle pairs so that the filter is stable at every frozen instant. As the file notes, frozen-time stability is necessary but not sufficient under fast variation. We therefore also project pole trajectories onto a low-order smooth basis with a learned sample-wise residual. This addresses the tension between basis regularization and the training–inference mismatch that Yu and Fazekas argue against.

The second component is the VAE. It has a temporal encoder and a prior over $(z_s, z_f)$ trajectories. With the prior we can sample filter trajectories, and we can report a posterior spread for each formant estimate, which a deterministic tracker cannot provide.

The third component is the symmetry-breaking diagnostic. Following the logic of To Augment or Not to Augment?, we train a classifier to distinguish real utterances from parameter-transformed ones as a function of the size of $g$. We cap $\mu$ where the classifier's accuracy departs from chance. Pitch scaling will likely tolerate only a narrow range, perhaps within a few semitones. Time warping should tolerate a broader range.

Baselines

The naive reference point is frame-wise linear prediction, together with Praat as a formant tracker. DeepFormants reports Praat's estimation mean absolute error on the VTR database as 75, 115 and 151 Hz for $F_1$, $F_2$ and $F_3$. Any learned method has to clear this easily.

The strongest analysis baseline is TVQCP ( Time-Varying Quasi-Closed-Phase Weighted Linear Prediction Analysis of Speech for Accurate Formant Detection and Tracking). Its sparse variant reports a formant detection rate of 91.0% and a formant estimation error of 5.7% for $F_3$ on VTR. We will rerun TVQCP ourselves under the same evaluation script and frame alignment, tuning its order and basis degree on the same held-out split we use for our model. Beating it means a higher $F_3$ detection rate and lower estimation error on that same script. We expect gains to concentrate in female speakers.

The strongest learned tracker is DeepFormants ( Formant Estimation and Tracking Using Deep Learning). It reports estimation MAE of 48, 83 and 109 Hz and tracking RMSE of 118, 169 and 204 Hz. It is supervised on formant labels, whereas our model is not. Matching its $F_3$ tracking RMSE without labels would be a strong result. A fair supervised comparison adds a small probe trained on the same labelled split.

For synthesis, the baseline is GOLF-ss retrained on VCTK with identical data, sample rate, filter order, step count and hyperparameter search budget. No reported result found on Lacuna for the numeric MSS, MCD or PESQ values of GOLF-ss, so we re-measure it ourselves.

Two ablations isolate the key ingredient. The first is the same VAE trained with the parameter-space augmented utterances but with $\lambda = 0$, which is augmentation without the consistency constraint. The second is the same VAE with no augmentation. A deterministic autoencoder with the consistency term tests whether the variational part earns its place.

Why not just…?

Why not just pitch-shift the training audio and retrain GOLF-ss? This is the most serious threat. It is cheap, and it may already reduce the p361 artifacts. Audio-domain pitch shifting either moves the formants too (resampling) or introduces its own artifacts (overlap-add methods). It also gives the model no target saying which internal parameters should stay fixed. We run exactly this baseline with the same shift range. If it matches our model on the invariance test and on $F_3$ accuracy, the proposal's central claim is false and we will report that.

Why not just a disentangling VAE without the physical decoder? Expressive Speech Synthesis via Modeling Expressions with Variational Autoencoder and the source-filter spectrogram model FastPitchFormant decode to frame-level spectral features. There, a pitch shift has no exact parameter-space counterpart, so the invariance target is only approximate and formants cannot be read from poles. We include a spectrogram-decoder VAE with a comparable consistency loss built on audio-domain shifting. Its formants are read out by the same probe.

Why not just use classical TVQCP, which already separates source from filter? TVQCP does this by hand-placed closed-phase windows for each utterance. It is sensitive to model order, and it learns nothing across speakers ( Time-Varying Quasi-Closed-Phase Weighted Linear Prediction Analysis of Speech for Accurate Formant Detection and Tracking). It is also not a generator. It remains the number to beat for $F_3$, and if it wins on VTR, the gain of our method is limited to synthesis.

Why not a black-box neural vocoder? Such a vocoder may sound better, but it exposes no filter to measure or constrain. We therefore treat it as out of scope for the disentanglement question and do not claim superiority in audio quality.

Proposed Experiments

The decisive check is an invariance test on real, not synthesized, speech. We take VTR utterances and create pitch-altered versions by an independent method: recordings of the same sentence at different pitches where available, and otherwise high-quality external resynthesis. We then measure how far the filter-derived formant tracks move. Under our hypothesis, the full model's $F_1$–$F_3$ tracks move markedly less than those of GOLF-ss, the $\lambda = 0$ ablation, and the audio-augmentation baseline. Movement is measured in Hz RMSE between tracks.

The second check is VTR formant accuracy against the TVQCP and DeepFormants figures above, broken down by speaker sex. The third is VCTK resynthesis quality in MSS, MCD and PESQ, plus a MUSHRA test. The listening test oversamples speakers with pitch-tracking failures such as p361, and uses deliberately perturbed $f_0$ inputs to test whether the filter now resists absorbing pitch errors.

The fourth check is calibration. The model's formant posterior intervals on VTR should cover ground truth at their nominal rate, evaluated in the spirit of Conformal Reliability. The last check is the symmetry-breaking sweep. We report all metrics as a function of the allowed pitch-shift range. If performance degrades beyond the range where the real-versus-transformed classifier stays near chance, the prediction from To Augment or Not to Augment? holds. That would also set the practical limit of the method.