Mandarin pitch does several jobs at once. A slow downward drift across each phrase marks sentence structure, and every syllable carries one of five lexical tones that decide which word it is. Neighbouring tones also bend each other because the larynx cannot jump instantly between pitch targets. Speech-synthesis systems that generate the pitch track (the fundamental frequency, $F_0$) usually mirror this in a layered design. A phrase tier models the drift, a tone tier models syllable targets, and a learned residual tier mops up what is left. Each tier is fitted and tuned separately against its own local fit, then the tiers are stacked. This note asks whether that isolated tuning is costing accuracy. It also asks whether the advantage reported for layered pitch models over single networks survives when both are given the same, systematic tuning budget.
The opportunity comes from two findings that have never been put together. In prosody, the layered additive model of Yuan & Black beat a single network, and analytic superposition models such as Aguero et al. are known to flatten pitch peaks and valleys. In hyperparameter optimization (HPO, the search over training and architecture settings), Wiemerslage et al. showed that architectural rankings can reverse once each model is tuned properly. Loshchilov et al. noted that calibrating interacting components in isolated preliminary experiments misses how they co-adapt. Nobody has measured the tuning gap inside a layered prosody system, where it may be the direct cause of the flattening that the prosody literature attributes to the models themselves.
Core Claim
We hypothesize that in a layered Mandarin $F_0$ generator, the tier boundaries decide what the learned residual has to model. Tuning the upper analytic tiers for their own reconstruction error hands the residual a target that its regression loss then shrinks toward the mean, which compresses pitch range. Tuning the analytic-tier settings against the final, downstream objective should therefore recover pitch excursion and tone accuracy at no change in architecture. That objective is syllable pitch error, tone recognisability and range, measured after the residual tier is trained on top.
Separately, we claim that the layered-versus-single-network comparison has so far been made at unequal and unreported tuning effort, so it is an open question rather than a settled one. Both claims are testable, and either outcome is informative.
Two sentences for a colleague: layered pitch models for Mandarin tune each layer by itself, and we suspect that is why their contours come out flat. We tune the layers against the final output under a fixed budget, and we check whether layering still helps once a single network gets the same tuning.
The Layered Model Under Study
We fix one concrete three-tier generator so that tuning, not architecture, is the variable. Following the command-response view used by Hussein et al., the log pitch contour of an utterance is written as
$$\ln F_0(t) = \ln F_b + P_\theta(t) + T_\phi(t) + R_\psi(t),$$
where $F_b$ is a speaker base frequency. $P_\theta$ is the phrase tier, a sum of slowly decaying phrase commands with settings $\theta$ such as the decay constant, the maximum command count and the fitting regulariser. $T_\phi$ is the tone tier, whose settings $\phi$ include the amplitude threshold under which adjacent same-polarity tone commands are merged. That merge follows Hussein et al.'s finding that such commands have near-identical amplitudes, and $\phi$ also covers the timing of the "tone switch" between opposite polarities. $R_\psi$ is a bidirectional LSTM that predicts what remains from phone, syllable and word features, as in the residual path of Yuan & Black. Its settings $\psi$ include width, depth, learning rate and the weight on their intra-syllable slope ("In-Delta") loss.
The analytic tiers are fitted to each training utterance by analysis-by-synthesis, and their parameters are then predicted from text by small regressors. The residual tier learns the gap between natural pitch and the sum of the upper tiers. This mirrors the layered-systems pattern described in AnomalyKiTS: cheap primitives at the bottom, composed pipelines above, and a search engine as a separate layer that treats each tier as a black box with a declared search space. The "data flows up, control flows down" principle becomes concrete here. Measurements of the final contour flow up to the search layer, and hyperparameter choices flow down into every tier.
Research Program
The core comparison is between two ways of tuning the same model. In isolated tuning, which is current practice, $\theta$ is chosen to minimise phrase-tier reconstruction error on held-out utterances. Then $\phi$ is chosen for tone-tier reconstruction given $\theta$, and finally $\psi$ is tuned for residual error. In downstream tuning, all of $(\theta,\phi,\psi)$ are scored by a single objective on the output of the whole stack:
$$J = \mathrm{RMSE}_{\text{syl}} + \lambda_1\,\mathrm{TER} + \lambda_2\,\lvert 1 - \rho_{\text{exc}} \rvert.$$
Here $\mathrm{RMSE}_{\text{syl}}$ is syllable-level pitch error, and $\mathrm{TER}$ is the tone error rate of a fixed tone classifier trained on natural syllable contours and applied to generated ones. $\rho_{\text{exc}}$ is the ratio of generated to natural per-utterance pitch standard deviation, so a value of 1 means no flattening. $\lambda_1,\lambda_2$ are fixed before any search, and we also report each term separately so that no conclusion rests on the weighting.
Full downstream search is expensive because every analytic-tier setting needs a fresh residual network. We therefore build a tier-aware search that exploits the layering. The analytic tiers are deterministic and cheap, so their fits are cached per setting. Each candidate $(\theta,\phi)$ is first screened by training a small residual network for a short, fixed budget; only survivors receive full inner tuning of $\psi$. The outer optimizer is CMA-ES, an evolution strategy that adapts a search distribution. Following Loshchilov et al., it is paired with a rank-based surrogate, because our objective mixes incommensurate terms and only the ordering of candidates matters. Their paper supplies the method. Our addition is the placement of the cheap-proxy boundary at a tier interface.
Every model is also characterised by the landscape metrics of Wiemerslage et al.: the percentage of runs within 1% of the best, the number of local maxima, and the average change between neighbouring configurations. These tell us whether the layered model is easier or harder to tune than a single network, not only which reaches the better peak.
Data and Metrics
The main corpus is AISHELL-3, with about 85 hours from 218 native speakers and Pinyin transcriptions. We hold out speakers as well as utterances, because the prosody file identifies multi-speaker generalisation as the weak point of analytic models fitted to single studio voices. A single-speaker check is run on the NLPR Mandarin database used by Aguero et al. if it can be obtained. Otherwise we use one AISHELL-3 speaker with the most recordings. Pitch is extracted with one fixed tracker for all systems.
Objective metrics are syllable RMSE, contour correlation, the tone error rate described above, and the excursion ratio. For listening tests, generated contours are imposed on the same natural spectral envelopes and vocoded identically. Listeners then give naturalness scores and AB preferences on 100 held-out sentences, so that pitch is the only thing that differs.
Baselines
The naive reference is the layered model with each tier tuned in isolation by its own local fit, using a small hand-tuned setting per tier. This is how systems like the Toshiba Blizzard 2008 entry and WISTON calibrated their modules. It represents current practice, and any gain from downstream tuning is measured against it. We give it the same total number of full training runs as every other condition, spent as each stage's own search.
The strongest existing layered method is the Additive-BLSTM of Yuan & Black, in which two neural paths predict a base and a residual contour that are summed. It reports a syllable RMSE of 23.299 against 23.983 for a single BLSTM, and a Mandarin tone error rate of 0.85% against 3.05% for the best random-forest baseline, on the authors' own corpus. Those numbers are not directly comparable to ours, so we reimplement the model on our splits. For AISHELL-3 we found no reported syllable $F_0$ RMSE or tone error result on Lacuna; the corpus paper reports only speaker similarity. On NLPR, the reference point is Aguero et al.'s superpositional model at 0.82 correlation, 37.5 Hz RMSE and a naturalness score of 4.06, with acknowledged range compression.
The strongest single-network competitor is a FastSpeech 2–style pitch predictor, the part of its variance module (Ren et al.) that predicts wavelet-decomposed pitch. We also include a single BLSTM. Both receive the same outer-plus-inner tuning budget and the same surrogate-assisted optimizer. We count the layered approach as beating them only if its best-of-budget score is better, and its expected score over repeated searches is also better, with confidence intervals from at least five independent search seeds.
The key ablation removes downstream scoring for the analytic tiers only: $\psi$ is tuned downstream while $\theta,\phi$ keep their isolated optima. This isolates the claim that the interface choice, not residual tuning, drives any excursion recovery. A second ablation drops the excursion term from $J$. That checks whether range recovery simply appears because we asked for it, and whether the other metrics then pay for it.
Why not just…?
Why not just use a single well-tuned network and skip layering? This is a real threat. The very tuning-gap result we build on, Wiemerslage et al., found that thoroughly tuned simpler models matched or beat supposedly superior ones. MolRep similarly found claimed superiorities dissolving under uniform tuning. Yuan & Black's 0.7-point RMSE margin was not obtained at matched, reported tuning effort. The equal-budget single-network baseline settles this directly. If the tuned FastSpeech 2–style predictor matches the layered model on all four metrics and on held-out speakers, we will report that layering buys interpretability, not accuracy. The isolated-versus-downstream result still stands on its own.
Why not just tune each tier in isolation more thoroughly? Isolated tuning with a larger budget is cheap and needs no new machinery. It cannot, however, see the effect a phrase-tier setting has on what the residual can learn, because its objective never looks at the residual. The key ablation answers this. If thoroughly isolated tuning of $(\theta,\phi)$ matches downstream tuning at equal total budget, the interface hypothesis is false.
Why not just run one flat joint search over all hyperparameters? Flat joint Bayesian or evolutionary search over $(\theta,\phi,\psi)$ is the obvious method, and it may reach the same optimum. We run it at equal budget. The tier-aware scheme is justified only if it reaches a given $J$ with fewer full residual trainings. If it does not, we drop it and keep flat joint search as the recommended procedure; the scientific claim about downstream tuning does not depend on our search heuristic.
Why not just smooth or rescale the generated contour afterwards? Post-hoc variance scaling is the cheapest fix for flattening. It stretches all movement uniformly, whereas Hussein et al. show coarticulation is asymmetric: a syllable's tone amplitude shrinks after an opposite-polarity tone while the preceding syllable is barely affected. We include a baseline that rescales the isolated model's output to the natural per-speaker variance. If it matches downstream tuning on tone error as well as range, the simpler fix wins.
Decisive Checks
Three results decide the project. First, on held-out AISHELL-3 speakers, the key ablation shows whether downstream tuning of the analytic tiers raises $\rho_{\text{exc}}$ toward 1 without worsening RMSE or tone error. If it does not, the interface hypothesis is rejected. Second, the equal-budget comparison against the tuned single networks determines whether layered Mandarin pitch models are genuinely better or were only better tuned. The landscape metrics then show whether layering at least makes the model easier to tune. Third, the listening tests confirm that any objective gains in range and tone recognisability are audible. Because every condition shares the same data, the same total training budget, the same optimizer and the same seeds, each of these outcomes can be read directly as a statement about tuning practice in layered prosody systems.
References
- Generating Mandarin and Cantonese F0 Contours with Decision Trees and BLSTMs
- Intonation modeling of Mandarin Chinese using a superpositional approach
- Quantifying the Hyperparameter Sensitivity of Neural Networks for Character-level Sequence-to-Sequence Tasks
- Comparison-Based Optimizers Need Comparison-Based Surrogates
- Quantitative analysis of tone coarticulation in Mandarin
- AnomalyKiTS: Anomaly Detection Toolkit for Time Series
- AISHELL-3: A Multi-speaker Mandarin TTS Corpus and the Baselines
- The Toshiba Mandarin TTS System for the Blizzard Challenge 2008
- The WISTON Text to Speech System for Blizzard Challenge 2010
- FastSpeech 2: Fast and High-Quality End-to-End Text to Speech
- MolRep: A Deep Representation Learning Library for Molecular Property Prediction