← Latest papers
💬 NLP

Are Online Skill and Memory Modules Always Worth Their Tokens? A Budget-Constrained Study of Web Agents

This study demonstrates that when evaluated under a fixed token budget, vanilla web agents often match or outperform online augmentation methods like memory and skill modules in success rate, suggesting that the apparent benefits of these modules frequently vanish when their token overhead is accounted for.

Original authors: Sina Hajimiri, Masih Aminbeidokhti, Jose Dolz, Ismail Ben Ayed, Issam H. Laradji, Spandana Gella, Nicolas Gontier

Published 2026-06-16
📖 5 min read🧠 Deep dive

Original authors: Sina Hajimiri, Masih Aminbeidokhti, Jose Dolz, Ismail Ben Ayed, Issam H. Laradji, Spandana Gella, Nicolas Gontier

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 are hiring a team of detectives to solve a series of mysteries (tasks) on a website. You have a strict budget for how much they can spend on "thinking time" (tokens).

This paper asks a simple but surprising question: Is it better to hire a detective who carries a heavy backpack of pre-written notes, maps, and gadgets (memory and skills), or is it better to hire a simpler detective who just has more time to look around and think on their own?

The researchers found that, surprisingly, the simple detective with more time usually solves more mysteries and spends less money than the one with the fancy backpack.

Here is a breakdown of their findings using everyday analogies:

1. The "Backpack" vs. The "Extra Hour"

  • The Augmented Agents (The Backpack): Some researchers have been building agents that carry "backpacks." These backpacks contain:
    • Skills: Pre-written scripts (like a cheat sheet for how to buy a ticket).
    • Memory: Notes from previous cases (like remembering that the login button is usually on the left).
    • Workflows: Step-by-step guides on how to solve specific problems.
    • The Catch: Every time the agent opens the backpack to read a note or use a script, it costs money (tokens). It also takes up space in their mind, making the actual "thinking" part of the task more crowded.
  • The Vanilla Agent (The Extra Hour): The researchers created a "plain" agent that has no backpack. Instead, they gave it the same total budget but used it to let the agent take more steps (look around longer, click more buttons, think more deeply) without any distractions.

The Result: In most cases, the plain agent with the extra time solved more tasks than the backpack-wearing agents. The "backpack" often cost so much to carry and open that the agent didn't have enough resources left to actually finish the job.

2. The "Cheat Sheet" That Wasn't Cheating

The study looked at three popular "backpack" methods:

  • AWM (Workflow Memory): Like a detective who writes down a recipe for "How to buy a shirt" after doing it once.
  • ASI (Skill Induction): Like a detective who writes a computer program to automate a task.
  • ReasoningBank: Like a detective who keeps a journal of "What went right and what went wrong."

The researchers found that these "cheat sheets" often backfired.

  • The "Broken Map" Problem: The web changes constantly. A skill written for one version of a website might break immediately if the website updates. The plain agent, looking at the screen in real-time, adapts naturally. The agent with the script tries to follow the old instructions and crashes.
  • The "Bad Notes" Problem: The agents sometimes wrote down notes from failed attempts and thought they were successful. Later, they tried to use these bad notes, leading to more failures.
  • The "Crowded Desk" Problem: Every time the agent reads a note from its backpack, it has to read the whole note again. This makes the "thinking" process slower and more expensive, leaving less budget for the actual work.

3. The "One-Time" Illusion

The paper points out a major flaw in how these agents are usually tested.

  • The Single-Run Trap: Often, researchers run an agent once and say, "Look, it solved 80% of the tasks!"
  • The Reality: The researchers ran the tests three times. They found that the results varied wildly. An agent might solve a task on the first try because it got lucky with a random guess, but fail on the second try.
  • The Lesson: You can't trust a single test run. It's like judging a basketball player's skill based on one game where they happened to make a lucky shot. You need to watch them play many games to see if they are actually good.

4. The "Parallel" Advantage

There is one more practical difference:

  • The Backpack Agents are like a relay race. They have to finish Task 1 to write a note that helps with Task 2. They must go one by one.
  • The Plain Agent is like a team of independent workers. Since they don't rely on notes from previous tasks, you can send 10 of them out to solve 10 different tasks at the exact same time. This makes them much faster in the real world.

The Bottom Line

The paper concludes that while "skills" and "memory" sound great in theory, they often add too much cost and complexity for the benefit they provide.

If you have a fixed budget, it is often smarter to give a capable AI more time to think and explore directly rather than forcing it to carry a heavy, expensive backpack of pre-made tools. The "fancy" agents often look good on paper, but when you pay for the total cost (including the cost of the backpack), the simple, direct approach wins.

Key Takeaway for the Future: When evaluating AI agents, we shouldn't just look at how many tasks they solved. We need to count the total cost of everything they did (including their memory and tools) and run the tests multiple times to make sure the results are real, not just lucky.

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 →