Stutter-TTS: Synthetic Generation of Diverse Stuttered Voice Proﬁles
Abstract
Stuttering is a speech disorder where the natural ﬂow of speech is interrupted by blocks, repetitions or prolongations of syllables, words and phrases.
The majority of existing automatic speech recognition (ASR) interfaces perform poorly on utterances with stutter, mainly due to lack of matched training data.
Synthesis of speech with stutter thus presents an opportunity to improve ASR for this type of speech.
We describe Stutter-TTS, an end-to-end neural text-to-speech model capable of synthesizing diverse types of stuttering utterances.
We develop a simple, yet effective prosody-control strategy whereby additional tokens are introduced into source text during training to represent speciﬁc stuttering characteristics.
By choosing the position of the stutter tokens, Stutter-TTS allows word-level control of where stuttering occurs in the synthesized utterance.
We are able to synthesize stutter events with high accuracy (F1-scores between 0.63 and 0.84, depending on stutter type).
By ﬁne-tuning an ASR model on synthetic stuttered speech we are able to reduce word error by 5.7% relative on stuttered utterances, with only minor ( < 0 .
2% ) degradation for ﬂuent utterances.
Introduction
According to the National Institute on Deafness and Other Communication Disorders, nearly three million Americans suffer from lifelong stuttering.
Advances in deep learning have facilitated the development of ASR systems and encourage the integration of voice assistant in various commercial products (Kepuska and Bohouta [1]).
However, people who stutter by and large have not beneﬁted from this added convenience, as existing ASR systems have difﬁculties understanding atypical speech, resulting in poor performance when it comes to stuttering (Barrett et al.
Driven by deep neural networks, recent research efforts have been dedicated to improved detection and recognition of disﬂuent speech (Bayerl et al.
[3], Jouaiti and Dautenhahn [4]).
Despite advances in modeling technology, one of the persisting bottlenecks is the lack of data representative of diverse stuttering patterns.
The performance of stutter detection and recognition systems greatly depends on sufﬁcient stuttered speech for model training (Barrett et al.
For example, the recently introduced SEP-28 dataset contains utterances with stutter comprising less than 24 hours (Lea et al.
One possible solution to this scarcity of matched speech data would be synthetic speech generated by text-to-speech (TTS) systems, as has already been used for other ASR training scenarios (Zheng et al. As a necessary ﬁrst step towards this goal, we focus here on the design of a TTS model capable of generating realistic and natural speech with diverse forms of stutter, with an initial validation of the beneﬁt to ASR performance.
TTS technology has been widely utilized to produce artiﬁcial voices that closely emulate natural human speech (Bilinski et al.
In particular, end-to-end TTS synthesis has attracted wide attention as a result of the simpliﬁcation in training and improved naturalness of synthetic utterances.
Recent work has demonstrated the creation of multiple voices for context-aware conversational speech synthesis (Stanton et al.
[8], Cong et al.
Soleymanpour et al.
[10] reported on synthesis of dysarthric speech based on a multi-speaker TTS framework.
To the best of our knowledge, no literature has investigated how to leverage TTS for synthesizing different types of stuttering voices.
For people who stutter, the natural ﬂow of speech is interrupted by various irregular acoustic patterns, such as sound repetition, syllable prolongation, and long pausing.
Consequently, it remains a challenge to extend current TTS approaches to the production of realistic stuttering with high naturalness and ﬁne-grained control over the location and types of stutter events.
To address these limitations, we introduce Stutter-TTS, a novel TTS approach that achieves both naturalness and natural prosody in stuttered speech synthesis.
We propose a novel control strategy for supervised learning by incorporating special tokens into the source text to represent different prosodic-phonetic characteristic of stutter, including phoneme repetition, dysrhythmic phonation, and blocks.
By manipulating the input source text, Stutter-TTS can generate either ﬂuent speech (without stutter) or speciﬁc types of stutter in speciﬁc locations.
We systematically produce 100 hours of diverse types of utterances containing stutter and quantify the generation performance by randomly sampling 400 utterances for evaluation.
Methods
A multi-speaker transformer-based TTS network has been used previously to model stuttering speech.
The architecture is essentially similar as Chen et al.
[11] and Li et al.
[12], consisting of a transformer backbone, featuring a phonetic encoder, and an acoustic auto-regressive decoder.
A scaled dot product (Kamath et al.
[13]) attention mechanism is used to align the acoustic and phonetic features.
2.1 Stutter-TTS Architecture
Several modules are added on top of the base transformer.
To condition the decoder on speaker identity information, a global audio reference encoder is included as a lightweight replacement of a speaker embedding model.
This module consists of a Gated Recurrent Unit (GRU) (Chung et al.
[14]) network that receives a set of randomly drawn frames from a reference Mel-spectrogram, and aggregates them into a time-independent representation.
The reference is set to be the target
Mel-spectrogram at training time, and the random sampling of frames is a mechanism to prevent the content of the target to be leaked to the decoder by destroying the time-dependent information while keeping an unbiased estimation of the frequency bins energy distributions.
At inference time, a reference Mel-spectrogram of the desired speaker is used as input to the global audio reference encoder, as a prototype of the voice to use to synthesize the input sentence.
A stuttering disorder is often characterized by unintentional repetitions, prolongations, or interruption of sounds.
It is very difﬁcult to predict which phonemes in an utterance will be affected by stutter (Dash et al.
From the speech generation perspective, this leads to a situation where the text-tospeech mapping is more ambiguous than for regular speakers.
Following this line of reasoning, a probabilistic embedding is added as input to the phonetic encoder.
Instead of modeling a constant embedding for each phoneme, the parameters of a diagonal Gaussian are used.
This feature allows the model to learn the pronunciation uncertainty at phoneme level.
Additionally, a learnable parameter α is used to weight the sum of the positional encoding, together with a layer normalization (Ba et al. [16]), which as described in Chen et al.
[11], assures that both phonetic and positional information are preserved.
Auto-regressive decoders, especially when dealing with data that features local correlations as found in speech, often stall into a failure mode known as exposure bias (Arora et al.
[17]): the decoder, instead of predicting the next step, copies its last input step.
To prevent exposure bias, a prenet with a strong regularization is included before the decoder.
This module is vital for the correct generalization of the model.
It consists of a strong dropout (60%) that is kept active at inference time (Gal and
Ghahramani [18]) followed by a strong bottleneck projection Chen et al.
This regularization reduces the amount of information that is given to the decoder at each step, preventing it to stall into [Figure] the exposure bias failure mode.
Finally, after the decoder module, a postnet and a stop signal are included, similar to the Tacotron 2 architecture (Wang et al.
To train the model, the L1-loss between the target and the predicted Mel spectrogram is minimized using stochastic gradient descent, similar to the original loss function of Tacotron 2 (Wang et al.
An additional L1-loss is included to enforce that the decoder module produces an output signal in the same domain as its input (autoregression requirement).
Equation 1 shows the full loss function, where ˆm ﬁnal is the mel-spectrogram after the postnet, ˆm intermediate is the mel-spectrogram before the postnet and m is the target mel-spectrogram.
The TTS model is train using teacher-forcing method (Williams and Zipser [20], Goodfellow et al.
At inference time, the free-running mode is used, generating the samples one step at a time in an auto-regressive fashion.
The auto-regressive loop contains the decoder and the prenet modules, but not the postnet module Wang et al.
[Equation]
2.2 Stutter Tokens
To replicate recurring prosodic-phonetic phenomena associated with stutter, we use a list of special tokens to denote different stuttering patterns and their location.
Speciﬁcally, we insert stutter tokens immediately in front of the word where stuttering occurs in the corresponding audio.
In this work, we mainly focus on three common stutter types as described in Table 1.
During grapheme-to-phoneme (G2P) conversion, each stutter token is mapped to a corresponding special phoneme; these stutter phonemes are added to the regular phoneme set.
The TTS model will hence learn embedding vectors associated with each of the stutter types.
[Table]
As illustrated in Figure 2, stutter labels are introduced into the input sentence to denote certain prosodic-phonetic structure.
It is worthwhile pointing out that the proposed processing approach achieves word-level control in terms of where stuttering happens in the synthetic utterances.
This design allows ﬁne-grained control of stutter occurrences at synthesis time.
In the inference stage, we can simply place the token for the desired stuttering pattern prior to the word where we want the model to render a stutter event.
The resulting synthetic audio will produce a stutter at the designated position in the source sentence.
Experimental Results 3.1 Dataset and Model Training
The Stutter-TTS model is trained using a combination of two internal datasets, one containing ﬂuent speech (without stutter) captured on close-talking microphones, and one with “golden” (annotated) stuttering speech.
The ﬂuent speech dataset contains 10 professional speakers with 13,000 studiorecorded utterances per speaker (600 hours in total).
The golden stuttering dataset is collected from speakers who exhibit stutter, in a noise-free environment via mobile phones; it contains 146 native English speakers, with 125 utterances per speaker (40 hours in total).
Utterances in both datasets are 6 to 12 seconds long.
We process all audio at 16 kHz and generate 80-dimensional Mel spectrograms.
The length of a frame is 50 ms with an overlap of 12.5 ms.
We employ the universal neural vocoder proposed by Lorenzo-Trueba et al. [23] to synthesize audio samples from spectrograms generated by Stutter-TTS.
3.2 Evaluation of Synthetic Stuttered Speech
To evaluate the synthesis of utterances with stutter, we compare the Mel spectrogram generated from Stutter-TTS with the associated recording, collected from speakers with stutter.
We modify the original transcription by inserting the stutter tokens where the speaker stuttered, with the aim to reproduce the stutter pattern of the original recording.
As shown in Figure 3, our model is able to mimic repetition patterns, as highlighted in the red rectangle.
More importantly, we observe that when eliminating the stutter token from the source text, the resulting synthetic utterance contains no stuttering, thus preserving the ability to produce ﬂuent utterances with high naturalness.
In this experiment, we sample 20 reference recordings for each of 10 speakers, and paired with 10, sentences for each of the speakers.
We randomly insert one stutter token into input transcripts with equal probability for all word positions.
We systematically synthesize 100 hours of speech containing all three stutter types.
To measure generation performance with stutter, we randomly sampledutterances containing phoneme repetition, dysrhythmic phonation, block and non-stutter.
We evaluate the existence of speciﬁc stutter types in a subjective manner, by listening to the synthesized waveforms and identifying whether the desired stuttering patterns occur; we also excluded about 20% of samples for which the TTS had failed to produce any intelligible speech.
[Table] Evaluation results are summarized in Table 2, in terms of F1 scores for successful generation of the speciﬁed stutter types.
3 It is crucial for good performance to train on a combination of ﬂuent and stuttered speech.
We vary the ratio between the two types of utterances when sampling data for assembling minibatches for training; a ﬂuent-to-stuttered ratio of 90:10 gives a good compromise between over- and under-generating stutter events, and similar F1 scores for stutter events and ﬂuent word synthesis (ranging from 0.633 to 0.837).
3.3 Evaluation of ASR Performance
We also evaluate the effect of synthetic speech containing stutter on ASR training. Speciﬁcally, we ﬁne-tuned an RNN-T-based ASR model (Zheng et al. [6]) for an additional ﬁve epochs using the 100 hours of synthetic utterances produced by Stutter-TTS, along with ﬂuent speech sampled from a corpus of 66k hours of recorded utterances (the same data used for training the baseline model). Instead of checking for TTS failures by listening we used an automatic script to remove empty waveforms.
Each epoch consists of 1000 steps with minibatch sizes of 32, 16, and 8 for utterances of length up to 3, 6, and 9 seconds, respectively. During minibatch assembly for ﬁne-tuning, we explore different sampling ratios of utterances with versus without stutter. The sampling ratio is a critical hyperparameter chosen so as to improve the ASR accuracy on stuttered speech without a substantial degradation on ﬂuent speech. Table 3 summarizes the relative word error rate (WER) reduction at different sampling ratios, compared to the baseline RNN-T model, showing the tradeoff between
WER reduction on stuttered versus ﬂuent test speech. A good tradeoff is obtained by sampling 3 % of the training data from synthetic speech with stutter, achieving 5.74% relative WER reduction for golden utterances with stutter, while limiting the WER degradation on ﬂuent speech to 0.18% relative. All WER reductions for speech with stutter are statistically signiﬁcant (with p < 10 − 6 ).
[Table]
It is worth pointing out that less-than-perfect accuracy in synthesizing stutter events is not necessarily a problem for using Stutter-TTS in ASR training.
A certain number of omitted or spurious stutter events should not affect ASR training as long as the overall distribution of event types is not too skewed, since the reference transcription used in ASR training always consists of the corresponding ﬂuent transcript.
Conclusion
We present a novel text-to-speech system, Stutter-TTS, that can fabricate stuttered speech in a highly controlled manner.
We employ a set of special tokens to specify the locations and types of different stuttering patterns in the source text.
When training Stutter-TTS, it is critical to optimize the sampling ratio between ﬂuent and stuttered speech.
Stutter-TTS achieves faithful synthesis of utterances with stutter types including phoneme repetition, dysrhythmic phonation, and blocks.
In a listening experiment, we ﬁnd that Stutter-TTS synthesized intended stutter events, as well as non-stuttered words, with high accuracy ( 0 . 63 < F1 < 0 . 84 ). We also demonstrate that ﬁne-tuning an RNN-T ASR model with synthetic stuttered speech improves the recognition of real stuttered speech, with minimal degradation on ﬂuent speech.