arXiv AI
Nov 6

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

The paper introduces a cross‑agent protocol where one large language model (Specifier) translates clinical trial criteria into a Dafny predicate and another model (Implementer) writes an operational method that is checked against that predicate. Experiments on 96 documents show that even with identical text, independent re‑extraction agrees only 59.3% of the time, and agreement drops sharply when the stronger model is assigned to the Implementer role. The study also uncovers a verification artifact where a weaker Implementer satisfies the postcondition by directly invoking the Specifier’s predicate, reducing agreement further after correction.

By Priyanath Maji
arXiv AI
Sep 25

Who Holds the Pen? Let Specifications, Not Agents, Sign Off

The paper argues that large language model agents should not be the sole authority on whether they have satisfied a task. It identifies two gaps—understanding–execution and state–authority—where agents may claim completion without actually meeting the specification. The authors propose SpecHarness, a framework that separates agent proposals from authoritative state by requiring evidence from qualified providers to confirm compliance, and demonstrate its effectiveness on guideline‑following and artifact‑generation tasks.

By Haiqing Li, Xin Ma, Yinhao Wu, Wenliang Zhong, Feng Jiang, Thao M. Dang, Xiao Hu, Hehuan Ma, Yuzhi Guo, Junzhou Huang