---
title: "Task Loss Estimation for Sequence Prediction — Bahdanau 2015"
description: "Task Loss Estimation for Sequence Prediction trains a speech recognizer to estimate edit distance and tests how that changes transcription…"
canonical: "https://research.elamur.ai/free/en/papers/bahdanau-2015-task-loss-estimation-sequence-prediction/"
---
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/bahdanau-2015-task-loss-estimation-sequence-prediction/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2015](https://md.research.elamur.ai/free/en/papers/2015/) / Task Loss Estimation for Sequence Prediction

# Task Loss Estimation for Sequence Prediction

Paper · 2015 · Dzmitry Bahdanau, Dmitriy Serdyuk, Philémon Brakel et al.

**Authors:** [Dzmitry Bahdanau](https://md.research.elamur.ai/free/en/authors/dzmitry-bahdanau/), [Dmitriy Serdyuk](https://md.research.elamur.ai/free/en/authors/dmitriy-serdyuk/), [Philémon Brakel](https://md.research.elamur.ai/free/en/authors/philemon-brakel/), [Nan Rosemary Ke](https://md.research.elamur.ai/free/en/authors/nan-rosemary-ke/), [Jan Chorowski](https://md.research.elamur.ai/free/en/authors/jan-chorowski/), Aaron C. Courville and [Yoshua Bengio](https://md.research.elamur.ai/free/en/authors/yoshua-bengio/) · **Year:** 2015 · **Venue:** arXiv (Cornell University) · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**26** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2180816288) · [arXiv (Cornell University)](https://openalex.org/S4306400194) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/1511.06456)
- [arXiv 1511.06456](https://arxiv.org/abs/1511.06456)
- [OpenAlex](https://openalex.org/W2180816288)

Citations: OpenAlex, 2026-10-14.

## Summary

A speech recognizer can learn to predict the next character of a correct transcript and still make errors that this training exercise never taught it to handle. During transcription, the recognizer has to continue from the characters it has already emitted, including its mistakes. The finished transcript is judged by the edits needed to repair it, while ordinary cross-entropy training rewards the probability assigned to the reference characters. *Task Loss Estimation for Sequence Prediction* asks what happens when the recognizer learns to score a candidate by estimating the edits it would cost. The question applies wherever an output is a sequence and the evaluation criterion grades complete answers. [Speech & spoken language](https://md.research.elamur.ai/free/en/topics/speech/)

The authors start with a general result about systems that choose the output with the lowest score. The loss of the chosen answer is bounded by the score’s estimation error on that answer, its estimation error on the reference, and a term for a particular kind of search failure. For an encoder–decoder, the authors then divide the loss into targets for individual token decisions. At each prefix they ask how much worse the best possible completed answer would become if the recognizer appended a given token. Adding those increases recovers the loss of the finished output. This gives training a way to assign credit within a sequence and gives search a reason to prefer prefixes that still admit a good completion.

The speech experiment uses the Wall Street Journal corpus and compares the new objective with cross-entropy using the same recognizer architecture. Training with task loss estimation uses prefixes generated by the recognizer itself and supplies a target for every possible next character at those prefixes. On the `eval92` test set with a beam of `10` and no external text source during decoding, character error rate falls from `6.8%` to `5.9%`, the paper’s reported `13%` relative improvement. Word error rate falls from `19.5%` to `18.0%` under the same conditions. The size and direction of the advantage depend on the decoding setup. With the extended trigram system and a beam of `100`, cross-entropy gives the lower test character error rate.

The guarantee and the experiment answer different questions. The bounds explain why accurate loss estimates can support good decisions on labeled examples, including when a greedy decoder has already taken a wrong turn. The experiment tests a practical version that uses squared errors, on one corpus and with character edit distance as its target. It establishes an improvement for that recognizer in the no-external-text comparison, while leaving open whether the same construction helps with harder evaluation criteria or with a separately trained text scorer.

## Deep dive: Task Loss Estimation for Sequence Prediction

Task Loss Estimation for Sequence Prediction trains a speech recognizer to estimate edit distance and tests how that changes transcription accuracy. · about 38 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

#### Why the training objective matters

An end-to-end recognizer takes an acoustic input and returns a transcript. Its parameters are adjusted by optimizing a numerical training objective, whereas its output is judged by how close the transcript comes to the reference. Those jobs can call for different calculations. To score a transcript by edit distance, an evaluator finds the least costly way to turn it into the reference using insertions, deletions and substitutions. To improve a recognizer by gradient descent, the training procedure needs a signal that says how to adjust its scores. A change in the scores can leave the decoded transcript exactly as it was, and a small change near a decision boundary can switch the transcript to a different string. The edit count of the decoded output offers little guidance about how to make the next parameter update.

Classification offers a familiar version of this distinction. For a task scored by `0-1` loss, exact agreement earns a loss of `0` and a mistake earns `1`. Cross-entropy gives the training procedure more information by considering the probability assigned to the correct class, even when the predicted class stays the same. A margin-based objective can also give a useful signal by asking that the correct class score better than its competitors. The paper treats these objectives as well motivated for classification and asks what additional information becomes available when wrong answers differ in quality. A transcript with an omitted character and a transcript with several missing words both fail an exact-match test. Their edit distances tell the learner much more about the errors involved.

The authors place this question in the wider move toward end-to-end training. They cite results in handwriting and image recognition as examples of learning systems that take over work previously assigned to manually designed components. They also point to encoder–decoders for [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/) and to neural speech recognizers. The attraction of end-to-end training is that the components can adapt together. The choice of objective still determines what they adapt to. The paper names word error rate in recognition and the [BLEU score](https://md.research.elamur.ai/free/en/concepts/bleu/) in translation as examples of evaluation criteria that can differ from the training objective.

For a sequence predictor, the evaluation criterion and the search procedure meet at an awkward point. The evaluator sees the whole answer. The decoder sees a prefix and has to decide whether to extend it. An early choice might already make a perfect transcript impossible, or it might leave a good completion within reach. The score of that prefix determines whether beam search continues it. A well-calibrated score for a finished answer would be valuable, but it would arrive too late if the decoder had already discarded the prefix that could lead there. The authors therefore want a training target that has a meaning before the sequence ends.

#### What existing objectives supervise

Cross-entropy for an encoder–decoder is usually computed along the reference transcript. At each position, the decoder receives the preceding reference characters and assigns a probability to the actual next character. Training rewards a high probability for that character. Normalization also makes the alternatives compete for probability mass. The reference prefix determines the context for that competition. Once the decoder generates an alternative and proceeds from it, subsequent decisions concern a prefix outside the reference path. The sum of the cross-entropy terms along the reference gives no direct next-character supervision at that new prefix.

The paper describes an earlier curriculum approach to this difference between training and decoding. Training begins with reference-guided prediction and gradually increases the use of previously generated tokens as context. That brings the conditions of training closer to those of use. It adds a separate decision about the pace of the transition, and the paper points out that the curriculum itself does not use the evaluation loss to decide how to treat competing continuations. Prefix selection and the choice of target are distinct issues. A decoder can be trained on its own prefixes using a probability objective, or it can be trained there using targets derived from the amount of error that remains avoidable.

Structured support vector machines supply a different precedent. Their generalized hinge loss uses the task loss to set a required score margin between the reference and a competing output. Under the convention that smaller scores are preferred, a costly mistake should score that much higher than the reference. The requirement concerns the gap between two scores. As the reference score moves, the level a competitor must clear moves with it. The task loss estimation proposal assigns the competitor a target in the units of the task loss itself. The reference has a target in the same units. With those absolute targets in place, the authors can ask which part of the total score ought to be contributed by each decision.

#### Earlier ways to bring the evaluation loss into training

The paper also discusses alternatives that aim to minimize risk more directly. An early speech recognition approach used word errors to weight a discriminative objective and required a calculation over possible transcriptions. That calculation is tractable for a restricted class of recognizers. Work on approximate inference instead treated the scorer and the prediction procedure as parts of a single computation and differentiated through that computation. As the authors describe it, this route requires a differentiable loss. Another line of work estimated a gradient by altering inference with the task loss. The paper notes its extension to hidden Markov systems for phoneme recognition.

A probabilistic recognizer also permits training on the expected loss of a sampled transcription. The paper relates an earlier use of this idea for word error rate to REINFORCE and notes that the resulting gradient estimates can have high variance. Sampling also has to be computationally feasible. A related approach replaces the full set of possible outputs with a list of high-scoring candidates and approximates the expectation on that list. The paper cites minimum risk annealing as an example of moving from a smoother objective supported by many candidates toward the loss of a single prediction. [Minimum Risk Annealing for Training Log-Linear Models](https://md.research.elamur.ai/free/en/papers/smith-2006-minimum-risk-annealing-training-log/)

Task loss estimation takes a different route through this problem. Once a candidate has been chosen and compared with the training reference, its loss becomes a numerical target. The update fits a score to that target. For the character-level experiment, the update fits a vector of next-character costs at each visited prefix. This route uses search to choose the contexts that receive supervision and edit distance to decide what supervision each context receives. It avoids the need to obtain a derivative of the discrete edit calculation. It still leaves the questions of which prefixes the decoder visits, how accurately it scores them and whether the training updates find a useful set of parameters.

### The method, step by step

#### From a finished answer to a training target

The general setup starts with an input, its reference answer and a way to measure the loss of any candidate answer against that reference. The paper assumes one designated reference per input and a non-negative loss that is zero on that reference. Once training is over, the predictor returns a single answer for each input. Letting the predictor choose by score gives the paper two things to analyze separately. One is the quality of the scores as estimates of loss. The other is the quality of the search over possible outputs.

The overall aim is to choose parameters that keep the prediction loss low over inputs drawn from the task’s data distribution. The paper writes this average as a risk.

```
R(α) = ∫ₓ L(x, hα(x)) P(x) dx
```

Here `R(α)` is the population risk for parameters `α`. The input is `x`, `hα(x)` is the answer returned for that input, and `L(x, hα(x))` is its task loss. `P(x)` represents the unknown input distribution. The integral and `dx` indicate averaging over inputs according to that distribution.

Training has access to a finite collection of input and reference pairs. Evaluating the predictor on those pairs gives the empirical risk.

```
R̂(α) = (1/N) ∑ᵢ₌₁ᴺ L(xᵢ, hα(xᵢ))
```

`R̂(α)` is the empirical task risk, and `N` is the number of training examples. The index `i` runs from `1` through `N`. The input at that index is `xᵢ`, the answer is `hα(xᵢ)`, and its loss is `L(xᵢ, hα(xᵢ))`. The factor `1/N` gives the mean over examples. The corresponding reference is written `yᵢ = g(xᵢ)`, where `g` denotes the reference-answer mapping.

The decision rule uses a real-valued score for each input and output pair.

```
hαᵐⁱⁿ(x) = argminᵧ∈Y Fα(x, y)
```

`Fα(x, y)` is the score under parameters `α` for answer `y` on input `x`. `Y` is the set of possible answers. `argmin` returns a minimizing answer, so `hαᵐⁱⁿ` denotes the rule with exact search. In the paper’s general bound, `hα` can also denote a rule that only approximates this choice.

The empirical task risk can be difficult to optimize because it depends on the discrete answer `hα` returns. The authors instead consider objectives that act on the scores, with one loss per training input.

```
Rsur(α) = (1/N) ∑ᵢ₌₁ᴺ ℒ(xᵢ, Fα(xᵢ))
```

`Rsur(α)` denotes the empirical surrogate risk. `ℒ` is a surrogate loss, a training penalty defined on the input `xᵢ` and the collection of scores `Fα(xᵢ)` for that input. `N`, `i` and `α` carry the same meanings as above. The score collection is a mathematical description of what the objective can depend on. A practical objective can inspect selected scores without enumerating the collection.

For comparison, the cross-entropy construction treats lower scores as greater probability. In the negative-log-score convention, the general normalized form can be written as follows.

```
ℒCE(x, Fα(x)) = Fα(x, g(x)) + log ∑ᵧ′∈Y exp(−Fα(x, y′))
```

`ℒCE` denotes cross-entropy for the observed reference. `Fα(x, g(x))` is the reference’s score, and `Fα(x, y′)` is the score for an answer `y′` in the normalization sum over `Y`. `exp` converts a negative score into an unnormalized weight, and `log` is the logarithm. The first term and the logarithm together give the negative log of the reference probability. The low-score convention fixes the signs in this expression. The encoder–decoder baseline gets its normalized probabilities from the token decisions, so it can use a simpler form given below. The sample risk for cross-entropy is the mean of `ℒCE`, and minimizing it gives maximum likelihood training.

The structured hinge uses scores to express a loss-dependent margin.

```
ℒhinge(x, Fα(x)) = maxᵧ∈Y max(Fα(x, g(x)) − Fα(x, y) + L(x, y), 0)
```

`ℒhinge` is the generalized hinge penalty. `Fα(x, g(x))` and `Fα(x, y)` are the scores of the reference and a competing answer. `L(x, y)` is the task loss incurred by returning the competitor. The inner `max` keeps the violation if it is positive and otherwise returns `0`. The outer `max` chooses the largest violation over outputs. Under exact search, evaluating the margin expression at the selected answer shows why the hinge upper-bounds the loss. The reference scores at least as high as the selected answer, so their score difference can only increase the margin expression above the selected answer’s task loss.

#### The bound behind task loss estimation

Suppose a recognizer has proposed a particular transcript. Its training reference has task loss zero, so the magnitude of the reference score is a direct measure of its estimation error. The proposed transcript can be assigned its edit distance from the reference, giving another estimation error. The basic surrogate adds those errors. The authors call it the min-min loss.

```
ℒmin,min(x, Fα(x)) = |Fα(x, y)| + |L(x, ŷ) − Fα(x, ŷ)|
```

`ℒmin,min` is the surrogate for one input `x`. The reference is `y = g(x)` and the prediction is `ŷ = hα(x)`. `Fα` gives their scores and `L(x, ŷ)` is the actual loss of the prediction. The bars denote absolute value. The first term measures the error relative to the reference target of `0`, and the second measures the error relative to the prediction’s own task loss.

The informative part of the bound is how these two estimates interact with search. Exact search must find a candidate whose score is at most the reference score because the reference belongs to the set of answers it could choose. If the reference score is close to zero, then the selected score is at most a small value. If the selected score is also close to the candidate’s actual loss, then the candidate’s actual loss must be small. That argument still works when search is approximate and the returned answer beats or ties the reference by score. If the search returns an answer above the reference score, the excess adds to the bound.

```
R̂(α) ≤ Rmin,min(α) + M(α)
```

`R̂(α)` is the prediction’s empirical task risk. `Rmin,min(α)` is the mean min-min penalty on the training examples, and `M(α)` is the mean excess due to the prediction scoring above the reference. `≤` means that the expression on the right upper-bounds the measured loss on those examples.

```
M(α) = (1/N) ∑ᵢ₌₁ᴺ max(Fα(xᵢ, ŷᵢ) − Fα(xᵢ, yᵢ), 0)
```

Here `M(α)` averages over the `N` examples. `xᵢ` is an input, `ŷᵢ` the returned answer and `yᵢ` its reference. `Fα` scores each answer. `max` keeps only a positive difference between the returned score and the reference score. A returned answer with a lower score than the reference contributes `0`, even if another output would score lower still. Thus `M` measures failure relative to a specific available comparison, instead of the full distance from the global minimum of the scorer.

The theorem is useful even though the general idea assigns a target to every candidate and the surrogate fits only selected candidates. The proof needs information at the reference and at the answer used to make the decision. A target exists for every other output as well, should training encounter it. When parameters change and search produces a different answer, that new answer has a target given by its own loss. The set of fitted pairs can therefore change without changing the meaning of the score.

This dependence on the current answer also makes optimization harder. Changing parameters can change which prediction appears in the loss. The paper describes the general min-min objective as piecewise smooth, non-convex and potentially discontinuous. Its practical procedure selects predictions for a subset of examples, treats those outputs as fixed while improving the score estimates, and then repeats with newly generated outputs. Holding the outputs fixed permits an update through the score calculations. The risk bound says what a small estimation error buys under its search conditions. It does not supply a convergence argument for this procedure.

#### How the decoder scores a string

An encoder turns the acoustic input into a representation, written `z(x)` in the paper. The decoder uses that representation and the tokens already chosen to score possible next tokens. The alphabet contains the ordinary characters and is extended with a special end token. Write `C` for the ordinary alphabet, `C⁺` for the extended alphabet and `⊣` for the end token. A completed output ends at `⊣`. The authors assume it is feasible to loop through the extended alphabet, which matters both for search and for the eventual training objective.

For the cross-entropy recognizer, each next-token score is normalized across the available tokens. Using `u` for the prefix before the next decision, the normalization has the following form.

```
qα(c, x, u) = exp(δα(c, x, u)) / ∑ᵈ∈C⁺ exp(δα(d, x, u))
```

`qα(c, x, u)` is the conditional probability of next token `c` for input `x` and prefix `u`. `δα(c, x, u)` is the decoder’s raw output for that token under parameters `α`. `d` ranges over the extended alphabet `C⁺`, and `exp` supplies the positive weights in both numerator and denominator. The decoder conditions on `x` through the encoder’s representation.

```
Fαᴾ(x, y) = ∑ⱼ₌₁^|y| −log qα(yⱼ, x, y₍₍ⱼ₎₎)
```

`Fαᴾ` is the score of the complete sequence `y` under the probabilistic decoder. `|y|` is its length including the end token, `j` indexes its positions, and `yⱼ` is the token at position `j`. In this formula `y₍₍ⱼ₎₎` denotes the prefix strictly before `j`. `qα` is the next-token probability, and each negative logarithm is added to get the sequence score. When `y` is the reference, this sum is the cross-entropy loss for the example. Its summands are evaluated on reference prefixes.

Beam search approximates minimization of the complete sequence score by repeatedly extending a collection of promising prefixes. At each step it compares possible next tokens for the retained prefixes and keeps the best candidates by their accumulated scores. The beam size `B` determines how many paths can be retained. With `B = 1`, greedy search picks an extension from the current path and commits to it. Wider search can keep a path alive when another looks better immediately. All such choices depend on how the accumulated score ranks unfinished strings.

Task loss estimation keeps the additive decoder but uses its raw outputs as cost estimates. There is no probability normalization in this score.

```
Fαᴱ(x, y) = ∑ⱼ₌₁^|y| δα(yⱼ, x, y₍₍ⱼ₎₎)
```

`Fαᴱ` is the additive score used for loss estimation. `y` is a complete output with length `|y|`, `j` indexes its tokens, and `y₍₍ⱼ₎₎` is the part before token `yⱼ`. `δα` now estimates the cost increment for selecting that token given `x` and the prefix. The sequence score is the sum of the increments for the tokens actually taken. The decoder emits a full vector at each step, so the same computation can also supply estimates for extensions the search does not choose.

A loss on the total alone would give the same derivative with respect to each selected summand, since each enters the sum in the same way. That makes it difficult to assign responsibility for an inaccurate total to particular decisions. Two opposite estimation errors could also cancel at the last token while changing which prefixes survive along the way. The authors use the structure of the score to define separate targets for its components.

#### The best loss still attainable

The key intermediate quantity is the *optimistic loss*. When a prefix is unfinished, imagine completing it in every permitted way and taking the smallest task loss achieved by any of those completions. A prefix can have zero optimistic loss if it is the beginning of the reference. Once an error makes an exact completion impossible, its best attainable loss may rise. The quantity assumes access to the reference and to a best continuation. Search at test time instead ranks prefixes using the estimates learned during training.

```
L°(x, u) = { minᵥ∈C* L(x, uv⊣)  if u ∈ C*  |  L(x, u)  if u ∈ Y }
```

`L°(x, u)` is the optimistic loss of prefix `u` for input `x`. `C*` is the set of finite strings over the ordinary alphabet, including the empty string, and `Y` is the set of completed strings. `v` ranges over ordinary suffixes and `uv⊣` means the prefix followed by that suffix and the end token. For a completed string, only that string is evaluated, so the second branch gives its task loss. The vertical bar separates the branches.

The next-token target is the change in this quantity when the token is appended.

```
δ°(c, x, u) = L°(x, uc) − L°(x, u)
```

`δ°` is the target increment for token `c` after prefix `u` on input `x`, and `uc` is the extended prefix. The difference compares the best attainable loss after the decision with the best attainable loss before it. Every completion available after the decision was available beforehand. Consequently the change is non-negative with this convention. If the best continuation remains attainable through `c`, the increment is zero. For an end token, the comparison is between stopping now and allowing an optimal continuation.

Consider what happens if the decoder has already omitted a character. The choice at the next position is evaluated from the prefix it has actually produced. Some next characters may still be part of a completion with the smallest possible number of edits from there. Another character may raise that minimum. The target distinguishes those choices even when every completion will now differ from the reference. A token receives a zero increment when it preserves the best attainable loss, including at a prefix whose optimistic loss is already positive. Zero at that step does not erase the earlier cost.

The increments telescope, meaning that adjacent terms cancel when added down a path. Write the same prefix before position `j` as `uⱼ` below.

```
∑ⱼ₌₁^|y| δ°(yⱼ, x, uⱼ) = L°(x, y) − L°(x, ε) = L(x, y)
```

`y` is the completed path and `|y|` its length. At position `j`, `yⱼ` is the next token and `uⱼ` is the prefix it extends. `δ°` is the change in optimistic loss. `ε` is the empty prefix, whose optimistic loss is `0` because it can be completed as the reference. At the finished output `L°(x, y)` equals the task loss `L(x, y)`. For a partial path the same cancellation gives the optimistic loss of its current prefix. This is the reason to train the accumulated score to approximate it. Beam search would then rank prefixes by the quality of their best attainable completions.

The paper’s architecture diagram illustrates a path labeled from `y₁` to `y₅` using the example alphabet `{0, 1, 2}`. At each step, the decoder receives the encoded input and the preceding labels and produces a vector of possible cost increments. The chosen label picks out the component that enters the path sum. When training uses the full vector, the unchosen labels can also receive targets. The diagram makes the difference between scoring and supervision concrete. A single path needs one component per step to compute its score, while a single training context can supply a comparison among all possible extensions.

#### Computing the targets for edit distance

The experiment uses Levenshtein distance, the smallest number of insertions, deletions and substitutions needed to transform one string into another. For an unfinished output, the authors exploit a property of this distance. An optimal completion can be obtained by appending a suffix of the reference. One can therefore compare the current prefix against each possible prefix of the reference and take the smallest comparison cost. At the place where the output prefix ends, the remaining reference suffix can be copied without adding errors. Any alignment of a completed output with the reference must account for the current output prefix along the way. The minimum prefix comparison captures the best cost that portion can achieve.

```
L°(x, u) = { min₀≤k≤|g(x)| ρ(u, g(x)₁…ₖ)  if u ∈ C*  |  ρ(u, g(x))  if u ∈ Y }
```

`L°` is the optimistic edit loss for input `x` and string `u`. `ρ` denotes Levenshtein distance and `g(x)` is the reference transcript. `k` indexes a cut in that transcript, and `g(x)₁…ₖ` is the reference prefix through the cut. `|g(x)|` is the length of the reference, with `k = 0` allowing the empty prefix. `C*` denotes unfinished content strings and `Y` completed outputs. In the completed branch, the comparison is on transcript content, with the end token marking the fact that further characters cannot be appended.

This calculation allows the reference cut to move. If the decoder has inserted or omitted a character, the most favorable alignment can end at a different place in the reference from the apparent position of the generated token. The minimum considers that alignment before it assigns a cost to the extension. Evaluating the optimistic loss of `u` and of each string `uc` supplies all the targets for a training step. The reference and the generated prefix suffice for this computation. No search over arbitrary future strings is needed for this particular metric.

With the difference defined as new loss minus old loss, appending an ordinary character can preserve the minimum or raise it by `1`. Appending the end token may raise it more sharply because a short prefix that matches the reference so far can still omit much of the reference when it stops. The paper’s edit-distance discussion also describes these changes with negative signs, which conflicts with both the stated difference and its nonnegativity argument. Its experimental algorithm explicitly writes a maximum with `−5` on the target. That expression floors a signed target at `−5`. With the non-negative difference used in the derivation, the floor would have no effect. The derivation and the reported training rule can be stated separately, but they do not establish which sign convention was used for the implemented end-token targets.

#### From a sum of path errors to greedy training

The first sequence surrogate fits the selected increments along the reference and prediction paths. This is the token-level version of estimating the loss at the two complete outputs.

```
ℒEDmin,min(x) = ∑ⱼ₌₁^|y| |δα(yⱼ, x, uⱼ) − δ°(yⱼ, x, uⱼ)| + ∑ⱼ₌₁^|ŷ| |δα(ŷⱼ, x, ûⱼ) − δ°(ŷⱼ, x, ûⱼ)|
```

`ℒEDmin,min` is the encoder–decoder min-min loss for input `x`. `y` is the reference and `ŷ` is the exact minimum-score prediction in the ideal version. `|y|` and `|ŷ|` give their lengths, and `j` indexes steps along each path. `uⱼ` and `ûⱼ` are the prefixes before those steps. `δα` is the estimated increment, `δ°` its target, and the bars take the absolute error.

A sum of absolute component errors is at least as large as the absolute error of the sum. The telescoping identity then lets the token-level loss bound the sequence-level min-min penalty. With exact search that gives a bound on empirical task risk. The paper also defines the practical beam version by substituting a beam prediction for `ŷ`. Its bound inherits the search term from the general theorem. Training this version requires running the beam and then scoring the decisions on the resulting paths. The authors propose a separate objective to reduce the cost of generating the training predictions.

The greedy objective follows the path produced when the decoder always selects the next token with the smallest estimated increment. At each visited prefix there is a next token that preserves the best attainable loss. A best completion must begin with some token, possibly the end token, and taking that first step leaves the best completion available. The authors therefore compare the chosen extension’s estimated cost with the estimated cost of an extension that has a true increment of zero.

```
cⱼᵐⁱⁿ = argmin𝚌∈C⁺ δ°(c, x, ûⱼ)
```

`cⱼᵐⁱⁿ` is a token with minimal target increment at the prefix `ûⱼ` of the greedy path. `c` ranges over the extended alphabet `C⁺`, `δ°` is the target increment, and `x` is the input. `argmin` returns any minimizer. The result may depend on the prefix, and several extensions can tie.

```
ℒEDgreedy(x) = ∑ⱼ₌₁^|ŷ| (|δα(ŷⱼ, x, ûⱼ) − δ°(ŷⱼ, x, ûⱼ)| + |δα(cⱼᵐⁱⁿ, x, ûⱼ)|)
```

`ℒEDgreedy` is the absolute-error surrogate for greedy search. `ŷ` is the greedy prediction, `|ŷ|` is its length and `j` indexes the decisions. `ŷⱼ` is the selected token following `ûⱼ`. The first term compares its estimated increment `δα` with its actual increment `δ°`. The second measures the absolute estimate assigned to `cⱼᵐⁱⁿ`, whose target is `0`. Both terms depend on input `x`.

The greedy score for the selected token is no larger than the score of the token that preserves the best completion. The argument behind the general bound therefore works at each step without an extra search term. The actual increase in optimistic loss at that step is at most the sum of the two estimation errors. Adding these inequalities along the greedy path and using the cancellation of the optimistic losses yields the theorem.

```
R̂greedy(α) ≤ REDgreedy(α)
```

`R̂greedy(α)` is empirical task risk when the predictor uses greedy search with parameters `α`. `REDgreedy(α)` is the sample mean of the corresponding greedy surrogate. The inequality is an upper bound for the loss of the returned sequences on the examples over which the mean is taken. It relies on the greedy decision being an exact minimizer among next-token estimates at its current prefix. The final output can still be a poor global choice if those estimates are inaccurate.

#### The objective used in the experiment

The authors extend the greedy objective in two stages. First they replace the selected errors with a sum over all next tokens at every visited prefix. Each decoder output then receives a target. The chosen path still determines which prefixes enter the batch. A costly unchosen token can be pushed towards its target, while several equally good moves can all be assigned low estimated costs.

```
ℒEDgreedy1(x) = ∑ⱼ₌₁^|ŷ| ∑𝚌∈C⁺ |δα(c, x, ûⱼ) − δ°(c, x, ûⱼ)|
```

`ℒEDgreedy1` is the all-token absolute-error objective. `ŷ` is the greedy prediction, `|ŷ|` its length, `j` a position and `ûⱼ` the prefix before that position. `c` runs over `C⁺`, the extended alphabet. `δα` and `δ°` are the estimated and target increments for `c`, conditioned on `x` and `ûⱼ`. The inner sum fits the whole vector of costs at that prefix.

The paper motivates this version as a richer signal that encourages separation between good and bad extensions. Its direct supervision comes from differences in their targets. If one extension incurs an additional edit and another preserves the best completion, exact fitting would give them different scores. That relation also holds for an unchosen token. The greedy path supplies the contexts in which the comparisons are learned.

The authors found the absolute-error objective difficult to optimize. Away from zero error, the magnitude of the derivative of the absolute value stays constant as the estimate approaches the target. They switched to squared error, for which the derivative becomes smaller near the target.

```
ℒEDgreedy2(x) = ∑ⱼ₌₁^|ŷ| ∑𝚌∈C⁺ (δα(c, x, ûⱼ) − δ°(c, x, ûⱼ))²
```

`ℒEDgreedy2` is the squared-error objective for a single input `x`. `ŷ`, `|ŷ|`, `j` and `ûⱼ` specify the positions on the greedy path. `c` runs across the extended alphabet `C⁺`, `δα` is the decoder’s estimate and `δ°` the target. The superscript `²` squares the difference, so larger errors receive a larger gradient magnitude than smaller ones. Squaring preserves the target value of each component and changes the way estimation errors contribute to the objective.

The reported algorithm uses mini-batches. It generates a greedy transcript for each input, computes the decoder outputs at its prefixes, forms the targets from the reference, then updates the parameters using the mean of the per-example sums. The validation criterion for continuing training is improvement in the squared-error surrogate on the development set. The paper gives its batch loss with the target floor written explicitly.

```
ℒbatch = (1/|ℬ|) ∑ᵢ₌₁^|ℬ| ∑ⱼ₌₁^|ŷᵢ| ∑𝚌∈C⁺ (δα(c, xᵢ, ûᵢⱼ) − max(δ°(c, xᵢ, ûᵢⱼ), −5))²
```

`ℒbatch` is the batch objective and `ℬ` is the batch of input examples, with size `|ℬ|`. `i` indexes inputs `xᵢ` with greedy predictions `ŷᵢ`, and `j` indexes the `|ŷᵢ|` steps on each path. `ûᵢⱼ` is the prefix before step `j` for instance `i`, and `c` ranges over the extended alphabet `C⁺`. `δα` is the estimated cost and `δ°` the target cost change. `max` compares the target with `−5`, and `²` squares the residual. The leading factor averages the sequence sums over inputs.

Training the recognizer with greedy task loss estimation The steps in order.

Because the greedy prediction requires the same decoder outputs that the update fits, the authors say prediction and gradient computation can share work in an efficient implementation. They describe this as a way to keep the gradient computation as fast as cross-entropy training. The algorithm still needs to construct edit targets and the paper gives no separate timing measurement. The authors made their code available in the `attention-lvcsr` repository.

### Experiments and results

#### Data, recognition settings and evaluation

The experiment uses the Wall Street Journal speech corpus. The recognizers are trained on the full `81` hours of `train-si284`. The `dev93` split is used for validation and selection, and `eval92` supplies the test results. Each input consists of a sequence of acoustic feature vectors. A vector includes energy and `40` mel-filter bank features, together with their deltas and delta-deltas. The latter terms represent changes in the features over time and changes in those differences. The paper gives the resulting input dimensionality as `123` per vector.

The main baseline is the cross-entropy encoder–decoder from the authors’ earlier speech recognition work. The experimental recognizer uses the same architecture with the task loss estimation objective based on squared error. The comparison therefore changes how the recognizer is trained and what its score represents, while retaining the architecture used to map acoustics and prefixes to decoder outputs. The squared-error recognizer generates its training paths greedily, and both recognizers are evaluated at multiple search widths. [End-to-end attention-based large vocabulary speech recognition](https://md.research.elamur.ai/free/en/papers/bahdanau-2016-end-end-attention-based-large/)

The evaluation distinguishes character, word and sentence error rates. Character error rate, or CER, judges individual character edits. Word error rate, or WER, uses words as the units of transcription error. Sentence error rate, or SER, records whether a sentence differs from its reference at all. These measures can move in different directions. Correcting several characters can leave a sentence with an error, and a character correction can leave the same word wrong. A result on CER is especially pertinent to the training target, which is defined through character edit distance. WER and SER show how the effect carries across other levels of transcription evaluation.

The paper reports three decoding settings. One uses only the recognizer’s own scores. The others introduce text-based scores from the standard WSJ trigram or the extended version made with the Kaldi WSJ `s5` recipe. A trigram scorer uses short word histories to assess how plausible a word sequence is. The experiment combines neural scores with scores represented by a finite-state transducer through a linear interpolation. This gives search a second source of information about an output. The change also matters for interpreting task loss estimation, since the learned edit-cost estimates now participate in a combined decoding score. [N-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/)

#### Decoding without an external text scorer

The headline test comparison uses beam size `10`. On `eval92`, the cross-entropy baseline records `6.8%` CER, `19.5%` WER and `87.8%` SER. Task loss estimation records `5.9%` CER, `18.0%` WER and `86.2%` SER. The paper describes the change in test CER as a `13%` relative improvement. That figure concerns the character error comparison under this decoding condition. Both recognizers are using only their own scores here.

At beam size `1`, the cross-entropy recognizer has `7.6%` CER, `21.3%` WER and `89.4%` SER on `eval92`. The corresponding task loss estimation results are `6.1%` CER, `18.8%` WER and `86.6%` SER. The improvement therefore appears under greedy decoding as well. The test CER of the greedily decoded task loss estimator is also lower than that of the cross-entropy recognizer at beam size `10`.

Wall Street Journal eval92 character error rate without an external text scorer Task loss estimation gives lower character error under both search widths.

**The numbers**

| System or setting | CER % |
| --- | --- |
| Cross-entropy, greedy | 7.6 |
| Cross-entropy, beam 10 | 6.8 |
| Task loss estimation, greedy (this paper) | 6.1 |
| Task loss estimation, beam 10 | 5.9 |

The no-external-text development results give additional context. On `dev93` at beam size `1`, cross-entropy gives `8.8%` CER, `23.8%` WER and `90.3%` SER. Task loss estimation gives `7.8%` CER, `23.0%` WER and `91.9%` SER. At beam size `10`, the baseline gives `9.0%` CER, `23.9%` WER and `90.3%` SER, while task loss estimation gives `7.6%` CER, `22.1%` WER and `89.9%` SER. The character and word error improvements recur across both widths. The sentence error result on the development set depends on the width.

The authors also compare test WER with previously reported results for Connectionist Temporal Classification, or CTC, recognizers. Without an external text scorer, the earlier results in their table are `27.3%` for Graves and Jaitly and `26.9%` for Miao and colleagues. The authors describe their best result in that setting as the lowest error in the literature they discuss. The comparison with cross-entropy in their own experiment isolates a change in training within the same architecture more directly. The earlier CTC results supply a benchmark across recognizer families.

#### Decoding with trigram scores

With the standard trigram and a beam of `100`, cross-entropy records `4.8%` CER, `10.8%` WER and `63.4%` SER on `eval92`. Task loss estimation records `4.4%` CER, `10.5%` WER and `64.6%` SER. The character and word error advantages are smaller in this setting, and cross-entropy gives the lower sentence error rate. On `dev93` under the same conditions, the baseline records `6.5%` CER, `14.6%` WER and `75.0%` SER. Task loss estimation records `6.0%` CER, `14.2%` WER and `73.8%` SER. In this case all three development measures favor task loss estimation.

The extended trigram changes the ordering on the test set at the common beam size of `100`. Cross-entropy reaches `3.9%` CER, `9.3%` WER and `61.0%` SER. Task loss estimation reaches `4.1%` CER, `9.6%` WER and `62.2%` SER. On `dev93` with the same extended trigram and width, the respective cross-entropy results are `5.8%` CER, `13.8%` WER and `73.6%` SER. The task loss estimation results are `5.7%` CER, `13.7%` WER and `74.2%` SER. The test comparison at equal width favors cross-entropy across all three measures, while the development comparison favors each objective on some measures.

The authors also use beam size `1000` for task loss estimation with the extended trigram. That setting gives `4.0%` CER, `9.1%` WER and `61.9%` SER on `eval92`, and `5.4%` CER, `12.9%` WER and `73.2%` SER on `dev93`. The larger beam helps task loss estimation relative to its beam-`100` result in that setting. Its test WER is lower than the cross-entropy result at beam size `100`, while its test CER and SER remain higher. The paper reports that widening the beam beyond `100` did not improve the cross-entropy recognizer.

Wall Street Journal eval92 word error rate with the extended trigram Widening the beam improves word error for task loss estimation, while the equal-width comparison favors cross-entropy.

**The numbers**

| System or setting | WER % |
| --- | --- |
| Cross-entropy, beam 100 | 9.3 |
| Task loss estimation, beam 100 (this paper) | 9.6 |
| Task loss estimation, beam 1000 | 9.1 |

The earlier CTC results in the paper include `9.0%` test WER with a text scorer and `7.3%` with the extended one. Both encoder–decoder objectives therefore trail the cited extended CTC combination on test WER. The authors attribute this weakness to overfitting associated with the encoder–decoder’s implicit learning of text patterns. The experiment reports the score combinations and their outcomes. It does not separately measure how much of the gap is due to the internal text behavior of the recognizer.

### What the ablations show

#### The controlled change in objective

The paper does not report a component-by-component ablation of its final training loss. Its main controlled comparison holds the recognizer architecture fixed and changes the training objective. This tests the combined effect of training on generated prefixes, targeting changes in optimistic edit loss and fitting the full output vector with squared error. The matched beam settings let the reader compare the resulting recognizers under the same search width. They do not disentangle the effects of those training choices.

The comparison matters because a fixed architecture can support both kinds of supervision. With cross-entropy, the training contexts come from the reference and the vector is interpreted as assigning next-token probabilities. With task loss estimation, a greedy transcript supplies the contexts and edit distance sets a separate numerical target for each next token. An improvement with the second objective establishes that this complete change in supervision can be effective in the given setup. A comparison that kept the generated prefixes and changed only their targets would address a different question. Similarly, fitting only the chosen increment at those same prefixes would isolate the contribution of all-token supervision. Neither comparison appears in the reported results.

The paper explains why it moved from absolute to squared error by describing optimization difficulty with the absolute-error version. This is a development observation about the training objective. The final experimental table gives no paired CER, WER or SER values for the alternative error penalties. It also gives no paired comparison of reference-plus-beam training against greedy training. Consequently the derivations tell the reader what each version is designed to do, while the test data show the behavior only of the version selected for the experiment.

#### Search width as a test of the learned scores

Changing beam size tests how much the final recognizer depends on retaining alternatives during decoding. Without external text scores, narrowing the task loss estimator’s beam from `10` to `1` moves `eval92` CER from `5.9%` to `6.1%`. The corresponding cross-entropy values are `6.8%` and `7.6%`. WER and SER show the same ordering across those test configurations. This pattern fits the training procedure. The task loss estimator has been supervised on the prefixes reached by its greedy decisions, and its scores aim to measure the increase in the best attainable loss at each of those decisions.

The beam comparison is an outcome test of that idea. It does not show that the learned prefix scores are numerically calibrated to optimistic loss. A decoder may choose useful continuations even if its estimates are off in absolute terms. Nor does it show how frequently narrow search pruned a better path. The paper’s width comparison measures the transcripts returned by search. A direct calibration analysis would require comparing the predicted and reference-derived costs at visited prefixes, and a pruning analysis would need information about the paths that were discarded.

The extended trigram comparison also shows that the width result is specific to the decoding setting. When text and neural scores are combined, task loss estimation benefits from increasing the beam from `100` to `1000`. The two scores together can favor a different ordering of paths from the neural cost alone. Greedy training gave the decoder targets for its own next-token choices. Its theoretical connection to optimistic loss does not automatically extend to a score that has been interpolated with a separately trained text source.

#### External text and exact-match errors

Adding an external text scorer provides another comparison of conditions. Both recognizers achieve much lower test word error in the trigram settings than in the settings that use neural scores alone. At matched width with the standard trigram, task loss estimation keeps a small test CER and WER advantage. With the extended trigram at matched width, all the test measures favor cross-entropy. These results locate the clearest benefit in decoding without the extra text contribution. They leave open whether the loss estimation objective would be more effective if the text and acoustic contributions were trained together.

The authors also discuss sentence error because exact-match performance resembles classification over complete strings. They expected a character-edit objective to yield a clearer benefit on character errors than on the question of whether any error remained in the sentence. The no-external-text test results show lower SER under task loss estimation for both reported widths. That finding is compatible with the idea that supervision graded by edits can improve exact matches even when the exact-match metric itself is binary.

The paper describes the SER benefit as consistent, but its table qualifies that description. At greedy width on `dev93` without the external text scorer, task loss estimation reaches `91.9%` SER compared with `90.3%` for cross-entropy. With the standard trigram on `eval92`, the rates are `64.6%` and `63.4%`, again favoring cross-entropy. The strongest reading of the exact-match result is therefore tied to the no-external-text test comparisons. The broader suggestion about classification with very large output spaces remains a hypothesis drawn from sentence prediction.

### Limitations

#### Limits identified by the authors

The optimistic-loss construction requires calculating the best task loss still attainable from a prefix. Edit distance has an efficient characterization in terms of reference prefixes, which makes the method concrete. The authors flag BLEU and METEOR as harder cases. A favorable continuation under such a criterion need not be found by the same argument used for character edits. They suggest considering reference suffixes as a way to find a good continuation, but leave its quality and its effect on training for investigation. The result on speech therefore supports a case in which the target can be computed from a useful structural property of the metric.

The search guarantee has a stated condition. The basic min-min bound for approximate sequence search includes a penalty if the search returns something that scores above the training reference. The paper reports that beam search usually finds a candidate scoring below the reference in the authors’ experience. It gives no frequency or magnitude for violations in the experiment. The greedy theorem sidesteps the comparable problem locally by defining each decision as a minimum among the immediate alternatives. Extending the argument to other approximate prediction procedures is a question the authors leave open.

The authors also distinguish the aim of the surrogate from the difficulty of optimizing it. Even the general min-min objective can change discontinuously when the predicted answer changes. The procedure of generating a path and fitting targets along it gives a practical update, and squared residuals address a specific difficulty of absolute errors near the target. The authors call for stronger theoretical claims about whether the proposed objectives are suitable for gradient optimization. A small surrogate value can support a bound under the stated conditions, while the process of reaching such a value remains a separate issue.

Finally, the authors highlight the need for joint training when external text scores form part of the recognizer. Their experiments add those scores at decoding time by interpolation. The best completion under the combined score can differ from the one suggested by the neural estimate alone. The changes in relative performance across the decoding settings motivate the authors’ proposal to train the whole system together. The paper reports the proposal as future work.

#### Limits visible in the setup

The formal guarantees address loss on a labeled sample. They do not by themselves give a bound for the unknown input distribution or establish that the same parameter update will reduce held-out error. The paper introduces population risk and describes the usual motivation for using empirical risk when the sample and the capacity of the predictor are suitable. Its theorems concern the relationship between the empirical task risk, the surrogate risk and search. The development and test measurements supply the empirical evidence about how that relationship carries over to other inputs.

An upper bound also gives a more specific claim than saying every improvement in the surrogate must improve predictions. It makes a small enough upper bound sufficient for a small empirical task loss. One upper bound can decrease while the quantity below it stays constant or increases within the new bound. During training, a parameter update can alter which output is selected, with effects that depend on the new path. This distinction matters for interpreting the paper’s notion of consistency. Its proofs explain when a low surrogate value forces a low task loss. They do not show monotonic improvement over the course of optimization.

The exact greedy theorem is proved for absolute errors, while the recognizer evaluated in the experiment uses squared errors. An absolute residual and its square give the same target for exact fitting, but the squared residual need not upper-bound the absolute residual. The displayed empirical-risk inequality therefore applies as stated to the objective proved in the paper. Transporting it to the experimental loss would require an additional argument that accounts for how residuals accumulate. The target floor in the reported algorithm adds another difference between the exact increments in the derivation and the training rule as written.

There is a smaller subtlety in the claimed ordering of the two absolute-error greedy objectives. When the greedy choice and the zero-increment token used for the comparison are distinct, the all-token sum contains both relevant residuals. When they coincide, the greedy objective as written counts that token’s residual twice and the all-token objective counts it once. The all-token total need not be larger in that case. The task-loss increment at a coincident choice is already zero, so a local upper-bound argument can treat that step directly. The distinction is between proving a bound on the task loss and claiming that one surrogate always exceeds another.

Cross-entropy also deserves a narrow reading. The paper’s case for estimating task loss is strongest when the training objectives are imperfectly optimized, capacity is limited or search is approximate. For a fixed finite labeled sample, if normalized cross-entropy approaches zero, the probability assigned to every reference approaches certainty. With exact decoding those references must then be selected. This special case is compatible with the motivation for the new method. In practical regimes, a value of cross-entropy gives no explicit edit-cost target for a path the decoder produces after an error, while task loss estimation supplies one.

The empirical scope is one speech corpus, one main architecture and one type of task loss. The paper does not report uncertainty estimates, repeated runs or a timing comparison alongside its error rates. It establishes the measured advantage for the reported comparisons and gives an efficiency argument for sharing the greedy pass with gradient computation. How much of that speed carries over to an implementation depends in part on the cost of constructing all the token targets. The assumption that the alphabet is small enough to enumerate makes the proposed procedure suitable for the character setting tested.

There is also a distinction between minimizing errors against a designated transcript and assessing every acceptable answer to an input. The theory is presented with one reference and an efficiently computable loss for each candidate given that reference. The authors say the simplifying assumptions are not essential to the broader idea. The experiment nevertheless operates in that single-reference setting. Tasks with multiple independently acceptable outputs or with metrics that depend on a collection of predictions would require a clear account of what loss the scorer should estimate and how the corresponding prefix targets would be obtained.

### What came after

No later study is identified here as a follow-up, so the paper’s own research agenda marks where its results leave off. The most direct extension would preserve the relation between a prefix score and its best attainable loss while changing the evaluation criterion. For translation, the authors name BLEU as a candidate. The open issue is how to find good continuations under a metric whose behavior is more complicated than the edit-distance comparison with a reference prefix. The speech experiment gives a reason to study that question, with the exact edit targets serving as the case in which the proposed decomposition can already be worked out.

The authors also call for a training procedure that accounts for the full decoding score. Their recognizer learns character costs from acoustic inputs and generated prefixes. When a separate text scorer is added, decoding uses a combination whose priorities can differ from those of the learned character costs. The test comparisons show why this is an important boundary for the experimental result. Joint training would make the score used to choose a transcript part of the learning problem itself. The paper leaves that integration open.

A final direction concerns the relation between optimization and inference. The min-min bound handles an explicit kind of approximate-search error, and the greedy proof uses the structure of a local minimum over next-token scores. The experimental objective then changes the error penalty for practical training reasons. Extending the theory would require explaining what guarantees survive those choices and what changes when another search procedure determines the training paths. The paper’s established result is the combination it demonstrates on speech: a character-level recognizer can learn edit-cost estimates on its own generated prefixes, and those estimates can improve transcription when the decoder relies on them alone.

## Cite

Cite as Dzmitry Bahdanau, Dmitriy Serdyuk, Philémon Brakel, Nan Rosemary Ke, Jan Chorowski, Aaron C. Courville and Yoshua Bengio. 2015. Task Loss Estimation for Sequence Prediction. arXiv (Cornell University).

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

```bibtex
@misc{bahdanau2015task,
  title = {{Task Loss Estimation for Sequence Prediction}},
  author = {Dzmitry Bahdanau, Dmitriy Serdyuk, Philémon Brakel, Nan Rosemary Ke, Jan Chorowski, Aaron C. Courville and Yoshua Bengio},
  year = {2015},
  doi = {10.48550/arxiv.1511.06456},
  eprint = {1511.06456},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1511.06456}
}
```

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