potentialpaper

Specat: Assessing and Categorizing Formal Specifications from Natural Language

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:44 UTC · 3fc09ee1ab7b ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "ZU0XeAR7n4"
- }
- ],
- "title": "Specat: Assessing and Categorizing Formal Specifications from Natural Language",
- "authors": [],
- "abstract": "As AI systems generate code at increasing scale, providing strong assurance such as formal verification becomes increasingly important. However, formal verification is only as good as the specification it verifies. In this work, we study formal specification synthesis and\nevaluation, a standalone but equally important problem. We first formulate spec-evaluation in the real-world setting: assessing a synthesized\nformal specification against a brief natural-language(NL) description and a few behavioral examples indicating user intent. We introduce the Spec-Evaluation Methodology, which assesses the\nrelations among an NL description, behavioral examples, a\ncandidate formal specification, and formal test artifacts. It interprets \nverifier or execution outcomes with critic assessments. \nWe further propose SPECAT, an agentic\nworkflow that synthesizes formal specifications and refines them through two\ncomplementary loops. Behavioral-oracle refinement uses user-supplied\nexamples and verifier feedback, while counterexample-guided refinement\nuses an LLM-based Spec Critic to seek description--specification mismatches\nbeyond those examples. Proposed challenges are formally evaluated, while ultimately\nunder-specified or unresolved cases are left for human clarification.\n\n\nWe evaluate SPECAT on 704 benchmark-backend units spanning\nDafny, Verus, Why3, and Frama-C. Rather than returning a specification alone, SPECAT categorizes each candidate with an evidence-backed disposition: \n391 are Endorsed, 77 are Repaired following a machine-supported challenge, 70 retain an\nunrepaired challenge (Defect), and 86 are deferred because the available evidence is Unadjudicated or Inconclusive. The remaining 80 fail\nbehavioral-oracle refinement. Together, these results show that SPECAT turns\nspecification generation into a testable assurance step: it produces not only\na candidate contract, but also machine-grounded evidence and an explicit\ndisposition for that contract.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "323b4f0a-230a-4409-a7d1-2a678d8c86f0"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Specat: Assessing and Categorizing Formal Specifications from Natural Language",
+ "authors": [],
+ "abstract": "As AI systems generate code at increasing scale, providing strong assurance such as formal verification becomes increasingly important. However, formal verification is only as good as the specification it verifies. In this work, we study formal specification synthesis and\nevaluation, a standalone but equally important problem. We first formulate spec-evaluation in the real-world setting: assessing a synthesized\nformal specification against a brief natural-language(NL) description and a few behavioral examples indicating user intent. We introduce the Spec-Evaluation Methodology, which assesses the\nrelations among an NL description, behavioral examples, a\ncandidate formal specification, and formal test artifacts. It interprets \nverifier or execution outcomes with critic assessments. \nWe further propose SPECAT, an agentic\nworkflow that synthesizes formal specifications and refines them through two\ncomplementary loops. Behavioral-oracle refinement uses user-supplied\nexamples and verifier feedback, while counterexample-guided refinement\nuses an LLM-based Spec Critic to seek description--specification mismatches\nbeyond those examples. Proposed challenges are formally evaluated, while ultimately\nunder-specified or unresolved cases are left for human clarification.\n\n\nWe evaluate SPECAT on 704 benchmark-backend units spanning\nDafny, Verus, Why3, and Frama-C. Rather than returning a specification alone, SPECAT categorizes each candidate with an evidence-backed disposition: \n391 are Endorsed, 77 are Repaired following a machine-supported challenge, 70 retain an\nunrepaired challenge (Defect), and 86 are deferred because the available evidence is Unadjudicated or Inconclusive. The remaining 80 fail\nbehavioral-oracle refinement. Together, these results show that SPECAT turns\nspecification generation into a testable assurance step: it produces not only\na candidate contract, but also machine-grounded evidence and an explicit\ndisposition for that contract.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}