Saved in:
Bibliographic Details
Main Authors: Lutz, Michael, Bohra, Arth, Saroyan, Manvel, Harutyunyan, Artem, Campagna, Giovanni
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2404.05902
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916198299467776
author Lutz, Michael
Bohra, Arth
Saroyan, Manvel
Harutyunyan, Artem
Campagna, Giovanni
author_facet Lutz, Michael
Bohra, Arth
Saroyan, Manvel
Harutyunyan, Artem
Campagna, Giovanni
contents In the realm of web agent research, achieving both generalization and accuracy remains a challenging problem. Due to high variance in website structure, existing approaches often fail. Moreover, existing fine-tuning and in-context learning techniques fail to generalize across multiple websites. We introduce Wilbur, an approach that uses a differentiable ranking model and a novel instruction synthesis technique to optimally populate a black-box large language model's prompt with task demonstrations from previous runs. To maximize end-to-end success rates, we also propose an intelligent backtracking mechanism that learns and recovers from its mistakes. Finally, we show that our ranking model can be trained on data from a generative auto-curriculum which samples representative goals from an LLM, runs the agent, and automatically evaluates it, with no manual annotation. Wilbur achieves state-of-the-art results on the WebVoyager benchmark, beating text-only models by 8% overall, and up to 36% on certain websites. On the same benchmark, Wilbur is within 5% of a strong multi-modal model despite only receiving textual inputs, and further analysis reveals a substantial number of failures are due to engineering challenges of operating the web.
format Preprint
id arxiv_https___arxiv_org_abs_2404_05902
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle WILBUR: Adaptive In-Context Learning for Robust and Accurate Web Agents
Lutz, Michael
Bohra, Arth
Saroyan, Manvel
Harutyunyan, Artem
Campagna, Giovanni
Computation and Language
Artificial Intelligence
In the realm of web agent research, achieving both generalization and accuracy remains a challenging problem. Due to high variance in website structure, existing approaches often fail. Moreover, existing fine-tuning and in-context learning techniques fail to generalize across multiple websites. We introduce Wilbur, an approach that uses a differentiable ranking model and a novel instruction synthesis technique to optimally populate a black-box large language model's prompt with task demonstrations from previous runs. To maximize end-to-end success rates, we also propose an intelligent backtracking mechanism that learns and recovers from its mistakes. Finally, we show that our ranking model can be trained on data from a generative auto-curriculum which samples representative goals from an LLM, runs the agent, and automatically evaluates it, with no manual annotation. Wilbur achieves state-of-the-art results on the WebVoyager benchmark, beating text-only models by 8% overall, and up to 36% on certain websites. On the same benchmark, Wilbur is within 5% of a strong multi-modal model despite only receiving textual inputs, and further analysis reveals a substantial number of failures are due to engineering challenges of operating the web.
title WILBUR: Adaptive In-Context Learning for Robust and Accurate Web Agents
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2404.05902