Skip to content

Efficient Natural Language to Temporal Logic Translation for Real-Time Physical AI

arXiv Robotics — research abstracts1Oliver Sch\"on, Adrien Banse, John Lygeros, Lars Lindemann

This paper introduces a System-One model for translating natural language instructions into Linear Temporal Logic (LTL) formulas. By decomposing the translation task into answering predefined questions, the method avoids general text generation, achieving accuracy comparable to local LLMs while reducing runtime and energy consumption by up to one order of magnitude on three benchmarks. The approach generalizes to unseen atomic propositions and temporal patterns, offering an efficient solution for resource-constrained robotic deployments.

arXiv:2611.27489v1 Announce Type: cross Abstract: Robots can be controlled to perform tasks with guaranteed correctness when the task instructions are stated in a formal language. Large language models (LLMs) have been widely used to allow users to provide such instructions in natural language (NL), by translating NL into formal language. When deploying such translators on a robot, however, we face limited computing and energy resources, while offloading computation or data to the cloud may be infeasible or undesirable. Yet an LLM is a general-purpose text generator, whereas a formula in a fixed formal language fragment follows a well-defined syntax. We therefore ask whether text generation is needed at all. For the formal language of linear temporal logic (LTL), we show that this translation can instead be broken down into answering a set of questions with pre-defined answers. We then construct a System-One model, a recent class of NL-based classifier, to provide such answers and enable us to translate a natural language instruction into an LTL instruction. On three benchmarks, our translator matches or exceeds the accuracy of the best local LLMs available, at up to one order of magnitude lower runtime and energy consumption. We show that it generalizes to unseen atomic propositions and temporal patterns.

Timezone · UTC

Article dates follow your selected timezone. Briefing editions use Hong Kong time (UTC+8).