GPS: Genetic Prompt Search for Efficient Few-shot Learning

10/31/2022
by   Hanwei Xu, et al.
0

Prompt-based techniques have demostrated great potential for improving the few-shot generalization of pretrained language models. However, their performance heavily relies on the manual design of prompts and thus requires a lot of human efforts. In this paper, we introduce Genetic Prompt Search (GPS) to improve few-shot learning with prompts, which utilizes a genetic algorithm to automatically search for high-performing prompts. GPS is gradient-free and requires no update of model parameters but only a small validation set. Experiments on diverse datasets proved the effectiveness of GPS, which outperforms manual prompts by a large margin of 2.6 points. Our method is also better than other parameter-efficient tuning methods such as prompt tuning.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/08/2018

Large Margin Few-Shot Learning

The key issue of few-shot learning is learning to generalize. In this pa...
research
09/02/2010

Optimizing Selective Search in Chess

In this paper we introduce a novel method for automatically tuning the s...
research
04/07/2023

Revisiting Automated Prompting: Are We Actually Doing Better?

Current literature demonstrates that Large Language Models (LLMs) are gr...
research
08/30/2023

MerA: Merging Pretrained Adapters For Few-Shot Learning

Adapter tuning, which updates only a few parameters, has become a mainst...
research
03/14/2022

GrIPS: Gradient-free, Edit-based Instruction Search for Prompting Large Language Models

Providing natural language instructions in prompts is a useful new parad...
research
03/18/2022

Prototypical Verbalizer for Prompt-based Few-shot Tuning

Prompt-based tuning for pre-trained language models (PLMs) has shown its...
research
07/01/2022

A Deep-Learning-Aided Pipeline for Efficient Post-Silicon Tuning

In post-silicon validation, tuning is to find the values for the tuning ...

Please sign up or login with your details

Forgot password? Click here to reset