Agent Workflow Memory (AWM): An AI Method for Improving the Adaptability and Efficiency of Web Navigation Agents


Web navigation agents revolve around creating autonomous systems capable of performing tasks like searching, shopping, and retrieving information from the internet. These agents utilize advanced language models to interpret instructions and navigate through digital environments, making decisions to execute tasks that typically require human intervention. Despite significant advancements in this area, agents still struggle with complex, long-horizon tasks that involve a sequence of interdependent actions. These tasks demand a level of adaptability and learning that current systems have yet to be able to achieve effectively.

One major challenge in developing these agents is their inability to learn from previous tasks. While they may perform well with examples they have been specifically trained on, they are often inefficient when facing unfamiliar tasks. Agents operate in isolation, solving each task individually without reusing past experiences to inform future decisions. This limitation reduces their efficiency and adaptability, particularly in environments that require them to handle multiple tasks across various domains.

Traditionally, the tools and methods to tackle these problems have relied on fixed training examples or in-context learning. These methods enable agents to perform well on predefined action sequences but fall short when handling novel situations or tasks that differ from their training data. For example, agents trained on specific shopping tasks may fail when asked to navigate a new website or complete a different task, such as booking a flight or retrieving social media information. The rigidity of these approaches limits the generalization capability of agents across varied tasks and environments.

A  research team from the Carnegie Mellon University & the Massachusetts Institute of Technology (MIT) has introduced a new method called Agent Workflow Memory (AWM) to address these challenges. AWM helps agents learn reusable task workflows from their past experiences, which they can apply to future tasks. This method enables agents to generate and store workflows—common sequences of actions—from previously solved tasks, making it possible to reuse them in different contexts. AWM can be applied in offline and online settings, where workflows are pre-trained or induced in real-time from test queries, offering a versatile solution for web navigation tasks.

In detail, AWM works by analyzing the agent’s past experiences and extracting workflows from successful task completions. These workflows consist of goal-oriented routines stored in the agent’s memory for future use. For example, an agent might learn a basic workflow for finding a place by its name on a map. It can then build on this by learning more complex workflows, such as retrieving the ZIP code for the location. This memory-based approach allows the agent to adapt to increasingly complex tasks by leveraging previously learned workflows to inform future actions.

Regarding performance, AWM was tested on two major benchmarks—Mind2Web and WebArena—which consist of over 1,000 tasks spanning more than 200 domains, including travel, shopping, and social media. AWM significantly improved the baseline performance. On the Mind2Web benchmark, the success rate of tasks increased by 24.6%, while on WebArena, the relative success rate improved by 51.1%. Further, AWM reduced the number of steps required to complete tasks on WebArena, achieving up to a 22.5-point improvement over traditional methods after processing only tens of examples. These results demonstrate AWM’s ability to enhance the efficiency and adaptability of agents in various digital tasks.

The researchers also found that AWM improved generalization across tasks, websites, and domains. In cross-task and cross-domain evaluations, AWM surpassed other baseline methods by 8.9 to 14.0 absolute percentage points. This generalization ability is particularly noteworthy, as it shows that AWM can adapt to tasks that differ significantly from those the agent was originally trained on. For example, an agent trained on tasks involving shopping websites could effectively generalize to other domains, such as social media or travel, without needing additional domain-specific training data.

In conclusion, the introduction of Agent Workflow Memory offers a promising solution to the limitations of existing web navigation agents. By enabling agents to learn and reuse workflows from past experiences, AWM improves task efficiency and adaptability, making these systems more versatile in handling complex, long-horizon tasks. The results from testing on Mind2Web and WebArena clearly show the method’s potential to revolutionize web navigation, allowing agents to handle a broader range of tasks with improved performance and fewer steps. This approach marks a significant advancement in developing more intelligent and flexible digital agents capable of generalizing across various tasks and domains.


Check out the Paper. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter and join our Telegram Channel and LinkedIn Group. If you like our work, you will love our newsletter..

Don’t Forget to join our 50k+ ML SubReddit

⏩ ⏩ FREE AI WEBINAR: ‘SAM 2 for Video: How to Fine-tune On Your Data’ (Wed, Sep 25, 4:00 AM – 4:45 AM EST)


Nikhil is an intern consultant at Marktechpost. He is pursuing an integrated dual degree in Materials at the Indian Institute of Technology, Kharagpur. Nikhil is an AI/ML enthusiast who is always researching applications in fields like biomaterials and biomedical science. With a strong background in Material Science, he is exploring new advancements and creating opportunities to contribute.



Leave a Comment