mlsanityData to 14 Oct 2026

Plum: Prompt Learning using Metaheuristic

arXiv 2311.08364 ↗First posted 14 Nov 2023cs.LG cs.AI cs.DMcited by 8

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2022Training language models to follow instructions with human feedbackcited by 15,971
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  7. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  8. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  9. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  10. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  11. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  12. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
38 more
  1. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  2. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  3. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
  4. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
  5. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
  6. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  7. 2019PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarizationcited by 1,102
  8. 2023Pick-a-Pic: An Open Dataset of User Preferences for Text-to-Image Generationcited by 977
  9. 2019How Can We Know What Language Models Know?cited by 959
  10. 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
  11. 2021Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategiescited by 743
  12. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
  13. 2021BARTScore: Evaluating Generated Text as Text Generationcited by 722
  14. 2021GPT Understands, Toocited by 716
  15. 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 699
  16. 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 688
  17. 2023RAFT: Reward rAnked FineTuning for Generative Foundation Model Alignmentcited by 686
  18. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
  19. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 560
  20. 2023Symbolic Discovery of Optimization Algorithmscited by 434
  21. 2023Llemma: An Open Language Model For Mathematicscited by 388
  22. 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 377
  23. 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 366
  24. 2021A Diverse Corpus for Evaluating and Developing English Math Word Problem Solverscited by 318
  25. 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
  26. 2022Black-Box Tuning for Language-Model-as-a-Servicecited by 256
  27. 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 243
  28. 2021PTR: Prompt Tuning with Rules for Text Classificationcited by 238
  29. 2021WARP: Word-level Adversarial ReProgrammingcited by 221
  30. 2023EvoPrompt: Connecting LLMs with Evolutionary Algorithms Yields Powerful Prompt Optimizerscited by 193
  31. 2019Commonsense Knowledge Mining from Pretrained Modelscited by 189
  32. 2021Reframing Instructional Prompts to GPTk's Languagecited by 176
  33. 2023Active Prompting with Chain-of-Thought for Large Language Modelscited by 154
  34. 2020A Survey on Evolutionary Neural Architecture Searchcited by 142
  35. 2022GrIPS: Gradient-free, Edit-based Instruction Search for Prompting Large Language Modelscited by 127
  36. 2023Black-Box Prompt Optimization: Aligning Large Language Models without Model Trainingcited by 122
  37. 2023Automatic Prompt Augmentation and Selection with Chain-of-Thought from Labeled Datacited by 119
  38. 2021BERTese: Learning to Speak to BERTcited by 82

50 most cited of 57 All 57 (JSON)

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 3; 2025: 4.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applications
  2. 2025Evolving Prompts In-Context: An Open-ended, Self-replicating Perspective
  3. 2025Better by Comparison: Retrieval-Augmented Contrastive Reasoning for Automatic Prompt Optimization
  4. 2024GReaTer: Gradients over Reasoning Makes Smaller Language Models Strong Prompt Optimizers
  5. 2026UPA: Unsupervised Prompt Agent via Tree-Based Search and Selection
  6. 2024Large Language Models Prompting With Episodic Memory
  7. 2025Self-Supervised Prompt Optimization
  8. 2025How to Auto-optimize Prompts for Domain Tasks? Adaptive Prompting and Reasoning through Evolutionary Domain Knowledge Adaptation