Cutting Down on Prompts and Parameters: Simple Few-Shot Learning with Language Models

By Robert L Logan IV, Ivana Balavzevi'c, Eric Wallace, Fabio Petroni, Sameer Singh, Sebastian Riedel. 2021

245 citations recorded by the source corpus.

Prompting language models (LMs) with training examples and task descriptions has been seen as critical to recent successes in few-shot learning. In this work, we show that finetuning LMs in the few-shot setting can considerably reduce the need for prompt engineering. In fact, one can use null prompts, prompts that contain neither task-specific templates nor training examples, and achieve competitive accuracy to manually-tuned prompts across a wide range of tasks. While finetuning LMs does introduce new parameters for each downstream task, we show that this memory overhead can be substantially reduced: finetuning only the bias terms can achieve comparable or better accuracy than standard finetuning while only updating 0.1% of the parameters. All in all, we recommend finetuning LMs for few-shot learning as it is more accurate, robust to different prompts, and can be made nearly as efficient as using frozen LMs.

Subfields: Artificial Intelligence, Large Language Models, Prompting & Reasoning

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. Hannaneh Hajishirzi
  4. Hinrich Schütze
  5. Yejin Choi
  6. Jianfeng Gao
  7. Graham Neubig
  8. Noah A. Smith

In Large Language Models

  1. Hinrich Schütze
  2. Luke S. Zettlemoyer
  3. Timo Schick
  4. Hannaneh Hajishirzi
  5. Mohit Bansal
  6. Sebastian Riedel
  7. Jie Tang
  8. Zhiyuan Liu

In Prompting & Reasoning

  1. Luke S. Zettlemoyer
  2. Hannaneh Hajishirzi
  3. Timo Schick
  4. Hinrich Schütze
  5. Zhiyuan Liu
  6. Minlie Huang
  7. Michael Lewis
  8. Chujie Zheng

Citations in the corpus