Plum: Prompt Learning using Metaheuristic
Rui Pan, Shuo Xing, Shizhe Diao, Wenhe Sun, Xiang Liu, Kashun Shum,, Renjie Pi, Jipeng Zhang, Tong Zhang

TL;DR
This paper explores using metaheuristic algorithms for prompt learning in large language models, enabling automatic, discrete, black-box, and interpretable prompt optimization, and discovering human-understandable prompts.
Contribution
Introduces metaheuristics as a novel, general approach for prompt learning, demonstrating effectiveness across reasoning and image tasks.
Findings
Metaheuristics effectively optimize prompts in white-box and black-box settings.
Discovered human-understandable prompts previously unknown.
Enhanced prompt optimization broadens possibilities in AI applications.
Abstract
Since the emergence of large language models, prompt learning has become a popular method for optimizing and customizing these models. Special prompts, such as Chain-of-Thought, have even revealed previously unknown reasoning capabilities within these models. However, the progress of discovering effective prompts has been slow, driving a desire for general prompt optimization methods. Unfortunately, few existing prompt learning methods satisfy the criteria of being truly "general", i.e., automatic, discrete, black-box, gradient-free, and interpretable all at once. In this paper, we introduce metaheuristics, a branch of discrete non-convex optimization methods with over 100 options, as a promising approach to prompt learning. Within our paradigm, we test six typical methods: hill climbing, simulated annealing, genetic algorithms with/without crossover, tabu search, and harmony search,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsIntelligent Tutoring Systems and Adaptive Learning · AI-based Problem Solving and Planning · Scheduling and Timetabling Solutions
