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

Alex Warstadt, Yian Zhang, Haau-Sing Li, Haokun Liu, Samuel R. Bowman
10/11/2020
cs.CL
contrastive-ssl

Official code: nyu-mll/msgs (21 stars, Python, CC-BY-4.0, last commit 2022-01-10).

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.

Show full abstract

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 fine-tuning. 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.

View on arXivView PDF

Code Implementations(1)

nyu-mll/msgsOfficial100%
CC-BY-4.0

This is a repository for the paper on testing inductive bias with scaled-down RoBERTa models.

212Python, ShellJun 23, 20204 years agoCC-BY-4.0

Similar Papers

Cite this paper

@article{warstadt2020learning,
  title  = {Learning Which Features Matter: RoBERTa Acquires a Preference for Linguistic Generalizations (Eventually)},
  author = {Alex Warstadt and Yian Zhang and Haau-Sing Li and Haokun Liu and Samuel R. Bowman},
  year   = {2020},
  eprint = {2010.05358},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.05358}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2010.05358.svg)](https://codeofpaper.com/paper/2010.05358)

Discussion