Automaton-Based Representations of Task Knowledge from Generative Language Models
Not on the map. Why?
Abstract (arXiv)
Automaton-based representations of task knowledge play an important role in control and planning for sequential decision-making problems. However, obtaining the high-level task knowledge required to build such automata is often difficult. Meanwhile, large-scale generative language models (GLMs) can automatically generate relevant task knowledge. However, the textual outputs from GLMs cannot be formally verified or used for sequential decision-making. We propose a novel algorithm named GLM2FSA, which constructs a finite state automaton (FSA) encoding high-level task knowledge from a brief natural-language description of the task goal. GLM2FSA first sends queries to a GLM to extract task knowledge in textual form, and then it builds an FSA to represent this text-based knowledge. The proposed algorithm thus fills the gap between natural-language task descriptions and automaton-based representations, and the constructed FSA can be formally verified against user-defined specifications. We accordingly propose a method to iteratively refine the queries to the GLM based on the outcomes, e.g., counter-examples, from verification. We demonstrate GLM2FSA's ability to build and refine automaton-based representations of everyday tasks (e.g., crossing a road), and also of tasks that require highly-specialized knowledge (e.g., executing secure multi-party computation).
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 18 of its 57 references that are in the map. First posted on arXiv 4 Dec 2022.
Builds on
18 of 57 references.
References · 18
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,302
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2022Inner Monologue: Embodied Reasoning through Planning with Language Modelscited by 1,057
- 2022Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agentscited by 1,029
- 2022LM-Nav: Robotic Navigation with Large Pre-Trained Models of Language, Vision, and Actioncited by 435
- 2021Symbolic Knowledge Distillation: from General Language Models to Commonsense Modelscited by 270
- 2022Autoformalization with Large Language Modelscited by 252
- 2019Commonsense Knowledge Mining from Pretrained Modelscited by 189
- 2019Pretrained Encyclopedia: Weakly Supervised Knowledge-Pretrained Language Modelcited by 102
- 2019Joint Inference of Reward Machines and Policies for Reinforcement Learningcited by 56
6 more
- 2021Modular Deep Reinforcement Learning for Continuous Motion Planning with Temporal Logiccited by 38
- 2020Reward Machines for Cooperative Multi-Agent Reinforcement Learningcited by 35
- 2021Core Challenges in Embodied Vision-Language Planningcited by 30
- 2022Neuro-Symbolic Procedural Planning with Commonsense Promptingcited by 28
- 2020Reinforcement Learning Based Temporal Logic Control with Maximum Probabilistic Satisfactioncited by 22
- 2022Acquiring and Modelling Abstract Commonsense Knowledge via Conceptualizationcited by 17
Built on by
Citing papers per year: 2023: 5; 2024: 5; 2025: 1; 2026: 1.
12 papers.
- 2023LLM+P: Empowering Large Language Models with Optimal Planning Proficiencycited by 496
- 2024Know Where You're Uncertain When Planning with Multimodal Foundation Models: A Formal Frameworkcited by 13
- 2023Fine-Tuning Language Models Using Formal Methods Feedbackcited by 12
- 2023Specification-Driven Video Search via Foundation Models and Formal Verificationcited by 10
- 2024Using Large Language Models to Automate and Expedite Reinforcement Learning with Reward Machinecited by 9
- 2023Multimodal Pretrained Models for Verifiable Sequential Decision-Making: Planning, Grounding, and Perceptioncited by 8
- 2024Foundation Model Sherpas: Guiding Foundation Models through Knowledge and Reasoningcited by 3
- 2024L^*LM: Learning Automata from Examples using Natural Language Oraclescited by 2
- 2024Reasoning, Memorization, and Fine-Tuning Language Models for Non-Cooperative Gamescited by 2
- 2026SafeGen-LLM: Enhancing Safety Generalization in Task Planning for Robotic Systemscited by 2
- 2023On the Planning, Search, and Memorization Capabilities of Large Language Modelscited by 1
- 2025RepV: Safety-Separable Latent Spaces for Scalable Neurosymbolic Plan Verificationcited by 1
- 2026SafeGen-LLM: Enhancing Safety Generalization in Task Planning for Robotic Systems27 Feb 2026
- 2025RepV: Safety-Separable Latent Spaces for Scalable Neurosymbolic Plan Verification30 Oct 2025
- 2024Know Where You're Uncertain When Planning with Multimodal Foundation Models: A Formal Framework3 Nov 2024
- 2024Reasoning, Memorization, and Fine-Tuning Language Models for Non-Cooperative Games18 Oct 2024
- 2024Using Large Language Models to Automate and Expedite Reinforcement Learning with Reward Machine11 Feb 2024
- 2024L^*LM: Learning Automata from Examples using Natural Language Oracles10 Feb 2024
- 2024Foundation Model Sherpas: Guiding Foundation Models through Knowledge and Reasoning2 Feb 2024
- 2023Fine-Tuning Language Models Using Formal Methods Feedback27 Oct 2023
- 2023Specification-Driven Video Search via Foundation Models and Formal Verification18 Sep 2023
- 2023On the Planning, Search, and Memorization Capabilities of Large Language Models5 Sep 2023
- 2023Multimodal Pretrained Models for Verifiable Sequential Decision-Making: Planning, Grounding, and Perception10 Aug 2023
- 2023LLM+P: Empowering Large Language Models with Optimal Planning Proficiency22 Apr 2023