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

当正确性反馈抹去证据:Verus中的阶段分离完备性审计

When Correctness Feedback Erases Evidence: Phase-Separated Completeness Auditing in Verus

Adarsh Agrawal

AI总结:

该研究针对Verus/Rust工作流程,发现正确性反馈会抑制规范完备性审计的证据,提出阶段分离执行方法,其认证见证产率更高,能实现更优的规范修复效果。

摘要:

正确性反馈会抑制规范完备性审计旨在发现的证据:那些满足书面契约但违反预期行为的程序。我们在四个模型族的12项Verus/Rust任务上,在匹配的调用预算下展示了这种目标反转。独立无反馈发现的认证见证产量是IntentShield的纠正反馈循环的两倍以上(59.0%对27.1%)。格式匹配的迭代控制将这一差距的较大部分归因于反馈内容,而非独立重启。该优势在每个模型族中均存在,且在解析器修复后依然成立。一项单独的阶段分离执行在不重复使用响应的情况下达到了总产率;大多数认证见证也在保留的案例中失败。保留这些见证可实现更强的规范修复:阶段修订契约的实现成功率达81.3%,而IS修订契约为62.5%,直接修订契约紧随其后。两种无反馈见证源的表现均显著优于弱化契约。该效应在可用的Dafny和Lean评估中未重现,为所研究的Verus/Rust工作流程划定了经验边界。完备性审计与正确性修复具有相反的直接目标,应在修复前保留并认证已承认的失败。

英文摘要:

Correctness feedback suppresses the very evidence that specification-completeness auditing is designed to uncover: programs that satisfy a written contract but violate intended behavior. We demonstrate this objective reversal on 12 Verus/Rust tasks across four model families under matched call budgets. Independent no-feedback discovery more than doubles certified-witness yield relative to IntentShield's corrective-feedback loop (59.0% versus 27.1%). A format-matched iterative control places the larger share of this gap in feedback content, not independent restarts. The advantage holds in every model family and survives parser repair. A separate phase-separated execution matches the aggregate yield without reusing responses; most certified witnesses also fail held-out cases. Preserving these witnesses delivers stronger specification repair: Phase-Revised contracts achieve 81.3% implementation success, versus 62.5% for IS-Revised, with Direct-Revised close behind. Both no-feedback witness sources substantially outperform weakened contracts. The effect does not reproduce in the available Dafny and Lean evaluations, establishing an empirical boundary around the studied Verus/Rust workflow. Completeness auditing and correctness repair have opposing immediate objectives. Preserve and certify the admitted failure before repairing it.

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

↑