SCAFFOLD: Self-Improving Web Agents via Recursive Parametric Skill Abstraction

Bowei He, Xiaokun Zhang, Meng Ding, Xue Liu
8/31/2026
3 citations
cs.AIcs.CL

Official code: BokwaiHo/SCAFFOLD (1 star, Python, last commit 2026-05-25).

Abstract

Web agents need to navigate visually rich, long-horizon interfaces that change across sites, yet most previous agents still learn each task in isolation and discard the procedural knowledge they accumulate. Recent skill-augmented frameworks take an important first step, but they treat the skill library as a flat or two-tier prompt-side cache and offer no principled mechanism for compressing redundancy or composing skills recursively.

Show full abstract

We introduce \textsc{Scaffold}, a self-improving framework for visual web agents that (i) induces parametric, executable skills from successful trajectories under a multi-instance abstraction constraint, (ii) maintains a recursively composed hierarchy in which higher-level skills invoke lower-level ones, (iii) compacts the library via a minimum-description-length (MDL) criterion and behavioral equivalence checking, and (iv) periodically distills skill-augmented trajectories back into model weights to internalize the abstractions. Across WebArena, VisualWebArena, and a held-out split of Online-Mind2Web, \textsc{Scaffold} improves success rate by $11.1$--$17.2$ absolute points over the strongest skill-augmented baseline and shows monotonic gains across five self-improvement iterations without library collapse. We release the code and documents in the Github \href{https://github.com/BokwaiHo/SCAFFOLD}{repository}.

View on arXivView PDF

Code Implementations(1)

BokwaiHo/SCAFFOLDOfficial100%

Code for our submission 'SCAFFOLD: Self-Improving Web Agents via Recursive Parametric Skill Abstraction'

10PythonMay 25, 20266 months agoNOASSERTION

Similar Papers

Cite this paper

@article{he2026scaffold,
  title  = {SCAFFOLD: Self-Improving Web Agents via Recursive Parametric Skill Abstraction},
  author = {Bowei He and Xiaokun Zhang and Meng Ding and Xue Liu},
  year   = {2026},
  eprint = {2609.05511},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.05511v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.05511.svg)](https://codeofpaper.com/paper/2609.05511)

Discussion