# GPS: Genetic Prompt Search for Efficient Few-shot Learning

Source: [GPS: Genetic Prompt Search for Efficient Few-shot Learning](<https://www.sota2.com/research/paper/68fa6dc31e209131cea3bef7>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-26T00:43:12.182Z

Authors: Hanwei Xu, Yujun Chen, Yulun Du, Nan Shao, Yanggang Wang, Haiyu Li, Zhilin Yang

Published: 2022-10-31T03:36:21.000Z

## Abstract

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.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Language Understanding on MMLU (test)](<https://www.sota2.com/research/sota/language-understanding-on-mmlu-test.md>): Language Understanding; MMLU (test); MMLU Average Accuracy: 71.7.

- [Reasoning Evaluation on BIG-Bench Hard (test)](<https://www.sota2.com/research/sota/reasoning-evaluation-on-big-bench-hard-test.md>): Reasoning; BIG-Bench Hard (BBH) (test); Average Accuracy: 57.6.

- [Reasoning on BIG-Bench Hard (train)](<https://www.sota2.com/research/sota/reasoning-on-big-bench-hard-train.md>): Reasoning; BIG-Bench Hard (train); Accuracy: not recorded.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2210.17041>)

[PDF](<https://arxiv.org/pdf/2210.17041.pdf>)
