mlsanityData to 24 Nov 2026

Repairing LLM-Generated Specifications with Deterministic Diagnosis

arXiv 2610.22568 ↗Submitted 15 Oct 2026cs.AI cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 30 of its 57 references that are in the map. Submitted 15 Oct 2026.

Builds on

30 of 57 references.

References · 30

  1. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,799
  2. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 1,170
  3. 2023Teaching Large Language Models to Self-Debugcited by 1,049
  4. 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 855
  5. 2023LLM+P: Empowering Large Language Models with Optimal Planning Proficiencycited by 536
  6. 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoningcited by 421
  7. 2022PlanBench: An Extensible Benchmark for Evaluating Large Language Models on Planning and Reasoning about Changecited by 411
  8. 2024When Can LLMs Actually Correct Their Own Mistakes? A Critical Survey of Self-Correction of LLMscited by 282
  9. 2025ZebraLogic: On the Scaling Limits of LLMs for Logical Reasoningcited by 226
  10. 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 222
  11. 2023Leveraging Pre-trained Large Language Models to Construct and Utilize World Models for Model-based Task Planningcited by 221
  12. 2023LINC: A Neurosymbolic Approach for Logical Reasoning by Combining Language Models with First-Order Logic Proverscited by 186
18 more
  1. 2024On the Self-Verification Limitations of Large Language Models on Reasoning and Planning Taskscited by 159
  2. 2023SatLM: Satisfiability-Aided Language Models Using Declarative Promptingcited by 116
  3. 2024Planning Anything with Rigor: General-Purpose Zero-Shot Planning with LLM-based Formalized Programmingcited by 40
  4. 2025Large Language Models Meet Symbolic Provers for Logical Reasoning Evaluationcited by 39
  5. 2024Planetarium: A Rigorous Benchmark for Translating Text to Structured Planning Languagescited by 36
  6. 2024On the Limit of Language Models as Planning Formalizerscited by 22
  7. 2024Counterexample Guided Program Repair Using Zero-Shot Learning and MaxSAT-based Fault Localizationcited by 11
  8. 2026ReLoop: Structured Modeling and Behavioral Verification for Reliable LLM-Based Optimizationcited by 11
  9. 2025Text2Zinc: A Cross-Domain Dataset for Modeling Optimization and Satisfaction Problems in MiniZinccited by 8
  10. 2026OptiRepair: Closed-Loop Diagnosis and Repair of Supply Chain Optimization Models with LLM Agentscited by 7
  11. 2025End-to-end PDDL Planning with Hardcoded and Dynamic Agentscited by 6
  12. 2026Fixing FOLIO and MALLS: Verified Annotations and an LLM-assisted Framework to Focus Human Relabelingcited by 6
  13. 2025DCP-Bench-Open: Evaluating LLMs for Constraint Modelling of Discrete Combinatorial Problemscited by 5
  14. 2025Gala: Global LLM Agents for Text-to-Model Translationcited by 3
  15. 2026CP-SynC: Multi-Agent Zero-Shot Constraint Modeling in MiniZinc with Synthesized Checkerscited by 3
  16. 2026Large Language Models as Optimizers: A Survey of Direct vs. Tool-Augmented Approaches and Their Performance Frontierscited by 3
  17. 2026Agentified Assessment of Logical Reasoning Agentscited by 2
  18. 2026Draft-and-Prune: Improving the Reliability of Auto-formalization for Logical Reasoningcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025A Reality Check of Language Models as Formalizers on Constraint Satisfaction Problems
  2. 2026ReFlect: An Effective Harness System for Complex Long-Horizon LLM Reasoning
  3. 2026Beyond Surface Forms: Symbolic Edits as a Test for Logical Reasoning with LLMs
  4. 2026LGMT: A Tool for Testing the Logical Reasoning Reliability of LLMs
  5. 2025Can LLMs Reason About Program Semantics? A Comprehensive Evaluation of LLMs on Formal Specification Inference
  6. 2025LLMSR@XLLM25: An Empirical Study of LLM for Structural Reasoning
  7. 2024A Closer Look at Logical Reasoning with LLMs: The Choice of Tool Matters
  8. 2026VERGE: Formal Refinement and Guidance Engine for Verifiable LLM Reasoning