BAGEL: Bootstrapping Agents by Guiding Exploration with Language

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Murty, Shikhar, Manning, Christopher, Shaw, Peter, Joshi, Mandar, Lee, Kenton
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909219599417344
author Murty, Shikhar
Manning, Christopher
Shaw, Peter
Joshi, Mandar
Lee, Kenton
author_facet Murty, Shikhar
Manning, Christopher
Shaw, Peter
Joshi, Mandar
Lee, Kenton
contents Following natural language instructions by executing actions in digital environments (e.g. web-browsers and REST APIs) is a challenging task for language model (LM) agents. Unfortunately, LM agents often fail to generalize to new environments without human demonstrations. This work presents BAGEL, a method for bootstrapping LM agents without human supervision. BAGEL converts a seed set of randomly explored trajectories or synthetic instructions, into demonstrations, via round-trips between two noisy LM components: an LM labeler which converts a trajectory into a synthetic instruction, and a zero-shot LM agent which maps the synthetic instruction into a refined trajectory. By performing these round-trips iteratively, BAGEL quickly converts the initial distribution of trajectories towards those that are well-described by natural language. We use BAGEL demonstrations to adapt a zero shot LM agent at test time via in-context learning over retrieved demonstrations, and find improvements of over 2-13% absolute on ToolQA and MiniWob++, with up to 13x reduction in execution failures.
format Preprint
id arxiv_https___arxiv_org_abs_2403_08140
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle BAGEL: Bootstrapping Agents by Guiding Exploration with Language
Murty, Shikhar
Manning, Christopher
Shaw, Peter
Joshi, Mandar
Lee, Kenton
Computation and Language
Following natural language instructions by executing actions in digital environments (e.g. web-browsers and REST APIs) is a challenging task for language model (LM) agents. Unfortunately, LM agents often fail to generalize to new environments without human demonstrations. This work presents BAGEL, a method for bootstrapping LM agents without human supervision. BAGEL converts a seed set of randomly explored trajectories or synthetic instructions, into demonstrations, via round-trips between two noisy LM components: an LM labeler which converts a trajectory into a synthetic instruction, and a zero-shot LM agent which maps the synthetic instruction into a refined trajectory. By performing these round-trips iteratively, BAGEL quickly converts the initial distribution of trajectories towards those that are well-described by natural language. We use BAGEL demonstrations to adapt a zero shot LM agent at test time via in-context learning over retrieved demonstrations, and find improvements of over 2-13% absolute on ToolQA and MiniWob++, with up to 13x reduction in execution failures.
title BAGEL: Bootstrapping Agents by Guiding Exploration with Language
topic Computation and Language
url https://arxiv.org/abs/2403.08140