GPS: Genetic Prompt Search for Efficient Few-Shot Learning
Hanwei Xu, Yujun Chen, Yulun Du, Nan Shao, Yanggang Wang, Haiyu Li, Zhilin Yang
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 27 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Black-Box Tuning for Language-Model-as-a-Service 引用了 True Few-Shot Learning with Language Models
- PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimization 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimization 引用了 AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
- PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimization 引用了 Large Language Models as Optimizers
- PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimization 引用了 Automatic Prompt Optimization with "Gradient Descent" and Beam Search
- Accelerating Greedy Coordinate Gradient and General Prompt Optimization via Probe Sampling 引用了 AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
- Accelerating Greedy Coordinate Gradient and General Prompt Optimization via Probe Sampling 引用了 Automatic Prompt Optimization with "Gradient Descent" and Beam Search
- Accelerating Greedy Coordinate Gradient and General Prompt Optimization via Probe Sampling 引用了 Training language models to follow instructions with human feedback
- PIVOT: Iterative Visual Prompting Elicits Actionable Knowledge for VLMs 引用了 Large Language Models as Optimizers
- PIVOT: Iterative Visual Prompting Elicits Actionable Knowledge for VLMs 引用了 Automatic Prompt Optimization with "Gradient Descent" and Beam Search
- Large Language Models as Optimizers 引用了 AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
- Large Language Models as Optimizers 引用了 Automatic Prompt Optimization with "Gradient Descent" and Beam Search
- True Few-Shot Learning with Language Models 引用了 AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
引用它的顶会 Paper27
- Large Language Models as OptimizersChengrun Yang, Xuezhi Wang, Yifeng Lu, Hanxiao Liu 等ICLR 2024 · 817 次引用
- PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt OptimizationXinyuan Wang, Chenxi Li, Zhen Wang, Fan Bai 等ICLR 2024 · 226 次引用
- PIVOT: Iterative Visual Prompting Elicits Actionable Knowledge for VLMsSoroush Nasiriany, Fei Xia, Wenhao Yu, Ted Xiao 等ICML 2024 · 212 次引用
- Automatic Prompt Optimization with "Gradient Descent" and Beam SearchReid Pryzant, Dan Iter, Jerry Li, Yin Tat Lee 等EMNLP 2023 · 137 次引用
- Accelerating Greedy Coordinate Gradient and General Prompt Optimization via Probe SamplingYiran Zhao, Wenyue Zheng, Tianle Cai, Do Xuan Long 等NeurIPS 2024 · 46 次引用
它引用的 Paper8
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
- AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated PromptsTaylor Shin, Yasaman Razeghi, Robert L. Logan IV, Eric Wallace 等EMNLP 2020 · 1,162 次引用
- True Few-Shot Learning with Language ModelsEthan Perez, Douwe Kiela, Kyunghyun ChoNeurIPS 2021 · 547 次引用
- Black-Box Tuning for Language-Model-as-a-ServiceTianxiang Sun, Yunfan Shao, Hong Qian, Xuanjing Huang 等ICML 2022 · 343 次引用
相关 Paper
- PPT: Pre-trained Prompt Tuning for Few-shot LearningYuxian Gu, Xu Han, Zhiyuan Liu, Minlie HuangACL 2022
- InfoPrompt: Information-Theoretic Soft Prompt Tuning for Natural Language UnderstandingJunda Wu, Tong Yu, Rui Wang, Zhao Song 等NeurIPS 2023 · 48 次引用
- Gradient-Regulated Meta-Prompt Learning for Generalizable Vision-Language ModelsJuncheng Li, Minghe Gao, Longhui Wei, Siliang Tang 等ICCV 2023 · 34 次引用
- Parameter-free Automatically Prompting: A Latent Pseudo Label Mapping Model for Prompt-based LearningJirui Qi, Richong Zhang, Junfan Chen, Jaein Kim 等EMNLP Findings 2022
- Cutting Down on Prompts and Parameters: Simple Few-Shot Learning with Language ModelsRobert L. Logan IV, Ivana Balazevic, Eric Wallace, Fabio Petroni 等ACL Findings 2022 · 133 次引用
