From Words to Actions: Unveiling the Theoretical Underpinnings of LLM-Driven Autonomous Systems

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: He, Jianliang, Chen, Siyu, Zhang, Fengzhuo, Yang, Zhuoran
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913438985355264
author He, Jianliang
Chen, Siyu
Zhang, Fengzhuo
Yang, Zhuoran
author_facet He, Jianliang
Chen, Siyu
Zhang, Fengzhuo
Yang, Zhuoran
contents In this work, from a theoretical lens, we aim to understand why large language model (LLM) empowered agents are able to solve decision-making problems in the physical world. To this end, consider a hierarchical reinforcement learning (RL) model where the LLM Planner and the Actor perform high-level task planning and low-level execution, respectively. Under this model, the LLM Planner navigates a partially observable Markov decision process (POMDP) by iteratively generating language-based subgoals via prompting. Under proper assumptions on the pretraining data, we prove that the pretrained LLM Planner effectively performs Bayesian aggregated imitation learning (BAIL) through in-context learning. Additionally, we highlight the necessity for exploration beyond the subgoals derived from BAIL by proving that naively executing the subgoals returned by LLM leads to a linear regret. As a remedy, we introduce an $ε$-greedy exploration strategy to BAIL, which is proven to incur sublinear regret when the pretraining error is small. Finally, we extend our theoretical framework to include scenarios where the LLM Planner serves as a world model for inferring the transition model of the environment and to multi-agent settings, enabling coordination among multiple Actors.
format Preprint
id arxiv_https___arxiv_org_abs_2405_19883
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle From Words to Actions: Unveiling the Theoretical Underpinnings of LLM-Driven Autonomous Systems
He, Jianliang
Chen, Siyu
Zhang, Fengzhuo
Yang, Zhuoran
Machine Learning
Artificial Intelligence
Computation and Language
In this work, from a theoretical lens, we aim to understand why large language model (LLM) empowered agents are able to solve decision-making problems in the physical world. To this end, consider a hierarchical reinforcement learning (RL) model where the LLM Planner and the Actor perform high-level task planning and low-level execution, respectively. Under this model, the LLM Planner navigates a partially observable Markov decision process (POMDP) by iteratively generating language-based subgoals via prompting. Under proper assumptions on the pretraining data, we prove that the pretrained LLM Planner effectively performs Bayesian aggregated imitation learning (BAIL) through in-context learning. Additionally, we highlight the necessity for exploration beyond the subgoals derived from BAIL by proving that naively executing the subgoals returned by LLM leads to a linear regret. As a remedy, we introduce an $ε$-greedy exploration strategy to BAIL, which is proven to incur sublinear regret when the pretraining error is small. Finally, we extend our theoretical framework to include scenarios where the LLM Planner serves as a world model for inferring the transition model of the environment and to multi-agent settings, enabling coordination among multiple Actors.
title From Words to Actions: Unveiling the Theoretical Underpinnings of LLM-Driven Autonomous Systems
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2405.19883