Automatic Translation of Unstructured Requirements into Linear Temporal Logic through Large Language Models
Not on the map. Why?
Abstract (arXiv)
Automatically translating unstructured natural language requirements into formal specifications remains a challenge in requirements engineering and formal methods, particularly for safety- and mission-critical systems whose verification depends on mathematically precise specifications. This paper evaluates whether contemporary off-the-shelf Large Language Models (LLMs) can help bridge this gap by generating Linear Temporal Logic (LTL) formulas directly from unstructured requirements. The study examines six modern LLMs using a few-shot prompting strategy on a heterogeneous benchmark of 15 structurally varied requirements. Five independent generations were collected for each requirement-model pair, yielding 450 candidate LTL formulas in total. Performance was assessed through manual semantic evaluation, pass@k for k in {1, 3, 5}, and a self-consistency measure capturing syntactic reproducibility across stochastic trials. The results indicate that current general-purpose LLMs can achieve practically significant performance on the unstructured NL-to-LTL task without task-specific fine-tuning. The study also considers understandability for non-experts by pairing generated formulas with model-produced natural language explanations and discussing the complementary use of timeline-based LTL visualization. The findings suggest that modern LLMs are becoming viable front-end assistants for semi-automated formalization workflows.
Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Submitted 6 Aug 2026.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026LTLGuard: Formalizing LTL Specifications with Compact Language Models and Lightweight Symbolic Reasoning
- 2026Towards an Agentic LLM-based Approach to Requirement Formalization from Unstructured Specifications
- 2026Class Model Generation from Requirements using Large Language Models ↗
- 2026Formalizing and validating properties in Asmeta with Large Language Models (Extended Abstract) ↗
- 2025Inference-Time Intervention in Large Language Models for Reliable Requirement Verification
- 2026ClarifySTL: An Interactive LLM Agent Framework for STL Transformation through Requirements Clarification
- 2024LTLBench: Towards Benchmarks for Evaluating Temporal Reasoning in Large Language Models
- 2025ReqInOne: A Large Language Model-Based Agent for Software Requirements Specification Generation