Lune

ACL2025Top-tier venue

R2D2: Remembering, Replaying and Dynamic Decision Making with a Reflective Agentic Memory

Tenghao Huang, Kinjal Basu, Ibrahim Abdelaziz, Pavan Kapanipathi, Jonathan May, Muhao Chen

Abstract

The proliferation of web agents necessitates advanced navigation and interaction strategies within complex web environments. Current models often struggle with efficient navigation and action execution due to limited visibility and understanding of web structures. Our proposed R2D2 framework addresses these challenges by integrating two paradigms: Remember and Reflect. The Remember paradigm uses a replay buffer that aids agents in reconstructing the web environment dynamically, thus enabling the formulation of a detailed "map" of previously visited pages. This helps in reducing navigational errors and optimizing the decisionmaking process during web interactions. Conversely, the Reflect paradigm allows agents to learn from past mistakes by providing a mechanism for error analysis and strategy refinement, enhancing overall task performance. We evaluate R2D2 using the WebArena benchmark, demonstrating substantial improvements over existing methods, including a 50% reduction in navigation errors and a threefold increase in task completion rates. Our findings suggest that a combination of memory-enhanced navigation and reflective learning promisingly advances the capabilities of web agents, potentially benefiting various applications such as automated customer service and personal digital assistants.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • AdaMEM: Test-Time Adaptive Memory for Language Agents cites WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agents
  • Language Agent Tree Search Unifies Reasoning, Acting, and Planning in Language Models cites Self-Refine: Iterative Refinement with Self-Feedback
  • Language Agent Tree Search Unifies Reasoning, Acting, and Planning in Language Models cites Reflexion: language agents with verbal reinforcement learning
  • Language Agent Tree Search Unifies Reasoning, Acting, and Planning in Language Models cites WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agents
  • Reflexion: language agents with verbal reinforcement learning cites Self-Refine: Iterative Refinement with Self-Feedback
  • Reflexion: language agents with verbal reinforcement learning cites WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agents
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. AdaMEM: Test-Time Adaptive Memory for Language AgentsYunxiang Zhang, Yiheng Li, Ali Payani, Lu WangICML 2026

Builds on15

  1. Reflexion: language agents with verbal reinforcement learningNoah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan et al.NeurIPS 2023 · 5,828 citations
  2. Self-Refine: Iterative Refinement with Self-FeedbackAman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan et al.NeurIPS 2023 · 4,972 citations
  3. WebShop: Towards Scalable Real-World Web Interaction with Grounded Language AgentsShunyu Yao, Howard Chen, John Yang, Karthik NarasimhanNeurIPS 2022 · 1,477 citations
  4. AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language ModelsXiaogeng Liu, Nan Xu, Muhao Chen, Chaowei XiaoICLR 2024 · 722 citations
  5. Language Agent Tree Search Unifies Reasoning, Acting, and Planning in Language ModelsAndy Zhou, Kai Yan, Michal Shlapentokh-Rothman, Haohan Wang et al.ICML 2024 · 443 citations

Related papers

  1. Agent Workflow MemoryZora Zhiruo Wang, Jiayuan Mao, Daniel Fried, Graham NeubigICML 2025
  2. Branch-and-Browse: Efficient and Controllable Web Exploration with Tree-Structured Reasoning and Action MemoryShiqi He, Yue Cui, Xinyu Ma, Yaliang Li et al.ACL 2026 · 5 citations
  3. On the Multi-turn Instruction Following for Conversational Web AgentsYang Deng, Xuan Zhang, Wenxuan Zhang, Yifei Yuan et al.ACL 2024 · 5 citations
  4. Browsing Like Human: A Multimodal Web Agent with Experiential Fast-and-Slow ThinkingHaohao Luo, Jiayi Kuang, Wei Liu, Ying Shen et al.ACL 2025 · 7 citations
  5. Contextual Experience Replay for Self-Improvement of Language AgentsYitao Liu, Chenglei Si, Karthik R. Narasimhan, Shunyu YaoACL 2025 · 22 citations
Dusk over the sea between two cliffs drawn in fine vertical lines