---
title: "Improved Training of End-to-end Attention Models for Speech"
description: "How staged encoder training makes attention-based speech recognition converge, and what its Switchboard and LibriSpeech results establish."
canonical: "https://research.elamur.ai/free/en/papers/zeyer-2018-improved-training-end-end-attention/"
---
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/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/zeyer-2018-improved-training-end-end-attention/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2018](https://md.research.elamur.ai/free/en/papers/2018/) / Improved Training of End-to-end Attention Models for Speech Recognition

# Improved Training of End-to-end Attention Models for Speech Recognition

Paper · 2018 · Albert Zeyer, Kazuki Irie, Ralf Schlüter et al.

**Authors:** Albert Zeyer, [Kazuki Irie](https://md.research.elamur.ai/free/en/authors/kazuki-irie/), [Ralf Schlüter](https://md.research.elamur.ai/free/en/authors/ralf-schluter/) and [Hermann Ney](https://md.research.elamur.ai/free/en/authors/hermann-ney/) · **Year:** 2018 · **Venue:** Interspeech (USB) · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**257** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2799800213|W6887990596) · Interspeech (USB) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [DOI 10.21437/interspeech.2018-1616](https://doi.org/10.21437/interspeech.2018-1616)
- [arXiv 1805.03294](https://arxiv.org/abs/1805.03294)
- [OpenAlex](https://openalex.org/W2799800213)

## Deep dive: Improved Training of End-to-end Attention Models for Speech Recognition

How staged encoder training makes attention-based speech recognition converge, and what its Switchboard and LibriSpeech results establish. · about 34 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

Speech recognition must connect a long, finely sampled audio signal to a much shorter sequence of written symbols. An attention-based recognizer can learn that connection without a pronunciation dictionary or externally supplied alignments, but a simple architecture does not necessarily produce an easy training problem. This paper investigates how to make such a system learn reliably. Its central contribution is a staged training procedure: begin with a shallow encoder that compresses the audio timeline heavily, add layers while preserving that compression, and relax the compression only after the deeper encoder has been established. The procedure gives the recognizer an easier initial alignment problem while allowing the finished system to retain more acoustic detail.

The recognizer contains a bidirectional long short-term memory encoder, an attention mechanism, and a recurrent decoder. The encoder converts acoustic features into contextual representations; attention selects a weighted mixture of those representations for each output decision; the decoder predicts sub-word units. These units come from byte-pair encoding, or BPE, which allows words to be assembled from smaller pieces instead of restricting recognition to a fixed list of complete words. The final architecture uses a deep encoder and a comparatively small decoder. The important change concerns how the authors reach that architecture during training. Starting directly with either their desired temporal resolution or their full encoder depth did not converge successfully in the reported attempts.

The authors evaluate the approach on conversational speech from Switchboard and read speech from LibriSpeech. A controlled comparison on the complete Hub5'00 evaluation set favors a final time reduction factor of 8 over factors of 16 and 32, after pretraining with stronger compression. On LibriSpeech, the reported word error rate is 3.54% for dev-clean and 3.82% for test-clean. The authors describe these as the strongest results they knew under the stated LibriSpeech training conditions. Their Switchboard results are competitive with earlier end-to-end systems, although conventional hybrid recognition systems still achieve lower error rates. The distinction matters: the paper establishes a practical improvement in training and strong recognition performance, rather than superiority across every dataset and system family.

A separate [language model](https://md.research.elamur.ai/free/en/concepts/language-model/) provides another source of improvement. It is trained on text using the recognizer’s sub-word vocabulary and contributes scores during beam search through shallow fusion. On LibriSpeech, the authors report relative word error rate improvements ranging from 17% to 27% across evaluation subsets. They associate the larger benefit there with the much greater amount of external text available for training. The paper also examines whether decoding errors mainly arise because beam search discards promising hypotheses. Its reference-based analysis finds little evidence that wider search would substantially improve recognition, pointing instead towards limitations in the learned scoring function. Together, these findings connect training difficulty, acoustic resolution, textual knowledge, and search, while keeping their experimental roles distinct.

### Ideas worth borrowing

Stage the difficult parts separately. The authors do not ask an untrained network to solve the final alignment problem at full depth and temporal resolution immediately. They first make the input sequence easier to handle, then increase representational depth, and finally restore finer temporal detail. This suggests a useful experimental principle for other sequence tasks: identify which aspects of the final problem make early optimization unstable, and introduce those demands gradually. The transferable idea is the ordering of difficulty. A successful curriculum need not consist only of easier examples; it can also change the architecture or the resolution at which the same examples are processed.

Treat compression as a training variable. Temporal pooling is typically easy to regard as a fixed architectural choice made for speed or memory. Here it also changes whether learning succeeds. Strong compression simplifies early attention learning, whereas weaker compression gives better final recognition in the reported comparison. That separation is useful whenever an input contains far more positions than the output requires. An engineer can investigate a coarse representation for establishing the mapping and a finer representation for improving discrimination, instead of forcing a single resolution to serve both purposes throughout training.

Coordinate regularization with the learning stage. The authors postpone label smoothing until pretraining has ended and leave encoder dropout disabled during the opening pretraining epochs. Their procedure recognizes that stabilizing initial learning and preventing later overfitting are related but different concerns. This is worth borrowing as a design question instead of a universal prescription: should every regularizer be active before the system has learned its basic input–output relationship? The paper does not isolate the contribution of each scheduling choice, but it gives a concrete example of making the training schedule govern more than network depth.

Share the output vocabulary across components. The acoustic recognizer and the external text predictor operate on the same BPE units. Their scores can therefore be combined while the search is still constructing a transcription, without translating between incompatible output alphabets. This principle applies more broadly to modular prediction systems: a common representation can make separately trained components easier to combine. The associated tradeoff is also reusable. The shared units must support the final task, and a convenient interface does not by itself establish that the components contribute complementary information.

Diagnose search with scores as well as errors. A poor transcription can result because search missed a well-scored answer or because the scoring system preferred the wrong answer. The authors compare the reference transcription’s score with the score of the decoded hypothesis to investigate that distinction. This is a useful diagnostic wherever approximate search sits inside a prediction pipeline. Before expanding the search budget, ask whether the desired output would actually win under the current scoring rule. The paper also demonstrates the necessary caution: a reference-based check cannot identify every missed hypothesis that would have achieved a better task score.

Keep auxiliary training signals separate from decoding. On LibriSpeech, connectionist temporal classification, or CTC, supplies an additional training objective, but it does not contribute to the decoding procedure described by the authors. That separation makes the role of the auxiliary objective clearer: it is introduced to help learning converge. A comparable design can be useful when intermediate supervision makes optimization easier but is unnecessary in the deployed decision rule. The essential reporting lesson is to specify where the extra signal enters and where it stops, rather than allowing a training aid to become an unexplained part of the claimed architecture.

### How Mova uses it

For Mova, the small transparent language system implemented in Rust, the strongest connection is a possible training and evaluation discipline. There is no established implementation connection to report between Mova and this paper’s speech recognizer. The paper therefore supports proposals for future experiments, rather than a claim that its encoder, attention mechanism, or pretraining schedule already exists in Mova.

A concrete possibility is to make staged difficulty an explicit part of any future sequence-learning component. If Mova gains a component that maps long observations to shorter symbolic outputs, its first experiment need not begin with the final architecture at full resolution. It could compare direct training with a schedule that first simplifies the input representation, then expands capacity, and finally restores detail. The connection would be faithful to the paper only if those stages were recorded clearly enough to distinguish the effect of compression from the effect of added depth. Simply calling a procedure pretraining would say little about whether it reproduces the relevant idea.

Transparency would be especially useful in examining the intermediate states of such an experiment. The paper’s procedure changes the number of encoder layers, the placement of pooling, and the total temporal reduction. A Mova implementation could expose those settings as inspectable training state and record when each change occurs. That would make failed convergence more informative: a researcher could see whether learning broke down when depth increased, when resolution increased, or before either transition. This is a proposed engineering use of the paper’s schedule, not evidence that the same transitions would benefit Mova’s existing tasks.

The search analysis offers another concrete direction. If a Mova component generates candidates and ranks them with an approximate search procedure, it could separately record the score of the expected answer and the score of the answer it returns. That would help distinguish a failure to retain a candidate from a failure to prefer it. The paper also supplies a boundary for interpreting this information. A candidate that beats the reference according to the system’s score can still be worse according to the task’s evaluation measure. An inspectable score trace would support diagnosis, but it would not convert an imperfect scoring function into a reliable measure of correctness.

The shared-subword interface is relevant only conditionally. If Mova were to combine a learned sequence predictor with an independently trained text component, a common output vocabulary could simplify score combination. The paper gives a working example of that arrangement through BPE and shallow fusion. It does not establish that Mova should adopt BPE, recurrent networks, or external text scoring. Those choices would need to follow from Mova’s own requirements and controlled comparisons. What can be borrowed immediately is the habit of defining component boundaries precisely and measuring what each component adds under a stated data budget.

### The problem and its context

#### Simpler recognition does not guarantee simpler learning

The paper addresses [speech recognition](https://md.research.elamur.ai/free/en/topics/speech/), where a system must recover a written sequence from an acoustic signal. The attraction of an end-to-end approach is organizational as well as statistical. Instead of constructing several interdependent components and training them through a succession of alignment stages, the researcher can train a single recognizer from paired audio and transcriptions. The architecture directly predicts characters, word fragments, or words.

The authors describe conventional hybrid recognition as a more elaborate pipeline. A neural acoustic component operates over phone-related states within a hidden Markov framework. A pronunciation lexicon connects phone sequences to words. Before the final neural training stage, an earlier system supplies alignments between acoustic frames and hidden states. Gaussian mixture emissions and hidden Markov machinery are part of the bootstrapping process described in the paper.

Context dependence introduces another dependency. A phone’s acoustic realization varies with its surroundings, so conventional systems distinguish contextual versions of phones. The authors explain that constructing the corresponding state clustering already requires useful alignments. Training therefore proceeds through an ordered sequence of simpler and more specialized systems, instead of beginning with the final configuration.

Once these preparations are complete, the hybrid neural component can be trained with frame-level cross-entropy supervision. Recognition then requires a capable beam-search decoder that combines the relevant constraints and scores. Handling words outside the established vocabulary introduces further complications. The paper’s motivation is not that this machinery is ineffective; its own conclusion acknowledges the strength of conventional hybrids. The motivation is that the machinery is complicated.

The introduction also describes earlier efforts to remove particular dependencies. Some work avoided Gaussian mixture initialization. Other approaches trained without a pre-existing alignment or replaced the pronunciation lexicon. In the authors’ account, those changes simplify parts of the pipeline without necessarily producing the direct input-to-transcription arrangement they mean by end-to-end recognition.

#### Alternatives to explicit phone alignments

CTC is one route towards training from unsegmented input–output pairs. The paper places it among the established end-to-end approaches and notes that earlier systems used several output granularities, including characters, sub-word units, and complete words. This matters because eliminating an explicit phone lexicon does not settle the choice of output units. The recognizer still needs an alphabet over which it can learn and search.

The encoder–decoder framework with attention offers another route. The authors situate it in earlier work on [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/) and other application areas before discussing its adoption for speech. Its basic attraction is generality: one network represents the input sequence, another produces the output sequence, and attention connects the two as output decisions are made.

For speech, however, the input and output operate at very different temporal scales. Acoustic features arrive at short intervals, while a written sub-word can correspond to many such frames. The paper gives a concrete illustration: with 10K BPE units and feature frames spaced every 10ms, Switchboard inputs are, on average, more than 30 times as long as their output sequences.

That mismatch changes the practical learning problem. A decoder must discover which regions of a long acoustic representation support each written symbol. Attention provides a flexible mechanism for doing so, but the mechanism itself must be learned. The authors’ observations suggest that giving it a long, finely resolved sequence immediately can prevent useful learning under their training conditions.

Temporal reduction is therefore more than a way to accelerate computation. It changes the set of positions over which attention must distribute its weight. Stronger reduction produces a shorter sequence of encoder states. The paper’s central training idea grows out of the observation that this easier initial representation can support convergence even when the desired final representation is more detailed.

#### General attention and the structure of speech

Speech also has a useful ordering property: the written transcription generally progresses with the acoustic signal. Unrestricted soft attention does not require that progression. It can revisit earlier positions or move around the encoded sequence without an explicit monotonicity constraint.

The authors acknowledge that this flexibility may be excessive for speech. They review earlier attempts to impose monotonic or local behavior on attention, including approaches intended for online recognition. Their own work leaves those restrictions out. The experimental question is whether a comparatively general recurrent encoder–attention–decoder arrangement can become competitive through better training.

That choice helps define the contribution. The paper does not solve the optimization problem by introducing a specialized monotonic attention mechanism. It retains broad architectural similarity with the translation systems it cites and concentrates on encoder construction, temporal pooling, output units, and language-model integration.

The introduction also discusses alternative end-to-end formulations, including recurrent transducers, recurrent neural aligners, and inverted hidden Markov arrangements. The authors suggest that several can be interpreted within a broad encoder–decoder–attention perspective, while noting their use of hard or monotonic latent alignment variants. Their own system uses soft attention.

#### Where the new contribution sits

The paper draws its layer-growth idea from earlier work on deep bidirectional recurrent acoustic networks. That earlier work had found benefits from beginning with a shallow network and adding layers. The present contribution combines that depth schedule with a schedule for temporal reduction in an attention-based recognizer.

This is a specific meaning of pretraining. The authors are not describing a preliminary phase on an unrelated text corpus followed by adaptation to speech. They are describing an easier initial configuration of the speech task itself. The network changes during training, and the recognizer carries learned parameters forward as the encoder becomes deeper and temporally less compressed.

The paper’s novelty claim concerns applying this kind of preparation to encoder–attention–decoder training. Its wider scientific value lies in a distinction that is easy to miss: the best architecture for beginning optimization may differ from the best architecture for finishing it. The reported experiments turn that distinction into a concrete training procedure.

### The method, step by step

The recognizer first transforms acoustic frames into a shorter sequence of contextual states. It then generates a transcription one sub-word at a time, using attention to obtain acoustic information for each decision. Training reaches the final configuration through a sequence of encoder changes. An optional auxiliary objective supports convergence, and an independently trained text predictor can improve decoding.

From staged training to a word transcription The steps in order.

#### Represent the input as acoustic frames

The input is a sequence of feature vectors derived from audio. Each vector summarizes a short portion of the signal. The exact feature extraction differs between the datasets, but the network receives the same kind of object in both cases: an ordered sequence whose length can be much greater than that of the desired transcription.

A bidirectional LSTM encoder processes this sequence. LSTM is a recurrent architecture designed to maintain a state across successive positions. Bidirectionality means the representation at a position can incorporate information obtained while processing the sequence in either direction. That makes the encoder contextual rather than a collection of independent frame classifiers.

Between encoder layers, the authors can apply maximum pooling along time. Pooling combines neighboring temporal positions by retaining componentwise maxima. The resulting sequence has fewer positions, while its vectors remain available to subsequent recurrent layers. Because reduction occurs within the encoder, earlier layers can transform the acoustic evidence before it is compressed again.

The paper writes the encoder composition as follows:

```
h₁ᵀ′ = LSTMₖ ∘ … ∘ max-pool₁ ∘ LSTM₁(x₁ᵀ)
```

Here, x₁ᵀ denotes the input sequence from position 1 through position T. The encoded sequence is h₁ᵀ′, with length T′. LSTM₁ is the first recurrent encoder layer, LSTMₖ is the last, and k denotes the encoder’s layer count. The composition symbol ∘ means that the output of one operation becomes the input of the next. The displayed pooling operation illustrates the temporal reductions that can appear between recurrent layers.

The relationship between input and output length is written in the paper as:

```
T′ = red · T
```

T is the original sequence length, T′ is the encoded sequence length, and red is the scaling quantity in this expression. A notation caution is necessary. In the experimental discussion, the authors call values such as 32 and 8 reduction factors, meaning that larger factors produce shorter sequences. Those named pooling factors should not be substituted as multiplicative values into this expression. The operational description of the pooling schedule makes the intended compression clear, even though the notation does not maintain that distinction explicitly.

#### Begin with a deliberately easier encoder

The initial encoder has 2 recurrent layers. A single pooling operation between them uses a factor of 32. This produces a strongly shortened timeline for attention and a relatively shallow network to optimize.

The authors then add a recurrent layer and another pooling operation. At the described transition, the first pooling factor becomes 16 and the newly introduced pooling factor is 2. The total reduction remains 32. As depth grows, the procedure preserves this overall compression rather than simultaneously demanding a deeper transformation and a longer attention sequence.

Once the encoder reaches 6 layers, some pooling operations are removed so that the final total reduction can become 8. The final system therefore presents attention with more temporal positions than the initial system. The schedule is ordered: establish learning under strong compression, increase depth, and only then expose finer temporal structure.

The authors report unsuccessful attempts to start directly at the final resolution and unsuccessful attempts to start directly with the deep, strongly compressed encoder. These observations motivate changing both depth and resolution. They do not establish that every other direct-training recipe would fail, but they explain why the authors use the combined schedule throughout their subsequent experiments.

Regularization changes with the schedule as well. Label smoothing is inactive during pretraining and becomes active afterward. Encoder dropout is also withheld during the opening pretraining epochs. The paper reports these choices as part of its convergence strategy without giving an isolated numerical comparison for each one.

#### Score the relevance of each encoded position

At each decoder step, attention assigns a score to every encoder position. The score depends on the decoder’s current state, the encoded acoustic representation at that position, and a feedback quantity that summarizes previous attention.

```
eᵢ,ₜ = vᵀ tanh(W[sᵢ, hₜ, βᵢ,ₜ])
```

The scalar eᵢ,ₜ is the attention energy for decoder step i and encoder position t. The vector sᵢ is the current decoder state, hₜ is the encoder state at position t, and βᵢ,ₜ is the attention-feedback quantity. Square brackets indicate that these inputs are joined into one representation. W is a trainable matrix, v is a trainable vector, and the superscript T on v indicates transposition. The tanh function supplies the nonlinear transformation before the vector projection produces a scalar score.

An energy is not yet an attention probability. Its role is comparative: it says how relevant a particular encoded position appears for the current output decision relative to other positions. A later normalization turns the collection of energies into weights.

The feedback term lets the scoring mechanism consider its own earlier allocation of attention. Without such information, the current relevance calculation would have no explicit input describing how much attention a position had already received. The paper follows earlier coverage-related work but changes the form of that feedback.

```
βᵢ,ₜ = σ(vᵦᵀhₜ) · ∑ₖ₌₁ⁱ⁻¹ αₖ,ₜ
```

The quantity βᵢ,ₜ is the feedback used at output step i for encoder position t. The vector vᵦ is trainable, hₜ is the encoded state, and σ is the sigmoid function. The summation accumulates αₖ,ₜ, the attention previously assigned to position t at decoder step k, over the steps before i. Multiplication by the sigmoid output makes that accumulated quantity depend on the encoded position.

The authors describe this as an inverse variant of fertility or attention-weight feedback. Their stated implementation reason is numerical stability: the formulation uses multiplication in place of a division. The feedback is information available to the attention scorer, instead of an explicit rule forcing it to move monotonically through the signal.

#### Turn attention scores into an acoustic context

The attention energies are normalized across encoder time:

```
αᵢ = softmaxₜ(eᵢ)
```

The vector eᵢ contains the energies for all encoder positions at decoder step i. The softmax operation, indexed by t, converts those energies into the attention-weight vector αᵢ. Its component αᵢ,ₜ indicates the weight assigned to encoder position t for that output decision.

The context vector is then a weighted combination of the encoded states:

```
cᵢ = ∑ₜ αᵢ,ₜhₜ
```

Here, cᵢ is the context passed to the output calculation at decoder step i. The term hₜ is an encoder state, αᵢ,ₜ is its current attention weight, and the summation ranges over the encoder timeline.

This weighted combination is what makes the attention soft. The decoder does not have to select a single acoustic position. It can combine evidence from several positions, with the learned weights determining their contributions. The mechanism can represent a concentrated focus or a broader distribution without changing the decoding architecture.

Temporal reduction affects this calculation directly. A heavily pooled encoder gives attention fewer states to score and combine. A less compressed encoder offers a more detailed timeline at greater computational cost. The training schedule changes that tradeoff over the course of learning.

#### Update the decoder and predict an output unit

The decoder is recurrent. Its next state depends on its earlier state, its earlier output, and the acoustic context used at the preceding step.

```
sᵢ = LSTMCell(sᵢ₋₁, yᵢ₋₁, cᵢ₋₁)
```

The current decoder state is sᵢ, the preceding state is sᵢ₋₁, the preceding output symbol is yᵢ₋₁, and the preceding attention context is cᵢ₋₁. LSTMCell denotes the recurrent update. Earlier output history is carried through the state even though the immediate previous symbol appears explicitly as an input.

Once the current attention context has been formed, the recognizer predicts the next symbol:

```
p(yᵢ | yᵢ₋₁, x₁ᵀ) = softmax(MLPᵣₑₐdₒᵤₜ(sᵢ, yᵢ₋₁, cᵢ))
```

The left-hand side is the probability assigned to output symbol yᵢ, conditioned as written on the preceding symbol and the acoustic input. The recurrent state sᵢ carries information from earlier decoding steps. The current context cᵢ supplies the acoustic evidence selected by attention. MLPᵣₑₐdₒᵤₜ is the feed-forward readout network, and the final softmax creates a probability distribution over the output vocabulary.

The readout has this structure:

```
MLPᵣₑₐdₒᵤₜ = linear ∘ maxout ∘ linear
```

MLPᵣₑₐdₒᵤₜ names the complete readout transformation. Each linear term denotes a learned linear layer, maxout is the intermediate activation, and ∘ denotes composition. The paper specifies this arrangement as part of the architecture without attributing a separately measured gain to it.

The reported recognizer uses a 6-layer bidirectional encoder and a 1-layer LSTM decoder. This division places substantial representational depth on the acoustic side. The decoder uses its recurrent history and the changing attention context to turn those acoustic representations into a symbolic sequence.

#### Predict subwords and reconstruct words

The output vocabulary is built with BPE. For a newcomer, the important property is that the decoder predicts reusable written pieces instead of requiring every possible word to occupy its own output category. A transcription is assembled from those pieces and converted back into words after decoding.

The authors motivate this choice by comparing output granularities. Characters offer a simple and general alphabet. Whole words shorten the symbolic sequence but require a large output vocabulary and cannot directly represent an unseen word. Sub-words provide a compromise, and the paper notes that retaining characters within the inventory preserves generality.

This is the first explicit role of [subword tokenization](https://md.research.elamur.ai/free/en/concepts/subword-tokenization/) in the system: it defines what a decoder decision means. It also defines the units retained in the beam and the interface to the external text predictor. The choice therefore affects training, search, and component combination together.

The authors initially tune hyper-parameters using a 10K-unit vocabulary and then investigate 1K and 5K alternatives. The selected vocabulary differs by task: 1K works best for Switchboard, while 10K works best for LibriSpeech. The paper does not give a complete numerical vocabulary-size comparison in its prose, so the justified conclusion is task dependence rather than a universal preference.

Special transcription markers are included in addition to ordinary BPE pieces. These cover noise, vocalized noise, and laughter. The authors say the recognizer can potentially output these events. That capability should be distinguished from a measured event-detection result, which the paper does not report separately.

#### Combine paired speech data with external text

The main recognizer learns from audio and transcriptions. The external LSTM text predictor learns from text alone, using the same BPE inventory. This allows the authors to use language data that need not have paired acoustic recordings.

Its architecture contains an input projection of dimension 512 and 2 LSTM layers with 2048 nodes. Dropout with rate 0.2 is applied at the inputs to hidden layers. Training uses stochastic gradient descent and global gradient clipping. These details belong to the text component; the attention recognizer uses a different optimization recipe.

Shallow fusion combines the separately trained components during beam search. Candidate continuations receive contributions from the speech-conditioned predictor and the external text predictor. The latter’s influence is governed by a weight selected using development-set word error rate.

The selected LSTM language-model weights are 0.23 for Switchboard and 0.36 for LibriSpeech, with the attention component’s weight set to 1. These are tuned operating settings, not a claim that the same values should be used on another dataset. The shared vocabulary makes combination straightforward, while the development set determines the useful balance.

For LibriSpeech, the authors also train Kneser–Ney-smoothed count-based predictors on the same sub-word vocabulary. This connects their neural text component to a conventional [n-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/) alternative. They report using a 4-gram version with shallow-fusion weight 0.01. Although the paper names a perplexity comparison, its numerical entries are not available in the accompanying prose, so no quantitative ranking can be reconstructed from that comparison.

#### Complete training and decode

Across the experiments, the attention recognizer uses Adam, learning-rate warmup, dropout, label smoothing, and development-based learning-rate adjustment through Newbob. These form the surrounding training recipe within which the pretraining schedule is evaluated. The paper does not provide a complete independent ablation of those ingredients.

LibriSpeech training also uses an auxiliary CTC objective to support convergence. The authors describe it as an additional loss associated with the decoder, while making clear that CTC does not participate in decoding. Its exact weighting is not specified in the paper’s prose, so the contribution cannot be reconstructed as a fully specified weighted objective.

The authors initially restrict LibriSpeech training to train-clean utterances whose written transcriptions do not exceed 75 characters. This is another staged restriction, this time on the training examples rather than encoder construction. The account does not give a complete schedule for lifting every restriction, which limits how precisely the whole training trajectory can be reproduced from the prose alone.

At recognition time, beam search retains a limited collection of partial sub-word transcriptions. It expands them with possible next units, scores the candidates, and prunes the collection. After a final hypothesis is selected, the sub-word pieces are merged to form the word transcription.

The experiments use RETURNN with TensorFlow. The authors also describe their own beam-search implementation and native CUDA LSTM kernels, and they make both the source code and experimental configurations openly available. These implementation details matter because the study concerns a practical training recipe as well as an abstract architecture.

### Experiments and results

#### What is measured

The main recognition measure is word error rate, abbreviated WER. It evaluates the final word transcription against the reference, accounting for word substitutions, deletions, and insertions. Lower values indicate better recognition. Although the recognizer predicts BPE pieces internally, the reported recognition results concern words after those pieces have been merged.

The datasets test different speech conditions. Switchboard supplies conversational recordings, while LibriSpeech contains read audiobooks. The difference matters when interpreting both acoustic performance and the availability of useful external text. The paper does not treat success on one as a substitute for evaluation on the other.

A reporting constraint affects how much numerical comparison can be made. The paper describes several result tables, but the numerical values available in its prose are much narrower than the full set of systems named in those descriptions. The strongest quantitative account therefore comes from the explicit temporal-reduction comparison, the reported clean-set LibriSpeech results, and the stated language-model gains.

#### The controlled temporal-reduction comparison

The clearest comparison holds the strong initial compression fixed and varies the final encoder reduction. All of these settings follow pretraining with reduction factor 32. The reported WER values apply to the complete Hub5'00 set, combining its Switchboard and Callhome portions.

Final encoder reduction on full Hub5'00, word error rate Less final temporal compression gives the best recognition among the tested settings.

**The numbers**

| System or setting | WER % |
| --- | --- |
| Final reduction factor 32 | 21.9 |
| Final reduction factor 16 | 21.0 |
| Final reduction factor 8 (this paper) | 20.4 |

The useful finding is not merely that the least compressed tested encoder performs best. Each setting begins from an easier, strongly compressed training configuration. The comparison therefore supports reducing compression after learning has become established. It does not show that direct training at the winning final resolution would succeed.

In later experiments, the authors apply 8 as the final reduction factor. They also explain why the search stops there: lower factors would require more memory and more computation for global attention than their available resources allowed. The selected setting is consequently the best among those evaluated under their constraints.

#### Switchboard: conversational speech

The acoustic training set contains about 300 hours of Switchboard speech. The authors discuss Fisher as an additional source that would bring the combined amount to about 2000h, but they do not use that expanded acoustic training set in this work.

Switchboard features are 40-dimensional Gammatone representations extracted with RASR. The attention recognizer uses the staged encoder training and the selected BPE vocabulary. The external text predictor is trained on 27M words drawn from Switchboard and Fisher transcriptions.

The text-data condition requires care. Of those 27M words, 3M also belong to the transcriptions used for acoustic training. The language component therefore combines overlapping transcription text with additional text. It should not be described as having the same external-data relationship as the LibriSpeech component.

The evaluation discussion separates the Switchboard and Callhome portions of Hub5'00. The authors report particularly strong performance among the end-to-end systems they compare on the easier Switchboard portion. Performance on Callhome is also competitive, but their relative advantage over other end-to-end approaches is smaller.

The conclusion explicitly states that the conventional hybrid systems still obtain lower WER on Switchboard. That is an important qualification to the paper’s positive assessment. Its simplified recognition arrangement is competitive, but the conversational-speech experiments do not establish that it has displaced the strongest conventional approach.

The available prose does not give the complete split-specific scores needed to reproduce the broader Switchboard comparison numerically. It identifies the comparison conditions and the direction of the findings, while the full-Hub5'00 pooling experiment supplies the explicit values reported above.

#### LibriSpeech: read speech

LibriSpeech provides about 1000 hours of audiobook speech. Its development and test partitions each distinguish clean material from the harder other condition. These are separate evaluation subsets, and a score on a clean subset should not be presented as the score for the whole benchmark.

For this task, the authors extract 40-dimensional MFCC features during processing in RETURNN, using librosa. They use the 10K BPE vocabulary selected for LibriSpeech and add the CTC training objective described earlier. Their initial training restriction uses train-clean utterances with transcriptions no longer than 75 characters.

The reported final WER is 3.54% on dev-clean and 3.82% on test-clean. These values belong to different evaluation splits. They should not be plotted as competing systems on a common split, because that would confuse a dataset difference with a system comparison.

The authors characterize the recognizer as competitive even before external text scoring is added. With the LSTM text predictor integrated by shallow fusion, they report relative WER improvements from 17% to 27% across LibriSpeech subsets. The prose does not associate every improvement with a complete pair of baseline and final scores, so those relative gains cannot be converted into an invented table of absolute results.

The authors’ strongest performance claim is limited to the clean subsets and their stated data conditions. They describe the dev-clean and test-clean scores as the best they knew for systems using the official LibriSpeech training resources. That claim includes the use of LibriSpeech’s designated language-model text; it does not mean the recognizer learned only from the transcribed audio.

#### Why external text matters differently across tasks

For LibriSpeech, the external text dataset contains 800M words. The speech transcriptions contain 10M words, and the authors state that these transcriptions are not included in the language-model training text. They describe the text corpus as 80 times the transcription size.

That condition differs substantially from Switchboard’s 27M-word text collection with its 3M-word overlap. The authors suggest that the amount of additional text most likely explains why shallow fusion helps more on LibriSpeech. Read speech also has more readily available text in their discussion than conversational speech.

This is a plausible interpretation of the experimental pattern, but the paper does not isolate text quantity in a matched intervention. It does not, for example, present a controlled series that changes only the amount of text while keeping the speech task fixed. The results show an association between the richer external-text condition and the larger gain.

#### Baselines and comparison boundaries

The paper situates its systems among several recognition families. Its comparison descriptions include conventional hybrids, CTC-related systems, and other end-to-end approaches. On LibriSpeech, the described alternatives include lattice-free maximum mutual information training and Auto SeGmentation, as well as a CTC system using policy learning.

Those names explain the breadth of the intended comparison. They do not supply numerical scores on their own. The paper also notes that some comparison entries involve additional resources, such as noise augmentation or a lexicon, which matter when judging like-for-like performance.

The central result survives these reporting limits. The authors demonstrate that a recurrent attention recognizer can be trained successfully with their staged procedure and can achieve strong WER under clearly identified evaluation conditions. The available numerical evidence is strongest for the encoder-resolution choice and the clean LibriSpeech outcomes, while the broader ranking requires the full comparison entries.

### What the ablations show

#### Depth and resolution both affect convergence

The paper offers a mixture of controlled numerical comparisons and qualitative training observations. Its most informative training observations concern configurations that did not converge successfully under the authors’ recipe.

Starting with a shallow encoder at reduction factor 8 did not work for them. Starting directly with 6 layers at reduction factor 32 also did not work. These attempts separate two obstacles: a longer attention timeline can be troublesome even with limited depth, and substantial depth can be troublesome even when the timeline is strongly compressed.

The successful schedule avoids introducing those demands together at initialization. It begins shallow and heavily pooled, adds depth without lengthening the encoded sequence, and changes the temporal resolution only afterwards. The failed starts support that ordering, although they do not quantify the separate contribution of every transition.

The authors are explicit that stronger tuning or more training data might permit direct training. Their claim is therefore practical rather than absolute. Pretraining removes the need for that additional effort in their experiments; it is not presented as a proof that the architecture is intrinsically impossible to train otherwise.

#### The final representation benefits from greater detail

The temporal-reduction comparison gives a different kind of evidence. Here the systems share the strongly compressed pretraining stage, and the final reduction factor varies. The best tested final setting preserves more encoder positions for attention.

This supports a distinction between what facilitates early learning and what gives the strongest finished recognizer. The initial high reduction is useful because it simplifies convergence. The lower final reduction is useful because the recognizer can then operate over a more detailed acoustic representation.

The experiment does not identify exactly which acoustic distinctions are lost at stronger compression. It also does not measure an unlimited progression towards finer resolution. Its result is specific to the tested settings, architecture, dataset, and training schedule.

#### Vocabulary selection is reported more narrowly

The authors test BPE vocabularies after initial hyper-parameter tuning. Their preferred vocabulary is smaller for Switchboard than for LibriSpeech. This is evidence that output-unit granularity should be evaluated for the task rather than selected solely from architectural convenience.

However, the paper’s prose does not provide the complete WER series for each vocabulary size. It therefore supports a reported selection, not a detailed account of the performance curve. A careful reader should resist supplying an explanation for the difference that the experiments do not independently establish.

The special event symbols have a similarly limited evidential status. They are included in the output vocabulary, making such predictions possible. There is no separate ablation demonstrating how much they improve ordinary word recognition or how accurately the events themselves are detected.

#### Auxiliary objectives and regularizers remain bundled

CTC, delayed label smoothing, and initially disabled encoder dropout all enter the training procedure. The authors describe them as aids to convergence or parts of the final recipe. They do not report isolated numerical removals for each ingredient in the available prose.

As a consequence, the paper cannot support an exact allocation of the final improvement among those choices. The strongest evidence concerns the whole staged training strategy and the tested temporal-resolution settings. The other ingredients are concrete implementation decisions whose independent effects remain less clear.

This distinction is useful when borrowing the work. Reproducing the final architecture alone would omit the main contribution, but reproducing the entire recipe would not reveal which supporting ingredients are essential. The paper supplies both an effective procedure and unresolved questions for a more factorial study.

#### Search analysis points toward scoring limitations

The beam-search analysis asks whether the decoder misses the reference because pruning discards it. The intended decision rule is:

```
x₁ᵀ → ŵ₁ᴺ := argmax_w₁ᴺ p(w₁ᴺ | x₁ᵀ)
```

The acoustic input is x₁ᵀ. A candidate word sequence is w₁ᴺ, with length N, and ŵ₁ᴺ denotes the selected sequence. The conditional probability p scores a candidate given the audio. The argmax operation selects the candidate with the highest score. Beam search approximates that decision by retaining only a limited set of partial hypotheses.

The authors compute the reference sequence’s search score and compare it with the returned hypothesis’s score. If the returned hypothesis scores higher, then recovering the reference would not have caused the current scoring rule to select it. If the reference scores higher, pruning has prevented search from finding a known better-scoring candidate.

For their standard beam size of 12, the proportion of reference-related search errors is well below 1%. They also report no noticeable WER benefit from a larger beam. This analysis is performed on LibriSpeech without an external language model.

The qualification is important. A reference-based test does not identify every missed sequence with lower WER than the returned hypothesis. The authors acknowledge that boundary. Their evidence suggests that search width is not the main remaining obstacle, while stopping short of a complete account of all approximation errors.

### Limitations

#### Limits the authors state

The authors directly acknowledge that their attention arrangement does not enforce monotonic alignment. Its flexibility is attractive because it preserves a general architecture, but speech does not require every alignment pattern that the mechanism can express. The paper does not resolve that mismatch with a new constraint.

They also report a resource limit on temporal resolution. Settings below the selected final reduction factor would increase memory use and global-attention computation beyond what they could evaluate. Their results therefore identify a useful tested configuration instead of the best possible temporal resolution.

The training conclusions are conditional on the recipe they tried. Direct initialization failed in their experiments, but the authors allow that more data or more careful tuning could change that outcome. Calling pretraining crucial is justified within the reported setup; treating it as universally necessary would go beyond the evidence.

The authors further acknowledge a limit in their search diagnostic. It measures whether search misses the reference as a better-scoring candidate. It does not count every case where some other missed candidate would have lower WER. The finding of little reference-related search error is informative without being exhaustive.

Finally, the conclusion preserves a competitive-performance boundary. Conventional hybrid recognition remains stronger on Switchboard by WER. The paper’s contribution is not a universal victory for end-to-end attention, even though its clean LibriSpeech results support a particularly strong task-specific claim.

#### Limits visible in the experimental design

A careful reader should separate a successful compound procedure from a complete causal explanation. The recipe combines encoder growth, changing pooling, regularization scheduling, optimization choices, and, on LibriSpeech, CTC. The reported comparisons do not independently remove every ingredient.

This means the work explains how the authors obtained a strong recognizer more completely than it explains the unique contribution of each component. The final-resolution comparison is relatively clean. The contributions of delayed label smoothing, early dropout removal, and the auxiliary objective are less isolated.

The available numerical account is also incomplete for some questions. The paper names comparison tables covering recognition scores, language-model perplexities, and beam-search behavior, but the prose gives only selected values. It is possible to report the explicitly stated findings accurately; it is not possible to reconstruct every baseline score or every split-specific result without inventing information.

The output-vocabulary experiment has a similar boundary. The authors identify preferred BPE sizes for the two tasks, but they do not provide a full numerical account in the prose. That leaves open how sensitive performance is around the selected size and whether other training settings would change the preference.

#### Language-model gains include additional information

The shallow-fusion gains arise from adding a separately trained text component, and that component has access to substantial textual data. They should not be attributed solely to a more effective use of the paired speech examples.

This matters especially for the clean LibriSpeech headline results. The external text is part of the stated experimental resources, so using it is consistent with the authors’ comparison condition. Nevertheless, a reader comparing systems must track that resource separately from the acoustic training hours.

The proposed explanation for the larger LibriSpeech benefit is also not a controlled causal result. Text quantity, speech style, transcription overlap, and corpus characteristics differ between the tasks. The authors’ interpretation is reasonable, but the experiments do not separate those influences.

Nor does shallow fusion remove the need to tune the combination. The language-model weight is selected on development WER. The reported operating point therefore includes development-set optimization, and the chosen value is task-specific.

#### Generality and deployment remain open

The experiments cover English conversational speech and English audiobook speech. They demonstrate useful breadth within speech recognition, but they do not establish performance across other languages, highly constrained data settings, or substantially different acoustic domains.

The architecture also does not establish a streaming solution. A bidirectional encoder uses information from both processing directions, and the attention mechanism is not restricted to monotonic online operation. The introduction discusses related approaches that impose such restrictions, but those mechanisms are outside this paper’s system.

No deployment latency or complete training-cost comparison accompanies the principal accuracy claims. The paper discusses computational pressure from longer encoder sequences and describes efficient implementation work, yet it does not turn those observations into a measured accuracy–latency tradeoff.

Open vocabulary has a narrower meaning than unrestricted recognition competence. BPE lets the output represent words assembled from smaller units, avoiding a fixed whole-word output inventory. It does not guarantee correct recognition of unfamiliar words, reliable spelling under weak acoustic evidence, or equal performance across word types.

Finally, the small reported search-error rate does not mean the recognizer’s probabilities are well calibrated or that its errors are understood. It indicates that widening the beam is unlikely to be the main remedy under the tested conditions. Improving the scoring function remains a broad research problem, instead of a single limitation diagnosed entirely by this analysis.

### What came after

The later citation record connects this work to research on augmentation, recognition architecture, and evaluation across speech settings. Those connections establish that the paper remained relevant to subsequent work. A citation alone, however, does not establish that the later authors adopted its pooling schedule, reproduced its convergence findings, or used the same implementation.

[SpecAugment](https://md.research.elamur.ai/free/en/papers/park-2019-specaugment-simple-data-augmentation-method/) addresses data augmentation for automatic speech recognition. Its stated subject concerns changes to the training data, whereas the central intervention here changes how the encoder is built and how much temporal detail it exposes during learning. That makes it a relevant continuation of the broader question of improving end-to-end recognition training. The citation information does not specify which findings or settings it borrows from this paper, so no more particular technical dependency can be claimed.

[Arabic Speech Recognition by End-to-End, Modular Systems and Human](https://md.research.elamur.ai/free/en/papers/hussein-2021-arabic-speech-recognition-end-end/) places end-to-end recognition alongside modular systems and human performance in an Arabic setting. That comparison relates to a major boundary of the present work: a simpler end-to-end arrangement should be evaluated against strong alternatives, rather than judged only by its internal improvements. The later work’s listed subject also broadens the language setting beyond the English datasets studied here. The citation record does not establish that it transfers the specific encoder-pretraining schedule or confirms its effects.

[Attention-based sequence-to-sequence speech recognition on LibriSpeech and non-native English](https://md.research.elamur.ai/free/en/papers/yin-2018-attention-based-sequence-sequence-model/) is the closest topical continuation among the listed works. Its title identifies attention-based recognition, system development on LibriSpeech, and application to non-native English. Those subjects connect directly to the present paper’s architecture and benchmark while extending the evaluation question towards another speech population. The available citation information does not describe the exact architectural changes, training schedule, or measured relationship to this work.

Across these connections, the most durable research question is how to make an apparently simple recognition system learn well under realistic conditions. This paper contributes a concrete answer for its recurrent attention architecture: simplify the alignment problem early, preserve that simplification while adding depth, and restore temporal detail after learning is established. Later citations show continuing relevance to that area, while the specific inheritance of the procedure remains unestablished by the citation record alone.

## Cite

Cite as Albert Zeyer, Kazuki Irie, Ralf Schlüter and Hermann Ney. 2018. Improved Training of End-to-end Attention Models for Speech Recognition. Interspeech (USB).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.21437/interspeech.2018-1616](https://doi.org/10.21437/interspeech.2018-1616) · [arXiv 1805.03294](https://arxiv.org/abs/1805.03294)

```bibtex
@inproceedings{zeyer2018improved,
  title = {{Improved Training of End-to-end Attention Models for Speech Recognition}},
  author = {Albert Zeyer, Kazuki Irie, Ralf Schlüter and Hermann Ney},
  booktitle = {Interspeech (USB)},
  year = {2018},
  doi = {10.21437/interspeech.2018-1616},
  eprint = {1805.03294},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.21437/interspeech.2018-1616}
}
```

> 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)
