NeuroSTAR: Automata-guided Neuro-symbolic Specification Formalization

Joy Saha, Trey Woodlief, Sebastian Elbaum, Matthew B. DwyerarXiv 2026

TL;DR

NeuroSTAR is a neuro-symbolic framework that translates natural language requirements into precise Linear Temporal Logic ($LTL_f$) formulas. By combining the creative generation of multiple LLMs with the rigorous semantic checking of symbolic automata, it achieves a new state-of-the-art in formal specification, even handling complex real-world driving laws where previous methods fail.

What Problem Does This Paper Address?

Formal verification—the process of mathematically proving a system works as intended—is a cornerstone of safety-critical engineering (think autonomous cars or medical devices). However, formal verification requires specifications written in precise logic, like Linear Temporal Logic (LTL).

Most requirements are written by humans in natural language (NL), which is notoriously messy, ambiguous, and nuanced. While Large Language Models (LLMs) have shown promise in translating NL to logic, they often struggle with semantic precision. They might produce a formula that looks right but fails to capture critical temporal constraints (e.g., confusing "A must happen before B" with "A and B must eventually happen"). Furthermore, existing benchmarks for this task are often too simple or riddled with errors, masking the true difficulty of formalizing real-world requirements.

Methods

The authors introduce NeuroSTAR (Automata-guided Neuro-symbolic Specification Formalization), which moves away from the "single-shot" translation approach. Its workflow consists of three main modules:

  1. Candidate Generation: Instead of relying on one model, NeuroSTAR uses multiple LLM generators (e.g., Gemini and Kimi) at varying temperatures to produce a diverse set of $LTL_f$ candidates.
  2. Automata-Based Differencing: This is the "symbolic" heart of the system. The framework converts candidate formulas into Deterministic Finite Automata (DFAs). It then mathematically identifies "disagreement traces"—specific sequences of events where one candidate formula would pass and another would fail.
  3. Judging and Iterative Refinement: These disagreement traces are presented to an LLM "judge." It’s much easier for an LLM to decide if a specific trace matches a sentence than to write the whole formula from scratch. The judge’s feedback is fed back to the generators to refine the formulas in an iterative loop until they converge on a stable, semantically consistent result.
Fig. 2: NEUROSTAR framework overview.

Datasets

The researchers evaluated NeuroSTAR on two fronts:

  • Standard Benchmarks: They used CONFONL, SYNTHNL, LANGNL, and SPECNL. Crucially, the authors performed a rigorous audit of these datasets, removing contaminated or ambiguous entries to create "Filtered" and "Strict" versions for a fairer evaluation.
  • VALAW (Virginia Driving Law): A new, highly complex dataset based on the Virginia driving code. Unlike the standard benchmarks, which average 9 words per entry, VALAW entries average 273 words and involve complex legal cross-references and multi-agent interactions.
Comparison of syntactic and semantic distances between the simple CONFONL dataset and the complex VALAW driving law dataset.

Key Insights and Ideas

  • Semantic Disagreement as a Signal: The "aha moment" here is using formal methods (automata) to find exactly where LLMs are confused. By generating concrete traces where models disagree, the system provides a precise error signal that text-only methods lack.
  • Judging is Easier than Synthesis: The authors exploit the fact that LLMs are better at localized semantic judgment (looking at a trace) than global synthesis (writing a complex temporal formula).
  • The Benchmark Gap: The paper exposes a massive gap between current academic benchmarks and real-world needs. Real-world specifications (like driving laws) are significantly more linguistically complex and semantically dense than what the community has been using for evaluation.

Key Results

NeuroSTAR sets a new state-of-the-art across the board:

  • Accuracy Boost: On unambiguous benchmarks, it improved performance by 8–18 percentage points over the previous state-of-the-art (ADARULE).
  • Perfect Scores: It achieved 100% accuracy on the strict version of the SYNTHNL dataset.
  • Real-World Utility: On the complex VALAW driving law dataset, NeuroSTAR captured the necessary temporal semantics for 83.9% of the laws reviewed, successfully modeling obligations, exceptions, and road-user interactions.
TABLE I: Results (%) on the filtered and strict datasets.

Limitations and Future Work

The primary limitation identified is the "AP Vocabulary Gap." Formalization relies on a library of Atomic Propositions (APs)—the basic building blocks like is_off_road or ego_stopped. If the library doesn't contain a specific concept mentioned in the text (like "aggressive driving"), the model is forced to collapse complex behaviors into abstract placeholders, losing detail.

Future work will focus on automatically generating and refining these AP libraries to better capture the rich vocabulary of complex domains like law and medicine. Additionally, the authors note that handling continuous thresholds (e.g., "within 50 feet") remains a challenge for standard $LTL_f$.

Summary updated

BibTeX
@misc{saha2026neurostar,
  author = {Joy Saha and Trey Woodlief and Sebastian Elbaum and Matthew B. Dwyer},
  title = {{NeuroSTAR: Automata-guided Neuro-symbolic Specification Formalization}},
  year = {2026},
  eprint = {2609.03161},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.03161},
}
Figure