mlsanityData to 7 Oct 2026

Automaton-Based Representations of Task Knowledge from Generative Language Models

arXiv 2212.01944 ↗First posted 4 Dec 2022cs.FL cs.CLcited by 12

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  3. 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,302
  4. 2019Language Models as Knowledge Bases?cited by 1,922
  5. 2022Inner Monologue: Embodied Reasoning through Planning with Language Modelscited by 1,057
  6. 2022Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agentscited by 1,029
  7. 2022LM-Nav: Robotic Navigation with Large Pre-Trained Models of Language, Vision, and Actioncited by 435
  8. 2021Symbolic Knowledge Distillation: from General Language Models to Commonsense Modelscited by 270
  9. 2022Autoformalization with Large Language Modelscited by 252
  10. 2019Commonsense Knowledge Mining from Pretrained Modelscited by 189
  11. 2019Pretrained Encyclopedia: Weakly Supervised Knowledge-Pretrained Language Modelcited by 102
  12. 2019Joint Inference of Reward Machines and Policies for Reinforcement Learningcited by 56
6 more
  1. 2021Modular Deep Reinforcement Learning for Continuous Motion Planning with Temporal Logiccited by 38
  2. 2020Reward Machines for Cooperative Multi-Agent Reinforcement Learningcited by 35
  3. 2021Core Challenges in Embodied Vision-Language Planningcited by 30
  4. 2022Neuro-Symbolic Procedural Planning with Commonsense Promptingcited by 28
  5. 2020Reinforcement Learning Based Temporal Logic Control with Maximum Probabilistic Satisfactioncited by 22
  6. 2022Acquiring and Modelling Abstract Commonsense Knowledge via Conceptualizationcited by 17

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 5; 2024: 5; 2025: 1; 2026: 1.

12 papers.