← Latest papers
🤖 machine learning

Does The Way You Plan Matter? An Empirical Study of Planning Representations for LLM Web Agents

This paper introduces the PlanAhead framework to empirically demonstrate that both the choice of natural language plan representation (such as sequential subgoals, narrative, pseudocode, or checklist) and the underlying LLM significantly impact the robustness and success rates of multimodal web agents on hard WebArena tasks.

Original authors: Alejandra Zambrano, Sara Vera Marjanovic, Imene Kerboua, Xing Han Lù, Leila Kosseim

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

Original authors: Alejandra Zambrano, Sara Vera Marjanovic, Imene Kerboua, Xing Han Lù, Leila Kosseim

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 very smart, but slightly clumsy, robot to do your online shopping. You tell it, "Buy me a night guard for my teeth grinding." The robot has to navigate a website, find the product, and check out.

Sometimes, the robot succeeds. Other times, it gets stuck in a loop, buys the wrong thing, or gives up entirely.

This paper asks a simple question: Does the way you write the instructions matter?

Most people assume that if you give the robot a clear, step-by-step list (like a recipe), it will work best. But the researchers behind this study wondered: What if the robot works better with a story? Or a checklist? Or even a computer code script?

Here is the breakdown of their study, explained simply:

1. The Problem: Robots Get Lost

Even with the best AI brains, web agents (robots that browse the internet) often fail. They might miss a critical step, get confused by a pop-up, or forget what they were trying to do. The researchers suspected that the format of the plan they were given was the culprit.

2. The Experiment: The "PLANAHEAD" Kitchen

The researchers built a testing kitchen called PLANAHEAD. They didn't invent a new robot; they just changed the recipe they gave the existing robots.

They took 158 very difficult tasks (like buying specific items on complex websites) and gave them to different AI models. But before the robot started, they gave it a plan in one of four different "languages":

  • The Recipe (Sequential Subgoals): The standard way. "Step 1: Go here. Step 2: Click that."
  • The Story (Narrative): A paragraph describing the journey. "To get the night guard, you should start by searching..."
  • The Checklist (Requirements): A list of things that must happen, but not necessarily in order. "The cart must have the item. The address must be filled."
  • The Code (Pseudocode): A logic script with "if/then" rules. "If the item is found, click buy. If not, search again."

3. The New Scorecard: Beyond "Pass/Fail"

Usually, researchers just count how many times a robot got the job done (Success Rate). But AI is unpredictable; sometimes it gets lucky, sometimes it gets unlucky.

The authors invented two new ways to score the robots:

  • Achievement Rate (AR): "Did the robot ever succeed at this task if we let it try five times?" This measures if the task is even possible for that robot.
  • Solved-Task Consistency (STC): "If the robot succeeded, how often did it succeed?" This measures reliability. Did it get it right 100% of the time, or just 20%?

4. The Surprising Results

The study found that one size does not fit all. The "best" way to give instructions depends entirely on which robot brain you are using.

  • The "Storyteller" Robot: One model (GPT-4.1-mini) worked best when given a Narrative. It seemed to understand the "story" of the task better than a dry list of steps.
  • The "List-Maker" Robot: Another model (Qwen) loved the Checklist. It thrived on knowing exactly what requirements needed to be met, regardless of the order.
  • The "Coder" Robot: A third model (Gemini) surprisingly did very well with Pseudocode, even though it's not written for humans. It seemed to like the logical "if/then" structure.

The Big Takeaway:
The researchers also found that splitting the job into two robots often worked better than using just one.

  • The Planner: One robot reads the goal and writes the plan (the recipe).
  • The Executor: A second robot reads that plan and actually clicks the buttons.
  • Why it works: It's like having a chef who writes the recipe and a sous-chef who actually cooks. The chef doesn't get distracted by chopping onions, and the cook doesn't get confused by the menu.

5. The Conclusion

The paper concludes that how you plan matters.
If you want your AI agent to succeed, you can't just throw a generic list of steps at it. You have to match the format of the plan to the personality of the AI model you are using. Sometimes a story is better than a list; sometimes a checklist is better than a story.

By testing these different formats, the researchers showed that we can make these digital agents much more robust and reliable, simply by changing how we talk to them.

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 →