Plum: Prompt Learning using Metaheuristic
Not on the map. Why?
Abstract (arXiv)
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, demonstrating their effectiveness in white-box and black-box prompt learning. Furthermore, we show that these methods can be used to discover more human-understandable prompts that were previously unknown in both reasoning and image generation tasks, opening the door to a cornucopia of possibilities in prompt optimization. We release all the codes in urlhttps://github.com/research4pan/Plum.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 57 of its 89 references that are in the map. First posted on arXiv 14 Nov 2023.
Builds on
57 of 89 references.
References · 57
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
38 more
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
- 2019PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarizationcited by 1,102
- 2023Pick-a-Pic: An Open Dataset of User Preferences for Text-to-Image Generationcited by 977
- 2019How Can We Know What Language Models Know?cited by 959
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
- 2021Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategiescited by 743
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
- 2021BARTScore: Evaluating Generated Text as Text Generationcited by 722
- 2021GPT Understands, Toocited by 716
- 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 699
- 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 688
- 2023RAFT: Reward rAnked FineTuning for Generative Foundation Model Alignmentcited by 686
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 560
- 2023Symbolic Discovery of Optimization Algorithmscited by 434
- 2023Llemma: An Open Language Model For Mathematicscited by 388
- 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 377
- 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 366
- 2021A Diverse Corpus for Evaluating and Developing English Math Word Problem Solverscited by 318
- 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
- 2022Black-Box Tuning for Language-Model-as-a-Servicecited by 256
- 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 243
- 2021PTR: Prompt Tuning with Rules for Text Classificationcited by 238
- 2021WARP: Word-level Adversarial ReProgrammingcited by 221
- 2023EvoPrompt: Connecting LLMs with Evolutionary Algorithms Yields Powerful Prompt Optimizerscited by 193
- 2019Commonsense Knowledge Mining from Pretrained Modelscited by 189
- 2021Reframing Instructional Prompts to GPTk's Languagecited by 176
- 2023Active Prompting with Chain-of-Thought for Large Language Modelscited by 154
- 2020A Survey on Evolutionary Neural Architecture Searchcited by 142
- 2022GrIPS: Gradient-free, Edit-based Instruction Search for Prompting Large Language Modelscited by 127
- 2023Black-Box Prompt Optimization: Aligning Large Language Models without Model Trainingcited by 122
- 2023Automatic Prompt Augmentation and Selection with Chain-of-Thought from Labeled Datacited by 119
- 2021BERTese: Learning to Speak to BERTcited by 82
50 most cited of 57 All 57 (JSON)
Built on by
Citing papers per year: 2023: 1; 2024: 3; 2025: 4.
8 papers.
- 2024OpenEMMA: Open-Source Multimodal Model for End-to-End Autonomous Drivingcited by 93
- 2024Evolutionary Computation in the Era of Large Language Model: Survey and Roadmapcited by 90
- 2023Principled Instructions Are All You Need for Questioning LLaMA-1/2, GPT-3.5/4cited by 48
- 2024Efficient Prompt Optimization Through the Lens of Best Arm Identificationcited by 37
- 2025Generative AI for Autonomous Driving: Frontiers and Opportunitiescited by 7
- 2025From Objects to Events: Unlocking Complex Visual Understanding in Object Detectors via LLM-guided Symbolic Reasoningcited by 3
- 2025Cascaded Self-Evaluation Augmented Training for Lightweight Multimodal LLMscited by 2
- 2025ReflectivePrompt: Reflective evolution in autoprompting algorithmscited by 0
- 2025ReflectivePrompt: Reflective evolution in autoprompting algorithms26 Aug 2025
- 2025Generative AI for Autonomous Driving: Frontiers and Opportunities13 May 2025
- 2025From Objects to Events: Unlocking Complex Visual Understanding in Object Detectors via LLM-guided Symbolic Reasoning9 Feb 2025
- 2025Cascaded Self-Evaluation Augmented Training for Lightweight Multimodal LLMs10 Jan 2025
- 2024OpenEMMA: Open-Source Multimodal Model for End-to-End Autonomous Driving19 Dec 2024
- 2024Efficient Prompt Optimization Through the Lens of Best Arm Identification15 Feb 2024
- 2024Evolutionary Computation in the Era of Large Language Model: Survey and Roadmap18 Jan 2024
- 2023Principled Instructions Are All You Need for Questioning LLaMA-1/2, GPT-3.5/426 Dec 2023
Similar, not cited
Close in wording, no citation either way
- 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applications
- 2025Evolving Prompts In-Context: An Open-ended, Self-replicating Perspective
- 2025Better by Comparison: Retrieval-Augmented Contrastive Reasoning for Automatic Prompt Optimization
- 2024GReaTer: Gradients over Reasoning Makes Smaller Language Models Strong Prompt Optimizers
- 2026UPA: Unsupervised Prompt Agent via Tree-Based Search and Selection
- 2024Large Language Models Prompting With Episodic Memory
- 2025Self-Supervised Prompt Optimization
- 2025How to Auto-optimize Prompts for Domain Tasks? Adaptive Prompting and Reasoning through Evolutionary Domain Knowledge Adaptation