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