arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.11560cs.AIcs.LG
收藏

自动提示工程综述:优化视角

A Survey of Automatic Prompt Engineering: An Optimization Perspective

School of Computer Science and Technology, Tongji University(同济大学计算机科学与技术学院);East China Normal University(华东师范大学);Shanghai Research Institute for Intelligent Autonomous Systems, Tongji University(同济大学上海智能自主系统研究院)

Wenwu Li, Xiangfeng Wang, Wenhao Li, Bo Jin

AI总结:

本文从优化理论视角首次全面综述自动提示工程,将其形式化为提示空间上的最大化问题并系统分类方法,为研究者和从业者建立框架,同时指出未充分探索的前沿方向。

摘要:

基础模型的兴起将焦点从资源密集型微调转向提示工程,该范式通过输入设计而非权重更新引导模型行为。手动提示工程在可扩展性、适应性和跨模态对齐方面存在局限,而涵盖基础模型(FM)优化、进化方法、基于梯度的优化和强化学习的自动化方法提供了有前景的解决方案。然而,现有综述在模态和方法学上仍较为分散。本文首次从统一的优化理论视角对自动提示工程进行全面综述,将提示优化形式化为离散、连续和混合提示空间上的最大化问题,按优化变量(指令、软提示、示例)、任务特定目标和计算框架系统组织方法。通过将理论公式与文本、视觉和多模态领域的实际实现相结合,本综述为研究者和从业者建立了基础框架,同时强调了约束优化和面向智能体的提示设计中未充分探索的前沿方向。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑