NL2LTL – a Python Package for Converting Natural Language (NL) Instructions to Linear Temporal Logic (LTL) Formulas
Open Access
- 26 June 2023
- journal article
- Published by Association for the Advancement of Artificial Intelligence (AAAI) in Proceedings of the AAAI Conference on Artificial Intelligence
- Vol. 37 (13) , 16428-16430
Abstract
This is a demonstration of our newly released Python package NL2LTL which leverages the latest in natural language understanding (NLU) and large language models (LLMs) to translate natural language instructions to linear temporal logic (LTL) formulas. This allows direct translation to formal languages that a reasoning system can use, while at the same time, allowing the end-user to provide inputs in natural language without having to understand any details of an underlying formal language. The package comes with support for a set of default LTL patterns, corresponding to popular DECLARE templates, but is also fully extensible to new formulas and user inputs. The package is open-source and is free to use for the AI community under the MIT license. Open Source: https://github.com/IBM/nl2ltl. Video Link: https://bit.ly/3dHW5b1Keywords
This publication has 10 references indexed in Scilit:
- From Natural Language to Workflows: Towards Emergent Intelligence in Robotic Process Automation2022
- Towards Explainable Formal Methods: From LTL to Natural Language with Neural Machine Translation2022
- AutoML: A survey of the state-of-the-artKnowledge-Based Systems, 2021
- Pure-Past Linear Temporal and Dynamic Logic on Finite Traces2020
- Transition-based Parsing with Stack-Transformers2020
- Collaborative Planning with Encoding of Users' High-Level StrategiesProceedings of the AAAI Conference on Artificial Intelligence, 2017
- On the Disruptive Effectiveness of Automated Planning for LTLf-Based Trace AlignmentProceedings of the AAAI Conference on Artificial Intelligence, 2017
- Provably correct reactive control from natural languageAutonomous Robots, 2014
- Reasoning on LTL on Finite Traces: Insensitivity to InfinitenessProceedings of the AAAI Conference on Artificial Intelligence, 2014
- Using temporal logics to express search control knowledge for planningArtificial Intelligence, 2000