Concept icon
Concept

Architectural Variations and Ablation Analysis

Ablation experiments evaluated on the English-to-German development set (newstest2013) demonstrated the specific contributions of key Transformer components, holding computational budget constant where appropriate.

Varying the number of attention heads showed that multi-head attention clearly outperforms single-head attention; a single head (h=1h = 1) achieved 24.9 BLEU, which is 0.9 BLEU lower than the 8-head configuration (25.8 BLEU). However, performance degraded when the number of heads grew excessively large (such as h=32h = 32 with dk=16d_k = 16). Furthermore, reducing the key dimension dkd_k degraded translation performance, suggesting that learning compatibility across representations requires adequate dimensionality.

Investigating network capacity showed that larger model parameters (dmodel=1024d_{model} = 1024, dff=4096d_{ff} = 4096) consistently improved performance. Regularization also proved critical: dropping dropout entirely (Pdrop=0.0P_{drop} = 0.0) reduced performance to 24.6 BLEU, demonstrating its necessity in avoiding overfitting. Finally, replacing sinusoidal positional encodings with learned positional embeddings yielded nearly identical development performance (25.7 BLEU vs. 25.8 BLEU).

0

1

Concept icon
Updated 2026-09-07

Tags

Prep Sessions

Foundational Deep Learning Architectures: Transformers and Residual Networks @ University of Michigan - Ann Arbor

Ch.2 Transformer Training and Evaluation - Foundational Deep Learning Architectures: Transformers and Residual Networks @ University of Michigan - Ann Arbor

Machine Translation and Constituency Parsing Evaluation - Foundational Deep Learning Architectures: Transformers and Residual Networks @ University of Michigan - Ann Arbor