BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding

Devlin et al., 2019, BERT (Proceedings of the 2019 Conference of the North American Chapter of ACL: Human Language Technologies (NAACL-HLT 2019))

Subscriber deck — free during early access

2 cards in “5.1 Effect of Pre-training Tasks” · whole deck

5.1 Effect of Pre-training Tasks

  1. What did BERT’s ablation of pretraining tasks show?
    Removing NSP hurt QNLI, MNLI and SQuAD. A left-to-right LM without NSP (GPT-like) was worse than the MLM on all tasks, with large drops on MRPC and SQuAD (88.5 → 77.8 F1); adding a BiLSTM on top helped SQuAD but not GLUE, and stayed far behind bidirectional pretraining.
    BERT-base variantMNLIMRPCSQuAD F1
    MLM + NSP84.486.788.5
    no NSP83.986.587.9
    left-to-right, no NSP82.177.577.8
    • Devlin et al., 2019, BERT (Proceedings of the 2019 Conference of the North American Chapter of ACL: Human Language Technologies (NAACL-HLT 2019)), §5.1, p. 4178
  2. Why is concatenating separate left-to-right and right-to-left models (as in ELMo) worse than BERT, according to Devlin et al.?
    It is twice as expensive as one bidirectional model; it is unnatural for QA, since the right-to-left model can’t condition the answer on the question; and it is strictly less powerful, because a deep bidirectional model uses both contexts at every layer.
    • Devlin et al., 2019, BERT (Proceedings of the 2019 Conference of the North American Chapter of ACL: Human Language Technologies (NAACL-HLT 2019)), §5.1, p. 4178

Source

  • Jacob Devlin, Ming-Wei Chang, Kenton Lee and Kristina Toutanova. 2019. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT 2019), pp. 4171–4186. License: CC BY 4.0. Flashcards adapted from this work. doi:10.18653/v1/N19-1423 https://aclanthology.org/N19-1423/