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

当验证并非一致:跨智能体的大语言模型到Dafny形式化

When Verification Is Not Agreement: Cross-Agent LLM-to-Dafny Formalization

Georgia Institute of Technology(佐治亚理工学院)

Priyanath Maji

AI总结:

该研究提出跨智能体形式化协议,发现验证成功不足以证明跨智能体独立一致性,模型能力分配影响一致性,且存在验证假象,修正后一致性下降。

摘要:

已验证的Dafny后置条件可证明公式成立,但无法保证该结果是通过真正的独立推理得出的。我们提出一种跨智能体形式化协议:指定器(Specifier)模型将临床试验标准转换为Dafny谓词,实现器(Implementer)模型编写符合该谓词的操作方法。同模型对照实验显示,即便不存在能力差距,从相同文本进行独立重新提取的一致性仅为59.3%。在96份临床试验文档上评估四种模型配置,发现一致性高度依赖两个角色间的模型能力分配:当较强模型作为实现器时,GPT-4.1-nano/GPT-4.1-mini配置的一致性达53.0%,但角色互换后仅为14.3%;测试的最强配置GPT-5.6-luna/GPT-5.4-mini将一致性提升至34.4%,但仍低于同模型基线,且主要表现为直接矛盾(42.7%)。我们还检测到一种关键验证假象:较弱的实现器通过直接调用指定器的谓词满足后置条件;经结构审计后,修正后的一致性从14.3%降至13.2%。结果表明,仅验证成功不足以作为跨智能体独立一致性的证据,且独立形式化同一源时,模型能力无法保证一致性。

英文摘要:

A verified Dafny postcondition certifies that a formula holds, but it does not guarantee that the result was reached through genuine independent reasoning. We introduce a cross-agent formalization protocol where a Specifier model translates clinical trial criteria into a Dafny predicate, and an Implementer model writes an operational method checked against it. A same-model control establishes that even with no capability gap, independent re-extraction from identical text agrees only 59.3% of the time. Evaluating four model configurations on 96 clinical trial documents, we find that agreement is highly sensitive to how model capability is allocated across the two roles: the GPT-4.1-nano/GPT-4.1-mini configuration achieves 53.0% agreement when the stronger model is the Implementer, but only 14.3% when the roles are reversed. The strongest tested configuration, GPT-5.6-luna/GPT-5.4-mini, improves agreement to 34.4% but remains below the same-model baseline and is dominated by direct contradiction (42.7%). We also detect a critical verification artifact in which a weaker Implementer satisfies the postcondition by invoking the Specifier's predicate directly; after structural auditing, corrected agreement falls from 14.3% to 13.2%. Our results show that verification success alone is insufficient evidence of independent cross-agent agreement, and that model capability does not guarantee agreement when formalizing the same source independently.

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

↑