Where the Transformer Helps, and Where the Model Breaks
The Transformer is most useful when a task depends on relationships that are difficult to carry through a long serial route, but that advantage is not independent of sequence length, order, or output control. This chapter applies the paper’s computational model to its two non-identical cases—translation and constituency parsing—and then tests the design against the boundaries the paper itself names. The result is a conditional judgment: direct access to distant positions can be valuable, but attention does not make every sequence problem cheap, ordered, or non-sequential.
The distinction between demonstration and guarantee matters here. The paper shows a particular architecture working under particular data and training conditions. It also gives an analysis of why its dependency geometry might help and identifies costs that remain unresolved. Those pieces can support a way of reasoning about applications, but they cannot be expanded into a claim about every later system or every task that happens to contain tokens.
What the two cases reveal
Translation and constituency parsing make useful paired cases because they place different demands on a sequence model. Translation maps one language sequence to another. The relationship between an output choice and its source evidence may span many positions, and the target sequence is generated autoregressively. Constituency parsing instead produces a structured analysis of a sentence, with strong constraints on the output and, in the paper’s description, an output that can be substantially longer than the input. Both tasks need representations that preserve relationships, but success in one does not automatically establish success in the other.
The translation experiments are the paper’s main test of the Transformer’s proposed exchange. The architecture removes sequence-aligned recurrence from the encoder and decoder layers, giving source positions global self-attention and giving target positions access to encoded source representations. The paper reports a big Transformer score of 28.4 BLEU on WMT 2014 English–German and says this exceeds earlier reported models, including ensembles, by more than two BLEU points. The authors also report that the base model surpasses earlier published models and ensembles at a fraction of the competitive training cost.
Those results are relevant to the dependency argument because translation often requires a model to connect information that is not adjacent. The architecture provides a direct route for source positions to participate in the same attention calculation, rather than requiring a recurrent state to carry the relationship step by step. But the result cannot tell us that every long-distance relationship was solved by attention, or that the full gain came from one component. The measured outcome belongs to the complete Transformer configuration, its training recipe, its data, and its decoding procedure.
The paper’s second translation direction illustrates why application judgment must keep conditions attached. The English–French dataset contains 36 million sentences, while the English–German dataset contains about 4.5 million sentence pairs. Their tokenization setups also differ. The abstract and Table 2 report 41.8 BLEU for the big English–French Transformer, but the prose in the results section says 41.0.