From Hand-Written Prompts to Automatic Prompt Optimization for Large Language Models: A Review

Large language models (LLMs) are steered mainly through the text of their prompts, and small changes to that text can change accuracy a great deal. Prompt engineering began as a manual craft, but a growing body of work treats the prompt as an object to be optimized automatically. This structured narrative review synthesizes 49 peer-reviewed studies published between 2020 and 2025, grouped into seven clusters: hand-written reasoning scaffolds, human prompt design and its tools, prompt sensitivity, continuous prompt learning, discrete search over prompt text, LLMs used as prompt optimizers, and multi-stage pipelines with their applications and risks. Unlike earlier surveys, it reads the reported gains of automatic prompt optimization against the evidence on prompt sensitivity, and it compares methods along five design dimensions. Four trends emerge: search spaces moved from continuous vectors to readable instructions, feedback from scalar scores to written critiques, and the unit of optimization from one instruction to whole programs, while hand-written techniques and optimizers converged. The evidence that optimized prompts beat simple baselines is broad, but effect sizes and method rankings are uncertain: formatting alone can move accuracy by up to 76 points, most evaluations use a single prompt template, and methods are compared against different baselines on overlapping benchmarks. The review ends with a research agenda that calls for evaluation over many prompt variants, reporting of cost, tests of transfer across models, and objectives that include robustness and security.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-29
DOI
https://doi.org/10.5281/zenodo.24649667
Primary Topic
Topic Modeling
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

From Hand-Written Prompts to Automatic Prompt Optimization for Large Language Models: A Review

Mohammed Ali AlThehli
Zenodo (CERN European Organization for Nuclear Research)
Topic Modeling
preprint

From Hand-Written Prompts to Automatic Prompt Optimization for Large Language Models: A Review

Mohammed Ali AlThehli
preprint en

Abstract

Large language models (LLMs) are steered mainly through the text of their prompts, and small changes to that text can change accuracy a great deal. Prompt engineering began as a manual craft, but a growing body of work treats the prompt as an object to be optimized automatically. This structured narrative review synthesizes 49 peer-reviewed studies published between 2020 and 2025, grouped into seven clusters: hand-written reasoning scaffolds, human prompt design and its tools, prompt sensitivity, continuous prompt learning, discrete search over prompt text, LLMs used as prompt optimizers, and multi-stage pipelines with their applications and risks. Unlike earlier surveys, it reads the reported gains of automatic prompt optimization against the evidence on prompt sensitivity, and it compares methods along five design dimensions. Four trends emerge: search spaces moved from continuous vectors to readable instructions, feedback from scalar scores to written critiques, and the unit of optimization from one instruction to whole programs, while hand-written techniques and optimizers converged. The evidence that optimized prompts beat simple baselines is broad, but effect sizes and method rankings are uncertain: formatting alone can move accuracy by up to 76 points, most evaluations use a single prompt template, and methods are compared against different baselines on overlapping benchmarks. The review ends with a research agenda that calls for evaluation over many prompt variants, reporting of cost, tests of transfer across models, and objectives that include robustness and security.

Zenodo (CERN European Organization for Nuclear Research)
Abu Dhabi University (AE)
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon