A Mathematical Exploration of Why Language Models Help Solve Downstream Tasks

By Nikunj Saunshi, Sadhika Malladi, Sanjeev Arora. 2020

93 citations recorded by the source corpus.

Autoregressive language models pretrained on large corpora have been successful at solving downstream tasks, even with zero-shot usage. However, there is little theoretical justification for their success. This paper considers the following questions: (1) Why should learning the distribution of natural language help with downstream classification tasks? (2) Why do features learned using language modeling help solve downstream tasks with linear classifiers? For (1), we hypothesize, and verify empirically, that classification tasks of interest can be reformulated as next word prediction tasks, thus making language modeling a meaningful pretraining task. For (2), we analyze properties of the cross-entropy objective to show that $\epsilon$-optimal language models in cross-entropy (log-perplexity) learn features that are $\mathcal{O}(\sqrt{\epsilon})$-good on natural linear classification tasks, thus demonstrating mathematically that doing well on language modeling can be beneficial for downstream tasks. We perform experiments to verify assumptions and validate theoretical results. Our theoretical insights motivate a simple alternative to the cross-entropy objective that performs well on some linear classification tasks.

Subfields: Large Language Models, Natural Language Processing, Statistical Learning Theory

How researchers see this paper

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

In Large Language Models

  1. Luke S. Zettlemoyer
  2. Jonathan Berant
  3. Danqi Chen
  4. Ves Stoyanov
  5. Tianyu Gao
  6. Fei Huang
  7. Jonathan Herzig
  8. Ramakanth Pasunuru

In Natural Language Processing

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

In Statistical Learning Theory

  1. Sanjeev Arora
  2. Jonathan Berant
  3. Ohad Rubin
  4. Jason D. Lee
  5. Jonathan Herzig
  6. Yuanzhi Li
  7. Simon Shaolei Du
  8. Wei Hu

Citations in the corpus