Saved in:
Bibliographic Details
Main Authors: Sodhi, Paloma, Branavan, S. R. K., Artzi, Yoav, McDonald, Ryan
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2310.03720
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911982443036672
author Sodhi, Paloma
Branavan, S. R. K.
Artzi, Yoav
McDonald, Ryan
author_facet Sodhi, Paloma
Branavan, S. R. K.
Artzi, Yoav
McDonald, Ryan
contents Performing tasks on the web presents fundamental challenges to large language models (LLMs), including combinatorially large open-world tasks and variations across web interfaces. Simply specifying a large prompt to handle all possible behaviors and states is extremely complex, and results in behavior leaks between unrelated behaviors. Decomposition to distinct policies can address this challenge, but requires carefully handing off control between policies. We propose Stacked LLM Policies for Web Actions (SteP), an approach to dynamically compose policies to solve a diverse set of web tasks. SteP defines a Markov Decision Process where the state is a stack of policies representing the control state, i.e., the chain of policy calls. Unlike traditional methods that are restricted to static hierarchies, SteP enables dynamic control that adapts to the complexity of the task. We evaluate SteP against multiple baselines and web environments including WebArena, MiniWoB++, and a CRM. On WebArena, SteP improves (14.9\% to 33.5\%) over SOTA that use GPT-4 policies, while on MiniWob++, SteP is competitive with prior works while using significantly less data. Our code and data are available at https://asappresearch.github.io/webagents-step.
format Preprint
id arxiv_https___arxiv_org_abs_2310_03720
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle SteP: Stacked LLM Policies for Web Actions
Sodhi, Paloma
Branavan, S. R. K.
Artzi, Yoav
McDonald, Ryan
Machine Learning
Performing tasks on the web presents fundamental challenges to large language models (LLMs), including combinatorially large open-world tasks and variations across web interfaces. Simply specifying a large prompt to handle all possible behaviors and states is extremely complex, and results in behavior leaks between unrelated behaviors. Decomposition to distinct policies can address this challenge, but requires carefully handing off control between policies. We propose Stacked LLM Policies for Web Actions (SteP), an approach to dynamically compose policies to solve a diverse set of web tasks. SteP defines a Markov Decision Process where the state is a stack of policies representing the control state, i.e., the chain of policy calls. Unlike traditional methods that are restricted to static hierarchies, SteP enables dynamic control that adapts to the complexity of the task. We evaluate SteP against multiple baselines and web environments including WebArena, MiniWoB++, and a CRM. On WebArena, SteP improves (14.9\% to 33.5\%) over SOTA that use GPT-4 policies, while on MiniWob++, SteP is competitive with prior works while using significantly less data. Our code and data are available at https://asappresearch.github.io/webagents-step.
title SteP: Stacked LLM Policies for Web Actions
topic Machine Learning
url https://arxiv.org/abs/2310.03720