Lune

EMNLP2020Top-tier venue

Learning Which Features Matter: RoBERTa Acquires a Preference for Linguistic Generalizations (Eventually)

Alex Warstadt, Yian Zhang, Xiaocheng Li, Haokun Liu, Samuel R. Bowman

Abstract

One reason pretraining on self-supervised linguistic tasks is effective is that it teaches models features that are helpful for language understanding. However, we want pretrained models to learn not only to represent linguistic features, but also to use those features preferentially during fine-turning. With this goal in mind, we introduce a new English-language diagnostic set called MSGS (the Mixed Signals Generalization Set), which consists of 20 ambiguous binary classification tasks that we use to test whether a pretrained model prefers linguistic or surface generalizations during finetuning. We pretrain RoBERTa models from scratch on quantities of data ranging from 1M to 1B words and compare their performance on MSGS to the publicly available RoBERTa BASE . We find that models can learn to represent linguistic features with little pretraining data, but require far more data to learn to prefer linguistic generalizations over surface ones. Eventually, with about 30B words of pretraining data, RoBERTa BASE does demonstrate a linguistic bias with some regularity. We conclude that while self-supervised pretraining is an effective way to learn helpful inductive biases, there is likely room to improve the rate at which models learn which features matter. Feature type Feature description Positive example Negative example Surface Absolute position Is the first token of S "the"? The cat chased a mouse. A cat chased a mouse. Length Is S longer than n (e.g., 3) words? The cat chased a mouse. The cat meowed. Lexical content Does S contain "the"? That cat chased the mouse. That cat chased a mouse. Relative position Does "the" precede "a"? The cat chased a mouse. A cat chased the mouse. Orthography Does S appear in title case? The Cat Chased a Mouse. The cat chased a mouse. Linguistic Morphology Does S have an irregular past verb? The cats slept. The cats meow. Syn. category Does S have an adjective? Lincoln was tall. Lincoln was president. Syn. construction Is S the control construction? Sue is eager to sleep. Sue is likely to sleep. Syn. position Is the main verb in "ing" form? Cats who eat mice are purring. Cats who are eating mice purr.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

23 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • LLM Circuit Analyses Are Consistent Across Training and Scale cites Sudden Drops in the Loss: Syntax Acquisition, Phase Transitions, and Simplicity Bias in MLMs
  • LLM Circuit Analyses Are Consistent Across Training and Scale cites Probing for the Usage of Grammatical Number
  • Information-Theoretic Probing with Minimum Description Length cites Information-Theoretic Probing for Linguistic Structure
  • Information-Theoretic Probing for Linguistic Structure cites Information-Theoretic Probing with Minimum Description Length
  • Masked Language Modeling and the Distributional Hypothesis: Order Word Matters Pre-training for Little cites Information-Theoretic Probing with Minimum Description Length
  • Masked Language Modeling and the Distributional Hypothesis: Order Word Matters Pre-training for Little cites Information-Theoretic Probing for Linguistic Structure
  • LIFT: Language-Interfaced Fine-Tuning for Non-language Machine Learning Tasks cites Language Models are Few-Shot Learners
  • Probing for the Usage of Grammatical Number cites Information-Theoretic Probing with Minimum Description Length
  • Probing for the Usage of Grammatical Number cites Masked Language Modeling and the Distributional Hypothesis: Order Word Matters Pre-training for Little
  • Probing for the Usage of Grammatical Number cites Information-Theoretic Probing for Linguistic Structure
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers23

  1. LIFT: Language-Interfaced Fine-Tuning for Non-language Machine Learning TasksTuan Dinh, Yuchen Zeng, Ruisu Zhang, Ziqian Lin et al.NeurIPS 2022 · 222 citations
  2. Masked Language Modeling and the Distributional Hypothesis: Order Word Matters Pre-training for LittleKoustuv Sinha, Robin Jia, Dieuwke Hupkes, Joelle Pineau et al.EMNLP 2021 · 177 citations
  3. Sudden Drops in the Loss: Syntax Acquisition, Phase Transitions, and Simplicity Bias in MLMsAngelica Chen, Ravid Shwartz-Ziv, Kyunghyun Cho, Matthew L. Leavitt et al.ICLR 2024 · 119 citations
  4. Probing for the Usage of Grammatical NumberKarim Lasri, Tiago Pimentel, Alessandro Lenci, Thierry Poibeau et al.ACL 2022 · 72 citations
  5. LLM Circuit Analyses Are Consistent Across Training and ScaleCurt Tigges, Michael Hanna, Qinan Yu, Stella BidermanNeurIPS 2024 · 71 citations

Builds on5

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. TinyBERT: Distilling BERT for Natural Language UnderstandingXiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang et al.EMNLP Findings 2020 · 1,787 citations
  3. A Systematic Assessment of Syntactic Generalization in Neural Language ModelsJennifer Hu, Jon Gauthier, Peng Qian, Ethan Wilcox et al.ACL 2020 · 124 citations
  4. Information-Theoretic Probing with Minimum Description LengthElena Voita, Ivan TitovEMNLP 2020 · 34 citations
  5. Information-Theoretic Probing for Linguistic StructureTiago Pimentel, Josef Valvoda, Rowan Hall Maudslay, Ran Zmigrod et al.ACL 2020 · 21 citations

Related papers

  1. When Do You Need Billions of Words of Pretraining Data?Yian Zhang, Alex Warstadt, Xiaocheng Li, Samuel R. BowmanACL 2021
  2. How transfer learning impacts linguistic knowledge in deep NLP models?Nadir Durrani, Hassan Sajjad, Fahim DalviACL Findings 2021 · 39 citations
  3. Muppet: Massive Multi-task Representations with Pre-FinetuningArmen Aghajanyan, Anchit Gupta, Akshat Shrivastava, Xilun Chen et al.EMNLP 2021 · 176 citations
  4. Fast, Effective, and Self-Supervised: Transforming Masked Language Models into Universal Lexical and Sentence EncodersFangyu Liu, Ivan Vulic, Anna Korhonen, Nigel CollierEMNLP 2021 · 85 citations
  5. On the Interplay Between Fine-tuning and Sentence-Level Probing for Linguistic Knowledge in Pre-Trained TransformersMarius Mosbach, Anna Khokhlova, Michael A. Hedderich, Dietrich KlakowEMNLP Findings 2020 · 16 citations
Dusk over the sea between two cliffs drawn in fine vertical lines