Distributionally Robust Language Modeling

By Yonatan Oren, Shiori Sagawa, Tatsunori B. Hashimoto, Percy Liang. 2019

210 citations recorded by the source corpus.

Language models are generally trained on data spanning a wide range of topics (e.g., news, reviews, fiction), but they might be applied to an a priori unknown target distribution (e.g., restaurant reviews). In this paper, we first show that training on text outside the test distribution can degrade test performance when using standard maximum likelihood (MLE) training. To remedy this without the knowledge of the test distribution, we propose an approach which trains a model that performs well over a wide range of potential test distributions. In particular, we derive a new distributionally robust optimization (DRO) procedure which minimizes the loss of the model over the worst-case mixture of topics with sufficient overlap with the training distribution. Our approach, called topic conditional value at risk (topic CVaR), obtains a 5.5 point perplexity reduction over MLE when the language models are trained on a mixture of Yelp reviews and news and tested only on reviews.

Subfields: Artificial Intelligence, Natural Language Processing, 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. Percy Liang
  2. Mohit Bansal
  3. Luke S. Zettlemoyer
  4. Yejin Choi
  5. Noah A. Smith
  6. Quoc V. Le
  7. Graham Neubig
  8. Jianfeng Gao

In Natural Language Processing

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

In Safety, Robustness & Interpretability

  1. Percy Liang
  2. Nicholas Carlini
  3. Aditi Raghunathan
  4. Eric Wallace
  5. Noah A. Smith
  6. Pang Wei Koh
  7. Tatsunori B. Hashimoto
  8. Tengyu Ma

Citations in the corpus