arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2612.00411cs.AI
收藏

FormalClaw:基于验证的协议实现可靠的智能体通信

FormalClaw: Reliable Agent Communication through Verification-Grounded Protocol

Peking University(北京大学)

Hantao Lou, Xinxiong Wu, Jiayi Zhou, Yaodong Yang

AI总结:

该研究提出FormalClaw协议,用验证器可检查的合约实现可靠的智能体通信,实验显示其能提升智能体执行效果与鲁棒性,在ClawArena中对Qwen3.5-2B的自然语言优化改进达2.05倍。

摘要:

大型语言模型智能体越来越多地被部署在具有现实世界后果的领域中,它们通过涉及工具使用、环境交互和多智能体协作的复杂推理过程运行。这种扩展带来了超出现有临时干预或事后 moderation 的可靠性问题:智能体通信如何在不要求端到端形式化的情况下保留精确规范?本文介绍了FormalClaw,一种基于验证的智能体通信协议。FormalClaw用验证器可检查的合约取代非结构化指令,这些合约编码目标、假设、约束和证据义务。通过将合约和证据作为通信对象,FormalClaw将形式验证从事后监督推广到执行时通信。我们在单智能体和多智能体设置中实例化该协议,实验表明,与自然语言和程序化反馈相比,FormalClaw合约可改善智能体执行,同时在评估中产生适度的验证器端延迟;在ClawArena(每种优化方法都接收基准的每轮反馈)中,FormalClaw对Qwen3.5-2B的自然语言优化实现了高达2.05倍的改进。进一步实验表明,FormalClaw可增强针对漏洞传播的鲁棒性,并在有基准反馈时有益于迭代优化。

英文摘要:

Large language model agents are increasingly deployed in domains with real-world consequences, where they operate through complex reasoning processes involving tool use, environment interaction, and multi-agent coordination. This expansion creates a reliability concern beyond existing ad hoc intervention or post hoc moderation: How can agentic communication preserve precise specification without demanding end-to-end formalization? In this paper, we introduce FormalClaw, a verification-grounded communication protocol for agents. FormalClaw replaces unstructured instruction with verifier-checkable contracts that encode goals, assumptions, constraints, and evidence obligations. By making contracts and evidence as communication objects, FormalClaw generalizes formal verification from post-hoc oversight to execution-time communication. We instantiate this protocol across single-agent and multi-agent settings, and our experiments show that FormalClaw contracts can improve agent execution relative to natural-language and programmatic feedback while incurring modest verifier-side latency in our evaluations; on ClawArena, where every refinement method receives the benchmark's per-round feedback, FormalClaw achieves up to a 2.05$\times$ improvement over natural-language refinement for Qwen3.5-2B. Further experiments demonstrate that FormalClaw improves robustness against vulnerability propagation and benefits iterative refinement when benchmark feedback is available.

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

↑