paper-with-me

홈 › Papers

Automaton-Based Representations of Task Knowledge from Generative Language Models

2022-12-04 · Yunhao Yang, Jean-Raphaël Gaglione, Cyrus Neary, Ufuk Topcu

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).

📄 PDF Abstract BibTeX arXiv:2212.01944

Code (0)

등록된 구현이 없습니다.

Tasks

Decision MakingSequential Decision Making

Methods 이 논문이 사용한 방법론

GLM GLM is a bilingual (English and Chinese) pre-trained transformer-based language model that follow the traditional architecture of decoder-only autoregressive language…

Similar Papers 제목 키워드 기반

Knowledge extraction from the learning of sequences in a long short term memory (LSTM) architecture

2019-12-06 · Ikram Chraibi Kaadoud, Nicolas P. Rougier, Frédéric Alexandre

We introduce a general method to extract knowledge from a recurrent neural network (Long Short Term Memory) that has learnt to detect if a given input sequence is valid or not, according to an unknown generative automato…

Clusteringvalid

Using Large Language Models to Automate and Expedite Reinforcement Learning with Reward Machine

2024-02-11 · Shayan Meshkat Alsadat, Jean-Raphael Gaglione, Daniel Neider, Ufuk Topcu 외

We present LARL-RM (Large language model-generated Automaton for Reinforcement Learning with Reward Machine) algorithm in order to encode high-level knowledge into reinforcement learning using automaton to expedite the r…

Language ModelingLanguage ModellingLarge Language ModelPrompt Engineering+2

Procedural Adherence and Interpretability Through Neuro-Symbolic Generative Agents

2024-02-24 · Raven Rothkopf, Hannah Tongxin Zeng, Mark Santolucito

The surge in popularity of large language models (LLMs) has opened doors for new approaches to the creation of interactive agents. However, managing and interpreting the temporal behavior of such agents over the course o…

Formal LogicProgram Synthesis

Ambiguity Hierarchy of Regular Infinite Tree Languages

2020-09-07 · Alexander Rabinovich, Doron Tiferet

An automaton is unambiguous if for every input it has at most one accepting computation. An automaton is k-ambiguous (for k > 0) if for every input it has at most k accepting computations. An automaton is boundedly ambig…

Regular omega-Languages with an Informative Right Congruence

2018-09-10 · Dana Angluin, Dana Fisman

A regular language is almost fully characterized by its right congruence relation. Indeed, a regular language can always be recognized by a DFA isomorphic to the automaton corresponding to its right congruence, hencefort…