arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2312.06562cs.CLcs.AIcs.LGmath.CT
收藏

元提示

On Meta-Prompting

Adrian de Wynter, Xun Wang, Qilong Gu, Si-Qing Chen

AI总结:

本文基于范畴论提出理论框架,描述LLM与用户交互中的ICL行为,分析元提示在生成理想输出上的有效性。

摘要:

现代大语言模型(LLMs)能够将输入字符串解释为指令或提示,并基于这些提示执行任务。与传统学习者不同,LLMs无法通过反向传播获取反馈,其输出在上下文学习(ICL)中进行条件化。许多提示和预训练方法涉及自动生成功能提示,也称为元提示或提示生成提示。然而,这些方法并未正式描述LLM本身的属性和行为。我们提出基于范畴论的理论框架,以概括和描述ICL及LLM与用户交互时的行为。我们的框架使我们能够围绕任务无关性和各种元提示方法等价性获得形式结果。使用我们的框架和实验结果,我们论证元提示在生成理想输出方面比基本提示更有效。

英文摘要:

Modern large language models (LLMs) are capable of interpreting input strings as instructions, or prompts, and carry out tasks based on them. Unlike traditional learners, LLMs cannot use back-propagation to obtain feedback, and condition their output in situ in a phenomenon known as in-context learning (ICL). Many approaches to prompting and pre-training these models involve the automated generation of these prompts, also known as meta-prompting, or prompting to obtain prompts. However, they do not formally describe the properties and behavior of the LLMs themselves. We propose a theoretical framework based on category theory to generalize and describe ICL and LLM behavior when interacting with users. Our framework allows us to obtain formal results around task agnosticity and equivalence of various meta-prompting approaches. Using our framework and experimental results we argue that meta-prompting is more effective than basic prompting at generating desirable outputs.

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

↑