mlsanityData to 14 Oct 2026

Enhancing Web Agents with a Hierarchical Memory Tree

arXiv 2603.07024 ↗First posted 7 Mar 2026cs.AIcited by 6

On the map: LLM agents and tool use → Web, search, and research agents

Abstract (arXiv)

Large language model-based web agents have shown strong potential in automating web interactions through advanced reasoning and instruction following. While retrieval-based memory derived from historical trajectories enables these agents to handle complex, long-horizon tasks, current methods struggle to generalize across unseen websites. We identify that this challenge arises from the flat memory structures that entangle high-level task logic with site-specific action details. This entanglement induces a workflow mismatch in new environments, where retrieved contents are conflated with current web, leading to logically inconsistent execution. To address this, we propose Hierarchical Memory Tree (HMT), a structured framework designed to explicitly decouple logical planning from action execution. HMT constructs a three-level hierarchy from raw trajectories via an automated abstraction pipeline: the Intent level maps diverse user instructions to standardized task goals; the Stage level defines reusable semantic subgoals characterized by observable pre-conditions and post-conditions; and the Action level stores action patterns paired with transferable semantic element descriptions. Leveraging this structure, we develop a stage-aware inference mechanism comprising a Planner and an Actor. By explicitly validating pre-conditions, the Planner aligns the current state with the correct logical subgoal to prevent workflow mismatch, while the Actor grounds actions by matching the stored semantic descriptions to the target page. Experimental results on Mind2Web and WebArena show that HMT significantly outperforms flat-memory methods, particularly in cross-website and cross-domain scenarios, highlighting the necessity of structured memory for robust generalization of web agents.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 41 of its 53 references that are in the map. First posted on arXiv 7 Mar 2026.

Builds on

41 of 53 references.

Closest ancestors · 7

Same direction, newest first

  1. 2025WebOperator: Action-Aware Tree Search for Autonomous Agents in Web Environment14 Dec
  2. 2025Prune4Web: DOM Tree Pruning Programming for Web Agent26 Nov
  3. 2024Agent Workflow Memory11 Sep
  4. 2024GPT-4V(ision) is a Generalist Web Agent, if Grounded3 Jan
  5. 2023WebArena: A Realistic Web Environment for Building Autonomous Agents25 Jul
  6. 2023Mind2Web: Towards a Generalist Agent for the Web9 Jun
  7. 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agents4 Jul

Other references · 34

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  4. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  5. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  6. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  7. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  8. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
  9. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
  10. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
  11. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,988
  12. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,947
22 more
  1. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
  2. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,745
  3. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
  4. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
  5. 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 783
  6. 2023CogAgent: A Visual Language Model for GUI Agentscited by 704
  7. 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Modelscited by 574
  8. 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 560
  9. 2023AppAgent: Multimodal Agents as Smartphone Userscited by 415
  10. 2023Android in the Wild: A Large-Scale Dataset for Android Device Controlcited by 319
  11. 2018Reinforcement Learning on Web Interfaces Using Workflow-Guided Explorationcited by 284
  12. 2024HiAgent: Hierarchical Working Memory Management for Solving Long-Horizon Agent Tasks with Large Language Modelcited by 106
  13. 2024AriGraph: Learning Knowledge Graph World Models with Episodic Memory for LLM Agentscited by 102
  14. 2024From Isolated Conversations to Hierarchical Schemas: Dynamic Tree Memory Representation for LLMscited by 79
  15. 2024The Dawn of GUI Agent: A Preliminary Case Study with Claude 3.5 Computer Usecited by 63
  16. 2025TongUI: Internet-Scale Trajectories from Multimodal Web Tutorials for Generalized GUI Agentscited by 42
  17. 2024HtmlRAG: HTML is Better Than Plain Text for Modeling Retrieved Knowledge in RAG Systemscited by 37
  18. 2025Efficient Multi-turn RL for GUI Agents via Decoupled Training and Adaptive Data Curationcited by 26
  19. 2025EchoTrail-GUI: Building Actionable Memory for GUI Agents via Critic-Guided Self-Explorationcited by 15
  20. 2025Option Discovery Using LLM-guided Semantic Hierarchical Reinforcement Learningcited by 4
  21. 2024Explainable Session-based Recommendation via Path Reasoningcited by 2
  22. 2025ENCODE: Breaking the Trade-Off Between Performance and Efficiency in Long-Term User Behavior Modelingcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 6.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Branch-and-Browse: Efficient and Controllable Web Exploration with Tree-Structured Reasoning and Action Memory
  2. 2026AMBER: Training Long-Horizon Web Agents through Append-Only Memory
  3. 2026WebChallenger: A Reliable and Efficient Generalist Web Agent
  4. 2026DRIVE: Modeling Skills at the Reasoning and Interaction Levels for Web Agents under Continual Learning
  5. 2025ReAcTree: Hierarchical LLM Agent Trees with Control Flow for Long-Horizon Task Planning
  6. 2026M2: Dual-Memory Augmentation for Long-Horizon Web Agents via Trajectory Summarization and Insight Retrieval
  7. 2026ContextWeaver: Selective and Dependency-Structured Memory Construction for LLM Agents
  8. 2026STRUCTUREDAGENT: Planning with AND/OR Trees for Long-Horizon Web Tasks