<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xml:lang="en">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title>Attention Is All You Need</title>
        <author>Ashish Vaswani</author>
        <author>Noam Shazeer</author>
        <author>Niki Parmar</author>
        <author>Jakob Uszkoreit</author>
        <author>Llion Jones</author>
        <author>Aidan N. Gomez</author>
        <author>Lukasz Kaiser</author>
        <author>Illia Polosukhin</author>
      </titleStmt>
      <publicationStmt>
        <p>Tag layer of the DHSS Meta-Tagging Project. The article text is reproduced from the
           staged copy named in sourceDesc and is not altered; the tags are held separately in
           standOff so that overlapping and nested spans are preserved.</p>
      </publicationStmt>
      <sourceDesc>
        <bibl>
          <title>Attention Is All You Need</title>
          <date>2017</date>
          <publisher>Advances in Neural Information Processing Systems (NeurIPS)</publisher>
          
          <idno type="arXiv">1706.03762</idno>
          <idno type="record">vaswani2017-attention</idno>
          <note type="staged-file">vaswani2017-attention.txt, the project's staged copy</note>
          <note type="text-sha1">ceecd93371a6f0d8313965aaf5e794617feb12d6</note>
          <note type="rights">arxiv-open</note>
        </bibl>
      </sourceDesc>
    </fileDesc>
    <profileDesc>
      <textClass><keywords><term>artificial-intelligence</term></keywords></textClass>
      <particDesc>
        <person xml:id="paper"><p>the paper's own words</p></person>
        <person xml:id="tagger"><p>the tag layer; a sentence written by the tagger about the
          paper, always anchored to a quotation but not itself a quotation</p></person>
      </particDesc>
    </profileDesc>
    <revisionDesc>
      <change when="2026-10-06"
              who="build_paper_edition.py">0 spans located by searching the stored text for the quote's exact words, allowing any whitespace between them</change>
    </revisionDesc>
  </teiHeader>
  <standOff>
    <spanGrp type="tags">
      <span xml:id="t0" type="claim_type" ana="#claim_type" resp="#paper">
        <label>method</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t1" type="phenomenon" ana="#phenomenon" resp="#paper">
        <label>neural sequence transduction (machine translation)</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t2" type="method" ana="#method" resp="#paper">
        <label>system-or-tool-building</label>
        <term>system-or-tool-building</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t3" type="mechanisms" ana="#mechanisms[0]" resp="#tagger">
        <label>mechanisms</label>
        <term>replace recurrence and convolution with self-attention - every position attends to all others in parallel, capturing long-range dependencies and enabling fast parallel training</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t4" type="limitations" ana="#limitations[0]" resp="#tagger">
        <label>Reducing long-range dependencies to a constant number of operations costs effective resolution, which the authors only partly offset with multi-head attention.</label>
        <note>what this limits: the long-range dependency claim: the constant number of operations comes AT THE COST OF REDUCED EFFECTIVE RESOLUTION DUE TO AVERAGING ATTENTION-WEIGHTED POSITIONS</note>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t5" type="limitations" ana="#limitations[1]" resp="#tagger">
        <label>On the constituency-parsing generalisation test the Transformer is still beaten by one prior model.</label>
        <note>what this limits: the constituency-parsing result: it yields BETTER RESULTS THAN ALL PREVIOUSLY REPORTED MODELS WITH THE EXCE[ption of one]</note>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t6" type="limitations" ana="#limitations[2]" resp="#tagger">
        <label>Label smoothing, which they use, degrades perplexity even as it helps BLEU.</label>
        <note>what this limits: the perplexity figures specifically: label smoothing HURTS PERPLEXITY, AS THE MODEL LEARNS TO BE MORE UNSURE, BUT IMPROVES ACCURACY AND BLEU SCORE</note>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t7" type="limitations" ana="#limitations[3]" resp="#tagger">
        <label>Hyperparameters for the parsing experiments were barely tuned.</label>
        <note>what this limits: the parsing results: WE PERFORMED ONLY A SMALL NUMBER OF EXPERIMENTS TO SELECT THE DROPOUT ... LEARNING RATES AND BEAM SIZE</note>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t8" type="limitations" ana="#limitations[4]" resp="#tagger" cert="1.0">
        <label>The scaling factor every later implementation copies is justified by a suspicion.</label>
        <note>what this limits: the scaled dot-product attention used here and since: the authors state they suspect that for large key dimensions the dot products grow large and push the softmax into regions of extremely small gradients, and scale to counteract that</note>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t9" type="limitations" ana="#limitations[5]" resp="#tagger" cert="1.0">
        <label>The two candidate position encodings performed the same, and the one adopted was chosen on a conjecture about behaviour never tested here.</label>
        <note>what this limits: the sinusoidal positional encoding as a design decision: the authors found the learned and sinusoidal versions produced nearly identical results and chose the sinusoidal one because it may allow extrapolation to longer sequences than those seen in training</note>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t10" type="limitations" ana="#limitations[6]" resp="#tagger" cert="1.0">
        <label>The interpretability claim is hedged in both of its clauses.</label>
        <note>what this limits: attention distributions from this architecture used as explanations: the paper says self-attention could yield more interpretable models and that heads appear to exhibit behaviour related to syntactic and semantic structure</note>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t11" type="limitations" ana="#limitations[7]" resp="#tagger" cert="1.0">
        <label>The attention mechanism adopted is the one that loses in a stated regime, and it was chosen for implementation speed.</label>
        <note>what this limits: the choice of dot-product over additive attention: the authors state additive attention outperforms unscaled dot-product attention for larger key dimensions, and adopt dot-product because it can be implemented with highly optimized matrix multiplication code</note>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t12" type="controls" ana="#controls[0]" resp="#tagger" cert="0.9">
        <label>varying one component of the base Transformer at a time and measuring the change in BLEU (Model Variations, Table 3)</label>
        <note>eliminates: that the Transformer&#x27;s translation quality comes from the overall training setup rather than from the specific components varied · outcome: held</note>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t13" type="controls" ana="#controls[1]" resp="#tagger" cert="0.9">
        <label>replacing the sinusoidal positional encoding with learned positional embeddings, everything else held fixed</label>
        <note>eliminates: that the specific choice of positional encoding is responsible for the model&#x27;s performance · outcome: held</note>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t14" type="concepts" ana="#concepts[1]" resp="#paper">
        <label>self-attention</label>
        <term>self-attention</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t15" type="concepts" ana="#concepts[2]" resp="#paper">
        <label>multi-head attention</label>
        <term>multi-head attention</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t16" type="concepts" ana="#concepts[5]" resp="#paper">
        <label>attention function</label>
        <term>attention function</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t17" type="concepts" ana="#concepts[6]" resp="#paper">
        <label>additive attention</label>
        <term>additive attention</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t18" type="concepts" ana="#concepts[7]" resp="#paper">
        <label>dot-product attention</label>
        <term>dot-product attention</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t19" type="senses" ana="#senses[0]" resp="#tagger" cert="1.0">
        <label>attention - AS A LOOKUP, NOT AS ANYTHING PSYCHOLOGICAL: an attention function maps a query and a set of key-value pairs to an output, all of them vectors, so the word names a weighted retrieval operation and carries none of its ordinary or cognitive meaning</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t20" type="senses" ana="#senses[1]" resp="#tagger" cert="1.0">
        <label>the field&#x27;s name for what this became - ABSENT FROM IT: `large language model` occurs nowhere in this paper, nor do `foundation model` or `pretraining`; the architecture is introduced as a sequence transduction model evaluated on translation, and the vocabulary now used to describe its descendants postdates it entirely</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t21" type="senses" ana="#senses[2]" resp="#tagger" cert="1.0">
        <label>two attention functions, and the slower-but-better one was not taken: additive attention beats unscaled dot-product attention at larger key dimensions, and dot-product was adopted because it runs as optimised matrix multiplication - a choice made on speed with a correction bolted on</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t22" type="alternatives" ana="#alternatives.claim_type" resp="#tagger" cert="0.9">
        <label>claim_type: method</label>
        <note>a second reading reaching the same value. Recorded: method — note: A BLIND second reading by the project on 2026-08-25: the record&#x27;s own claim type/method/phenomenon were not looked at until every value here was written and substring-verified. Not applied - a person decides. Sampling frame: the 504 staged records carrying no alternatives block, so this never re-measures the 202. All 11 records with 130+ tags were taken as a census and 19 more spread one per discipline across 22 disciplines - the dense non-neuroscience cell is the one the 202 do not contain (inside them, 94-100% of the densest bands are neuroscience; among these 11, one is).,</note>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t23" type="alternatives" ana="#alternatives.method" resp="#tagger" cert="0.8">
        <label>method: system-or-tool-building</label>
        <note>a second reading reaching the same value. Recorded: system-or-tool-building — note: A BLIND second reading by the project on 2026-08-25: the record&#x27;s own claim type/method/phenomenon were not looked at until every value here was written and substring-verified. Not applied - a person decides. Sampling frame: the 504 staged records carrying no alternatives block, so this never re-measures the 202. All 11 records with 130+ tags were taken as a census and 19 more spread one per discipline across 22 disciplines - the dense non-neuroscience cell is the one the 202 do not contain (inside them, 94-100% of the densest bands are neuroscience; among these 11, one is).,</note>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t24" type="alternatives" ana="#alternatives.phenomenon" resp="#tagger" cert="0.85">
        <label>phenomenon: sequence transduction without recurrence or convolution, using attention alone to model global dependencies</label>
        <note>a second reading DIFFERING from the recorded value. Recorded: neural sequence transduction (machine translation) — note: A BLIND second reading by the project on 2026-08-25: the record&#x27;s own claim type/method/phenomenon were not looked at until every value here was written and substring-verified. Not applied - a person decides. Sampling frame: the 504 staged records carrying no alternatives block, so this never re-measures the 202. All 11 records with 130+ tags were taken as a census and 19 more spread one per discipline across 22 disciplines - the dense non-neuroscience cell is the one the 202 do not contain (inside them, 94-100% of the densest bands are neuroscience; among these 11, one is).,</note>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t25" type="claim_relations" ana="#claim_relations[0]" resp="#tagger">
        <label>builds-on → attention mechanisms</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t26" type="claim_relations" ana="#claim_relations[1]" resp="#tagger">
        <label>contradicts → recurrent and convolutional sequence models</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t27" type="claim_relations" ana="#claim_relations[2]" resp="#tagger">
        <label>builds-on → residual connections [11] and layer normalization [1]</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t28" type="claim_relations" ana="#claim_relations[3]" resp="#tagger">
        <label>builds-on → dot-product (multiplicative) attention</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t29" type="claim_relations" ana="#claim_relations[4]" resp="#tagger">
        <label>extends → RNN sequence-to-sequence parsing models of Vinyals &amp; Kaiser et al. [37]</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t30" type="concept_edges" ana="#concept_edges[0]" resp="#tagger">
        <label>dot-product attention —is-a→ attention function</label>
        <term>dot-product attention</term>
        <term>attention function</term>
        <note>strength of the relation: 1</note>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t31" type="concept_edges" ana="#concept_edges[1]" resp="#tagger">
        <label>additive attention —distinct-from→ dot-product attention</label>
        <term>additive attention</term>
        <term>dot-product attention</term>
        <note>strength of the relation: 1</note>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t32" type="content_tags" ana="#content_tags.quantities[0]" resp="#tagger">
        <label>28.4 — WMT 2014 English-to-German translation score (new state of the art)</label>
        <note>about this quote: QUOTE REPAIRED: the extractor split a hyphen-space and the quote was recorded faithfully with the damage in it, which made it unanchorable. The repaired string is an EXACT SUBSTRING of the staged text - that is why it was accepted, not because a rule produced it. The text as originally recorded is kept in evidence as extracted.</note>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t33" type="content_tags" ana="#content_tags.findings[0]" resp="#tagger">
        <label>The Transformer is a sequence-transduction architecture based SOLELY on attention, Quotation withheld — more parallelizable and faster to train.</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t34" type="content_tags" ana="#content_tags.findings[1]" resp="#tagger">
        <label>EVIDENCE CORRECTED (RE-GROUNDED - THE POINTER WAS WRONG, NOT THE CLAIM) · It reaches 28.4 BLEU on WMT 2014 English-German, improving on the previous best results, including ensembles, by over 2 BLEU.</label>
        <note>EVIDENCE CORRECTED: RE-GROUNDED - THE POINTER WAS WRONG, NOT THE CLAIM. The old evidence was verbatim, anchored and correctly cut, and it contained NONE of this claim&#x27;s numbers (2014, 28.4). The paper states the claim in one sentence elsewhere and the tagger did not use it. the project, 2026-08-23: &#x27;WE HAVE SPENT THE DAY VERIFYING THAT QUOTES ARE REAL AND NONE OF IT ASKS WHETHER THEY ARE RELEVANT.&#x27; Confirmed by reading the claim, the old span and the candidate together; the candidate carries every number AND the claim&#x27;s own content words.</note>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t35" type="content_tags" ana="#content_tags.definitions[0]" resp="#tagger">
        <label>Transformer</label>
        <term>Transformer</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t36" type="content_tags" ana="#content_tags.definitions[1]" resp="#tagger">
        <label>self-attention</label>
        <term>self-attention</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t37" type="content_tags" ana="#content_tags.definitions[3]" resp="#tagger">
        <label>scaled dot-product attention</label>
        <term>scaled dot-product attention</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t38" type="content_tags" ana="#content_tags.definitions[4]" resp="#tagger">
        <label>multi-head attention</label>
        <term>multi-head attention</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t39" type="content_tags" ana="#content_tags.statistics[0]" resp="#tagger">
        <label>statistical-significance</label>
        <term>statistical-significance</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
    </spanGrp>
  </standOff>
  <text>
    <body>
      <p><note type="rights">The full text of this article is not redistributable, so it is
      not included here. The evidence sentences are withheld with it; the tag layer and its
      grounding status remain. The article itself is at https://arxiv.org/abs/1706.03762.</note></p>
    </body>
  </text>
</TEI>
