arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.11000cs.CLcs.AIcs.HC
收藏

大型语言模型中的自主提示工程

Autonomous Prompt Engineering in Large Language Models

Erasmus University(伊拉斯姆斯大学);IE University(IE大学)

Daan Kepel, Konstantina Valogianni

AI总结:

本研究提出APET工具箱,使GPT-4自主应用提示工程技术,在单词排序和几何形状任务上分别提升4.4%和6.8%,虽在一步将死任务上下降14.8%,但展示了自动化提示优化的潜力,为自主AI系统奠定基础。

摘要:

提示工程是优化大型语言模型(LLMs)在定制任务上性能的关键但具有挑战性的任务。这项开创性研究引入了自动提示工程工具箱(APET),使GPT-4能够自主应用提示工程技术。通过利用诸如专家提示、思维链和思维树等复杂策略,APET赋予GPT-4动态优化提示的能力,从而在单词排序(提升4.4%)和几何形状(提升6.8%)等任务中取得显著改进。尽管在复杂任务如一步将死(下降14.8%)中遇到挑战,这些发现证明了APET在无需外部数据的情况下自动化复杂提示优化过程的变革潜力。总体而言,这项研究代表了人工智能发展的重大飞跃,为自主AI系统的未来创新提供了稳健框架,并突显了GPT-4将提示工程理论付诸实践的能力。它为提升复杂任务性能以及拓宽这些技术在现实世界场景中的实际应用奠定了基础。

英文摘要:

Prompt engineering is a crucial yet challenging task for optimizing the performance of large language models (LLMs) on customized tasks. This pioneering research introduces the Automatic Prompt Engineering Toolbox (APET), which enables GPT-4 to autonomously apply prompt engineering techniques. By leveraging sophisticated strategies such as Expert Prompting, Chain of Thought, and Tree of Thoughts, APET empowers GPT-4 to dynamically optimize prompts, resulting in substantial improvements in tasks like Word Sorting (4.4% increase) and Geometric Shapes (6.8% increase). Despite encountering challenges in complex tasks such as Checkmate in One (-14.8%), these findings demonstrate the transformative potential of APET in automating complex prompt optimization processes without the use of external data. Overall, this research represents a significant leap in AI development, presenting a robust framework for future innovations in autonomous AI systems and highlighting the ability of GPT-4 to bring prompt engineering theory to practice. It establishes a foundation for enhancing performance in complex task performance and broadening the practical applications of these techniques in real-world scenarios.

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

↑