<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xml:lang="en">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title>BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding</title>
        <author>Jacob Devlin</author>
        <author>Ming-Wei Chang</author>
        <author>Kenton Lee</author>
        <author>Kristina Toutanova</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>BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding</title>
          <date>2018</date>
          <publisher>NAACL / arXiv</publisher>
          
          <idno type="arXiv">1810.04805</idno>
          <idno type="record">devlin2018-bert</idno>
          <note type="staged-file">devlin2018-bert.txt, the project's staged copy</note>
          <note type="text-sha1">004b468db1da98e6f682985fbb328911fa1e8b60</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>language model pre-training for transfer to NLP tasks</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>masked language modeling: randomly mask tokens and train the model to predict them from both left and right context, giving a deep bidirectional representation that transfers to many tasks via fine-tuning</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>Masking creates a mismatch between pre-training and fine-tuning because [MASK] never appears downstream.</label>
        <note>what this limits: any account of what the pre-trained model has learned to expect: WE ARE CREATING A MISMATCH BETWEEN PRE-TRAINING AND FINE-TUNING, SINCE THE [MASK] TOKEN DOES NOT APPEAR DURING FINE-TUNING</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>The [CLS] vector is not usable as a sentence representation without fine-tuning.</label>
        <note>what this limits: any use of the [CLS] vector as a sentence embedding without fine-tuning: THE VECTOR C IS NOT A MEANINGFUL SENTENCE REPRESENTATION WITHOUT FINE-TUNING, SINCE IT WAS TRAINED WITH NSP</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>Fine-tuning the large model was unstable on small datasets and required multiple random restarts.</label>
        <note>what this limits: the reported small-dataset results: FOR BERT_LARGE WE FOUND THAT FINETUNING WAS SOMETIMES UNSTABLE ON SMALL DATASETS, SO WE RAN SEVERAL RANDOM RESTARTS AND SELECTED THE BEST MODEL ON THE DEV SET</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" cert="1.0">
        <label>The reported average is not the official score of the benchmark it is reported on.</label>
        <note>what this limits: the GLUE averages quoted from this table: the authors state the Average column is slightly different from the official GLUE score because the WNLI set is excluded, so it is not comparable with an official GLUE average</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 pre-training objective is an existing task under a new name, which the authors state.</label>
        <note>what this limits: any claim of novelty for the masked LM objective: the authors note the same procedure is often referred to as a Cloze task in the literature, citing Taylor 1953</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 paper&#x27;s central adjective is one the systems it is compared against also use.</label>
        <note>what this limits: any comparison of bidirectional models: the authors distinguish their deep bidirectional pre-training from a shallow concatenation of independently trained left-to-right and right-to-left language models, so the word alone does not separate the architectures</note>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t10" type="transfers" ana="#transfers[0]" resp="#tagger" cert="0.9">
        <label>the Cloze task of Taylor 1953 - delete a word from a passage and ask a reader to supply it - made the pre-training objective of a transformer language model as the masked language model</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t11" type="controls" ana="#controls[0]" resp="#tagger" cert="0.85">
        <label>the two pre-training approaches compared by applying them to the same CoNLL-2003 named entity recognition task</label>
        <note>eliminates: a difference between the approaches that is really a difference in the task each was tried on · outcome (stated by the tagger, no quotation): held</note>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t12" type="concepts" ana="#concepts[4]" resp="#paper">
        <label>masked LM</label>
        <term>masked LM</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t13" type="concepts" ana="#concepts[5]" resp="#paper">
        <label>Cloze task</label>
        <term>Cloze task</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t14" type="concepts" ana="#concepts[6]" resp="#paper">
        <label>deep bidirectional</label>
        <term>deep bidirectional</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[7]" resp="#paper">
        <label>shallow concatenation</label>
        <term>shallow concatenation</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[8]" resp="#paper">
        <label>GLUE</label>
        <term>GLUE</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t17" type="senses" ana="#senses[0]" resp="#tagger" cert="1.0">
        <label>bidirectional - TWO ARCHITECTURES UNDER ONE WORD, SEPARATED BY THE AUTHORS: for ELMo it is the concatenation of two independently trained one-directional models, which this paper calls a shallow concatenation and elsewhere &#x27;not deeply bidirectional&#x27;; for BERT it is a single model conditioned on both sides at once - so the adjective names a property of the training objective in one case and of the output vector in the other</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t18" type="senses" ana="#senses[1]" resp="#tagger" cert="1.0">
        <label>masked LM - THE PAPER&#x27;S NAME FOR A TASK THE LITERATURE ALREADY NAMED: the authors say outright that the procedure is often referred to as a Cloze task, citing Taylor 1953, so the 2018 name and the 1953 name denote one procedure and the field kept the newer one</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t19" type="senses" ana="#senses[2]" resp="#tagger" cert="1.0">
        <label>the GLUE Average - NOT THE OFFICIAL GLUE SCORE: the column excludes the WNLI set, which the caption states, so a number that carries the benchmark&#x27;s name is computed over a different set of tasks than the benchmark&#x27;s own average</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t20" type="claim_relations" ana="#claim_relations[0]" resp="#tagger" cert="0.85">
        <label>builds-on → the Transformer architecture</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t21" type="claim_relations" ana="#claim_relations[1]" resp="#tagger">
        <label>extends → unidirectional pre-trained language models (e.g. GPT)</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t22" type="claim_relations" ana="#claim_relations[2]" resp="#tagger">
        <label>extends → Peters et al., 2018a and Radford et al., 2018</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t23" type="claim_relations" ana="#claim_relations[3]" resp="#tagger">
        <label>extends → Radford et al. (2018)</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t24" type="claim_relations" ana="#claim_relations[4]" resp="#tagger">
        <label>builds-on → Vaswani et al. (2017)</label>
        <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[5]" resp="#tagger">
        <label>builds-on → the Cloze task (Taylor, 1953)</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[6]" resp="#tagger">
        <label>builds-on → Jernite et al. (2017) and Logeswaran and Lee (2018)</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t27" type="concept_edges" ana="#concept_edges[0]" resp="#tagger">
        <label>masked LM —renamed-across-fields→ Cloze task</label>
        <term>masked LM</term>
        <term>Cloze task</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="t28" type="concept_edges" ana="#concept_edges[1]" resp="#tagger">
        <label>deep bidirectional —contrasted-with→ shallow concatenation</label>
        <term>deep bidirectional</term>
        <term>shallow concatenation</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="t29" type="content_tags" ana="#content_tags.quantities[0]" resp="#tagger">
        <label>80.5 — new GLUE score, +7.7 points absolute</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t30" type="content_tags" ana="#content_tags.quantities[1]" resp="#tagger">
        <label>86.7 — MultiNLI accuracy, +4.6 points absolute</label>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t31" type="content_tags" ana="#content_tags.quantities[2]" resp="#tagger">
        <label>93.2 — SQuAD v1.1 Test F1, +1.5 points</label>
        <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[3]" resp="#tagger">
        <label>83.1 — SQuAD v2.0 Test F1, +5.1 points</label>
        <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.quantities[4]" resp="#tagger">
        <label>11 — tasks on which BERT set state of the art</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[0]" resp="#tagger">
        <label>bidirectional pre-training is important for language representations</label>
        <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.findings[1]" resp="#tagger">
        <label>pre-trained representations reduce the need for task-specific architectures</label>
        <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.findings[2]" resp="#tagger">
        <label>a pre-trained BERT is fine-tuned with just one added output layer</label>
        <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.findings[3]" resp="#tagger">
        <label>the major limitation of prior models is unidirectionality</label>
        <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.variables[0]" resp="#tagger">
        <label>masked tokens</label>
        <term>masked tokens</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.variables[1]" resp="#tagger">
        <label>left and right context</label>
        <term>left and right context</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t40" type="content_tags" ana="#content_tags.definitions[0]" resp="#tagger">
        <label>BERT</label>
        <term>BERT</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t41" type="content_tags" ana="#content_tags.definitions[1]" resp="#tagger">
        <label>masked language model</label>
        <term>masked language model</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t42" type="content_tags" ana="#content_tags.definitions[2]" resp="#tagger">
        <label>feature-based approach</label>
        <term>feature-based approach</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t43" type="content_tags" ana="#content_tags.definitions[3]" resp="#tagger">
        <label>Cloze task</label>
        <term>Cloze task</term>
        <note type="quotation-withheld">Quotation withheld because this record is not cleared for redistribution.</note>
      </span>
      <span xml:id="t44" type="content_tags" ana="#content_tags.statistics[0]" resp="#tagger">
        <label>correlation</label>
        <term>correlation</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/1810.04805.</note></p>
    </body>
  </text>
</TEI>
