English

Are Sample-Efficient NLP Models More Robust?

Computation and Language 2023-06-01 v2 Machine Learning

Abstract

Recent results in image classification and extractive question answering have observed that pre-trained models trained on less in-distribution data have better out-of-distribution performance. However, it is unclear how broadly these trends hold. We conduct a large empirical study across three tasks, three broadly-applicable modeling interventions (increasing model size, using a different adaptation method, and pre-training on more data), and 14 diverse datasets to investigate the relationship between sample efficiency (amount of data needed to reach a given ID accuracy) and robustness (how models fare on OOD evaluation). We find that higher sample efficiency is only correlated with better average OOD robustness on some modeling interventions and tasks, but not others. On individual datasets, models with lower sample efficiency can even be more robust. These results suggest that general-purpose methods for improving sample efficiency are unlikely to yield universal OOD robustness improvements, since such improvements are highly dataset- and task-dependent. Even in an era of large, multi-purpose pretrained models, task-specific decisions may often be necessary for OOD generalization.

Keywords

Cite

@article{arxiv.2210.06456,
  title  = {Are Sample-Efficient NLP Models More Robust?},
  author = {Nelson F. Liu and Ananya Kumar and Percy Liang and Robin Jia},
  journal= {arXiv preprint arXiv:2210.06456},
  year   = {2023}
}

Comments

18 pages, 14 figures; to appear at ACL 2023