← Latest papers
🤖 AI

Weblica: Scalable and Reproducible Training Environments for Visual Web Agents

The paper introduces Weblica, a framework that leverages HTTP-level caching and LLM-based synthesis to create scalable, reproducible web environments, enabling the training of the Weblica-8B model which outperforms existing open-weight baselines in visual web navigation tasks.

Original authors: Oğuzhan Fatih Kar, Roman Bachmann, Yuanzheng Gong, Anders Boesen Lindbo Larsen, Afshin Dehghan

Published 2026-05-11
📖 4 min read☕ Coffee break read

Original authors: Oğuzhan Fatih Kar, Roman Bachmann, Yuanzheng Gong, Anders Boesen Lindbo Larsen, Afshin Dehghan

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you want to teach a robot how to navigate the internet to do things like book a flight, buy shoes, or fill out a form. The internet is a chaotic, ever-changing place. It's like trying to teach someone to swim by throwing them into the ocean during a storm, while the tides are constantly shifting and new waves are crashing in every second.

This is the problem the paper WEBLICA tries to solve. The authors from Apple realized that training AI agents on the "live" web is too messy, slow, and unpredictable. Instead, they built a giant, perfect, offline simulator called WEBLICA.

Here is how they did it, broken down into two simple parts:

1. The "Time-Travel Camera" (HTTP-Level Caching)

Imagine you take a photo of a webpage, but instead of just a picture, you capture the entire conversation between your computer and the website.

  • The Problem: If you try to replay that conversation later, the website might say, "Wait, your session token is different!" or "The timestamp is wrong!" and block you. This is like trying to use an old key on a door that has been re-locked.
  • The Solution: The team built a smart system that acts like a "time-travel camera." It records every single request and response. Then, it uses a rulebook to ignore the parts that change every time (like timestamps or random session numbers) and only keeps the stable parts.
  • The Result: They can replay these recorded websites perfectly, over and over again, without ever needing to connect to the real internet. It's like having a perfect, frozen snapshot of a website that still lets you click buttons and type in boxes, just like the real thing.

2. The "Infinite LEGO Factory" (LLM-Based Synthesis)

Sometimes, you can't just record a website because it's too complex or doesn't exist yet.

  • The Problem: Real websites are limited. You can't easily find 10,000 different versions of a "shopping cart" or a "flight booking" page to practice on.
  • The Solution: They used a super-smart AI coder (an LLM) to act as a factory. They told the factory: "Build me a website for a yoga studio that lets you book classes," or "Build a car dealership site where you can compare models."
  • The Magic: The AI coder builds these websites from scratch using code, creates fake images, and even invents the tasks you need to do on them. It's like a LEGO factory that can instantly build a million different versions of a castle, a spaceship, or a house, all with working doors and windows, so the robot can practice opening them.

Why This Matters: The "Training Gym"

By combining these two methods, the authors created a massive, safe training gym for their AI.

  • No More Storms: They don't have to worry about the real internet breaking, changing, or blocking their bot.
  • Speed: Because everything is offline and local, the AI can practice thousands of times faster than if it were waiting for real websites to load.
  • Scale: They trained their AI on thousands of these diverse, fake-but-realistic environments.

The Results: The "Weblica-8B" Champion

They trained a model called Weblica-8B in this gym. Here is what happened:

  • It's Faster and Smarter: When tested on real websites, this model solved tasks better than other open-source models of the same size.
  • It Uses Fewer Steps: It could solve problems in fewer clicks and attempts than its competitors.
  • It Scales: If you give it more time to think (more "test-time compute"), it gets even better, almost matching the performance of expensive, proprietary AI models (like those from OpenAI or Google) that cost money to use.

In short: The paper says, "Don't throw your robot into the chaotic ocean of the real web to learn. Instead, build a perfect, infinite, offline simulator where it can practice millions of times without getting wet." And it worked: the robot learned to swim incredibly well.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →