A Survey of Automatic Prompt Optimization with Instruction-focused Heuristic-based Search Algorithm

Wendi Cui, Zhuohang Li, Hao Sun, Damien Lopez, Kamalika Das +3 more
2/26/2025
cs.CL
survey

No confident code implementation found for this paper.

Abstract

Recent advances in Large Language Models have led to remarkable achievements across a variety of Natural Language Processing tasks, making prompt engineering increasingly central to guiding model outputs. While manual methods can be effective, they typically rely on intuition and do not automatically refine prompts over time.

Show full abstract

In contrast, automatic prompt optimization employing heuristic-based search algorithms can systematically explore and improve prompts with minimal human oversight. This survey proposes a comprehensive taxonomy of these methods, categorizing them by where optimization occurs, what is optimized, what criteria drive the optimization, which operators generate new prompts, and which iterative search algorithms are applied. We further highlight specialized datasets and tools that support and accelerate automated prompt refinement. We conclude by discussing key open challenges pointing toward future opportunities for more robust and versatile LLM applications.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cui2025survey,
  title  = {A Survey of Automatic Prompt Optimization with Instruction-focused Heuristic-based Search Algorithm},
  author = {Wendi Cui and Zhuohang Li and Hao Sun and Damien Lopez and Kamalika Das and Bradley A. Malin and Sricharan Kumar and Jiaxin Zhang},
  year   = {2025},
  eprint = {2502.18746},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.18746v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.18746.svg)](https://codeofpaper.com/paper/2502.18746)

Discussion