NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning to Adapt: Self-Improving Web Agent via Cognitive-Aware Exploration

Weile Chen, Bingchen Miao, Qifan Yu, Wendong Bu, Guoming Wang, Wenqiao Zhang, Shengyu Zhang, Juncheng Li, Siliang TangarXiv 2026

TL;DR

The paper introduces SCALE, a self-improving framework for multimodal web agents that eliminates the need for handcrafted pipelines or expensive human expert trajectories. By employing an adversarial self-confrontation loop (Selector, Predictor, Judger) combined with a global graph-based exploration strategy (SCALE-Hop), the agent autonomously identifies its own cognitive limitations and learns from its mistakes. This autonomous exploration process was used to generate SCALE-20k, a large-scale web task dataset that significantly boosts the performance and generalization of open-source multimodal models.

What Problem Does This Paper Address?

Building autonomous web agents using Multimodal Large Language Models (MLLMs) is a promising frontier for automating digital tasks like shopping, product searching, and navigation. However, current approaches suffer from two major bottlenecks: they rely heavily on rigid, manually designed execution pipelines or scarce, expensive human-annotated expert trajectories.

Because real-world websites are highly dynamic and unpredictable, these passive agents fail to generalize when encountering unfamiliar layouts or novel interactions. Furthermore, existing frameworks lack a mechanism for agents to evaluate and expand their own "cognitive boundaries"—the limits of what they currently understand. This results in agents that cannot adapt or self-improve without external supervision.

Comparison of SCALE with prior methods

Methods

To overcome these limitations, the authors propose SCALE (Self-Cognitive-Aware Learning and Exploration) and SCALE-Hop:

  1. Purely Visual Input Encoding: Instead of relying on underlying HTML code or DOM trees (which many real-world sites restrict), SCALE uses webpage screenshots processed with Set-of-Mark (SOM) visual prompts, aligning the agent's perception with human vision.
  2. Adversarial Self-Confrontation Loop: SCALE assigns three distinct roles to the same underlying MLLM to probe its cognitive boundaries:
  3. Selector: Proposes challenging, unfamiliar actions to intentionally test the agent's limits.
  4. Predictor: Anticipates the outcome of the action and explains the reasoning based on current knowledge.
  5. Judger: Executes the action in the real environment and compares the actual result with the prediction. If the prediction is wrong, a gap in understanding is identified, and the true outcome is recorded as training data.
  6. Iterative Self-Update: The agent uses these discovered failure cases to fine-tune its Selector and Predictor via Supervised Fine-Tuning (SFT), creating a continuous self-improvement loop.
  7. SCALE-Hop (Global Navigation): To prevent the agent from getting stuck in local loops, SCALE-Hop builds a directed graph representation of the exploration history. Web states are represented as nodes (distinguished by URL and visual similarity via SSIM). The agent uses verification-guided backtracking to systematically mark nodes as fully explored and navigate to underexplored areas.
Figure 2. The overview of SCALE and SCALE-Hop. SCALE consists of Input Encoding, Self-Check, and Iterative Update. It enables agents to identify unfamiliar actions, verify predictions, and iteratively improve their reasoning. SCALE-Hop builds a graph to represent exploration history. It uses verification-guided backtracking to mark nodes as fully explored and guide the agent toward underexplored areas for global navigation.

Datasets

  • SCALE-20k: A newly introduced large-scale dataset reverse-constructed from the autonomous exploration traces of Qwen2.5-VL-7B and InternVL2.5-8B across 19 real-world websites. It contains 20,000 tasks split into three types: Single-Step Tasks (58.5%), Multi-Step Tasks (14.7%), and Page Comprehension QA Pairs (26.8%).
  • Evaluation Benchmarks: The framework was evaluated on VisualWebArena (covering Shopping, Classifieds, and Reddit domains) and WebVoyager (real-world websites with complex, real-time content changes).

Key Insights and Ideas

  • Learning from Failure is More Valuable than Imitating Success: Unlike traditional imitation learning that mimics perfect expert paths, SCALE explicitly hunts for its own errors. Failure cases provide a much stronger learning signal for expanding an agent's cognitive boundaries.
  • Adversarial Self-Play Works for Web Exploration: By turning web exploration into a game where one part of the model tries to stump another part, the agent autonomously uncovers edge cases (like hidden menus or footer links) that goal-driven or random agents typically ignore.
  • DOM-Free Agents are More Robust: Relying entirely on visual screenshots with visual markups (SOM) rather than text-based accessibility trees makes the agent highly generalizable and immune to messy or restricted underlying website code.

Key Results

  • Massive Success Rate Boosts: SCALE achieved an average task success rate improvement of 231.8% for InternVL2.5-8B and 176.3% for Qwen2.5-VL-7B compared to their vanilla zero-shot baselines.
  • Outperforming Expert Imitation: Models trained via SCALE consistently outperformed or matched baselines trained on successful GPT-4o trajectories or random exploration data (OS-Genesis).
  • Higher Efficiency: SCALE agents completed tasks in fewer average steps (AS) than tree-search or trajectory-based baselines, demonstrating more concise and effective reasoning paths.
  • Cross-Model Generalization: Fine-tuning an entirely unrelated model (LLaVA-NeXT-8B) directly on the SCALE-20k dataset yielded clear performance gains, proving the high quality and transferability of the generated data.

Limitations and Future Work

  • Judger Dependency: While the Selector and Predictor evolve, the Judger's capability remains fixed during the iterative updates. If the Judger misinterprets a complex visual change, it could introduce noise into the training data.
  • Computational Cost of Exploration: The self-update loop requires running multiple interaction steps and rounds of fine-tuning, which can be resource-intensive during the data collection phase.
  • Lifelong Adaptation: Future work points toward continuous, lifelong learning where agents can adapt in real-time to live, evolving web ecosystems without needing discrete offline training phases.

Summary updated

BibTeX
@misc{chen2026learning,
  author = {Weile Chen and Bingchen Miao and Qifan Yu and Wendong Bu and Guoming Wang and Wenqiao Zhang and Shengyu Zhang and Juncheng Li and Siliang Tang},
  title = {{Learning to Adapt: Self-Improving Web Agent via Cognitive-Aware Exploration}},
  year = {2026},
  eprint = {2605.31365},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.31365},
}
Figure