Zero-shot Text Classification With Generative Language Models

By Raul Puri, Bryan Catanzaro. 2019

121 citations recorded by the source corpus.

This work investigates the use of natural language to enable zero-shot model adaptation to new tasks. We use text and metadata from social commenting platforms as a source for a simple pretraining task. We then provide the language model with natural language descriptions of classification tasks as input and train it to generate the correct answer in natural language via a language modeling objective. This allows the model to generalize to new classification tasks without the need for multiple multitask classification heads. We show the zero-shot performance of these generative language models, trained with weak supervision, on six benchmark text classification datasets from the torchtext library. Despite no access to training data, we achieve up to a 45% absolute improvement in classification accuracy over random or majority class baselines. These results show that natural language can serve as simple and powerful descriptors for task adaptation. We believe this points the way to new metalearning strategies for text problems.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Natural Language Processing

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. Yejin Choi
  2. Hinrich Schütze
  3. Timo Schick
  4. Luke S. Zettlemoyer
  5. Hannaneh Hajishirzi
  6. Mohit Bansal
  7. Jimmy J. Lin
  8. Jianfeng Gao

In Computer Vision and Pattern Recognition

  1. Hinrich Schütze
  2. Yejin Choi
  3. Timo Schick
  4. Hannaneh Hajishirzi
  5. Dacheng Tao
  6. Luc Van Gool
  7. Jimmy J. Lin
  8. Mohit Bansal

In Natural Language Processing

  1. Hinrich Schütze
  2. Timo Schick
  3. Yejin Choi
  4. Hannaneh Hajishirzi
  5. Luke S. Zettlemoyer
  6. Mohit Bansal
  7. Sean Welleck
  8. Noah A. Smith

Citations in the corpus