ContractBench: LLM Agents能否保持观察契约?
ContractBench: Can LLM Agents Preserve Observation Contracts?
AI总结:
本文提出ContractBench基准测试,用于评估LLM代理在保持观察契约(如时间有效性及字节完整性)方面的能力,发现现有模型在该任务上仍存在显著缺陷。
摘要:
工具增强的LLM代理调用API时,中间输出如预签名URL、会话令牌和OAuth状态参数等被视为观察契约:这些艺术制品的后续使用受到外部系统限制。我们证明观察契约合规性(保持时间有效性和字节级完整性)是一种涌现且易退化的能力:它既不被通用工具使用能力保证,也不由更大或更新的模型一致提升。为此,我们引入ContractBench,一个包含33个双轴任务的基准测试,探测两种现有基准未评估的垂直故障模式:有效性故障(使用过期的艺术制品)和完整性故障(通过观察到动作的管道腐蚀艺术制品的字节)。我们的评估是确定性和程序性的,通过虚拟时钟控制时间,SHA-256哈希验证字节完整性。我们为每个结果分配一个来自真实世界API规范的故障标签。我们评估了38个模型,并报告了四个发现:(i)没有评估的模型超过80%,Claude-Opus-4.6领先于77.8%,揭示当前前沿模型仍无法遵守观察契约;(ii)在Qwen 3.5中,4B到9B之间出现陡峭的家族能力悬崖,平滑到397B-A17B为70.7%:在悬崖上出现的是中轨迹限制,而不是工具调用能力;(iii)在GPT-5家族中非单调扩展:代理后训练可以通过奉承驱动的退化侵蚀合规性;(iv)我们的故障分类在上下文内作为可操作的奖励信号,使42对GPT-5.1故障获得+7.1 pp的提升。
英文摘要:
Tool-augmented LLM agents call APIs whose intermediate outputs, such as presigned URLs, session tokens, and OAuth state parameters, are observation contracts: artifacts whose later use is constrained by the external system that produced them. We show that observation contract compliance (preserving the temporal validity and byte-level integrity) is an emergent, regression-prone capability: it is neither guaranteed by general tool-use ability nor consistently improved by larger or newer models. To measure this, we introduce ContractBench, a benchmark of 33 dual-axis tasks that probe two orthogonal failure modes no existing benchmark evaluates: validity failures (using an artifact after expiry) and integrity failures (corrupting an artifact's bytes through the observation-to-action pipeline). Our evaluation is deterministic and programmatic, with a virtual clock controlling time and SHA-256 hashes verifying byte integrity. We assign each outcome a failure label drawn from real-world API specifications. We evaluate 38 models and report four findings: (i) no evaluated model clears 80%, with Claude-Opus-4.6 leading at 77.8%, revealing that current frontier models still fail to comply with observation contracts; (ii) a sharp within-family capability cliff in Qwen 3.5 between 4B (0%) and 9B (56.6%), smoothing to 70.7% at 397B-A17B: what emerges across the cliff is mid-trajectory restraint, not tool-call competence; (iii) non-monotonic scaling across the GPT-5 family: agentic post-training can erode compliance through sycophancy-driven regression; (iv) our failure taxonomy works as an actionable in-context reward signal, yielding +7.1 pp on 42 paired GPT-5.1 failures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。