Ablation study 2026-11-05
An ablation study compares a computational system with variants in which a component, input feature or training choice is removed or replaced. In machine learning, the purpose is to investigate which parts contribute to the measured behavior under a specified training and evaluation procedure. A useful comparison names the change, the metric and the conditions held fixed.
A measured example appears in Attention Is All You Need by Ashish Vaswani and others. Its transformer model comparisons include removing label smoothing: the base system's development-set BLEU is , versus without label smoothing. Meanwhile, wordpiece perplexity changes from to , an improvement for that metric. The same removal can therefore improve one measurement and worsen another. These are English-to-German machine translation results on the named development set, not universal effects of label smoothing.[ref]
A synthetic example shows why effects need not add. Suppose accuracy is with neither component A nor B, with A alone, with B alone, and with both. Removing either from the full system changes accuracy by zero percentage points. Adding either to the system with neither improves accuracy by ten points. The components provide redundant benefits: a zero removal effect does not imply that a component could never be useful. The statistical interaction is visible in percentage points.
For an interpretable ablation study, record the data split, metric, training budget and any settings changed to keep the variant viable. Retraining a reduced artificial neural network and suppressing a component only during evaluation answer different questions. Repeated training runs help assess variability; one difference alone does not establish statistical reliability. Broader claims require further comparisons.
Ashish Vaswani 2026-11-05
Ashish Vaswani is a machine learning researcher and coauthor of the 2017 paper introducing the Transformer model. The paper's shared-contribution statement credits him with jointly designing and implementing the first Transformer models. It explicitly states that author order is random, so his first position should not be read as sole credit for the architecture.[ref]
Attention Is All You Need by Ashish Vaswani and others. Original byline and contribution footnote
The Transformer model uses self-attention to combine information from different positions in a sequence. In scaled dot-product attention, a query is compared with keys using dot products, then the softmax function supplies weights for combining the corresponding values. The model connects this mechanism to a complete neural network for tasks such as machine translation.[ref]
Attention Is All You Need by Ashish Vaswani and others. Sections3.2–3.2.3: attention computation and its uses
An original one-dimensional example makes the weighting concrete. Choose query , keys , , and values , . With key dimension , the scaled scores are and . The softmax function gives weights and , so the output is . The input values are mixed according to the query–key comparison; this invented example is not a learned translation result.
The original evaluation reported 28.4 BLEU for its large model on the English-to-German newstest2014 test. That is a result under a specific training and evaluation setup, rather than a universal score for all Transformer models.[ref]
Attention Is All You Need by Ashish Vaswani and others. Section6.1 and Table2: big-model translation evaluation
BLEU 2026-11-05
BLEU is a reference-based metric for evaluating machine translation. It combines modified n-gram precision at several lengths using a geometric mean, then applies a brevity penalty to discourage very short outputs. Kishore Papineni and colleagues introduced it as a way to make repeated translation evaluation less costly than repeatedly collecting human judgments.[ref]
For each candidate n-gram, count matches only up to its maximum occurrence count in a single reference. Sum these clipped matches across the corpus and divide by the total number of candidate n-grams of that length to obtain . This clipping prevents repeated use of a common word from earning unlimited matches. Corpus aggregation uses counts, rather than simply averaging independently calculated sentence scores.[ref]
BLEU: a Method for Automatic Evaluation of Machine Translation by Kishore Papineni and others. §2.1, footnote 2; §2.1.1, corpus modified precision
With candidate length , effective reference length and weights summing to one,The original baseline uses and . Effective reference length sums the closest reference sentence lengths for the candidates.[ref]
For a synthetic one-pair calculation, take reference
the cat is on the mat and candidate the cat is on mat. The clipped precisions areHere , and the precision product is , givingThis is about on a scale multiplied by one hundred; it is not translation accuracy.The unsmoothed score becomes zero when a required precision is zero. Short sentences make this particularly conspicuous, while legitimate rephrasing can reduce overlap. State tokenization, casing, reference set, smoothing and scale when comparing results. The example illustrates the arithmetic; the paper emphasizes corpus-level use rather than treating each sentence score as an independent human-quality judgment.[ref]
Kishore Papineni 2026-11-05
Kishore Papineni is a machine translation researcher who coauthored the 2002 paper introducing BLEU. Its original byline places the authors at IBM's research center. The method supplied an automatic way to compare machine output with human reference translations, making repeated evaluation less dependent on commissioning a fresh human assessment for every system change.[ref]
BLEU: a Method for Automatic Evaluation of Machine Translation by Kishore Papineni and others. Page311: original byline, affiliation, Abstract and motivation
One key idea is modified n-gram precision. Repeating a common word cannot earn unlimited matching credit, because the candidate's matched counts are clipped by the counts available in the references. This connects a cheap string-counting procedure with an explicit defense against a trivial way to inflate ordinary overlap.[ref]
BLEU: a Method for Automatic Evaluation of Machine Translation by Kishore Papineni and others. Section2.1: clipped n-gram counts
For an original unigram example, let the candidate be
red red red blue and the reference be red blue green white. Both candidate word types appear in the reference, but clipping permits only one occurrence of red and one of blue, giving . This is only the unigram component: the full BLEU calculation also combines higher-order n-gram precisions through a geometric mean and applies a brevity penalty.The original method aggregates counts over a corpus. It is not simply the arithmetic mean of independently scored sentences, and a short example explaining one component should not be presented as the complete metric. Its usefulness as an automatic comparison also does not turn word-sequence overlap into a direct proof that every sentence conveys the correct meaning.[ref]
BLEU: a Method for Automatic Evaluation of Machine Translation by Kishore Papineni and others. Section2.1.1: corpus aggregation; Sections2.2.2–2.3: brevity penalty and combined score
Machine translation 2026-11-05
Machine translation uses a computational system to produce text in one human language from text in another. It must choose an output sequence that preserves relevant meaning while fitting the target language, rather than merely replacing each word independently. A transformer model is one architecture used for this task.[ref]
Attention Is All You Need by Ashish Vaswani and others. §3, encoder-decoder sequence model; §6.1, machine translation evaluation
A probabilistic formulation assigns conditional probabilities to candidate output sequences for input . A decoder searches for a suitable sequence, often using model probability together with additional search or length rules. For a deliberately simplified finite example, suppose three complete candidates have probabilities , and . Choosing the most probable gives the first candidate, but this is a model decision rather than a proof that its meaning is correct.
Context explains why word-by-word replacement is insufficient. The intended translation of an ambiguous word can depend on the surrounding sentence, and target word order can differ from source word order. A system can therefore produce a fluent sentence that omits or alters information; fluency and preservation of meaning require separate attention.
Training and evaluation also answer different questions. A neural language model can supply probabilities for sequences, while cross-entropy measures how much probability is assigned to observed text. BLEU instead compares output sequences with reference translations through matching n-grams and a length penalty. Reference overlap is useful for repeated comparisons, but alternative valid phrasing and context limit its interpretation as an assessment of any single sentence.[ref]
BLEU: a Method for Automatic Evaluation of Machine Translation by Kishore Papineni and others. §1.1, motivation; §2.1.1 and footnote 4, corpus evaluation versus individual sentences