Pretrained Transformers Improve Out-of-Distribution Robustness

By Dan Hendrycks, Xiaoyuan Liu, Eric Wallace, Adam Dziedzic, R. Krishnan, Dawn Song. 2020

492 citations recorded by the source corpus.

Although pretrained Transformers such as BERT achieve high accuracy on in-distribution examples, do they generalize to new distributions? We systematically measure out-of-distribution (OOD) generalization for seven NLP datasets by constructing a new robustness benchmark with realistic distribution shifts. We measure the generalization of previous models including bag-of-words models, ConvNets, and LSTMs, and we show that pretrained Transformers’ performance declines are substantially smaller. Pretrained transformers are also more effective at detecting anomalous or OOD examples, while many previous models are frequently worse than chance. We examine which factors affect robustness, finding that larger models are not necessarily more robust, distillation can be harmful, and more diverse pretraining data can enhance robustness. Finally, we show where future work can improve OOD robustness.

Subfields: Artificial Intelligence, Electrical and Electronic Engineering, Representation & Self-Supervised Learning, Safety, Robustness & Interpretability

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Luke S. Zettlemoyer
  3. Jianfeng Gao
  4. Percy Liang
  5. Yejin Choi
  6. Hannaneh Hajishirzi
  7. Graham Neubig
  8. Noah A. Smith

In Electrical and Electronic Engineering

  1. Dawn Song
  2. Srinadh Bhojanapalli
  3. Wen-tau Yih
  4. He He
  5. Marten van Dijk
  6. Dan Roth
  7. James Y. Zou
  8. Adam Liska

In Representation & Self-Supervised Learning

  1. Sebastian Ruder
  2. Ludwig Schmidt
  3. Kyunghyun Cho
  4. Ivan Vulic
  5. Mohit Bansal
  6. Alan Ramponi
  7. Yonatan Belinkov
  8. Douwe Kiela

In Safety, Robustness & Interpretability

  1. Dawn Song
  2. Eric Wallace
  3. Jacob Steinhardt
  4. Nicholas Carlini
  5. Dan Hendrycks
  6. Yonatan Belinkov
  7. Yejin Choi
  8. Ludwig Schmidt

Citations in the corpus