NeuroNL2LTL: A Neurosymbolic Framework for Natural Language Translation of Linear Temporal Logic

Paapa Kwesi Quansah, Ernest Bonnah

arXiv:2605.22874 · 2026-05-25 공개 · arXiv · PDF

reinforcement-learning robotics formal-verification neurosymbolic autonomous-vehicles specification-generation linear-temporal-logic aerospace

Abstract

Effectively translating between natural language (NL) and formal logics like Linear Temporal Logic (LTL) requires expertise that limits formal verification's reach in safety-critical development. Template-based approaches sacrifice expressiveness for reliability; neural methods achieve fluency but provide no correctness guarantees. We present NeuroNL2LTL, a neurosymbolic architecture unifying learned translation with formal verification. NeuroNL2LTL routes translation through an intermediate representation whose mapping to LTL is structure-preserving by construction. Generated specifications undergo satisfiability and non-triviality checking; a minimal-edit repair mechanism corrects near-miss outputs before they reach downstream tools. The central innovation is verifier-in-the-loop training: verification outcomes serve as reward signals for reinforcement learning, producing neural components that optimize directly for formal correctness. On 200,000+ requirements spanning aerospace, robotics, autonomous vehicles, and ten additional domains, NeuroNL2LTL achieves 28\% semantic equivalence with reference specifications while ensuring 86\% of outputs are verified satisfiable. The system also generates contextually grounded explanations from LTL, enabling domain experts to validate specifications without specialized training. This work demonstrates that formal verification can function as both training objective and runtime filter for neural specification systems, allowing us to build neural-based tools whose reliability derives from logical guarantees rather than statistical confidence.

한국어 요약

한 줄 요약

**[NL→LTL / Neurosymbolic]** NeuroNL2LTL이 자연어→LTL 변환을 verifier-in-the-loop RL로 학습 — structure-preserving 중간표현·SAT/non-triviality 검사·minimal-edit repair로 200,000+ 요구사항에서 28% semantic equivalence·86% verified satisfiable.

핵심 기여도

핵심 아이디어

자연어→LTL 변환의 신뢰성·유창성 trade-off는 formal verification을 학습 objective와 runtime filter로 동시 활용하는 neurosymbolic 디자인으로 해소 가능하며, structure-preserving 중간표현·minimal-edit repair·verifier-in-the-loop RL이 핵심 메커니즘이다.

기술적 접근법

주요 결과

의의 및 한계

**의의**: Formal verification을 training·runtime 양쪽 활용하는 neurosymbolic 패러다임, 200,000+ requirement 대규모 검증, 도메인 전문가용 설명 생성으로 채택 장벽 낮춤, 안전 critical 개발의 reach 확대. **한계**: 28% semantic equivalence는 still 낮음(개선 여지), LTL에 한정·다른 formal logic(CTL·µ-calculus 등) 일반화 별도, minimal-edit repair의 부적합 case 존재.

실용적 활용