跳到正文
arXiv cs.AI· Priyanath Maji·· 4 小时前AI 评分41

当验证不等于一致:跨智能体 LLM 到 Dafny 形式化的研究

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

AI 导读

一项被 NeurIPS 2026 Workshop 接收的研究提出跨智能体形式化协议,由 Specifier 模型将临床试验标准转为 Dafny 谓词,Implementer 模型编写方法进行验证。

正文 · 原文

View PDF HTML (experimental)

Abstract: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.
Comments: Accepted to the NeurIPS 2026 Workshop on AI for Verifiable Coding
Subjects: Artificial Intelligence (cs.AI)
Cite as: arXiv:2611.07073 [cs.AI]
  (or arXiv:2611.07073v1 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2611.07073

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Priyanath Maji [view email]
[v1] Wed, 4 Nov 2026 19:31:51 UTC (31 KB)

来源:arXiv cs.AI · arxiv.org