SkillWeaver: Web Agents can Self-Improve by Discovering and Honing Skills
About
To survive and thrive in complex environments, humans have evolved sophisticated self-improvement mechanisms through environment exploration, hierarchical abstraction of experiences into reuseable skills, and collaborative construction of an ever-growing skill repertoire. Despite recent advancements, autonomous web agents still lack crucial self-improvement capabilities, struggling with procedural knowledge abstraction, refining skills, and skill composition. In this work, we introduce SkillWeaver, a skill-centric framework enabling agents to self-improve by autonomously synthesizing reusable skills as APIs. Given a new website, the agent autonomously discovers skills, executes them for practice, and distills practice experiences into robust APIs. Iterative exploration continually expands a library of lightweight, plug-and-play APIs, significantly enhancing the agent's capabilities. Experiments on WebArena and real-world websites demonstrate the efficacy of SkillWeaver, achieving relative success rate improvements of 31.8% and 39.8%, respectively. Additionally, APIs synthesized by strong agents substantially enhance weaker agents through transferable skills, yielding improvements of up to 54.3% on WebArena. These results demonstrate the effectiveness of honing diverse website interactions into APIs, which can be seamlessly shared among various web agents.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Web navigation | WebArena | Overall Success Rate29.8 | 138 | |
| Clinical Question Answering | LiveClin Multimodal (offline) | Accuracy71.35 | 38 | |
| Clinical Question Answering | LiveClin Text modality (offline) | Accuracy91.09 | 38 | |
| Medical Question Answering | MediQ offline (test) | Accuracy96.85 | 38 | |
| Multimodal Reasoning | MMMU (offline) | Accuracy62.59 | 38 | |
| Clinical Reasoning | AgentClinic_T offline (test) | Accuracy65.42 | 38 | |
| Medical Reasoning | MedJourney offline (test) | Accuracy79.92 | 38 | |
| Clinical Question Answering | HealthBench (offline) | Accuracy27.36 | 38 | |
| Clinical Question Answering | MedXpertQA Multimodal modality (offline) | Accuracy51.35 | 38 | |
| Clinical Question Answering | MedXpertQA Text modality (offline) | Accuracy43.24 | 38 |