RAG-Modulo: Solving Sequential Tasks using Experience, Critics, and Language Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Jain, Abhinav, Jermaine, Chris, Unhelkar, Vaibhav
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866929504736247808
author Jain, Abhinav
Jermaine, Chris
Unhelkar, Vaibhav
author_facet Jain, Abhinav
Jermaine, Chris
Unhelkar, Vaibhav
contents Large language models (LLMs) have recently emerged as promising tools for solving challenging robotic tasks, even in the presence of action and observation uncertainties. Recent LLM-based decision-making methods (also referred to as LLM-based agents), when paired with appropriate critics, have demonstrated potential in solving complex, long-horizon tasks with relatively few interactions. However, most existing LLM-based agents lack the ability to retain and learn from past interactions - an essential trait of learning-based robotic systems. We propose RAG-Modulo, a framework that enhances LLM-based agents with a memory of past interactions and incorporates critics to evaluate the agents' decisions. The memory component allows the agent to automatically retrieve and incorporate relevant past experiences as in-context examples, providing context-aware feedback for more informed decision-making. Further by updating its memory, the agent improves its performance over time, thereby exhibiting learning. Through experiments in the challenging BabyAI and AlfWorld domains, we demonstrate significant improvements in task success rates and efficiency, showing that the proposed RAG-Modulo framework outperforms state-of-the-art baselines.
format Preprint
id arxiv_https___arxiv_org_abs_2409_12294
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle RAG-Modulo: Solving Sequential Tasks using Experience, Critics, and Language Models
Jain, Abhinav
Jermaine, Chris
Unhelkar, Vaibhav
Artificial Intelligence
Computation and Language
Machine Learning
Robotics
Large language models (LLMs) have recently emerged as promising tools for solving challenging robotic tasks, even in the presence of action and observation uncertainties. Recent LLM-based decision-making methods (also referred to as LLM-based agents), when paired with appropriate critics, have demonstrated potential in solving complex, long-horizon tasks with relatively few interactions. However, most existing LLM-based agents lack the ability to retain and learn from past interactions - an essential trait of learning-based robotic systems. We propose RAG-Modulo, a framework that enhances LLM-based agents with a memory of past interactions and incorporates critics to evaluate the agents' decisions. The memory component allows the agent to automatically retrieve and incorporate relevant past experiences as in-context examples, providing context-aware feedback for more informed decision-making. Further by updating its memory, the agent improves its performance over time, thereby exhibiting learning. Through experiments in the challenging BabyAI and AlfWorld domains, we demonstrate significant improvements in task success rates and efficiency, showing that the proposed RAG-Modulo framework outperforms state-of-the-art baselines.
title RAG-Modulo: Solving Sequential Tasks using Experience, Critics, and Language Models
topic Artificial Intelligence
Computation and Language
Machine Learning
Robotics
url https://arxiv.org/abs/2409.12294