arXiv:2611.03116cs.AINov 2026

Manuscript Offprint

arXiv:2611.03116

From Local Skills to Long-Horizon Web Tasks: Progressive Skill Exploration for LLM Web Agents

Xueyang Feng, Xiaohe Bo, Xu Chen, Quanyu Dai, Feng Wen

Abstract

Large language models (LLMs) are driving autonomous agents toward real-world environments, with the Web emerging as one of the most representative interaction scenarios. However, training Web agents with naive exploration remains challenging: successful trajectories are rare, and the sparse terminal rewards make it difficult for agents to obtain useful feedback from failed trajectories. Inspired by skill acquisition theory, we propose Skill-Composed Progressive Exploration (SCOPE), a short-to-long learning framework for long-horizon Web agents that decomposes complex task exploration into a gradual expansion process from local skills to complete task-solving capability. Specifically, SCOPE iteratively explores around local skills: Skill Discovery extracts reusable local skills and failure experiences from historical rollouts; Skill Orchestration composes discovered skills into high-level skill chains; and Skill Expansion leverages failure experiences aligned with the current skill chain to guide the agent toward exploring new sub-skills. Through this process, SCOPE progressively constructs task-completing skill chains across rollouts and internalizes them into the policy parameters through agentic on-policy distillation. Extensive experiments on WebArena, WebVoyager, and WebShop show that SCOPE consistently improves exploration dynamics and achieves 3.9%–18.6% relative gains over the strongest baselines in each setting.

1 Introduction

Large language models (LLMs) (Qwen et al., 2025; Grattaflori et al., 2024) have demonstrated remarkable capabilities in language understanding, commonsense reasoning, and complex planning (Xu et al., 2025; Feng et al., 2024), laying an important foundation for autonomous agents (Wang et al., 2024). In this context, Web agents that interact with real-world websites (Zhou et al., 2024; He et al., 2024; Yao et al., preprint) have become a highly promising research direction, as they hold the potential to bridge human natural language instructions and the operational workflows of traditional computer systems. Unlike conventional single-step text generation tasks, LLM-based Web agents must continuously perceive complex and dynamically changing Web environments and make long-horizon decisions throughout interaction, which poses substantially greater technical challenges.

To improve Web agents on long-horizon tasks, recent studies have begun to explore agentic reinforcement learning paradigms (Qi et al., 2025; Wei et al., 2025; Feng et al., 2025). The central idea is to enable agents to interact directly with online environments, collect trajectories, and optimize their policy parameters using task rewards. However, the naive exploration strategies used in existing agent training are often ineffective: (1) Sparse Successes: long-horizon interactions and dynamic

∗^{*}Equal contribution.

†^{\dagger}Work done during an internship at Huawei.

1^{1}Co-corresponding authors.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

webpage states make it difficult for agents to obtain successful trajectories through naive end-to-end exploration; (2) Unexploited Failures: rewards in Web environments are typically sparse, so failed trajectories are often discarded entirely. As a result, when successful trajectories are difficult to obtain, failed attempts provide little guidance for later exploration, often leading to repetitive trial-and-error failures. This raises a key question: how can we support effective and sustained exploration for long-horizon tasks when successful trajectories are difficult to obtain through naive exploration?

Fitts and Posner's skill acquisition theory (Fitts and Posner, 1967) provides an instructive perspective for addressing these exploration challenges: complex skills are not acquired through a single end-to-end attempt, but are progressively composed from simpler skills. This perspective naturally fits long-horizon Web tasks, which typically exhibit an inherent compositional structure. Specifically, such tasks can often be decomposed into a sequence of subtasks that are locally verifiable through environmental feedback. For example, when a human first visits a shopping website, she may find it difficult to find orders with a specific status in a single attempt. However, even if the overall task fails, environmental feedback can still reveal useful sub-skills and informative failure experiences in the trajectory, such as navigating to the order page or entering irrelevant pages. In the next attempt, the former can serve as a basis for more complex skills like order sorting, while the latter can help the agent avoid repeating ineffective actions. In this way, learning a long-horizon task is decomposed into a progressive expansion process from local skills to complete task-solving capability.

Motivated by this, we propose Skill-Composed Progressive Exploration (SCOPE), a short-to-long progressive learning framework for long-horizon Web agents. The core of SCOPE is an iterative exploration process organized around skills: (1) Skill Discovery, extracting local skills and failure experiences from historical rollout trajectories; (2) Skill Orchestration, recomposing existing skills into high-level skill chains to recover intermediate progress; and (3) Skill Expansion, leveraging failure experiences aligned with the current skill chain to guide the agent toward exploring new subskills. Through this iterative process, SCOPE can progressively obtain successful trajectories by accumulating task-completing skills across different rollouts. Finally, in Skill Distillation, we internalize the resulting task-completing skill chains into the policy parameters through agentic on-policy distillation. We evaluate SCOPE in three real and simulated Web environments: WebArena (Zhou et al., 2024), WebVoyager (He et al., 2024), and WebShop (Yao et al., preprint). Across these benchmarks, SCOPE improves the main task metric by 3.9%–18.6% over the strongest corresponding baselines.

Our main contributions are as follows:

  • We propose a short-to-long perspective for long-horizon Web-agent learning, decomposing Web-task exploration into a progressive process from local skills to complete task-solving capability.

  • We propose SCOPE, which enables agents to discover, organize, and expand local skills across rollouts, progressively transforming partial progress into successful trajectories. These trajectories are then internalized into the policy parameters through agentic on-policy distillation.

  • We evaluate SCOPE on three real and simulated Web environments, where it consistently outperforms existing Web-agent training methods across different LLM backbones. Beyond the overall performance gains, we further analyze the source of these improvements and study how the effectiveness of two on-policy intervention strategies evolves with model capability.