nl2spec: Interactively Translating Unstructured Natural Language to Temporal Logics with Large Language Models
Not on the map. Why?
Abstract (arXiv)
A rigorous formalization of desired system requirements is indispensable when performing any verification task. This often limits the application of verification techniques, as writing formal specifications is an error-prone and time-consuming manual task. To facilitate this, we present nl2spec, a framework for applying Large Language Models (LLMs) to derive formal specifications (in temporal logics) from unstructured natural language. In particular, we introduce a new methodology to detect and resolve the inherent ambiguity of system requirements in natural language: we utilize LLMs to map subformulas of the formalization back to the corresponding natural language fragments of the input. Users iteratively add, delete, and edit these sub-translations to amend erroneous formalizations, which is easier than manually redrafting the entire formalization. The framework is agnostic to specific application domains and can be extended to similar specification languages and new neural models. We perform a user study to obtain a challenging dataset, which we use to run experiments on the quality of translations. We provide an open-source implementation, including a web-based frontend.
Key facts. Cited by 57 papers in the map (data through 7 Oct 2026). Builds on 25 of its 52 references that are in the map. First posted on arXiv 8 Mar 2023.
Builds on
25 of 52 references.
References · 25
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
13 more
- 2022STaR: Bootstrapping Reasoning With Reasoningcited by 895
- 2021Datasets: A Community Library for Natural Language Processingcited by 526
- 2022Autoformalization with Large Language Modelscited by 252
- 2023The BigScience ROOTS Corpus: A 1.6TB Composite Multilingual Datasetcited by 148
- 2018Character-Level Language Modeling with Deeper Self-Attentioncited by 138
- 2017Rasa: Open Source Language Understanding and Dialogue Managementcited by 67
- 2020Teaching Temporal Logics to Neural Networkscited by 51
- 2022Formal Specifications from Natural Languagecited by 33
- 2020Learning a natural-language to LTL executable semantic parser for grounded roboticscited by 22
- 2021DeepSTL -- From English Requirements to Signal Temporal Logiccited by 22
- 2021Neural Circuit Synthesis from Specification Patternscited by 17
- 2023Iterative Circuit Repair Against Formal Specificationscited by 9
- 2021Generating Symbolic Reasoning Problems with Transformer GANscited by 5
Built on by
Citing papers per year: 2023: 5; 2024: 11; 2025: 20; 2026: 21.
57 papers.
Sort:
By area:
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
- 2024Formal Mathematical Reasoning: A New Frontier in AIcited by 80
- 2024Autoformalizing Euclidean Geometrycited by 27
- 2023Conformal Temporal Logic Planning using Large Language Modelscited by 21
- 2025VeriSafe Agent: Safeguarding Mobile GUI Agent via Logic-based Action Verificationcited by 20
- 2024LLM4SecHW: Leveraging Domain Specific Large Language Model for Hardware Debuggingcited by 18
- 2024Verifiably Following Complex Robot Instructions with Foundation Modelscited by 15
- 2025VeriCoder: Enhancing LLM-Based RTL Code Generation through Functional Correctness Validationcited by 11
- 2025We'll Fix it in Post: Improving Text-to-Video Generation with Neuro-Symbolic Feedbackcited by 9
- 2025ConformalNL2LTL: Translating Natural Language Instructions into Temporal Logic Formulas with Conformal Correctness Guaranteescited by 9
- 2024Guiding LLM Temporal Logic Generation with Explicit Separation of Data and Controlcited by 8
- 2026Agentic Trading: When LLM Agents Meet Financial Marketscited by 7
38 more
- 2025HybridProver: Augmenting Theorem Proving with LLM-Driven Proof Synthesis and Refinementcited by 6
- 2025Grammar-Forced Translation of Natural Language to Temporal Logic using LLMscited by 6
- 2023Co-audit: tools to help humans double-check AI-generated contentcited by 5
- 2024Towards Logically Sound Natural Language Reasoning with Logic-Enhanced Language Model Agentscited by 5
- 2024Generative Agents for Multi-Agent Autoformalization of Interaction Scenarioscited by 5
- 2025LogiDebrief: A Signal-Temporal Logic based Automated Debriefing Approach with Large Language Models Integrationcited by 5
- 2025Hybrid-NL2SVA: Integrating RAG and Finetuning for LLM-based NL2SVAcited by 5
- 2025QuArch: A Question-Answering Dataset for AI Agents in Computer Architecturecited by 4
- 2025Verifiable Natural Language to Linear Temporal Logic Translation: A Benchmark Dataset and Evaluation Suitecited by 4
- 2025QuadSentinel: Sequent Safety for Machine-Checkable Control in Multi-agent Systemscited by 4
- 2023Trusta: Reasoning about Assurance Cases with Formal Methods and Large Language Modelscited by 3
- 2024NeuroSynt: A Neuro-symbolic Portfolio Solver for Reactive Synthesiscited by 3
- 2024CoT-TL: Low-Resource Temporal Knowledge Representation of Planning Instructions Using Chain-of-Thought Reasoningcited by 3
- 2025PAT-Agent: Autoformalization for Model Checkingcited by 3
- 2025Formalising Software Requirements using Large Language Modelscited by 2
- 2025Can LLMs Generate User Stories and Assess Their Quality?cited by 2
- 2025Synthesizing Precise Protocol Specs from Natural Language for Effective Test Generationcited by 2
- 2023Towards Auto-Modeling of Formal Verification for NextG Protocols: A Multimodal cross- and self-attention Large Language Model Approachcited by 1
- 2025Bridging Logic and Learning: Decoding Temporal Logic Embeddings via Transformerscited by 1
- 2025Bounded PCTL Model Checking of Large Language Model Outputscited by 1
- 2025Verifying Memoryless Sequential Decision-making of Large Language Modelscited by 1
- 2026Structural-Ambiguity-Aware Translation from Natural Language to Signal Temporal Logiccited by 1
- 2026Intent-aligned Formal Specification Synthesis via Traceable Refinementcited by 1
- 2026ReasonSTL: Bridging Natural Language and Signal Temporal Logic via Tool-Augmented Process-Rewarded Learningcited by 1
- 2026SCP-NL2TL: Selective Conformal Prediction with Semantic Verification for Natural Language to Temporal Logic Specificationscited by 1
- 2024Nl2Hltl2Plan: Scaling Up Natural Language Understanding for Multi-Robots Through Hierarchical Temporal Logic Task Representationcited by 0
- 2024Robot Tasks with Fuzzy Time Requirements from Natural Language Instructionscited by 0
- 2025AutoICE: Automatically Synthesizing Verifiable C Code via LLM-driven Evolutioncited by 0
- 2025GinSign: Grounding Natural Language Into System Signatures for Temporal Logic Translationcited by 0
- 2026Exploring Plan Space through Conversation: An Agentic Framework for LLM-Mediated Explanations in Planningcited by 0
- 2026Talking with Verifiers: Automatic Specification Generation for Neural Network Verificationcited by 0
- 2026LTLGuard: Formalizing LTL Specifications with Compact Language Models and Lightweight Symbolic Reasoningcited by 0
- 2026Evaluating the Formal Reasoning Capabilities of Large Language Models through Chomsky Hierarchycited by 0
- 2026Towards an Agentic LLM-based Approach to Requirement Formalization from Unstructured Specificationscited by 0
- 2026Coherency through formalisations of Structured Natural Language, A case study on FRETishcited by 0
- 2026Natural Synthesis: Outperforming Reactive Synthesis Tools with Large Reasoning Modelscited by 0
- 2026NeuroNL2LTL: A Neurosymbolic Framework for Natural Language Translation of Linear Temporal Logiccited by 0
- 2026Translating Natural Language to Strategic Temporal Specifications via LLMscited by 0
50 most cited of 57 All 57 (JSON)
- 2026Self-Spec Verifiable Code Generation30 Sep 2026
- 2026Jaxolotl: A Unified High-Performance Benchmark Suite for LTL-Based Multi-Task RL29 Sep 2026
- 2026Feedback Makes Perfect: A Closed-Loop Framework for NL-to-STL Translation27 Sep 2026
- 2026Automated Synthesis of Cloud Emulators24 Aug 2026
- 2026Natural-Language Workflows Are Not Software Yet: Artifact-Driven Compilation for Reliable Agent Execution21 Aug 2026
- 2026SCP-NL2TL: Selective Conformal Prediction with Semantic Verification for Natural Language to Temporal Logic Specifications5 Aug 2026
- 2026Specula: Scaling formal specifications for autonomous model checking of system code28 Jul 2026
- 2026Faithful Autoformalization of Natural Language Assertions14 Jul 2026
- 2026Translating Natural Language to Strategic Temporal Specifications via LLMs29 Jun 2026
- 2026NeuroNL2LTL: A Neurosymbolic Framework for Natural Language Translation of Linear Temporal Logic20 May 2026
- 2026Agentic Trading: When LLM Agents Meet Financial Markets19 May 2026
- 2026Natural Synthesis: Outperforming Reactive Synthesis Tools with Large Reasoning Models14 May 2026
38 more
- 2026Coherency through formalisations of Structured Natural Language, A case study on FRETish11 May 2026
- 2026ReasonSTL: Bridging Natural Language and Signal Temporal Logic via Tool-Augmented Process-Rewarded Learning7 May 2026
- 2026Towards an Agentic LLM-based Approach to Requirement Formalization from Unstructured Specifications20 Apr 2026
- 2026Intent-aligned Formal Specification Synthesis via Traceable Refinement12 Apr 2026
- 2026Evaluating the Formal Reasoning Capabilities of Large Language Models through Chomsky Hierarchy3 Apr 2026
- 2026Structural-Ambiguity-Aware Translation from Natural Language to Signal Temporal Logic30 Mar 2026
- 2026LTLGuard: Formalizing LTL Specifications with Compact Language Models and Lightweight Symbolic Reasoning5 Mar 2026
- 2026Exploring Plan Space through Conversation: An Agentic Framework for LLM-Mediated Explanations in Planning2 Mar 2026
- 2026Talking with Verifiers: Automatic Specification Generation for Neural Network Verification13 Feb 2026
- 2025Grammar-Forced Translation of Natural Language to Temporal Logic using LLMs18 Dec 2025
- 2025GinSign: Grounding Natural Language Into System Signatures for Temporal Logic Translation18 Dec 2025
- 2025QuadSentinel: Sequent Safety for Machine-Checkable Control in Multi-agent Systems18 Dec 2025
- 2025AutoICE: Automatically Synthesizing Verifiable C Code via LLM-driven Evolution8 Dec 2025
- 2025Synthesizing Precise Protocol Specs from Natural Language for Effective Test Generation22 Nov 2025
- 2025Verifying Memoryless Sequential Decision-making of Large Language Models8 Oct 2025
- 2025PAT-Agent: Autoformalization for Model Checking28 Sep 2025
- 2025Bounded PCTL Model Checking of Large Language Model Outputs23 Sep 2025
- 2025Can LLMs Generate User Stories and Assess Their Quality?20 Jul 2025
- 2025Bridging Logic and Learning: Decoding Temporal Logic Embeddings via Transformers10 Jul 2025
- 2025Verifiable Natural Language to Linear Temporal Logic Translation: A Benchmark Dataset and Evaluation Suite1 Jul 2025
- 2025Hybrid-NL2SVA: Integrating RAG and Finetuning for LLM-based NL2SVA12 Jun 2025
- 2025Formalising Software Requirements using Large Language Models12 Jun 2025
- 2025HybridProver: Augmenting Theorem Proving with LLM-Driven Proof Synthesis and Refinement21 May 2025
- 2025LogiDebrief: A Signal-Temporal Logic based Automated Debriefing Approach with Large Language Models Integration6 May 2025
- 2025We'll Fix it in Post: Improving Text-to-Video Generation with Neuro-Symbolic Feedback24 Apr 2025
- 2025ConformalNL2LTL: Translating Natural Language Instructions into Temporal Logic Formulas with Conformal Correctness Guarantees22 Apr 2025
- 2025VeriCoder: Enhancing LLM-Based RTL Code Generation through Functional Correctness Validation22 Apr 2025
- 2025VeriSafe Agent: Safeguarding Mobile GUI Agent via Logic-based Action Verification24 Mar 2025
- 2025QuArch: A Question-Answering Dataset for AI Agents in Computer Architecture3 Jan 2025
- 2024Formal Mathematical Reasoning: A New Frontier in AI20 Dec 2024
- 2024Generative Agents for Multi-Agent Autoformalization of Interaction Scenarios11 Dec 2024
- 2024Robot Tasks with Fuzzy Time Requirements from Natural Language Instructions14 Nov 2024
- 2024CoT-TL: Low-Resource Temporal Knowledge Representation of Planning Instructions Using Chain-of-Thought Reasoning21 Oct 2024
- 2024Towards Logically Sound Natural Language Reasoning with Logic-Enhanced Language Model Agents28 Aug 2024
- 2024Nl2Hltl2Plan: Scaling Up Natural Language Understanding for Multi-Robots Through Hierarchical Temporal Logic Task Representation15 Aug 2024
- 2024Guiding LLM Temporal Logic Generation with Explicit Separation of Data and Control11 Jun 2024
- 2024Autoformalizing Euclidean Geometry27 May 2024
- 2024Verifiably Following Complex Robot Instructions with Foundation Models18 Feb 2024
50 newest of 57 All 57 (JSON)
- 2025VeriSafe Agent: Safeguarding Mobile GUI Agent via Logic-based Action Verificationcited by 20
- 2026Agentic Trading: When LLM Agents Meet Financial Marketscited by 7
- 2024Generative Agents for Multi-Agent Autoformalization of Interaction Scenarioscited by 5
- 2025QuArch: A Question-Answering Dataset for AI Agents in Computer Architecturecited by 4
- 2025QuadSentinel: Sequent Safety for Machine-Checkable Control in Multi-agent Systemscited by 4
- 2025PAT-Agent: Autoformalization for Model Checkingcited by 3
- 2026Exploring Plan Space through Conversation: An Agentic Framework for LLM-Mediated Explanations in Planningcited by 0
- 2026Towards an Agentic LLM-based Approach to Requirement Formalization from Unstructured Specificationscited by 0
- 2026Natural-Language Workflows Are Not Software Yet: Artifact-Driven Compilation for Reliable Agent Executioncited by 0
- 2026Natural-Language Workflows Are Not Software Yet: Artifact-Driven Compilation for Reliable Agent Execution21 Aug 2026
- 2026Agentic Trading: When LLM Agents Meet Financial Markets19 May 2026
- 2026Towards an Agentic LLM-based Approach to Requirement Formalization from Unstructured Specifications20 Apr 2026
- 2026Exploring Plan Space through Conversation: An Agentic Framework for LLM-Mediated Explanations in Planning2 Mar 2026
- 2025QuadSentinel: Sequent Safety for Machine-Checkable Control in Multi-agent Systems18 Dec 2025
- 2025PAT-Agent: Autoformalization for Model Checking28 Sep 2025
- 2025VeriSafe Agent: Safeguarding Mobile GUI Agent via Logic-based Action Verification24 Mar 2025
- 2025QuArch: A Question-Answering Dataset for AI Agents in Computer Architecture3 Jan 2025
- 2024Generative Agents for Multi-Agent Autoformalization of Interaction Scenarios11 Dec 2024
- 2024Formal Mathematical Reasoning: A New Frontier in AIcited by 80
- 2024Towards Logically Sound Natural Language Reasoning with Logic-Enhanced Language Model Agentscited by 5
- 2023Trusta: Reasoning about Assurance Cases with Formal Methods and Large Language Modelscited by 3
- 2024CoT-TL: Low-Resource Temporal Knowledge Representation of Planning Instructions Using Chain-of-Thought Reasoningcited by 3
- 2026ReasonSTL: Bridging Natural Language and Signal Temporal Logic via Tool-Augmented Process-Rewarded Learningcited by 1
- 2026LTLGuard: Formalizing LTL Specifications with Compact Language Models and Lightweight Symbolic Reasoningcited by 0
- 2026Evaluating the Formal Reasoning Capabilities of Large Language Models through Chomsky Hierarchycited by 0
- 2026Natural Synthesis: Outperforming Reactive Synthesis Tools with Large Reasoning Modelscited by 0
- 2026Natural Synthesis: Outperforming Reactive Synthesis Tools with Large Reasoning Models14 May 2026
- 2026ReasonSTL: Bridging Natural Language and Signal Temporal Logic via Tool-Augmented Process-Rewarded Learning7 May 2026
- 2026Evaluating the Formal Reasoning Capabilities of Large Language Models through Chomsky Hierarchy3 Apr 2026
- 2026LTLGuard: Formalizing LTL Specifications with Compact Language Models and Lightweight Symbolic Reasoning5 Mar 2026
- 2024Formal Mathematical Reasoning: A New Frontier in AI20 Dec 2024
- 2024CoT-TL: Low-Resource Temporal Knowledge Representation of Planning Instructions Using Chain-of-Thought Reasoning21 Oct 2024
- 2024Towards Logically Sound Natural Language Reasoning with Logic-Enhanced Language Model Agents28 Aug 2024
- 2023Trusta: Reasoning about Assurance Cases with Formal Methods and Large Language Models22 Sep 2023
- 2024Autoformalizing Euclidean Geometrycited by 27
- 2023Conformal Temporal Logic Planning using Large Language Modelscited by 21
- 2024LLM4SecHW: Leveraging Domain Specific Large Language Model for Hardware Debuggingcited by 18
- 2024Verifiably Following Complex Robot Instructions with Foundation Modelscited by 15
- 2025VeriCoder: Enhancing LLM-Based RTL Code Generation through Functional Correctness Validationcited by 11
- 2025We'll Fix it in Post: Improving Text-to-Video Generation with Neuro-Symbolic Feedbackcited by 9
- 2025ConformalNL2LTL: Translating Natural Language Instructions into Temporal Logic Formulas with Conformal Correctness Guaranteescited by 9
- 2024Guiding LLM Temporal Logic Generation with Explicit Separation of Data and Controlcited by 8
- 2025HybridProver: Augmenting Theorem Proving with LLM-Driven Proof Synthesis and Refinementcited by 6
- 2025Grammar-Forced Translation of Natural Language to Temporal Logic using LLMscited by 6
- 2023Co-audit: tools to help humans double-check AI-generated contentcited by 5
- 2025LogiDebrief: A Signal-Temporal Logic based Automated Debriefing Approach with Large Language Models Integrationcited by 5
12 most cited of 38 All 38 (JSON)
- 2026Self-Spec Verifiable Code Generation30 Sep 2026
- 2026Jaxolotl: A Unified High-Performance Benchmark Suite for LTL-Based Multi-Task RL29 Sep 2026
- 2026Feedback Makes Perfect: A Closed-Loop Framework for NL-to-STL Translation27 Sep 2026
- 2026Automated Synthesis of Cloud Emulators24 Aug 2026
- 2026SCP-NL2TL: Selective Conformal Prediction with Semantic Verification for Natural Language to Temporal Logic Specifications5 Aug 2026
- 2026Specula: Scaling formal specifications for autonomous model checking of system code28 Jul 2026
- 2026Faithful Autoformalization of Natural Language Assertions14 Jul 2026
- 2026Translating Natural Language to Strategic Temporal Specifications via LLMs29 Jun 2026
- 2026NeuroNL2LTL: A Neurosymbolic Framework for Natural Language Translation of Linear Temporal Logic20 May 2026
- 2026Coherency through formalisations of Structured Natural Language, A case study on FRETish11 May 2026
- 2026Intent-aligned Formal Specification Synthesis via Traceable Refinement12 Apr 2026
- 2026Structural-Ambiguity-Aware Translation from Natural Language to Signal Temporal Logic30 Mar 2026
12 newest of 38 All 38 (JSON)