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

元提示协议:通过对抗反馈循环 orchestrate LLMs

The Meta-Prompting Protocol: Orchestrating LLMs via Adversarial Feedback Loops

Zhejiang University(浙江大学)

Fanzhe Fu

AI总结:

元提示协议通过对抗反馈循环构建可编程自优化系统,解决LLM在关键任务中的确定性保证问题。

摘要:

大型语言模型(LLMs)从随机聊天界面向可靠软件组件的转变需要彻底重新设计交互范式。当前方法主要基于启发式方法的“提示工程”,无法提供任务关键应用所需的确定性保证。我们引入了元提示协议,这是一种严谨的理论框架,将LLMs的协调正式化为可编程、自优化的系统。该协议的核心是三元对抗拓扑,包括生成器(P)、审计员(A)和优化器(O)。通过将自然语言指令视为可微变量在语义计算图中,并利用文本批评作为梯度,该架构可以缓解幻觉并防止模型崩溃。我们通过声明式编程范式(DSPy)和自动文本微分(TextGrad)展示了该方法的理论可行性,为概率计算时代的“可观察软件工程”奠定了基础。

英文摘要:

The transition of Large Language Models (LLMs) from stochastic chat interfaces to reliable software components necessitates a fundamental re-engineering of interaction paradigms. Current methodologies, predominantly heuristic-based "prompt engineering," fail to provide the deterministic guarantees required for mission-critical applications. We introduce the Meta-Prompting Protocol, a rigorous theoretical framework that formalizes the orchestration of LLMs as a programmable, self-optimizing system. Central to this protocol is the Adversarial Trinity, a tripartite topology comprising a Generator (P), an Auditor (A), and an Optimizer (O). By treating natural language instructions as differentiable variables within a semantic computation graph and utilizing textual critiques as gradients, this architecture mitigates hallucination and prevents model collapse. We demonstrate the theoretical viability of this approach using declarative programming paradigms (DSPy) and automatic textual differentiation (TextGrad), establishing a foundation for "Observable Software Engineering" in the era of probabilistic computing.

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

↑