Fine-grained robust prosody transfer for single-speaker neural text-to-speech
Viacheslav Klimkov, Srikanth Ronanki, Jonas Rohnke, Thomas Drugman

TL;DR
This paper introduces a robust neural TTS system that transfers fine-grained prosody between speakers, especially effective with unseen speakers, by decoupling reference alignment and using phoneme-level prosody aggregation with a variational auto-encoder.
Contribution
It proposes a novel decoupling approach for prosody transfer, improving stability and robustness in single-speaker trained models, including cases without reference transcriptions.
Findings
Significantly improved prosody transfer stability.
Effective transfer from unseen speakers.
Enhanced latent prosody representation with VAE.
Abstract
We present a neural text-to-speech system for fine-grained prosody transfer from one speaker to another. Conventional approaches for end-to-end prosody transfer typically use either fixed-dimensional or variable-length prosody embedding via a secondary attention to encode the reference signal. However, when trained on a single-speaker dataset, the conventional prosody transfer systems are not robust enough to speaker variability, especially in the case of a reference signal coming from an unseen speaker. Therefore, we propose decoupling of the reference signal alignment from the overall system. For this purpose, we pre-compute phoneme-level time stamps and use them to aggregate prosodic features per phoneme, injecting them into a sequence-to-sequence text-to-speech system. We incorporate a variational auto-encoder to further enhance the latent representation of prosody embeddings. We…
| Model | Ref. | RMSE (Hz) | CORR | FFE (%) |
|---|---|---|---|---|
| Base | SS | 42.7 8.1 | 0.45 0.16 | 29.72 |
| US | 36.3 8.7 | 0.57 0.14 | 31.05 | |
| Sec_Att | SS | 18.9 7.4 | 0.86 0.09 | 9.79 |
| US | 24.1 13.1 | 0.78 0.16 | 20.18 | |
| Agg | SS | 16.4 7.4 | 0.89 0.08 | 9.09 |
| US | 20.5 7.8 | 0.84 0.09 | 15.05 | |
| Agg_VAE | SS | 16.4 6.8 | 0.89 0.08 | 8.93 |
| US | 20.1 7.2 | 0.85 0.09 | 14.98 |
| Ref. | Base | Sec_Att | Agg | Agg_VAE |
|---|---|---|---|---|
| SS | 30.0 | 72.5 | 77.0 | 78.0 |
| US | 30.0 | 59.0 | 66.0 | 70.0 |
| Data | Text | Ref. | RMSE (Hz) | CORR | FFE (%) |
|---|---|---|---|---|---|
| ND | WT | US | 41.9 | 0.79 | 52.7 |
| ND | WOT | US | 45.5 | 0.75 | 55.7 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
FINE-GRAINED ROBUST PROSODY TRANSFER FOR SINGLE-SPEAKER NEURAL TEXT-TO-SPEECH
Abstract
We present a neural text-to-speech system for fine-grained prosody transfer from one speaker to another. Conventional approaches for end-to-end prosody transfer typically use either fixed-dimensional or variable-length prosody embedding via a secondary attention to encode the reference signal. However, when trained on a single-speaker dataset, the conventional prosody transfer systems are not robust enough to speaker variability, especially in the case of a reference signal coming from an unseen speaker. Therefore, we propose decoupling of the reference signal alignment from the overall system. For this purpose, we pre-compute phoneme-level time stamps and use them to aggregate prosodic features per phoneme, injecting them into a sequence-to-sequence text-to-speech system. We incorporate a variational auto-encoder to further enhance the latent representation of prosody embeddings. We show that our proposed approach is significantly more stable and achieves reliable prosody transplantation from an unseen speaker. We also propose a solution to the use case in which the transcription of the reference signal is absent. We evaluate all our proposed methods using both objective and subjective listening tests.
Index Terms: Neural text-to-speech, sequence-to-sequence, prosody transfer.
1 Introduction
Neural text-to-speech (NTTS) ††footnotetext: Paper accepted for Interspeech 2019 methods significantly boosted the overall naturalness of synthetic speech [1, 2, 3] while allowing to build much more flexible synthesis systems [4, 5, 6]. As ‘neural text-to-speech’, we here refer to a sequence-to-sequence (seq2seq) model predicting mel-spectrograms, followed by a neural vocoder as proposed in Tacotron2 [2]. There have been several applications of NTTS for style [7, 4], prosody [5] and speaker [6] control. Fine-grained Prosody Transfer (PT) is another possible extension of NTTS, allowing precise control over temporally dependent prosodic structures, such as phrase breaks, emphasis, prominence, etc. A particular shortcoming of fine-grained PT approaches is that they are quite limited in their ability to generalize well for long utterances and hence prevents the use of synthesized speech in otherwise appealing applications such as voice imitation for audiobooks. In this paper, we focus on seq2seq models for achieving robust PT from one speaker to another under various training conditions.
1.1 Relation to prior work
End-to-end PT has recently gained interest in a number of studies [5, 7, 8]. The vast majority of them focus on sentence-level prosody embeddings. These work well for transplanting general voice quality, overall duration and pitch of the sentence but the fine-grained prosody control is rather limited.
In [5], an extension to the Tacotron architecture [9] is proposed, which compresses the prosody of a whole utterance into a fixed-dimension embedding, losing temporal information. For example, phrasing structure, emphasis and accents are not transplanted properly. Global Style Tokens (GSTs) are introduced in [7] to encode different speaking styles, when jointly trained within Tacotron. Similar to [5], this approach uses a reference encoder to guide GST weights in order to synthesize a phrase in the prosodic style of a reference speech. In [8], a Variational Auto Encoder (VAE) is proposed in an end-to-end speech synthesis model for style control and transfer. All these approaches use a reference encoder and a fixed-size embedding for transferring style at utterance level, but do not achieve fine-grained control or transfer of prosody.
Another challenge for end-to-end PT is speaker perturbation with the ultimate goal of transplanting prosody from arbitrary speakers. This will allow to synthesize speech with natural prosody from a given speaker, using a reference signal from any other speaker. In a recent study [10], a secondary attention module within the seq2seq framework is proposed to overcome some of these limitations. They also propose to use normalized embeddings to address speaker perturbations, and variable-length prosody embeddings to enable fine-grained prosody control. However, the secondary attention used in [10] to map the reference signal and text, does not generalize well when the model is trained on a single speaker and tested with reference signal from unseen speaker.
In general, we identify two potential shortcomings of the aforementioned approaches. First, fine-grained PT is still not robust enough to use it in audiobook applications. Secondly, the transfer of prosody for NTTS in the absence of input text has never been attempted, to the best of our knowledge.
1.2 Novelty of this work
We propose a novel robust approach for fine-grained PT and evaluate it for a single-speaker scenario which is a typical case for TTS datasets. We study if it helps to decouple the acoustic feature generation from the task of finding the correspondence of text and reference signal. We achieve this by performing forced alignment [11] (a.k.a. phoneme segmentation) of the reference signal with a generic acoustic model beforehand, aggregating the prosodic features on a phoneme-basis and injecting them into the seq2seq system. In addition, we explore a variational auto-encoder approach as proposed in [8] to enhance the interpolation ability of the prosody transplantation framework.
A vast majority of TTS datasets are created for unit-selection technology and are not expressive (i.e. they have a flat prosody). Therefore, utilizing non-expressive data is a valuable practical research direction. We study the effect of dataset expressivity and the reduction of PT capabilities of a model built with such a dataset. Another practical limitation of PT is also explored, where reliable transcript for the speech to be resynthesized is not available. We perform prosody transfer in the absence of input text, where the output of an Automatic Speech Recognition (ASR) model is directly fed to the speech synthesis module together with reference audio.
The paper is organized as follows: Section 2 describes the conventional model for NTTS and a secondary attention module for end-to-end prosody transplantation framework; Section 3 introduces the proposed PT using an aggregated reference signal and a variational autoencoder. We evaluate our proposed approach for PT between two speakers under various training conditions in Section 4. Finally, in Section 5, we summarize our conclusions.
2 Baseline model
The system architecture for our baseline NTTS model follows that of Tacotron2 [2], with minor changes. First, a seq2seq acoustic model predicts mel-spectrograms from a sequence of phoneme-level linguistic inputs. Then a speaker-independent neural vocoder converts the mel-spectrograms into a high-fidelity audio waveform [12].
The schematic diagram of a general seq2seq Neural TTS is presented in Figure 1. The seq2seq model consists of an encoder, auto-regressive decoder and an attention module which finds the correspondence between textual and acoustic representation of speech. Similar to Tacotron2, our encoder consists of a convolution stack and a bi-LSTM layer. As an input to the encoder, we use phoneme identities to speed up the training. The decoder is a stack of LSTM layers and a locally-sensitive version of the attention mechanism is utilized for training the network. The fine details of our input phoneme representation and the hyper-parameters used for training a seq2seq model are explained in detail in our previous work [13].
2.1 Secondary attention for PT
The use of prosody embedding for NTTS was first introduced in [5] by encoding a reference speech of an arbitrary speaker into a fixed-length learned representation using a reference encoder. The prosody embedding from the reference encoder is then broadcast-concatenated with the linguistic encoder representation to form a sequence of encoder embeddings. The use of fixed-length prosody embedding does not allow fine-grained prosody transplantation. To overcome this, variable-length prosody embedding via a secondary attention [10] is used as a conditional input along with embeddings from linguistic encoder as shown in Figure 2. We consider this approach as a baseline for our PT experiments in Section 4. Mel-spectrograms were used as an input to the reference encoder in the original study. That required per-speaker normalization of prosody embeddings within the network. In contrast, we used prosodic features that are easy to normalize beforehand: and .
3 Proposed approach for PT
In this section, we first propose the use of aggregated reference for PT. Then we show the application of VAE for better generalization towards unseen speakers.
3.1 Aggregated reference for PT
In case of single-speaker training dataset, the approach from Section 2.1 suffers from instabilities of the secondary attention. For long utterances, the secondary attention is quite unstable and the PT does not occur. Furthermore, prosody-only features do not contain sufficient information to reliably perform the alignment of reference signal.
Since TTS models are usually trained on a single-speaker dataset, it is worth separating the alignment of the reference signal from the actual speech synthesis. The proposed approach is shown in Figure 3. First, the Aggregation phase is performed. It includes forced alignment of the reference signal and uses the resulting phoneme boundary information to aggregate prosodic features per phoneme by performing averaging of frame-level features. During the Encoding phase, aggregated prosodic features are passed through the reference encoder of the same architecture as in Section 2, and are concatenated with linguistic encoder outputs.
A 7-dimensional prosodic representation was used for each phoneme, which is composed of mean and for each of 3 phoneme states, and phoneme duration. All features are normalized by mean and variance per speaker, duration is additionally normalized per phoneme identity.
3.2 Aggregated variational reference for PT
Variational Auto Encoders (VAE) were first introduced in [14] and have been used in the context of end-to-end speech synthesis (for e.g., [8, 15]). Using VAE in the context of PT forces the latent space of prosody embeddings to be uniform and continuous, which further improves the stability of transfer from unseen speakers.
Figure 4 shows the modifications to the Encoding phase - the aggregation phase remains unchanged. The reference encoder predicts distributions (mean and standard deviation ) of prosody embedding for each phoneme, from which we sample prosody embeddings. Predicted distributions are used in a Kullback-Leibler (KL) divergence loss component, that constrains the latent space to be uniform and continuous.
During training, the convergence speed of the KL loss usually surpasses that of the reconstruction loss. This leads to the well-documented KL loss collapse. Similar to [8], we found that introducing KL annealing and scheduling helps to avoid this problem. In our experiments we linearly increase a scaling factor for the KL loss from 0 to 1 between iterations 25k and 150k. In addition, we only take the KL loss into account every 200 training steps.
4 Experiments and results
4.1 Data
We conducted experiments on an internal US English dataset of audiobook recordings. The training dataset consists of 20 hours of recordings from 4 non-fiction audiobooks, read in an expressive style by a female speaker. For the results presented in section 4.3, two sets of 50 utterances were used. The first one comes from held-out books for the same speaker (SS) who narrated the training data; the second one is from an unseen speaker (US) narrating unseen books in a similar style. The unseen speaker is also a US English female voice. Speakers were selected arbitrarily without taking voice similarity into account.
4.2 Evaluation protocol
Four systems were evaluated: 1) Base - baseline NTTS without PT; 2) Sec_Att - PT using secondary attention (section 2.1); 3) Agg - PT using aggregated reference (Section 3.1); 4) Agg_VAE - PT using aggregated reference with VAE (Section 3.2).
Objective metrics: Objective metrics are used to compare acoustic parameters extracted from synthesized audio and natural recordings. We only focus on comparing values. For all comparisons, we use Dynamic Time Warping (DTW) [16] to match the predicted to the reference sequence length. Since mel-cepstral features are well-suited for DTW alignment, the path obtained from mel-cepstral features is used to align as well. We report root mean square error (RMSE), correlation and F0 frame error (FFE) [17, 18].
Subjective tests: The systems were evaluated subjectively using a MUSHRA test [19]. 24 native English speakers were presented with reference audio and samples from the systems in random order side-by-side, and were asked to “Rate the systems in terms of their naturalness and prosody transfer. 100 means a very natural speech, prosody matches exactly with reference audio and 0 means a very unnatural speech and doesn’t match at all”. A total of 96 utterances were used for testing and the test is balanced in such a way that each listener scored 32 out of 96 (16 from same speaker and another 16 from unseen speaker). Actual recordings are used as an upper anchor. The significance of the MUSHRA results was analyzed with a Wilcoxon signed-rank test and a standard t-test, both with Bonferroni-Holm correction applied [20].
4.3 Evaluation results
Objective metrics are reported in Table 1. As expected, the baseline system achieves a low F0 correlation. PT with secondary attention performs quite good, but introduces a significant degradation (all three metrics) if an unseen speaker is used as prosody reference. The standard deviation of F0 correlation in the approach illustrates the effect of its instability for unseen speakers. Our proposed solution is also affected but to a lesser extent. Introducing VAE to the aggregated approach slightly improves all the objective metrics.
The MUSHRA results for subjective evaluation of different PT approaches are summarized in Table 2. Significant improvement over the secondary attention method is observed by using the proposed aggregated technique both in cases of PT from seen and unseen speaker (- in pair-wise two-sided t-test and - in Wilcoxon signed-rank test). VAE introduces additional improvement but not significant in case of same speaker. We present listener ratings with boxplots for the more challenging scenario of PT from an unseen speaker in Figure 5. All comparisons from this figure are statistically significant (- in t-test).
Per-case analysis of listeners judgements revealed that when the secondary attention was operating properly, there is only a small difference between and . The differences are more pronounced when the secondary attention fails to assign correspondence between the reference signal and linguistic embeddings. In such cases, the synthesis had poor segmental quality and the PT did not happen and this is reflected in the boxplot in form of a stretched section below the median for .
4.4 PT model built with neutral dataset
Another important factor of prosody controllability is the data used for building the speech synthesis system. The majority of datasets for speech synthesis systems are recorded in a neutral speaking style. We trained the proposed system (Agg_VAE) from Section 3.2 on an internal US English female speaker neutral dataset (ND) comparable in size to the expressive dataset used in previous experiments.
The results of the evaluation in terms of PT from an unseen speaker are presented in the first row of Table 3. There is a substantial drop in PT capabilities compared to the results from Table 1. We speculate that the reason for this is that the same value of the normalized reference signal corresponds to very different levels of expressivity for the speaker observed during training and the unseen speaker during inference. In addition, the rapid dynamics of expressive prosody are mapped to much smaller changes observed in the training data. Despite a lower expressivity, the PT is still effective, as reflected by the correlation. The PT with aggregated prosody is robust enough to consistently transplant prosody without instabilities even when there is a significant discrepancy between the reference signal observed during the training and inference.
4.5 PT in absence of text transcription
The need for accurate text transcription of the reference signal is a drawback of NTTS with PT capabilities. To alleviate this, we propose text-less prosody transfer using just audio.
Studies of voice-conversion on non-parallel data [21, 22] use a speech recognition module to generate phonetic posteriorgrams which are used as an input to speech synthesis module. We expand this approach by using posteriorgrams together with prosodic features to achieve PT. The work flow of the aggregation phase is depicted in Figure 6. During the Encoding phase, we use the Phonetic Posteriorgrams instead of the (unavailable) Phoneme sequences. They are informative about particular realizations of phonemes with respect to acoustics. They also help to recover from recognition errors that are inevitable for unconstrained phoneme recognition.
We use a Connectionist Temporal Classification (CTC) based end-to-end ASR system as in [23] to predict phoneme identities for given audio. As training data, we use a combination of [24] and [25]. For each audio file in the TTS training data, the sequence of non-blank phonemes is composed and used as input to the TTS model which is trained on audio-only dataset from Section 4.4. In case of a blank phoneme spanning a sufficient amount of time (200 ms), we interpret it as a “pau”, which was also included into the phoneme sequence. Assuming that non-blank phoneme labels are emitted in the stable part of the phone, the prosodic features from the corresponding audio regions are used as a reference signal to achieve PT. The distance to previous and subsequent phonemes is also included into the reference signal to represent the duration of the given phoneme in the reference signal. The same normalization strategies as in Section 3.1 are applied.
The objective performance of PT from an unseen speaker is shown in the second row of Table 3. The results show a slight degradation compared to PT with text. As a subjective evaluation, a preference test was carried out using Amazon Mechanical Turk platform. 10 native English speakers were asked to ”Select which audio sounds more natural” for 50 pairs of audio samples created with () and without () the use of text. The results of the preference test are shown on Figure 7.
There is a statistically insignificant (-) preference towards the system that utilizes text transcription. A manual inspection of cases when the system was preferred revealed that occasionally, despite using posteriograms rather than phoneme identities, the errors in speech recognition lead to incorrect pronunciations which affect the listeners judgments. PT was not affected per se and both approaches rendered very similar prosody patterns. We show that PT without any transcript is achievable with almost the same level of quality.
5 Conclusions
In this work, we have introduced a neural text-to-speech approach for fine-grained prosody transfer. The proposed approach aligns a reference signal with a phoneme sequence for synthesis beforehand and is robust for prosody transfer from an unseen speaker when trained on a single-speaker dataset. We have also demonstrated that additional improvements can be achieved by incorporating a variational autoencoder. Comparing the proposed approaches to prosody transfer using a secondary attention shows consistent improvement of signal quality and prosody transfer capabilities as well as a significant improvement of stability for the edge cases in both objective and subjective evaluations.
We studied the effect of using a neutral dataset for building a TTS system with the possibility of prosody transfer and to measure the degradation of expressivity. Finally, we proposed and evaluated an approach for text-less prosody transfer which achieves a statistically insignificant degradation of quality in the absence of text transcription.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] J. Sotelo, S. Mehri, K. Kumar, J. F. Santos, K. Kastner, A. Courville, and Y. Bengio, “Char 2wav: End-to-end speech synthesis,” in ICLR 2017 workshop , 2017.
- 2[2] J. Shen, R. Pang, R. J. Weiss, M. Schuster, N. Jaitly, Z. Yang, Z. Chen, Y. Zhang, Y. Wang, R. Skerrv-Ryan et al. , “Natural tts synthesis by conditioning wavenet on mel spectrogram predictions,” in Proc. ICASSP , 2018, pp. 4779–4783.
- 3[3] N. Li, S. Liu, Y. Liu, S. Zhao, M. Liu, and M. Zhou, “Neural speech synthesis with transformer network,” ar Xiv preprint ar Xiv:1809.08895 , 2018.
- 4[4] N. Prateek, M. Lajszczak, R. Barra-Chicote, T. Drugman, J. Lorenzo-Trueba, T. Merritt, S. Ronanki, and T. Wood, “In other news: A bi-style text-to-speech model for synthesizing newscaster voice with limited data,” Accepted for NAACL , 2019.
- 5[5] R. Skerry-Ryan, E. Battenberg, Y. Xiao, Y. Wang, D. Stanton, J. Shor, R. Weiss, R. Clark, and R. A. Saurous, “Towards end-to-end prosody transfer for expressive speech synthesis with tacotron,” in Proc. ICML , 2018, pp. 4700–4709.
- 6[6] A. Gibiansky, S. Arik, G. Diamos, J. Miller, K. Peng, W. Ping, J. Raiman, and Y. Zhou, “Deep voice 2: Multi-speaker neural text-to-speech,” in Proc. NIPS , 2017, pp. 2962–2970.
- 7[7] Y. Wang, D. Stanton, Y. Zhang, R. Skerry-Ryan, E. Battenberg, J. Shor, Y. Xiao, F. Ren, Y. Jia, and R. A. Saurous, “Style tokens: Unsupervised style modeling, control and transfer in end-to-end speech synthesis,” ar Xiv preprint ar Xiv:1803.09017 , 2018.
- 8[8] Y.-J. Zhang, S. Pan, L. He, and Z.-H. Ling, “Learning latent representations for style control and transfer in end-to-end speech synthesis,” ar Xiv preprint ar Xiv:1812.04342 , 2018.
