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.
Methods
To overcome these limitations, the authors propose SCALE (Self-Cognitive-Aware Learning and Exploration) and SCALE-Hop:
- 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.
- Adversarial Self-Confrontation Loop: SCALE assigns three distinct roles to the same underlying MLLM to probe its cognitive boundaries:
- Selector: Proposes challenging, unfamiliar actions to intentionally test the agent's limits.
- Predictor: Anticipates the outcome of the action and explains the reasoning based on current knowledge.
- 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.
- 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.
- 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.
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