Metraipolis › archive › dc_40aaad8258c5

Repairing LLM-Generated Specifications with Deterministic Diagnosis — arXiv:2610.22568

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.22568
License (as archived)
CC0-1.0
Archived
2026-10-19T08:42:09.503Z
SHA-256 of the archived text
793c482bbc164a4dbc4df537a014cc08bbd2336d2c64d233472c750a4602dc02
Stable URL of this page
https://metraipolis.com/documento/dc_40aaad8258c5

How to cite

Repairing LLM-Generated Specifications with Deterministic Diagnosis — arXiv:2610.22568 — arXiv (en), https://arxiv.org/abs/2610.22568 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_40aaad8258c5 (Metraipolis archive dc_40aaad8258c5, sha256 793c482bbc164a4dbc4df537a014cc08bbd2336d2c64d233472c750a4602dc02)
BibTeX
@misc{dc40aaad8258c5,
  title = {Repairing LLM-Generated Specifications with Deterministic Diagnosis — arXiv:2610.22568},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.22568},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_40aaad8258c5; sha256 793c482bbc164a4dbc4df537a014cc08bbd2336d2c64d233472c750a4602dc02},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.22568. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Large language models (LLMs) are increasingly used as formalizers: given a reasoning problem expressed in natural language, they produce a formal specification that a symbolic solver can then solve, with guarantees relative to that specification. Many specifications are runnable yet semantically wrong, encoding incorrect constraints, domains, objectives, predicates, or goals, and solver-error feedback dries up once execution succeeds. Purely LLM-based diagnosis, lacking a formal ground truth, often fails to spot these errors, and its ungrounded critiques cause regressions in 11.8% of initially correct specifications in our experiments. We propose DRAGO, a repair framework that replaces this ungrounded critique with deterministic, formalism-specific diagnosis, and retains a rewrite only when the diagnosed error weight strictly decreases under a reference-free acceptance predicate. Across five benchmarks spanning logical reasoning (SMT-LIB2), constraint programming (MiniZinc), and planning (PDDL), DRAGO cuts regressions by nearly an order of magnitude, to 1.3%, while improving answer accuracy by 12.9 percentage points over zero-shot formalization and 8.7 percentage points over LLM-diagnostic repair, averaged across benchmarks. We also uncover two rendering defects in Planetarium that cause 50% (3,086 instances) of its floor-tile split to be inconsistent with the reference formalizations, and release a corrected split.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Artificial Intelligence (cs.AI) ; Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2610.22568 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-19T08:39:10.017Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).