AILGFeb 17, 2025

A Survey of Automatic Prompt Engineering: An Optimization Perspective

arXiv:2502.11560v150 citationsh-index: 13
Originality Synthesis-oriented
AI Analysis

It addresses the problem of fragmented knowledge in automated prompt engineering for AI researchers and practitioners, though it is incremental as a survey paper.

This paper tackles the lack of a unified overview of automated prompt engineering methods by presenting the first comprehensive survey that formalizes prompt optimization as a maximization problem across various domains, establishing a foundational framework for researchers and practitioners.

The rise of foundation models has shifted focus from resource-intensive fine-tuning to prompt engineering, a paradigm that steers model behavior through input design rather than weight updates. While manual prompt engineering faces limitations in scalability, adaptability, and cross-modal alignment, automated methods, spanning foundation model (FM) based optimization, evolutionary methods, gradient-based optimization, and reinforcement learning, offer promising solutions. Existing surveys, however, remain fragmented across modalities and methodologies. This paper presents the first comprehensive survey on automated prompt engineering through a unified optimization-theoretic lens. We formalize prompt optimization as a maximization problem over discrete, continuous, and hybrid prompt spaces, systematically organizing methods by their optimization variables (instructions, soft prompts, exemplars), task-specific objectives, and computational frameworks. By bridging theoretical formulation with practical implementations across text, vision, and multimodal domains, this survey establishes a foundational framework for both researchers and practitioners, while highlighting underexplored frontiers in constrained optimization and agent-oriented prompt design.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes