---
title: "Tacotron: A Fully End-to-End Text-To-Speech Synthesis Model."
description: "Tacotron learns to turn written characters into speech from paired recordings, using attention to align text with sound and predict its timing."
canonical: "https://research.elamur.ai/free/en/papers/wang-2017-tacotron-fully-end-end-text/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/wang-2017-tacotron-fully-end-end-text/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2017](https://md.research.elamur.ai/free/en/papers/2017/) / Tacotron: A Fully End-to-End Text-To-Speech Synthesis Model.

# Tacotron: A Fully End-to-End Text-To-Speech Synthesis Model.

Paper · 2017 · Yuxuan Wang, RJ Skerry-Ryan, Daisy Stanton et al.

**Authors:** [Yuxuan Wang](https://md.research.elamur.ai/free/en/authors/yuxuan-wang/), [RJ Skerry-Ryan](https://md.research.elamur.ai/free/en/authors/rj-skerry-ryan/), Daisy Stanton, [Yonghui Wu](https://md.research.elamur.ai/free/en/authors/yonghui-wu/), [Ron J. Weiss](https://md.research.elamur.ai/free/en/authors/ron-j-weiss/), [Navdeep Jaitly](https://md.research.elamur.ai/free/en/authors/navdeep-jaitly/), Zongheng Yang, [Ying Xiao](https://md.research.elamur.ai/free/en/authors/ying-xiao/), [Zhifeng Chen](https://md.research.elamur.ai/free/en/authors/zhifeng-chen/), [Samy Bengio](https://md.research.elamur.ai/free/en/authors/samy-bengio/), [Quoc Viet Le](https://md.research.elamur.ai/free/en/authors/quoc-viet-le/), Yannis Agiomyrgiannakis, [Rob Clark](https://md.research.elamur.ai/free/en/authors/rob-clark/) and [Rif A. Saurous](https://md.research.elamur.ai/free/en/authors/rif-a-saurous/) · **Year:** 2017 · **Venue:** arXiv (Cornell University) · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**1,699** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2604184139|W2608207374|W2963609956|W6936150228) · [Cited by **3** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/wang-2017-tacotron-fully-end-end-text/cited-by/) · [arXiv (Cornell University)](https://openalex.org/S4393918409) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/1703.10135)
- [DOI 10.21437/interspeech.2017-1452](https://doi.org/10.21437/interspeech.2017-1452)
- [arXiv 1703.10135](https://arxiv.org/abs/1703.10135)
- [OpenAlex](https://openalex.org/W2963609956)

Citations: OpenAlex, 2026-10-14.

## Summary

Written text gives a speech synthesizer the words to say, but it leaves much of the sound unspecified. The system has to decide how to pronounce the words, how long to sustain their sounds, and how the voice should rise and fall. Conventional text-to-speech pipelines divide this work among separately designed and trained components. Tacotron asks how much of that work a single system can learn from examples of text paired with recordings. Its input is a sequence of characters from normalized text. Its training requires neither a phoneme transcription, which represents the sounds of the words, nor a separate alignment giving the timing of those sounds. [Speech & spoken language](https://md.research.elamur.ai/free/en/topics/speech/)

Tacotron first builds a representation of each character that takes the surrounding text into account. An attention mechanism then decides which parts of that representation matter as the system predicts successive stretches of audio. The decoder predicts several short frames at a time in a compact frequency representation called a mel spectrogram. A separate, jointly trained network sees the entire predicted sequence and estimates a more detailed spectrogram on a linear frequency scale. A fixed reconstruction algorithm, Griffin–Lim, turns those spectral magnitudes into a waveform that can be played. The learned stages start with randomly initialized weights, and their training targets come from the recordings.

In a listening test on 100 unseen North American English phrases, Tacotron received a mean opinion score of 3.82 for naturalness on a 5-point scale. The production parametric system scored 3.69, and the production concatenative system scored 4.09. The paper also examines where improvements arise. Its plain sequence-to-sequence comparison frequently lingers on an input position for too many frames. Replacing Tacotron’s encoder with a simpler recurrent encoder produces a noisier alignment, while removing the post-processing stage and predicting the detailed spectrogram directly leaves some frequency structure less clearly resolved.

The result is evidence that normalized characters and paired recordings can support natural-sounding synthesis without externally supplied sound timings or engineered linguistic features. The experiment uses recordings from a single speaker, and the final waveform can still contain artifacts from Griffin–Lim. The authors also describe a speed advantage from predicting frames instead of individual audio samples. The listening test measures naturalness, while the speed argument comes from how the system generates speech.

## Deep dive: Tacotron: A Fully End-to-End Text-To-Speech Synthesis Model.

Tacotron learns to turn written characters into speech from paired recordings, using attention to align text with sound and predict its timing. · about 36 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### What writing leaves unspecified

A written sentence and a recording of someone saying it carry different kinds of information. The sentence gives an ordered sequence of characters. The recording gives a continuously changing signal, including the timing of sounds and the way the speaker delivers them. A reader can say the same words more quickly or slowly, place emphasis differently, or use a different pronunciation. Each delivery produces a different signal. A synthesizer therefore has to make choices for which the written input may offer only partial evidence.

The gap matters for training. A paired recording tells the system what one speaker actually said and how it sounded. The transcript gives it the character sequence associated with the recording. Neither item by itself gives a schedule that says when the system should move from one part of the text to the next. The connection has to be supplied by a separate component or discovered while learning to predict speech. Poor timing can then affect several qualities at once. A sound held too long changes the rhythm and may obscure the word it belongs to.

The paper treats synthesis as an inverse problem because a compact input must be expanded into a much richer output. It contrasts this direction with speech recognition, where the input is audio and the output is a written sequence. It also distinguishes synthesis from the translation work that supplied much of its architectural starting point. The sequences that a synthesizer predicts are usually much longer than their text inputs, and their entries are continuous values. Correctly spelling an output word and correctly estimating a succession of frequency magnitudes are different kinds of prediction.

Those properties make errors cumulative. In the sequence architecture considered here, a prediction helps determine the next prediction. An imperfect estimate can thus affect what the decoder hears from its own recent output. A timing mistake can also put attention in the wrong part of the input for later steps. Generating an utterance requires both plausible acoustic detail and an orderly progression through the text. Either can fail while the other still looks reasonable in a small part of the utterance. [Machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/)

#### The work a conventional pipeline assigns to specialists

The paper describes a common statistical parametric pipeline by the information that passes between its components. A text frontend derives linguistic features from the input. A duration component estimates how long units of the utterance should last. An acoustic component predicts quantities representing the sound. A vocoder, the stage that renders those quantities as an audio signal, then produces the waveform. Each component is built for its own part of the task, and each depends on the information its predecessors supply.

A division of this kind concentrates different kinds of expertise in different places. Someone designing the frontend has to decide what features downstream stages should receive. The acoustic and waveform stages depend on choices about how to represent sound and how to reconstruct it. The authors describe this effort as a burden when building a new system. They also draw attention to the effect of independent training. A downstream component may be trained for the inputs it is supposed to receive, yet have to operate on imperfect versions of them once the full pipeline is assembled.

An integrated learning setup offers a different way to assign those responsibilities. Representations can be shaped by how well they help predict the paired recording. A text representation can learn to preserve distinctions that matter for synthesis, and the decoder can learn timing from the acoustic targets. The authors envisage conditioning the system on attributes such as speaker, language, or sentiment, potentially from the beginning of the computation. They also discuss adaptation and learning from larger, noisier collections as motivations for the approach. These possibilities motivate the design. The study itself concentrates on the character-to-speech mapping for its recorded speaker.

“End-to-end” in this setting concerns how much of the mapping can be learned together and what preparation the system needs. Tacotron still has identifiable stages with different responsibilities, and it still extracts spectral targets from recordings. Its central change is that the stages learning to represent the text, align it to the speech, and predict the spectrogram can be trained from the same paired examples. The prior systems discussed by the authors establish several different points at which a speech pipeline can be integrated. [Machine learning](https://md.research.elamur.ai/free/en/concepts/machine-learning/)

#### The approaches closest to Tacotron

WaveNet showed how a neural system could generate audio at the level of waveform samples. In the text-to-speech configuration the paper discusses, it receives linguistic features from an existing frontend. The features therefore remain part of the input contract, even when the acoustic and waveform stages are replaced. The authors also point to the cost of generating samples autoregressively. Each new sample depends on what came before, so the generator has to advance through the signal at the resolution of individual samples. Tacotron uses a coarser prediction unit for its recurrent decoder. [WaveNet](https://md.research.elamur.ai/free/en/papers/oord-2016-wavenet-generative-model-raw-audio/)

DeepVoice took the conventional division of responsibilities and assigned a neural network to each component. In the version discussed in the paper, those networks were trained independently. That distinction matters to Tacotron’s question. Replacing a handcrafted stage with a learned one changes how the stage is built. Learning all the stages that connect characters to an acoustic prediction from the same objective changes how their interfaces are determined during training.

The authors also discuss an earlier attention-based synthesis effort by Wang and colleagues. It used phoneme inputs, and a separately trained hidden Markov model aligner helped establish the correspondence between the input and the acoustic sequence. That guidance makes it difficult to determine how much of the alignment the attention system discovered independently. The approach predicted vocoder parameters, so it still relied on a vocoder to produce sound. The paper also reports that the earlier authors had identified an adverse effect on prosody from some of the techniques they used to make training work. Prosody here refers to aspects of delivery such as timing and intonation.

Char2Wav comes closer to Tacotron in its use of characters and its end-to-end aim. It predicts a representation for a vocoder and uses SampleRNN to synthesize the signal. The two learned parts undergo separate pretraining. Tacotron chooses spectral magnitude as the learned output for waveform reconstruction and starts its own learned components from random initialization. This changes both what the network predicts and the preparatory work required to train it.

Tacotron takes its basic encoder–decoder design from sequence-to-sequence learning. An encoder turns an input sequence into representations useful for the output task. A decoder produces another sequence, using attention to retrieve information from different encoder positions as needed. For translation, attention can indicate which parts of a source sentence are relevant to the next decision. For synthesis, the decision concerns what part of the writing should contribute to the next stretch of sound. The architecture has to make that relationship learnable under the different lengths and resolutions of text and audio. [Sequence to Sequence Learning with Neural Networks](https://md.research.elamur.ai/free/en/papers/sutskever-2014-sequence-sequence-learning-neural-networks/) · [Neural Machine Translation by Jointly Learning to Align and Translate](https://md.research.elamur.ai/free/en/papers/bahdanau-2014-neural-machine-translation-jointly-learning/)

### The method, step by step

#### From a sentence to frames, and from frames to sound

Tacotron learns from pairs consisting of a text phrase and its recording. On the text side, the system begins with characters after normalization. On the audio side, it represents a recording as a sequence of short, overlapping stretches. A spectrogram describes those stretches by their frequency content. In the magnitude spectrogram used here, each frame contains values describing the strength of frequency components over its window. The order of frames preserves the changes over time that make the result speech.

The architecture uses two forms of this representation. The decoder first predicts a mel spectrogram, which summarizes the spectrum in a smaller set of bands distributed on a perceptual frequency scale. The post-processing network estimates a spectrogram on a linear frequency scale, where the frequency positions are uniformly spaced. The authors give the first representation the job of carrying enough information for intelligible speech and prosody. They give the second the job of supporting reconstruction of a waveform. Both preserve the sequence in time, while differing in the frequency detail available at each position.

The decoder has two tasks at each step. It must determine where it is in the phrase and predict the acoustic frames appropriate to that point. Attention handles the first task by reading from the encoder’s character representations. The recurrent decoder handles the second using what attention returns and what the decoder knows about the output so far. The post-processing network then revisits the full decoded sequence with access to frames on either side of the location it is processing.

Tacotron from text characters to a speech waveform The steps in order.

#### Building the acoustic targets

The recordings are sampled at 24 kHz throughout the experiments. Before extracting spectra, the authors apply pre-emphasis with a coefficient of 0.97. Pre-emphasis changes the relative prominence of frequency components before analysis, giving higher frequencies more weight. The authors report that applying it was helpful. The analysis uses windows with a frame length of 50 ms and a frame shift of 12.5 ms. The frame length describes how much of the signal contributes to an analysis. The frame shift describes how far along the recording the next analysis begins.

Those settings make adjacent windows overlap. A sound within the region shared by neighboring windows can influence multiple frames. This helps explain why the authors expect adjacent frames to be correlated and why grouping them can help the decoder. It also distinguishes the analysis window from the movement of time in the output sequence. The decoder advances through frames spaced by the frame shift, even though each individual frame summarizes a wider stretch of the signal.

A Hann window tapers the contribution of samples near the edges of each analysis segment. A 2048-point Fourier transform then expresses the windowed signal in terms of frequency components. The authors use log magnitude spectra, so the training quantities describe the size of the frequency components on a logarithmic scale. Magnitude conveys how strongly a component is present. Reconstructing the waveform also requires phase, which describes how those frequency components line up. The inversion stage estimates that missing information from the predicted magnitudes.

The decoder target is an 80-band mel spectrogram. Predicting this compact representation lets the recurrent stage focus on an acoustic description sufficient for the progression of the utterance. The detailed linear-frequency target is reserved for the post-processing network. This is an architectural hypothesis as well as a choice about data preparation. The authors regard much of the detail in a linear spectrum as redundant for learning where the text and speech align. They therefore arrange for the step-by-step part of the system to solve a smaller prediction problem.

#### Giving each character a textual context

A character enters the encoder as a one-hot vector. It marks the identity of the symbol by activating the position assigned to it. This representation gives the system a distinct input for each character. A learned embedding then expresses that identity as a continuous vector. The paper uses a 256-D character embedding. Entries in that vector are learned from the synthesis task and can participate in combinations that a symbol identifier alone cannot express. [Word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/)

The encoder passes each embedding through a small feedforward network called the pre-net. Its fully connected layers have widths of 256 and 128, use rectified linear activations, and each have dropout set to 0.5. A fully connected layer forms new features from the entries of its input. A rectified linear activation limits negative responses to zero. Dropout randomly suppresses some activations during training. The narrower layer forms a bottleneck through which information about each character passes before the encoder starts combining characters with their neighbors.

The authors associate the pre-net with easier convergence and better generalization. In concrete terms, the downstream encoder has to learn from a character representation that is narrower and varies under dropout. A representation that serves the training examples only under one exact pattern of activations becomes less dependable. The pre-net still operates at each character position separately. The next part of the encoder is responsible for identifying patterns across positions.

That part is called CBHG. The name combines a convolution bank, a highway network, and a bidirectional gated recurrent unit, or GRU. A convolution compares a learned pattern with a moving window over a sequence. A bank of convolutions can look for different patterns and can examine windows of different widths. A highway network uses gates to control how much information passes through unchanged and how much gets transformed. A bidirectional GRU reads the sequence in both directions, so its representation can reflect context that comes before and after the current position. [Highway Networks](https://md.research.elamur.ai/free/en/papers/srivastava-2015-highway-networks/)

The convolution bank uses widths specified by the relation below.

```
k = 1, 2, …, K
```

Here `k` is the width of a set of filters, measured in positions of the input sequence. The values `1` and `2` give the first widths, and `…` denotes the intervening integer widths up to `K`, the maximum width and the number of width groups. The paper denotes the number of filters at a particular width by `Cₖ`. The subscript `k` identifies the group, and `Cₖ` counts how many distinct patterns can be learned within it.

At the encoder, the maximum width `K` is 16, with 128 filters per width and rectified linear activations. A width of 1 allows a filter to respond to the representation at the current character alone. Wider filters can respond to a pattern of nearby characters. The paper compares this idea to looking at contiguous units of different lengths, from single symbols through longer sequences. The filter responses are learned for the synthesis task, so they give later layers a way to use such patterns without supplying a separate segmentation of the text. [N-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/)

The outputs of the convolutions are stacked, giving each position features from the different filter groups. The stack goes through max pooling over time. Pooling retains the strongest activation within each local window, making a response less dependent on exactly where in that window it occurred. The pooling width is 2 and the stride is 1. The stride says how far the pooling window moves at each position. Keeping it at 1 preserves the resolution the encoder needs to expose a sequence of positions to attention.

Next come fixed-width convolutions, which the architecture calls projections. In the encoder both have width 3 and 128 output channels. The first uses a rectified linear activation, and the second has a linear output. The projection result is added to the original input to the CBHG block through a residual connection. The addition lets a later stage access input information along with the features produced by the convolutional path. The paper uses batch normalization in the convolutional layers to normalize their activations during training. [Deep Residual Learning for Image Recognition](https://md.research.elamur.ai/free/en/papers/he-2015-deep-residual-learning-image-recognition/)

After the projections, the encoder uses a highway network with 4 layers of 128 units and rectified linear transformations. Its gates let repeated transformations preserve features where that helps the task. The bidirectional GRU, specified with 128 cells, then combines information over the sequence. A recurrent unit maintains a state that changes as it reads successive positions. Its gates regulate how earlier state and current input contribute. Running the recurrence in both directions provides character representations informed by both earlier and later text.

CBHG adapts a block from research on character-level machine translation. Tacotron’s changes include non-causal convolutions, batch normalization, residual connections, and pooling that keeps a stride of 1. A non-causal convolution may use positions to the right as well as to the left. This is compatible with an encoder that already has the written phrase in front of it. The paper reports improved generalization from these modifications as a group. The later comparison with a recurrent encoder evaluates the finished block as a whole. [Fully Character-Level Neural Machine Translation without Explicit Segmentation](https://md.research.elamur.ai/free/en/papers/lee-2017-fully-character-level-neural-machine/)

#### Learning where the decoder is in the phrase

Attention links a character sequence to a speech sequence with a different length. At each decoder step, the attention mechanism produces weights over the encoder’s positions. A large weight means the representation at that position contributes strongly to the context used for the current prediction. The context vector summarizes the input as seen from the current point in generation. The weights can also be plotted across decoder steps, letting the authors inspect whether the system progresses through the phrase in an orderly way.

Tacotron uses content-based attention with a hyperbolic tangent, abbreviated `tanh`, in its scoring mechanism. Content-based scoring uses the encoder representations and a query from the decoder to decide which input positions are relevant. The query comes from a stateful attention GRU with 256 cells. Its recurrence allows the query to reflect what happened in earlier steps. That matters because the current acoustic frame depends in part on how far the decoder has already progressed through the phrase. Comparing text features with the state of generation gives attention a basis for choosing the next context.

The architecture joins the context vector to the output of the attention GRU by concatenation, which places the entries of the two vectors together in a larger vector. That joined representation becomes the input to the decoder’s residual GRU stack. The stack has 2 layers and is specified with 256 cells. Its residual connections run between layers, carrying information along an additive path as features move up the stack. The authors report that these connections accelerate convergence.

A fully connected output layer converts the decoder’s recurrent representation into predicted mel frames. The recurrence keeps track of the recent progression of the output, while the context supplies the text evidence relevant to the prediction. The output layer uses their combined information to estimate acoustic values. Its targets specify the consecutive frames that ought to be emitted. There is no separate target at each step saying where attention should look. The alignment is learned as part of making better acoustic predictions.

This distinction matters when a phrase is longer or has more difficult spelling patterns than the ones the system has already learned to handle. The encoder needs to supply useful representations for those unfamiliar contexts. The decoder needs to continue making progress through them at a pace compatible with the sounds it produces. Tacotron addresses the first problem with contextual encoding. Its main architectural change for the second problem is to have each recurrent step cover a group of frames.

#### Predicting a group of frames at a time

The output groups are consecutive and non-overlapping. Each holds the number of mel frames indicated by the reduction factor `r`. The recurrent decoder runs once per group. Within that group, the output layer predicts each frame’s values, so the resulting spectrogram still has a separate entry for every frame. The reduction is in the number of recurrent transitions and attention decisions required to produce the sequence.

The authors’ explanation turns on how often it is useful to move attention. A character can correspond to several acoustic frames. When the decoder takes a fresh recurrent step for every frame, it has to learn to hold its place over several steps before attending farther along the text. Nearby frames also share much of their acoustic content. Grouping gives the decoder a larger unit of progress while still allowing changes within that unit. The authors report that alignment forms faster and more steadily under this arrangement.

The listening results use the following setting.

```
r = 2
```

Here `r` is the number of consecutive mel frames emitted by each decoder step, and `2` is the setting used for the mean opinion score evaluation. The paper also reports that `r = 5` works well and uses that factor in its attention illustration. These two settings belong to different pieces of evidence. The listening scores concern the system with `r = 2`, while the figure shows how a system with `r = 5` traverses a test phrase.

Feeding back a prediction requires a choice because the decoder emits a group but takes a single frame as its input at the next step. The authors use the last frame in the group. Their notation expresses the transition as follows.

```
t → t + 1
```

The symbol `t` denotes the current decoder step, `1` is a single step of advance, and `t + 1` denotes the next step. The arrow indicates the direction of the transition. In inference, the input passed across that transition is the final mel frame among the `r` predictions made at step `t`. The authors describe the last-frame choice as a practical design decision and note that all `r` predictions could instead be used as feedback.

The first step has no previous prediction, so the system supplies an all-zero frame as a start marker. During training, after that start frame, the decoder receives every `r`th frame from the recording-derived mel target. This is the reference frame at the end of the preceding group. Thus the decoder learns to predict a group given a reference history during training, while at synthesis time it advances from the frames it has generated itself.

The decoder pre-net transforms the input frame before it reaches the recurrent computation. Like the encoder pre-net, it has fully connected layers of widths 256 and 128, rectified linear activations, and dropout of 0.5 after each layer. Here the bottleneck acts on an acoustic input rather than a character embedding. The authors describe dropout as a source of noise that helps the decoder generalize despite the possible variation in the acoustic outputs for a text input.

The paper considers scheduled sampling, a training technique that sometimes feeds back a system’s own prediction in place of the reference frame. In principle, this gives training some of the conditions that the decoder will face during synthesis. The authors found that it harmed the audio quality of Tacotron and kept the reference-frame input for the system they report. The plain sequence-to-sequence comparison behaved differently and needed scheduled sampling to learn an alignment and generalize in the authors’ experiments.

#### Recovering finer spectral structure

Once the decoder has finished emitting mel frames, a post-processing network reads the full sequence. At a given output position, it can use information from frames that came earlier and frames the decoder had yet to emit at that point. This is a difference in the information available to the two stages. The decoder commits to its outputs in order. The post-processing network receives those outputs as a completed sequence and can use their relationships when estimating spectral detail.

The authors implement this stage with another CBHG block. Its convolution bank has a maximum filter width of 8, with 128 output channels per width and rectified linear activations. Max pooling uses width 2 and stride 1. The projections both have width 3. The first has 256 output channels with a rectified linear activation, and the second has 80 channels and a linear output. These settings describe the projection layers within the block. The prediction required from the stage as a whole is a linear-frequency magnitude spectrogram.

The post-processing CBHG also uses 4 highway layers of 128 units and a bidirectional GRU specified with 128 cells. The convolutional portion can pick up local patterns spanning neighboring frames. The recurrence can bring in more extended sequential information. By giving this stage a completed series of acoustic estimates, the system can use evidence about how a sound develops over time to improve the spectral structure at an individual frame. The authors use the post-processing comparison to examine that effect.

The division into two spectral targets keeps the task of predicting detailed magnitude structure from dictating the recurrent sequence representation. The decoder’s intermediate prediction has direct supervision from the mel target, so it must learn a recognizable acoustic representation. The post-processing stage has direct supervision from the linear target, so it must supply detail in a form the waveform algorithm can use. The authors describe the interface as general enough to admit other synthesis targets. The experiments use the one needed by Griffin–Lim.

#### Turning magnitude into a waveform

A magnitude spectrum leaves the phases of its frequency components unspecified. Griffin–Lim is an iterative algorithm for finding a waveform consistent with a sequence of spectral magnitudes. It works back and forth between a waveform and its short-time spectral representation, using the current waveform to obtain a phase estimate and retaining the requested magnitudes for reconstruction. The repeated updates help reconcile neighboring, overlapping frames with a single signal that can be played.

The authors change the predicted magnitudes before sending them to Griffin–Lim. This operation can be written as follows.

```
M′ = M^1.2
```

Here `M` stands for a predicted spectral magnitude on the magnitude scale, `M′` is the adjusted magnitude supplied to Griffin–Lim, `=` denotes equality, and `^` denotes exponentiation. The value `1.2` is the power applied separately to each magnitude. The authors report that the adjustment reduces audible artifacts and suggest that enhancing harmonic structure may explain the improvement.

They observed convergence after 50 iterations and say that about 30 iterations appeared sufficient. These counts describe the reconstruction procedure. The work of an iteration is different from a decoder step that predicts a group of mel frames. The decoder runs through the utterance sequentially, then the reconstruction algorithm repeatedly updates a waveform from the predicted linear spectrogram. Both operations contribute to the work of synthesis.

The implementation includes Griffin–Lim in TensorFlow. The algorithm is differentiable, so changes in its inputs could in principle be related to changes in its output. In this system it has zero trainable weights, and training uses the spectral prediction errors without imposing a loss on the reconstructed waveform. The term “end-to-end” therefore applies to the integrated learning from normalized text to the spectrogram used for synthesis, with a fixed waveform algorithm completing the route to audio. [TensorFlow](https://md.research.elamur.ai/free/en/papers/abadi-2016-tensorflow-large-scale-machine-learning/)

#### What training rewards

Both prediction stages use an absolute-error objective, typically written as an `ℓ₁` loss. At the level of an individual spectrogram entry, the error used by this objective is the following.

```
e = |ŷ − y|
```

Here `e` is the absolute error for that entry, `ŷ` is its predicted value, and `y` is the corresponding value derived from the recording. The minus sign gives the prediction error before its sign is removed by the absolute-value bars. Errors in either direction increase the loss. The mel prediction and the linear-frequency prediction each receive their own spectral loss, and the authors give the two losses equal weight.

The two targets guide different parts of the calculation. A difference at a mel frame gives the decoder a training signal at its intermediate output. A difference at a linear-frequency frame gives the post-processing network a signal about the spectrum needed for reconstruction, and that stage receives the decoder’s output. This lets the intermediate representation and the detailed prediction be trained together from the same text and recording. An attention path is valuable to the extent that it helps the system predict those acoustic targets.

The system is initialized randomly and trained with Adam, an optimizer that updates the learned parameters using the gradients of the training objective. The initial learning rate is 0.001. It drops to 0.0005 after 500K global steps, to 0.0003 after 1M, and to 0.0001 after 2M. These are counts of optimizer steps in the training schedule. The declining rates specify progressively smaller update scales as training proceeds. [Adam](https://md.research.elamur.ai/free/en/papers/kingma-2014-adam-method-stochastic-optimization/)

Training uses batches of 32 examples. Sequences are padded to a maximum length so that examples of different lengths can be processed together. The authors include the zero-padded acoustic frames in the reconstruction loss. This makes the trailing zero targets part of what the decoder is asked to predict. With a mask that excludes padding from the loss, the network receives no penalty for outputs in that region.

The authors tried masking the loss on those frames and observed that synthesis could repeat sounds near the end of an utterance. Supervising the padded portion gives the system training evidence about what follows the real speech. This decision concerns the end of the generated sequence, whereas the all-zero start frame supplies a known initial condition. The same type of vector serves different roles at the two ends. The start frame is an input that begins decoding, and the padding contributes targets that teach the system how the output should tail off.

The text preparation is simpler than the phoneme annotation and alignment required by some of the earlier work, but it is still a real preparation step. The paper’s example is the conversion of `16` to “sixteen.” The encoder learns from the spelled-out characters that result. Together with the spectral analysis of the paired recording, that normalized character sequence gives the training procedure the input and targets it needs.

### Experiments and results

#### The speech used to train and evaluate Tacotron

The authors trained on an internal dataset containing about 24.6 hours of North American English speech. A professional female speaker supplied the recordings. The training setup therefore gives the system examples of how one speaker realizes written phrases, including the pronunciations and delivery patterns present in her recordings. Normalized phrases form the text side of the pairs, and the recording side is analyzed into the mel and linear-frequency targets described above.

The listening evaluation uses 100 unseen phrases. “Unseen” identifies the text offered for evaluation as distinct from the phrases used to train the system. This setup checks whether the learned relationship between text and acoustics is useful on new phrases in the same broad setting. It is also a separate test from inspecting an attention plot. A synthesized utterance can have an orderly alignment and still sound unnatural because of its acoustic detail or waveform reconstruction. Listeners assess the audio that the whole system produces.

The paper focuses on naturalness. It asks human listeners to judge the rendered audio, where timing, pronunciation, spectral detail, and reconstruction artifacts are encountered together. This is the basis for the claim about how Tacotron compares with the production systems. The alignment and spectrogram comparisons elsewhere in the paper are diagnostic. They make some sources of success and failure visible, while the listening test provides a common scale for comparing complete systems. [Evaluation & benchmarks](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/)

#### How the listeners judged the systems

The ratings were crowdsourced from native speakers, who scored the naturalness of the stimuli on a 5-point Likert scale. A Likert scale here gives listeners ordered response categories for their judgments. The mean opinion score, abbreviated MOS, is the average rating. The paper states that each phrase received 8 ratings and that only ratings made with headphones entered the MOS computation. The reported mean therefore reflects the ratings that satisfied that listening condition.

Tacotron is compared with a production parametric system and a production concatenative system. The parametric system uses an LSTM, a type of recurrent network, as part of an approach that estimates acoustic parameters. The concatenative system uses recorded speech units selected for the utterance it is assembling. These comparisons place Tacotron against systems the authors describe as being in production. The evaluation compares the naturalness of their audio outputs. The paper’s separate ablation experiments provide the comparisons designed to examine individual architectural choices.

Naturalness on unseen North American English phrases by mean opinion score Tacotron scores above the production parametric system, while the production concatenative system has the highest mean.

**The numbers**

| System or setting | mean opinion score |
| --- | --- |
| Production parametric system | 3.69 |
| Tacotron (this paper) | 3.82 |
| Production concatenative system | 4.09 |

The reported results with their accompanying margins are 3.69 ± 0.109 for the parametric system, 3.82 ± 0.085 for Tacotron, and 4.09 ± 0.119 for the concatenative system. The result establishes the ordering of the reported point estimates. The paper presents Tacotron’s result as evidence that an integrated character-to-spectrogram system with a simple fixed reconstruction stage can compete with a production parametric pipeline in perceived naturalness. The concatenative system provides the higher reference point in the same evaluation.

This listening result uses the complete Tacotron pipeline, including the linear-frequency post-processing stage and Griffin–Lim. An audible defect in the final output can influence the score regardless of where it arose. Conversely, the naturalness mean alone cannot isolate the effect of a smoother alignment, an improved spectral estimate, or a different way of reconstructing the waveform. This is why the qualitative comparisons matter alongside the listening scores. They inspect intermediate behavior that an aggregate rating leaves unresolved.

#### The basis for the speed claim

The authors describe Tacotron as substantially faster than sample-level autoregressive synthesis. Their explanation rests on the unit of generation. A sample-level autoregressive system updates its prediction for each waveform sample. Tacotron’s recurrent decoder predicts a group of spectrogram frames per transition. Each frame describes frequency content over a window, and the waveform is recovered afterward. The reduction factor further groups frame predictions, cutting the number of decoder transitions needed to cover the acoustic sequence.

The paper gives observations about alignment convergence and the iterations used by Griffin–Lim, but it supplies no timed comparison with a sample-level baseline. The speed claim is therefore best understood as a consequence the authors report from the generation design. The listening scores quantify a different outcome, namely perceived naturalness under the specified protocol. They do not supply a measurement of how quickly either of the production systems or Tacotron generated its stimuli.

### What the ablations show

#### The plain sequence-to-sequence comparison changes several things at once

The first comparison asks whether an ordinary recurrent encoder–decoder can handle the character-to-spectrogram problem. The authors build a version whose encoder and decoder both have 2 residual recurrent layers, each with 256 GRU cells. They tried LSTM cells and report similar results. The comparison version has neither of Tacotron’s preprocessing and post-processing networks, and its decoder directly predicts a linear-scale log magnitude spectrogram.

In this simpler configuration, the authors needed scheduled sampling at a rate of 0.5 for alignment learning and generalization. This is an observation about how they obtained a workable comparison. It matters because scheduled sampling changes the decoder’s exposure to its own predictions during training. Tacotron, with its other architectural choices and dropout in the decoder pre-net, used reference frames for feedback during training. The plain comparison is thus a test of two systems as trained, with different ways of addressing the difficulty of learning to decode.

The paper visualizes the attention weights over a test phrase. An attention plot places the character positions along one dimension and the decoder steps along the other. It reveals which characters contribute most as decoding proceeds. For a phrase read in order, a steadily moving region of high attention is consistent with the decoder covering the sentence. Long stretches in which the attention remains concentrated at one position show it lingering there while the decoder continues to predict sound.

The plain system exhibits just that kind of hesitation. Its attention can remain on a position through many output frames before it moves forward again. The authors connect that behavior with impaired intelligibility and unnatural utterance duration. The relationship makes sense given what attention supplies. When context remains dominated by one part of the text, a decoder can keep producing acoustic material associated with it well beyond the point where the utterance should have moved on.

Tacotron’s plot follows a cleaner and smoother path. Its decoder also has a shorter plotted sequence because the figure’s configuration uses `r = 5`. Decoder steps therefore represent different amounts of acoustic output across the systems in the figure. A shorter step axis is expected from the grouping itself. The useful visual evidence is the steadiness of passage through the input positions and the absence of the conspicuous stalls in the plain system’s plot.

This comparison supports the architectural package as a way of making the task learnable. It does not assign the difference in the alignment to an individual component. The systems differ in what they ask the decoder to predict, how their encoders represent the characters, how frames are fed back or grouped, and whether there is a second learned spectral stage. The paper’s more targeted comparisons help narrow the conclusions for the encoder and post-processing network.

#### The encoder comparison isolates a smaller change

For the encoder ablation, the authors replace CBHG with an encoder made of 2 residual GRU layers. The rest of Tacotron stays the same, including the encoder pre-net. This is a closer control because the character embeddings still pass through the same bottleneck, and the resulting representations still go to a decoder trained for the same acoustic target. The experiment changes how the encoder combines information across character positions.

The residual recurrent encoder produces a noisier alignment on the test phrase. Listening to synthesized speech led the authors to associate noisier alignment with mispronunciations. According to their report, using the CBHG encoder lessens overfitting and enables good generalization to phrases that are long or complex. The evidence connects a design change on the text side with both a change in the attention pattern and an audible change the authors observed. It provides no count of how often such errors occur over the evaluation phrases.

The encoder’s role helps explain why the effect appears downstream. Attention scores one encoder position against another using the representations they contain. A representation that captures helpful neighboring character patterns and wider context gives the scorer more information about the local text. The CBHG encoder combines features derived over windows of different widths with information gathered by reading the sequence in both directions. The experiment compares that combination with the residual recurrent alternative in the same surrounding system.

The ablation leaves the internal contributions of CBHG unresolved. The convolution bank, the pooling and projections, the highway layers, and the bidirectional recurrence are replaced together. The paper’s conclusion about CBHG is consequently at the level of the encoder block. The observed pronunciation differences are relevant to that conclusion, while an estimate for any one of its operations would require holding the other operations fixed.

#### Post-processing makes a difference to visible spectral detail

The post-processing comparison asks how well the detailed spectrum is predicted when the decoder alone has that responsibility. The authors remove the post-processing network and switch the recurrent decoder’s target to the linear-scale spectrogram. They keep the other components in place. The target change is necessary for this comparison because the waveform reconstructor needs the linear-frequency magnitudes. The comparison is between direct prediction of that representation and a two-stage route through the mel spectrogram.

The two spectrograms reveal differences in the detail of the predicted signal. The two-stage version resolves harmonic structure more clearly, including higher harmonics between bins 100 and 400 in the illustrated example. Harmonics are frequency components related to the repeating structure of the sound. A bin is a position on the frequency axis of the spectrogram. Resolving those components means they appear as more distinct patterns in the prediction. The authors also point to clearer high-frequency formant structure, the concentrations of spectral energy associated with resonances in speech.

The paper connects that additional detail to fewer synthesis artifacts. The post-processing network has access to acoustic context on both sides of the frame it is estimating, while the direct decoder has to commit to frames as it advances. Evidence from surrounding frames can help make a prediction consistent with the sound developing across those frames. The resulting comparison supports the two-stage design as implemented, including the change in what the decoder is asked to predict. It does not give a separate estimate for the effect of bidirectional context or the effect of starting with a mel target.

The examples occupy a different evidential role from the MOS experiment. An improved harmonic pattern can be located in a particular region of a plot. The listening score averages judgments of completed utterances and can be affected by errors elsewhere in the signal. The paper supplies the plotted comparison and reports audible impressions for the analysis. It gives no ablation-specific MOS for the network with the post-processing stage removed.

#### Other observations made during development

The authors report that predicting groups of frames yielded faster and more stable alignment learning. Their explanation is that a group of correlated frames lets attention advance earlier in training, avoiding some of the repeated decisions to stay at the same input position. They also report useful behavior with a larger reduction factor. The paper does not give a listening comparison across factor values or a numerical curve for convergence. The figure and the numerical MOS result document specific settings for different purposes.

The decoder’s residual connections, pre-nets, and padding treatment also receive attention in the paper’s account of development. The authors associate the residual connections with faster convergence and the pre-nets with improved training and generalization. The padding observation specifies a concrete failure when the loss excludes trailing zeros, namely repeated sound near the end. These observations help explain the retained implementation choices. They have a different level of measurement from the listening experiment and from the comparison that holds the decoder fixed while replacing the encoder.

### Limitations

#### Limits identified by the authors

The authors acknowledge that Griffin–Lim can produce audible artifacts. Spectral magnitude is only part of the information required to recover a waveform. The reconstruction has to estimate phase, and the authors’ training objective ends at the spectral predictions. Adjusting magnitudes before inversion appeared to help, yet the authors still regard waveform synthesis as an area for improvement. They describe work on a fast, high-quality learned inverter as ongoing. The listening result includes the effects of the fixed inverter they actually used.

The authors also leave several important design decisions open. They identify the output layer, the attention mechanism, the loss, and the waveform algorithm as candidates for improvement. The system uses a simple output projection and an absolute-error loss for both spectral targets. The paper demonstrates that these choices can work together. It offers no search over alternative objectives or attention designs that would establish how much of the outcome depends on them.

There is a related choice in the decoder’s feedback. After producing a group of frames, it uses the final frame as the acoustic input for the next step. The authors call this a provisional decision and mention supplying all the frames as a possibility. In the reported system, the recurrent state and text context have to carry forward information that the selected frame cannot express on its own. The paper has no controlled result comparing feedback schemes.

Text normalization remains necessary in the reported setup. The authors distinguish the character-level input from the preparation that converts written material such as numerals into a form suited to reading aloud. They suggest learned text normalization as a possible future change. The character-to-speech experiments therefore do not demonstrate that Tacotron can resolve all decisions present in unnormalized written inputs. They demonstrate synthesis from the characters present after the normalization they applied.

#### Limits implied by the experimental setup

The scope of the listening result is tied to the recorded voice and language variety. The data contain a single professional female speaker, and the evaluation concerns unseen North American English phrases. The introductory possibilities of conditioning on speaker, language, or sentiment are motivations. The reported study does not test whether the architecture preserves speaker identity across several voices, adapts well to a different language, or offers controllable variation in delivery.

This matters because the paper identifies multiple legitimate realizations of a text as a difficulty of synthesis. The training recordings give examples of the chosen speaker’s realizations, and the decoder learns from their acoustic targets. A naturalness mean from this setup tells us how the resulting audio is judged. The study has no experiment showing which alternative pronunciations or styles the same system could deliberately produce for a fixed phrase.

The evaluation measures one broad perceptual outcome. Naturalness can be affected by intelligibility, prosody, duration, and artifacts. A listener scores their joint effect on the sample. The article’s comparisons of noisy attention and mispronunciations, or of harmonic detail and audible artifacts, provide observations about specific failure types. There is no consistent set of numerical measures for those failure types across the systems. The paper also gives no breakdown of listening scores by phrase length, complexity, or pronunciation difficulty.

The reported MOS margins accompany the point estimates, but the paper does not name an inferential test for the pairwise comparisons. The direct claim is that Tacotron has the higher reported mean of the two systems in the comparison with the production parametric baseline. The concatenative system has the highest reported mean overall. A stronger claim about statistical separation would require details beyond the displayed means and margins. Similarly, the reported headphone criterion describes which ratings counted towards the MOS without specifying how many judgments were excluded.

The two production comparisons are informative benchmarks for output quality, while their reported setup leaves other comparisons open. The paper identifies the systems and the naturalness scores. It does not give a matched account of the systems’ training data, resources, or engineering effort. The resulting comparison supports a claim about the audio judged in that test. Relating the scores to how much data or human effort each approach requires would need additional evidence.

The intermediate visual comparisons help explain how some failures arise, but they have a narrow basis. A single illustrated alignment can show a stall clearly. It cannot tell a reader how prevalent stalls are across a larger set of phrases. Likewise, the predicted spectrograms show examples of better resolved harmonics and formants. Their visibility in those examples establishes the kind of difference the post-processing stage can make. The prevalence and perceptual importance of that difference across the listening set are left unmeasured.

The training corpus is described as internal. Its reported duration, speaker, language variety, and normalization establish the scope of the study. They do not identify a public copy of the exact recordings and texts from which to reproduce the result. The case for learning on much larger or noisier collections is consequently architectural. Pairing text with audio removes the need to supply phoneme-level timing, but the experiment itself trains on the particular professional recordings the authors describe.

Finally, the paper explains the advantage of generation at the frame level without reporting an end-to-end runtime benchmark. The reconstructing algorithm takes multiple iterations after decoding, and the reported iteration observations are specific to that stage. Runtime for the complete system would depend on the time spent preparing text, generating the spectral sequence, and reconstructing the waveform. The paper establishes why its recurrent loop has fewer opportunities for sequential work than sample-level generation. It leaves the total wall-clock advantage over a specified alternative unquantified.

### What came after

LibriTTS (2019) cites Tacotron and takes up the data side of text-to-speech synthesis. Its contribution is a corpus derived from LibriSpeech for use in text-to-speech. Tacotron’s experiment shows why that kind of contribution belongs to the same research problem. Once a synthesizer can learn from text paired with recordings without externally supplied character-to-sound timings, the preparation and availability of suitable pairs become central to what can be trained and compared. Tacotron addresses the architecture that learns from such examples. LibriTTS addresses the construction of a corpus for the synthesis task. [LibriTTS](https://md.research.elamur.ai/free/en/papers/zen-2019-libritts-corpus-derived-librispeech-text/)

The connection concerns the input to training more directly than any particular design inside the synthesizer. Tacotron’s data supply the text and spoken signal from which the system learns a connection. Its architecture determines how to represent the text, align the representation with speech, and prepare the spectral information for playback. A corpus contribution operates at the preceding stage, supplying material on which a text-to-speech system can learn. The citation connects these two parts of the research, while Tacotron’s listening and ablation results concern the system trained on its own internal recordings.

## Cite

Cite as Yuxuan Wang, RJ Skerry-Ryan, Daisy Stanton, Yonghui Wu, Ron J. Weiss, Navdeep Jaitly, Zongheng Yang, Ying Xiao, Zhifeng Chen, Samy Bengio, Quoc Viet Le, Yannis Agiomyrgiannakis, Rob Clark and Rif A. Saurous. 2017. Tacotron: A Fully End-to-End Text-To-Speech Synthesis Model. arXiv (Cornell University).

The paper itself, not this page. BibTeX from the library's record of the work. [arXiv 1703.10135](https://arxiv.org/abs/1703.10135)

```bibtex
@misc{wang2017tacotron,
  title = {{Tacotron: A Fully End-to-End Text-To-Speech Synthesis Model.}},
  author = {Yuxuan Wang, RJ Skerry-Ryan, Daisy Stanton, Yonghui Wu, Ron J. Weiss, Navdeep Jaitly, Zongheng Yang, Ying Xiao, Zhifeng Chen, Samy Bengio, Quoc Viet Le, Yannis Agiomyrgiannakis, Rob Clark and Rif A. Saurous},
  year = {2017},
  doi = {10.21437/interspeech.2017-1452},
  eprint = {1703.10135},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.21437/interspeech.2017-1452}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
