Neurosymbolic Auditing of Natural-Language Software Requirements
Not on the map. Why?
Abstract (arXiv)
Natural-language software requirements are often ambiguous, inconsistent, and underspecified; in safety-critical domains, these defects propagate into formal models that verify the wrong specification and into implementations that ship unsafe behavior. We show that large language models, equipped with an SMT solver, can audit such requirements: translating them into formal logic, detecting ambiguity through stochastic variation in the generated formalization, and exposing inconsistency, vacuousness, and safety violations through solver queries on the resulting specification. We present VERIMED, a neurosymbolic pipeline that operationalizes this idea for medical-device software requirements, and report two findings. First, stochastic variation across independent formalizations is a signal of ambiguity: requirements that admit multiple plausible interpretations produce SMT-inequivalent formalizations, and bidirectional SMT equivalence checking turns this disagreement into a solver-checkable test. Second, the usefulness of symbolic feedback depends on its granularity: in counterexample-guided repair on a hemodialysis question-answering benchmark, concrete SMT counterexamples raise verified accuracy from 55.4% to 98.5%. Over an extensive experimental evaluation on open-source hemodialysis safety requirements, we show that the LLM-based approach in VERIMED successfully reduces ambiguity-sensitive requirements and enables rigorous auditing of software requirements through SMT-based queries.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 16 of its 34 references that are in the map. First posted on arXiv 13 May 2026.
Builds on
16 of 34 references.
References · 16
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 427
- 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 291
- 2022Autoformalization with Large Language Modelscited by 263
- 2024Autoformalize Mathematical Statements by Symbolic Equivalence and Semantic Consistencycited by 41
- 2024HumanEvalComm: Benchmarking the Communication Competence of Code Generation for LLMs and LLM Agentcited by 24
- 2024Unsupervised Evaluation of Code LLMs with Round-Trip Correctnesscited by 23
- 2025ReForm: Reflective Autoformalization with Prospective Bounded Sequence Optimizationcited by 20
- 2025From Informal to Formal -- Incorporating and Evaluating LLMs on Natural Language Requirements to Verifiable Formal Proofscited by 18
- 2023Large Language Models Based Automatic Synthesis of Software Specificationscited by 13
- 2025A Neurosymbolic Approach to Natural Language Formalization and Verificationcited by 9
- 2026Faithful Autoformalization via Roundtrip Verification and Repaircited by 8
- 2025Can Code Language Models Learn Clarification-Seeking Behaviors?cited by 7
4 more
- 2025Supporting Software Formal Verification with Large Language Models: An Experimental Studycited by 6
- 2025VERAFI: Verified Agentic Financial Intelligence through Neurosymbolic Policy Generationcited by 4
- 2025Formalising Software Requirements using Large Language Modelscited by 2
- 2025Multi-agent Self-triage System with Medical Flowchartscited by 2
Built on by
Not cited yet.