Transfer Learning from Speaker Verification to Multispeaker Text-To-Speech Synthesis
Paper · 2018 · Jia Ye, Yu Zhang, Ron J. Weiss et al.
Summary
A text-to-speech system needs to learn both how a sentence should sound and what makes it sound like a particular person. The second problem becomes difficult when the person can provide only a short recording. This paper asks whether a system can learn about voices from recordings collected for a different purpose and then use that knowledge to generate new speech. The task is zero-shot speaker adaptation. Given a few seconds of audio from someone absent from training, the system reads new text in a voice resembling that person’s. The reference needs neither a transcript nor the words the system will read, and adaptation leaves the trained parameters fixed.
The authors split the work among a speaker encoder, a synthesizer, and a vocoder. The speaker encoder learns to tell whether different recordings come from the same person. It trains on noisy, untranscribed audio with speaker labels and turns a reference recording into a short vector describing the voice. The synthesizer takes the text and this vector and predicts a mel spectrogram, a representation of how sound energy changes over time across frequency bands. The vocoder turns that prediction into an audible waveform. This arrangement lets the authors use a proprietary corpus of 18K speakers to teach the encoder about voice variation and reserve the more costly pairs of recordings and transcripts for synthesis.
In listening tests on VCTK and LibriSpeech, the proposed system achieved naturalness scores of about 4.0 on a scale from 1 to 5. It could sound natural while only partly resembling the person in the reference recording. On held-out VCTK speakers, listeners gave the resemblance a mean score of 3.28. The authors heard broad similarities in pitch and resonance, while accent and characteristic patterns of delivery were harder to reproduce. An independent speaker verifier also distinguished real recordings from synthetic versions of the same LibriSpeech voices, with an equal error rate of 2.86% in that specific test.
The data comparisons show why the separation matters. When the synthesizer was trained on LibriSpeech Clean, speaker encoders trained on progressively larger speaker collections generally supported better naturalness and voice similarity on held-out speakers. The authors also replaced real reference recordings with randomly selected points in the encoder’s representation space. The resulting voices sounded natural and were distinct from their nearest training voices under the paper’s verification test. Together, the experiments show that speaker verification can teach a synthesizer to work with unfamiliar voices, while leaving room for improvement in how precisely it reproduces a person’s voice.
Deep dive: Transfer Learning from Speaker Verification to Multispeaker Text-To-Speech Synthesis
The paper shows how speaker verification helps a text-to-speech system generate new sentences in an unfamiliar voice from a short recording. · about 33 minutes to read
The problem and its context
Learning to speak and learning whose voice to use
There are two separate judgments a listener can make about a spoken sentence. One is whether the words flow as they might in human speech. The other is whether the voice resembles a particular person. A person can recognize the voice in a recording whose delivery sounds awkward. Conversely, a smoothly delivered sentence can sound as if someone else said it. The paper treats these judgments separately because the system must handle both when its only evidence about a person is a short recording.
The data needed to learn each part are different. For synthesis, a recording and its transcript together supply an example of how written content is realized as speech. Poor recording quality or an incomplete transcript can make this correspondence harder to learn. Supporting a collection of voices adds the problem of obtaining usable material from each person. The authors describe earlier multispeaker systems that used tens of minutes of speech per training speaker. Collecting that amount of suitable material across many speakers makes voice coverage expensive.
For speaker verification, the question is narrower. Given different stretches of speech, the system must decide whether the same person produced them. This requires supervision about who spoke, while the actual words can be left untranscribed. A useful verifier should recognize a speaker across differences in the phonetic content of the recordings and in the conditions under which they were made. A recording with background noise or reverberation can therefore still be useful for learning to distinguish voices. The authors saw an opportunity to transfer that ability to synthesis.
In the authors’ target use case, a person supplies a recording they already have, and the system speaks text that may have nothing to do with the recording. A proposed accessibility use illustrates why the distinction matters. Someone who has lost their voice may have a small amount of earlier recorded speech available and be unable to make a fresh set of recordings. The paper also raises voice transfer across languages and synthesis in settings with limited data as possible applications. It recognizes that the same ability could be used to impersonate someone without their consent, a concern that motivates one of the verification experiments.
From a fixed cast of speakers to an unfamiliar voice
The work builds on a move toward training synthesis systems directly from audio and text. The paper discusses Char2Wav and Tacotron as examples of systems that learn from these pairs without relying on a hand-designed sequence of intermediate linguistic features. Tacotron 2 splits the task into predicting a spectrogram and rendering that prediction as sound. Its attention mechanism helps the synthesizer learn which parts of the input correspond to successive parts of the output. The paper traces that kind of learned alignment to earlier work in neural machine translation.
Tacotron 2 paired its spectrogram predictor with a waveform generator and achieved naturalness approaching human speech in the single-speaker setting reported by its authors. It supplied a starting point for the question here. If the same system were to read a sentence in several voices, some additional input would have to tell it which voice to produce. The spectrogram predictor already determines much of the structure of the utterance, making it a natural place to supply that information. Tacotron 2 rendered the predicted acoustics with WaveNet.
Earlier multispeaker systems handled this choice with an embedding, a vector of learned numbers associated with a speaker. A multispeaker extension of Tacotron assigned a low-dimensional vector to each speaker in its training data. Deep Voice 3 used a fully convolutional architecture and supported over 2,400 speakers drawn from LibriSpeech. In these systems, choosing a voice meant looking up an entry learned during training. This works for a collection with known members. A new recording, by itself, gives the lookup table no entry to return for an unfamiliar person.
VoiceLoop offered an approach to unfamiliar voices based on a fixed-size memory buffer. As described in the paper, obtaining good results for a new speaker took tens of minutes of enrollment speech with transcripts. Later work on Deep Voice 3 considered two ways to reduce that burden. One updated learned parameters using the available enrollment examples. The other predicted a speaker vector directly from a spectrogram. The first approach treats the reference as data for fine-tuning. The second treats it as a regular input to a system whose parameters are already set.
An earlier study of Deep Voice 3 found that direct speaker encoding made more effective use of very limited data, producing more natural speech with just one or two utterances. It also avoided the repeated back-propagation steps needed to adapt the full system. The present paper takes this direct-encoding route. Its question is how much the encoder can learn before it ever encounters a synthesis training example, and how far that independently learned representation will carry when combined with a synthesizer.
Why train the encoder separately?
One extension of VoiceLoop cited by the authors trained a reference encoder alongside the synthesizer. It encouraged embeddings for the same person to lie closer together than embeddings for different people, using a contrastive triplet loss. It also used a cycle-consistency loss, which asked for the synthesized audio to yield an embedding close to the one from the enrollment recording. This approach used speaker discrimination to shape the space of vectors while synthesis was learning to use that space.
The paper also describes a reference encoder used to transfer prosody, the patterns of timing, pitch, and emphasis in a spoken rendition. That earlier encoder could influence delivery without a triplet loss. This is relevant because a short recording contains evidence about both the person and the way they happened to speak at that moment. Training for verification is intended to favor cues that help recognize the person across different recordings. Whether the resulting vector also carries aspects of delivery is an empirical question the authors return to in their listening tests.
There was already a precedent for independent training. Doddipatla and colleagues used vectors from a pretrained speaker classifier to condition a synthesis system. The present paper uses a verification encoder whose output can be compared across utterances from people beyond a closed training roster. It combines this encoder with an end-to-end synthesizer and studies what happens as the amount and variety of speaker data supplied to the encoder increase. The main departure is thus the source and use of the speaker representation. The synthesizer learns how to read text while taking voice information from a verifier trained on a much broader set of speakers.
The method, step by step
How the recording and the text come together
At synthesis time the system receives two different inputs. A reference recording provides evidence about the voice. The text provides the words to say. The speaker encoder processes the recording first, producing a fixed-length vector. Separately, the synthesizer turns the text into a sequence it can align with speech. It attaches the same voice vector to the textual representation at each step before its attention mechanism uses that representation to predict the acoustics of the new sentence. The vocoder then generates audible samples from those acoustics.
Three learned components are involved, each with its own training task. The speaker encoder learns from recordings grouped by speaker identity. The synthesizer learns from transcripts paired with recordings, and it uses the already trained encoder to obtain the voice vector for each example. The vocoder learns to reconstruct speech waveforms from spectrogram conditioning. Once they have been trained, the components can process a new recording and new text without an enrollment training run.
From a reference recording and text to speech
The steps in order.
Training the speaker encoder
A spectrogram gives a time-varying view of the frequency content of a signal. With a mel spectrogram, the frequencies are grouped on a mel scale. Applying a logarithm compresses the range of the resulting feature values. The speaker encoder takes sequences of these compressed frequency measurements as input. Its input uses 40 mel channels. Each frame gives the recurrent network a description of the sound at that instant, and the network accumulates evidence across frames as it proceeds through the recording.
The encoder follows the generalized end-to-end approach to speaker verification cited in the paper. Its training examples are 1.6 seconds long and have a speaker identity label. The learning objective encourages utterances from one person to yield similar vector directions and utterances from different people to yield separated representations. As a consequence, a label is used to learn how voices compare, while the resulting network can assign a vector to a recording from a person who never had a training label. The paper calls the fixed-dimensional output a d-vector.
The network has 3 layers of long short-term memory units, or LSTMs. An LSTM is a recurrent unit whose state carries information forward through a sequence. Each layer has 768 cells followed by a projection to 256 dimensions. At the final speech frame, the output of the last layer becomes the basis of the speaker vector. The encoder scales it to unit length using its Euclidean norm. In notation for that normalization,
û = u / ‖u‖₂
Here u is the encoder output before scaling, û is the normalized speaker vector, / means division of each coordinate by a common scalar, and ‖u‖₂ is the Euclidean length of u. The subscript ₂ denotes the Euclidean norm. The equals sign states that the normalized output is the original vector divided by that length.
The comparison used to shape the representation is cosine similarity. It treats vectors pointing in similar directions as similar, regardless of their original magnitudes. The operation can be written as follows.
cos(θ) = (u · v) / (‖u‖₂ ‖v‖₂)
Here u and v are the vectors being compared, θ is the angle between them, and cos is the cosine function. The centered dot means a dot product. The parentheses group the numerator and denominator, and the juxtaposed norms in the denominator are multiplied. Each norm is the Euclidean length of its vector. With unit-length vectors, the dot product itself gives the cosine similarity. The paper names the generalized end-to-end objective and describes its intended effect on these comparisons, leaving the detailed loss specification to the earlier verification work.
The organization of encoder input differs between training and inference. At inference the system can take an utterance of arbitrary length and divides it into 800ms windows with 50% overlap. The encoder processes those windows independently. It then averages their output vectors and normalizes the average. A single section of the recording may contain limited evidence about how a person sounds. Combining windows pools cues across the clip while preserving the same size and normalization for the final vector. The subsequent synthesizer sees that one vector throughout its generation of an utterance.
Teaching the synthesizer to use the vector
The synthesizer extends Tacotron 2, a sequence-to-sequence system. Its input sequence describes the written sentence, and its output sequence describes the evolution of acoustic features. These sequences run at different rates. A phoneme, a unit used to represent a speech sound, can account for several acoustic frames, and its duration can vary with the utterance. Attention gives the synthesizer a learned way to select relevant parts of the input as it advances through the acoustic output.
The architecture can accept graphemes, the written units of the input, or phonemes. For the experiments, the authors converted text to phoneme sequences. They report that this input helped the training converge faster and improved pronunciation for cases such as rare words and proper names. It also made pronunciation easier to control across the listening experiments. The phonemes provide information about the sentence. The speaker vector supplies a separate input that lets the synthesizer vary its realization of that sentence.
The authors concatenate the voice vector with the text encoder’s output at every input position. Concatenation places the coordinates from the two vectors together so the resulting sequence can carry both types of information. Though the encoded text varies along the sequence, each position receives the same speaker vector. The attention layer thus has access to voice conditioning wherever it needs to look in the text. The authors found that supplying the vector at this point was sufficient for the training procedure to converge across different speakers.
For every training pair, the synthesizer receives the transcript and learns to predict features from the accompanying recording. That same recording goes through the pretrained speaker encoder to provide the reference vector. The encoder is frozen, meaning the synthesizer’s errors can change the synthesis parameters while the speaker encoder retains the parameters learned in verification. The synthesizer’s training pairs therefore need transcripts and audio, while explicit speaker identifiers are unnecessary. The encoder’s output supplies the conditioning information that a speaker identifier would otherwise help select.
Using the target utterance as its own reference makes the training example easy to assemble. It also means the reference and target share a particular rendition, including its timing and pitch movements. In the intended use, the reference and generated sentence are different utterances. The system relies on the voice vector carrying information that remains relevant across that change. Verification training encourages such stability, but the synthesis procedure gives the decoder an opportunity to use any reference-specific cues that remain in the vector.
The target spectrogram comes from 50ms windows with a 12.5ms step. Each window passes through an 80-channel mel filterbank, followed by logarithmic compression of the range of values. The encoder’s input and the synthesizer’s target thus use different feature configurations. The speaker encoder’s features serve to recognize a voice. The synthesizer’s targets need to describe the evolving acoustics in enough detail for a vocoder to recreate intelligible, convincing speech.
The authors train against the target spectrogram with an L₂ loss together with an additional L₁ loss. These names describe ways to measure the discrepancy between predicted and target features. The L₁ norm measures the absolute deviations across coordinates.
‖e‖₁ = ∑ᵢ |eᵢ|
Here e denotes the vector of feature prediction errors, and eᵢ is the error at coordinate i. The summation symbol ∑ᵢ adds the contributions across coordinates. The vertical bars take the absolute value, and the subscript ₁ denotes the L₁ norm.
The L₂ norm gives Euclidean length, the same notion of length used when scaling speaker embeddings.
‖e‖₂ = √(∑ᵢ eᵢ²)
Here e is again the error vector, i indexes its coordinates, and eᵢ² is the squared error at coordinate i. The sum gathers those squared errors and √ takes the square root. The subscript ₂ denotes the L₂ norm. These expressions give the norm conventions behind the loss names. The paper reports that the combination was more robust in practice on noisy training material, without specifying an expanded expression for the combined loss. The training objective for the synthesizer needs no extra term comparing speaker vectors.
The lookup-table baseline uses the same synthesis architecture with a different source for the conditioning vector. Each training speaker receives a vector optimized as part of the synthesis training, and a speaker label selects that vector when the system is used. Keeping the architecture matched lets this comparison address whether the verification-derived representation is competitive for voices that can also be represented by a table entry. The vector from a reference recording is what makes it possible to extend that comparison to a different question, namely how well the system generates speech for someone outside the roster.
Rendering the spectrogram as sound
A mel spectrogram describes how acoustic energy changes over time. A waveform gives the individual audio samples needed for playback. The vocoder bridges these representations. The authors use the WaveNet configuration adopted in Tacotron 2, with 30 dilated convolution layers. Dilation lets a convolution combine inputs separated in time. WaveNet is autoregressive in this setup, generating a waveform sample at a time with previous samples contributing to what it predicts next.
The vocoder receives the mel spectrogram from the synthesis stage. It has no separate input for the d-vector or speaker identity. That design places the task of conveying speaker-dependent acoustics on the spectrogram predictor. A vocoder trained on many voices can learn to render the variation already present in its conditioning input. How well it renders that variation still matters for listeners, since changes introduced at waveform generation can affect the impression that a recording belongs to a particular person.
The authors trained separate synthesizer and vocoder pairs for VCTK and LibriSpeech. For VCTK, the vocoder learned from spectrograms measured from the original recordings. For LibriSpeech, it learned from spectrograms predicted by the synthesizer. The cleaner VCTK recordings made the first arrangement workable. With the noisier audiobook data, the authors found the second arrangement necessary. The target waveforms for vocoder training were left without denoising in either case. This differs from the handling of LibriSpeech spectrogram targets for the synthesizer.
What changes with a different reference?
The paper illustrates the process by holding a sentence fixed and changing the 5 second reference recordings from held-out speakers. The generated spectrograms show differences in the harmonic spacing associated with fundamental frequency, the rate of vocal vibration that contributes to perceived pitch. They also differ in formants, the resonances that help shape vowel sounds. The example includes differences in the second formant, denoted F₂, as well as variation in how energy is distributed during a sibilant consonant.
The alignment between the written input and the acoustic output helps make sense of this comparison. Corresponding sounds can be located in recordings where the voice characteristics and the timing differ. One synthesized rendition lasts longer than the others, suggesting that the vector can influence speaking rate as well as acoustic characteristics more directly associated with the voice. These are illustrations of what the synthesizer can do with different references. The held-out listening evaluations ask how consistently that variation sounds natural and how closely it tracks the intended person.
Experiments and results
The corpora and the meaning of a held-out speaker
VCTK contains 44 hours of clean recordings from 109 speakers, most with British accents. The authors downsampled its audio to 24 kHz and removed silence from the beginning and end of each utterance. This reduced the median duration from 3.3 seconds to 1.8 seconds. The training and validation partitions use the same speakers. The VCTK test partition contains 11 speakers held apart from both. In this setup, validation checks behavior on other utterances from familiar speakers, while the test partition supports evaluation on unfamiliar voices.
The LibriSpeech material came from the union of its clean training subsets, which together contain 436 hours at 16 kHz from 1,172 speakers. Most of the recordings are in US English. Their audiobook origin matters to the evaluation. A reader may narrate in one tone and speak dialogue in another, so different clips assigned to the same person can sound quite different. The authors used automatic speech recognition to align the recordings to their transcripts, then cut segments at silences. Median utterance length went from 14 to 5 seconds. Train, validation, and test had disjoint sets of speakers, and the transcripts retained LibriSpeech’s lack of punctuation.
In spite of the name of the clean subsets, the authors encountered audible environmental and stationary noise. They estimated an utterance’s noise spectrum from the 10th percentile of energy in each frequency band over the full signal. Spectral subtraction used that estimate to reduce noise in the target spectrogram used for synthesis training. The speaker encoder still received the original noisy audio. This choice preserves the distinction between finding a usable indication of identity in an existing recording and giving the synthesizer an acoustic target worth reproducing.
The main speaker encoder used a separate proprietary voice-search corpus. It had 36M utterances with a median duration of 3.9 seconds from 18K speakers in the United States. The corpus had anonymized speaker identities and lacked transcripts. It supplied training data for the verification encoder alone. The experiments therefore vary along separate axes. The synthesis corpus determines which speakers and which speech-transcript examples the synthesizer learns from. The verification corpus determines which speaker distinctions the encoder learns before being connected to synthesis.
What listeners rated
The authors judged generated speech chiefly through crowdsourced listening tests. The Mean Opinion Score, or MOS, averages the scores raters assign on a specified scale. The scale here runs from 1 to 5 in 0.5 point increments, following the Absolute Category Rating procedure. The study uses MOS for two different questions. In the naturalness evaluation a listener judges how the utterance sounds as speech. In the similarity evaluation a listener hears a pair and judges how much the two voices resemble each other.
For naturalness, the authors assembled 100 evaluation phrases absent from the training sets. The phrases cover material such as search responses, forecasts, definitions, and short factual statements. For each synthesis corpus they used separate groups of seen and unseen speakers. VCTK used 11 speakers in each group, while LibriSpeech used 10 in each. The authors chose one random reference utterance of about 5 seconds for each speaker, then used it to generate every evaluation phrase in that person’s voice. An evaluation contained about 1,000 synthesized utterances. Each utterance was rated by one listener, with different systems evaluated in independent runs.
Varying the people while keeping the set of target sentences fixed gives each voice the same range of texts in the naturalness evaluation. Using the same reference for all phrases from a person also means any unusual delivery in that clip can influence the whole group of outputs. This design approximates using a single enrollment recording repeatedly. It estimates performance under that setup and leaves the effect of choosing a different enrollment clip to separate analysis.
The proposed system obtained about 4.0 naturalness MOS across the datasets. For seen speakers, naturalness on VCTK was about 0.2 points higher than on LibriSpeech. The authors attribute this to differences in the training material. Unpunctuated transcripts offer fewer cues to where a reading should pause. Background noise also remains a problem because a synthesizer can learn to reproduce some of it even when its training targets have been processed to reduce noise.
The unseen speakers scored at least as well as the seen speakers on naturalness in these evaluations. The LibriSpeech unseen group scored higher by as much as 0.2 points. The authors relate the ordering to the random reference choices and the varied prosody of the audiobook clips. In informal listening they sometimes heard the synthesizer imitate uneven or non-neutral delivery from a reference. This gives a plausible way for the reference choice to affect the average even when the system can produce equally fluent speech for familiar and unfamiliar voices.
The VCTK breakdown shows how much an overall naturalness MOS can hide. For the held-out speaker p240, generated speech scored 4.48, close to the recorded speech MOS of 4.57. Another VCTK speaker, p260, had a synthesized naturalness MOS 0.5 points below that speaker’s recorded baseline. The chart shows the comparison for p240, for whom both absolute scores are reported.
Recorded and synthesized speech for held-out VCTK speaker p240 by naturalness MOS
The proposed system comes close to the naturalness of recorded speech for this speaker.
The numbers
| System or setting | Naturalness MOS |
|---|---|
| Recorded speech | 4.57 |
| Proposed synthesis system (this paper) | 4.48 |
How well the voice matched the person
For speaker similarity, the authors paired each synthesized sample with a randomly chosen real utterance from the target speaker. A listener judged each pair. The instructions directed attention toward the resemblance between the voices and away from the content, grammar, and recording quality. This procedure asks for recognition of a voice across utterances. Comparing different clips also makes a real-with-real comparison informative, because natural variation in the person’s recordings affects the same judgment.
On seen VCTK speakers, the proposed system and the lookup-table baseline achieved roughly comparable similarity scores. For seen LibriSpeech speakers, the proposed system scored lower than the table. The authors point to background noise and within-speaker variation as likely contributors. A table vector can be optimized across the available synthesis utterances for a training speaker. A reference-derived vector has to characterize the person from the particular performance and recording conditions in the clip it receives.
The proposed system received lower similarity scores for unseen speakers. Its mean of 3.28 for unseen VCTK speakers falls between the scale’s moderate and very similar judgments. The authors describe audible resemblances in broad characteristics such as pitch and formant ranges, with subtler properties of a person’s delivery harder to retain. Naturalness and similarity can therefore move independently in the same experiment. The system can give a convincing reading of the target sentence while the reference guides it only part of the way toward a particular person.
Accent also influenced the pair judgments. The main speaker encoder trained on North American accented material, while most VCTK speakers had British accents. Raters were given no separate rule for weighing accent. Some comments identified an accent mismatch as a reason for a low similarity judgment, while others found the tone and inflection similar despite an accent difference. The MOS aggregates those responses as they were given. Its interpretation includes the cues that listeners actually use when deciding that two utterances sound like the same person.
In a cross-corpus evaluation, the VCTK-trained synthesis system generated voices from LibriSpeech, and the LibriSpeech-trained system generated voices from VCTK. Both used the same speaker encoder. Out-of-domain naturalness was similar to the naturalness observed for unseen speakers from the synthesis system’s own corpus. The voice-matching results were asymmetric. The LibriSpeech-trained system resembled the VCTK speakers more closely than the VCTK-trained system resembled the LibriSpeech speakers. The authors interpret this as evidence that training a synthesizer on only 100 speakers gives it limited coverage for high-quality voice transfer.
An independent speaker verification test
The authors trained an additional encoder exclusively for evaluation. It had the same network topology as the conditioning encoder, with a different training collection of 28M utterances from 113K speakers. Its role was to judge the similarity of the audio produced by the system. Using a separately trained verifier tests whether the resemblance is recognizable in a second learned representation of voices.
The verifier enrolled 21 real speakers, with 11 from VCTK and 10 from LibriSpeech. Enrollment provides reference evidence for the voices against which a verifier will score the test utterances. The voices used for enrollment and verification were unseen during synthesizer training. The authors generated 100 utterances for each test speaker and scored each test utterance against each enrolled speaker. This gave 21,000 or 23,100 trials per evaluation, depending on the test group.
A verifier uses a threshold to turn a similarity score into an acceptance or rejection. An incorrect acceptance treats different speakers as a match. An incorrect rejection fails to recognize a match between utterances of the same speaker. The equal error rate, or EER, summarizes performance at the point where these error rates are equal. Here the intended matches pair generated speech with real speech from the target speaker. A lower speaker verification EER indicates that the verifier can recover those intended matches more reliably among the enrolled voices.
The LibriSpeech synthesizer yielded EERs of 5-6% with reference speakers from the two corpora. The VCTK system produced worse verification results, especially when it generated voices from LibriSpeech. This agrees with the ordering of the cross-corpus similarity judgments. In this case the finding appears both in listener impressions and in the independent verifier’s ability to match generated utterances to real target voices.
The authors then changed the verification question. They enrolled synthetic counterparts to the 10 real LibriSpeech speakers so that each synthetic voice and its real counterpart could count as separate enrollment identities. For this 20 voice test the EER was 2.86%. The paper reports cosine similarities above 0.6 between synthetic speech and the intended real voice, and above 0.7 among synthetic utterances for the same speaker. In this evaluation, generated samples could resemble a target speaker while being reliably closer to other outputs generated in that speaker’s synthetic voice. The result concerns discrimination within the enrolled set and with the verifier used in the study.
What the ablations show
A broader verification corpus helps the synthesizer use unfamiliar voices
The most direct data comparison holds the synthesis corpus fixed at LibriSpeech Clean while changing what the speaker encoder learns from. The authors compare training on LibriSpeech Clean itself with training on LibriSpeech Other, which contains 461 hours from 1,166 speakers outside the clean subsets. They also draw on VoxCeleb2, with 1.09M utterances from 5,994 speakers, and a collection of 139K utterances from 1,211 speakers called VoxCeleb.
The comparison between the Clean and Other encoders asks whether verification and synthesis can use disjoint training speakers when the speaker sets are of similar size. Using Clean for both stages gives slightly better naturalness and similar voice resemblance. The result shows that the synthesizer can learn to use a representation acquired from a separate set of people. A speaker vector is a set of coordinates the synthesizer can interpret through its own paired data. This requires learning the connection between those coordinates and target acoustics for its training voices. It does not require a matching roster of speakers for the two training tasks.
For the small datasets in this comparison, the authors used a smaller encoder to avoid overfitting. It had 256-dimensional LSTM cells, projections to 64 dimensions, and 64-dimensional output embeddings. The experiment compares feasible training setups for the corresponding corpus sizes. Moving to a larger speaker collection also changes characteristics of the available utterances, including their number and source. The consistent gains in subjective naturalness, subjective similarity, and verifier EER therefore support the use of broader verification data. The comparison leaves the independent contribution of speaker count, training conditions, and encoder capacity unresolved.
The data result has a practical consequence for how supervision is allocated. A corpus of speech labeled by speaker can expand the range of voices the encoder encounters. The synthesis corpus supplies the more demanding examples that connect text to clean, usable acoustics. The cross-corpus results suggest that both parts matter. Broad encoder coverage supports transfer, and a synthesizer trained across a larger variety of people is better placed to translate an unfamiliar vector into acoustic variation.
Comparing joint and independent training
The appendix examines whether the speaker encoder and synthesizer can learn together when both are limited to LibriSpeech Clean. This setup uses 1.2K speakers and a 64-dimensional embedding. One jointly trained system allows the synthesis objective to determine what the reference encoder retains. The other adds a speaker classifier. A linear projection turns the embedding into scores for the training speakers, and a softmax converts those scores into a distribution over the identities. Cross-entropy training encourages that distribution to give high probability to the known speaker.
The joint variants produced similar naturalness for seen speakers. Adding the discrimination objective improved naturalness for unseen speakers. On the unseen LibriSpeech test, the constrained joint variant was close to a separately trained discriminative encoder using LibriSpeech Clean, in both naturalness and speaker similarity. This comparison indicates that explicitly learning to distinguish speakers contributes to generalization in the small-corpus setup. It also shows that joint training with a speaker objective can be competitive when the comparison is limited to the same corpus.
The strongest result in the appendix came from the proposed setup using the independently trained 18K-speaker encoder. The gain combines the use of independent training with access to a much larger speaker collection. Independent training is important because it makes that collection usable. It can supply supervision through speaker identities without needing the transcript-audio pairs expected by the synthesis objective. The close results for the smaller discriminative encoders help locate the advantage in what separate training makes possible.
Reference duration and variation between clips
The reference-duration analysis uses VCTK to examine how much speech is useful for estimating a voice. With longer recordings, the encoder observes the voice over more sounds and has more windows from which to form its average. The authors found that perceived similarity improved with duration and leveled off at about 5 seconds on VCTK. Performance was already close to the best observed with 2 seconds of reference audio. For this corpus and encoder, much of what the system could use was recoverable from a short clip.
Naturalness changed somewhat differently. Shorter references gave slightly better naturalness in this experiment. The authors relate that result to the VCTK utterances used during synthesis training, whose median duration after trimming was 1.8 seconds. At training time the synthesizer received embeddings from those same utterances. A short reference at evaluation can thus resemble the conditions under which the synthesizer learned to use its conditioning input, even when a longer reference offers a better estimate of the person’s typical voice.
The appendix’s speaker breakdown adds another source of variation. Two genuine LibriSpeech recordings of the same person can yield a low similarity rating when that reader changes tone or performs a character. The authors give examples where a reader tries to imitate a voice of a different gender. Noise also lowers the naturalness scores of some original recordings. VCTK shows more consistent naturalness and within-speaker similarity. This helps explain why similarity MOS depends on which real utterance is paired with a synthesis output, as well as on the quality of that output.
The vocoder influences judgments of identity
The comparison between WaveNet and Griffin-Lim changes the method used to turn a VCTK spectrogram into a waveform. The authors expected the predicted spectrogram to carry the identity cues, given that voice conditioning enters at the synthesis stage. Yet WaveNet led to higher listener scores for voice similarity than Griffin-Lim. Some raters characterized the Griffin-Lim output as robotic and judged those pairs to sound like different people.
This comparison puts a boundary around what a listening score can diagnose. If two waveform renderers receive a representation containing speaker cues, the one that renders those cues more convincingly can receive a higher identity score. Listeners can also use roughness or a robotic quality as evidence in their spoken-voice judgment even when the instructions direct their attention to identity. In this setup, the vocoder affects how well the voice information in the predicted features survives into a human judgment.
What happens without a real reference
The fictitious-speaker experiment removes the reference recording and supplies a random vector directly to the synthesizer. The points are sampled uniformly from the surface of the unit hypersphere, the set of unit-length vectors in the embedding space. They follow the same length constraint as the vectors normally passed from the speaker encoder. The synthesizer trained on LibriSpeech Clean, while the encoder paired with it for this setup trained on LibriSpeech Other together with VoxCeleb and VoxCeleb2.
The authors generated speech for 10 fictitious voices and compared them with their nearest neighbors among the training voices. They enrolled the 10 nearest neighbors in a verification test. The random voices had low cosine similarity to the nearest training utterances and a very high verification EER in a task that asked whether these voices matched the neighbors. In this application of EER, poor matching is the intended result. Naturalness was comparable to that of synthesized seen or unseen real voices, showing that the system can produce plausible speech without taking its conditioning vector from an actual speaker recording.
The accompanying spectrograms illustrate differences in fundamental frequency and speaking rate while keeping the phonetic content consistent. A separate visualization projects real and synthetic LibriSpeech utterances from the speaker embedding space down to a view that can be inspected. The principal component projection places synthesized utterances close to real utterances for the corresponding speaker. The t-SNE view shows distinct real and synthetic clusters lying near each other. In the examples, both displays also show a separation between the male and female speakers. These images complement the verification scores by illustrating how voice resemblance and a detectable synthesis signature can coexist.
Limitations
Limits the authors identify
The paper reports natural-sounding synthesis below the human-level naturalness that motivated its choice of the Tacotron 2 architecture. The authors connect the gap to the difficulty of supporting many speakers, limited data per speaker, and the quality of the synthesis corpora. The WaveNet vocoder also has a high inference cost because it generates samples autoregressively. Zero-shot enrollment avoids an additional optimization procedure for a new speaker. Generating the final waveform remains computationally expensive under the chosen configuration.
Speaker similarity has another limit. The voice vector is compact and aggregates the reference over time. On VCTK the duration comparison reaches a plateau at about 5 seconds. The authors take this as evidence that their representation makes limited use of additional reference speech. They contrast that behavior with the adaptation studies discussed in the paper, where updating more of the synthesis system can improve resemblance when more enrollment material is available. This places the contribution in the regime the authors set out to study, where a person can supply only a short recording.
Accent transfer remains weak. The authors report that the system could sometimes generate an accent different from that of the VCTK speaker, and raters could hear the difference. They also describe an observation about cross-language reference audio. The system could preserve aspects of voice when the input recording was in another language, while the source accent did not carry over. In the conclusion the authors suggest that separate voice and accent embeddings might address this with enough suitable data. The cross-language observation has no accompanying quantitative benchmark in the paper.
The reference vector also retains aspects of prosody. A person reading an audiobook may speed up, speak more emphatically, or change tone for a passage. Depending on the clip chosen, some of that delivery can appear in a generated sentence. The authors propose two directions for investigating this problem. A separate prosody encoder could provide a distinct way to condition delivery. Pairing each training target with a different utterance from the same speaker could reduce the incentive to rely on properties specific to the target recording. These proposals address a tension already visible in the method. The target recording is a convenient reference during training, and that choice makes identity and rendition coincide within a training example.
Limits of what the experiments establish
The listening tests estimate quality for particular samples of voices, phrases, and reference recordings from VCTK and LibriSpeech. One listener evaluates each utterance or pair, and independent evaluation runs compare averages across systems. Those averages cover many generated sentences but still depend on a much smaller collection of people and enrollment clips. In particular, the same selected reference influences every phrase generated for a speaker. The higher naturalness observed for some unseen groups should therefore be read as an outcome of the sampled groups and recordings. A comparison that repeatedly samples enrollment clips for each person would answer a different question about sensitivity to the reference.
The corpus comparisons also combine changes in what the system is trained on. VCTK and LibriSpeech differ in speaker count, recording quality, regional accents, speaking style, transcript punctuation, and how the vocoder is trained. Holding the conditioning encoder fixed helps locate the differences in the synthesis and vocoder configuration as a whole. Attribution to any single property of those corpora remains uncertain. The verification-data comparison has a related constraint. The small encoders use different capacity, and larger training collections differ in the kind and amount of speech they contribute. The paper establishes the effectiveness of the tested combinations without measuring an independent effect for every change.
The main voice-search collection is proprietary. The synthesis corpora are public, and the experiments using other speaker collections show how the approach behaves away from the main encoder setup. An exact reproduction of the main configuration would still require access to the voice-search recordings and anonymized speaker labels. Likewise, the independently trained evaluation encoder provides a second learned speaker representation for assessing the system, while leaving open how other verifiers or listening protocols would respond.
The real-versus-synthetic experiment measures discrimination among enrolled voices in its specified LibriSpeech setup. A verifier’s ability to distinguish the synthetic samples there gives evidence about those samples under that metric. It leaves open whether a listener hearing a single unfamiliar recording would identify it as synthetic, and how easily generated audio would be detected in other uses. This scope matters because the paper motivates the test in part through the risk of impersonation. The ability to discriminate in a controlled enrollment experiment is a narrower finding than protection from misuse.
The random-vector experiment likewise establishes distinctness under the paper’s comparisons. The authors compare the sampled voices with the nearest training voices identified using speaker embeddings. Their naturalness and low resemblance to those neighbors demonstrate useful behavior off the training examples tested. The experiment leaves open how closely a generated voice might resemble a person elsewhere, and how reliably random sampling covers the full range of voices the architecture can produce. Its strongest conclusion concerns the synthesizer’s ability to produce credible utterances when the conditioning vector comes from a sampled point.
What came after
A corpus designed for synthesis
The later works that cite the paper connect to different parts of its subject. LibriTTS, from 2019, derives a text-to-speech corpus from LibriSpeech. This is a data contribution. It follows the question raised by the 2018 paper’s use of an audiobook speech recognition corpus as synthesis material. The earlier authors had to shorten segments and address noisy targets, and they identified unpunctuated transcripts as a hindrance to learning pauses. LibriTTS takes the corpus as the object of the work, repurposing LibriSpeech for the synthesis task. The connection is to the supply of paired training examples on the synthesis side of the transfer system. LibriTTS
A different architecture for zero-shot synthesis
The 2023 work on neural codec language models addresses the same high-level task of zero-shot text-to-speech with a different formulation. The 2018 paper divides the problem between independent speaker verification, text-to-spectrogram prediction, and waveform generation. The later work places a neural codec at the center of a language-modeling approach to zero-shot synthesis. The continuity is in the task: producing speech in a voice without first training a dedicated entry for that speaker. The later work’s title identifies another way to represent and generate the audio for that task. Its citation connects the approaches at that level, without establishing reuse of the earlier verifier or the Tacotron-based architecture. Neural Codec Language Models are Zero-Shot Text to Speech Synthesizers
Detection in another medium
TweepFake, from 2020, addresses the detection of deepfake tweets. Its subject connects to the 2018 paper’s discussion of how to distinguish generated material from genuine examples, while moving from voices to social-media text. In the speech paper, the authors use an enrolled verification task to ask whether a system can separate genuine clips from synthetic versions of the same voices. TweepFake brings the detection question to tweets. Its citation places the voice study in a wider conversation about generated material and how to recognize it. The connection concerns evaluation and detection, with a different medium and task. TweepFake
Cite
Cite as Jia Ye, Yu Zhang, Ron J. Weiss, Quan Wang, Jonathan Shen, Fei Ren, Zhifeng Chen, Patrick Nguyen, Ruoming Pang, Ignacio López Moreno and Yonghui Wu. 2018. Transfer Learning from Speaker Verification to Multispeaker Text-To-Speech Synthesis. arXiv (Cornell University).
@misc{ye2018transfer,
title = {{Transfer Learning from Speaker Verification to Multispeaker Text-To-Speech Synthesis}},
author = {Jia Ye, Yu Zhang, Ron J. Weiss, Quan Wang, Jonathan Shen, Fei Ren, Zhifeng Chen, Patrick Nguyen, Ruoming Pang, Ignacio López Moreno and Yonghui Wu},
year = {2018},
doi = {10.48550/arxiv.1806.04558},
eprint = {1806.04558},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1806.04558}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/ye-2018-transfer-learning-speaker-verification-multispeaker/
References
- Artificial Intelligence at Google – Our Principles. https://ai.google/principles/, 2018. OpenAlex ↗ · Scholar ↗
- Sercan O Arik, Jitong Chen, Kainan Peng, Wei Ping, and Yanqi Zhou. Neural voice cloning with a few samples. arXiv preprint arXiv:1802.06006, 2018. OpenAlex ↗ · Scholar ↗
- Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. In Proceedings of ICLR, 2015. our card
- Steven Boll. Suppression of acoustic noise in speech using spectral subtraction. IEEE Transactions on Acoustics, Speech, and Signal Processing, 27(2):113–120, 1979. OpenAlex ↗ · Scholar ↗
- Yutian Chen, Yannis Assael, Brendan Shillingford, David Budden, Scott Reed, Heiga Zen, Quan Wang, Luis C Cobo, Andrew Trask, Ben Laurie, et al. Sample efficient adaptive text-to-speech. arXiv preprint arXiv:1809.10460, 2018. OpenAlex ↗ · Scholar ↗
- Joon Son Chung, Arsha Nagrani, and Andrew Zisserman. VoxCeleb2: Deep speaker recognition. In Interspeech, pages 1086–1090, 2018. OpenAlex ↗ · Scholar ↗
- Rama Doddipatla, Norbert Braunschweiler, and Ranniery Maia. Speaker adaptation in dnn-based speech synthesis using d-vectors. In Proc. Interspeech, pages 3404–3408, 2017. OpenAlex ↗ · Scholar ↗
- Andrew Gibiansky, Sercan Arik, Gregory Diamos, John Miller, Kainan Peng, Wei Ping, Jonathan Raiman, and Yanqi Zhou. Deep Voice 2: Multi-speaker neural text-to-speech. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems 30, pages 2962–2970. Curran Associates, Inc., 2017. OpenAlex ↗ · Scholar ↗
- Georg Heigold, Ignacio Moreno, Samy Bengio, and Noam Shazeer. End-to-end text-dependent speaker verification. In Acoustics, Speech and Signal Processing (ICASSP), 2016 IEEE International Conference on, pages 5115–5119. IEEE, 2016. OpenAlex ↗ · Scholar ↗
- Eliya Nachmani, Adam Polyak, Yaniv Taigman, and Lior Wolf. Fitting new speakers based on a short untranscribed sample. arXiv preprint arXiv:1802.06984, 2018. OpenAlex ↗ · Scholar ↗
- Arsha Nagrani, Joon Son Chung, and Andrew Zisserman. VoxCeleb: A large-scale speaker identification dataset. arXiv preprint arXiv:1706.08612, 2017. our card
- Vassil Panayotov, Guoguo Chen, Daniel Povey, and Sanjeev Khudanpur. LibriSpeech: an ASR corpus based on public domain audio books. In Acoustics, Speech and Signal Processing (ICASSP), 2015 IEEE International Conference on, pages 5206–5210. IEEE, 2015. OpenAlex ↗ · Scholar ↗
- Wei Ping, Kainan Peng, Andrew Gibiansky, Sercan O. Arik, Ajay Kannan, Sharan Narang, Jonathan Raiman, and John Miller. Deep Voice 3: 2000-speaker neural text-to-speech. In Proc. International Conference on Learning Representations (ICLR), 2018. OpenAlex ↗ · Scholar ↗
- ITUT Rec. P. 800: Methods for subjective determination of transmission quality. International Telecommunication Union, Geneva, 1996. OpenAlex ↗ · Scholar ↗
- Jonathan Shen, Ruoming Pang, Ron J. Weiss, Mike Schuster, Navdeep Jaitly, Zongheng Yang, Zhifeng Chen, Yu Zhang, Yuxuan Wang, RJ Skerry-Ryan, Rif A. Saurous, Yannis Agiomyrgiannakis, and Yonghui. Wu. Natural TTS synthesis by conditioning WaveNet on mel spectrogram predictions. In Proc. IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP), 2018. OpenAlex ↗ · Scholar ↗
- RJ Skerry-Ryan, Eric Battenberg, Ying Xiao, Yuxuan Wang, Daisy Stanton, Joel Shor, Ron J. Weiss, Rob Clark, and Rif A. Saurous. Towards end-to-end prosody transfer for expressive speech synthesis with Tacotron. arXiv preprint arXiv:1803.09047, 2018. OpenAlex ↗ · Scholar ↗
- Jose Sotelo, Soroush Mehri, Kundan Kumar, João Felipe Santos, Kyle Kastner, Aaron Courville, and Yoshua Bengio. Char2Wav: End-to-end speech synthesis. In Proc. International Conference on Learning Representations (ICLR), 2017. OpenAlex ↗ · Scholar ↗
- Yaniv Taigman, Lior Wolf, Adam Polyak, and Eliya Nachmani. VoiceLoop: Voice fitting and synthesis via a phonological loop. In Proc. International Conference on Learning Representations (ICLR), 2018. OpenAlex ↗ · Scholar ↗
- Aäron van den Oord, Sander Dieleman, Heiga Zen, Karen Simonyan, Oriol Vinyals, Alex Graves, Nal Kalchbrenner, Andrew Senior, and Koray Kavukcuoglu. WaveNet: A generative model for raw audio. CoRR abs/1609.03499, 2016. our card
- Ehsan Variani, Xin Lei, Erik McDermott, Ignacio Lopez Moreno, and Javier Gonzalez-Dominguez. Deep neural networks for small footprint text-dependent speaker verification. In Acoustics, Speech and Signal Processing (ICASSP), 2014 IEEE International Conference on, pages 4052–4056. IEEE, 2014. OpenAlex ↗ · Scholar ↗
- Christophe Veaux, Junichi Yamagishi, Kirsten MacDonald, et al. CSTR VCTK Corpus: English multi-speaker corpus for CSTR voice cloning toolkit, 2017. OpenAlex ↗ · Scholar ↗
- Li Wan, Quan Wang, Alan Papir, and Ignacio Lopez Moreno. Generalized end-to-end loss for speaker verification. In Proc. IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP), 2018. OpenAlex ↗ · Scholar ↗
- Yuxuan Wang, RJ Skerry-Ryan, Daisy Stanton, Yonghui Wu, Ron J. Weiss, Navdeep Jaitly, Zongheng Yang, Ying Xiao, Zhifeng Chen, Samy Bengio, Quoc Le, Yannis Agiomyrgiannakis, Rob Clark, and Rif A. Saurous. Tacotron: Towards end-to-end speech synthesis. In Proc. Interspeech, pages 4006–4010, August 2017. OpenAlex ↗ · Scholar ↗
- Yuxuan Wang, Daisy Stanton, Yu Zhang, RJ Skerry-Ryan, Eric Battenberg, Joel Shor, Ying Xiao, Fei Ren, Ye Jia, and Rif A Saurous. Style tokens: Unsupervised style modeling, control and transfer in end-to-end speech synthesis. arXiv preprint arXiv:1803.09017, 2018. OpenAlex ↗ · Scholar ↗