Evaluating Long-Context Reasoning in LLM-Based WebAgents
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
As large language model (LLM)-based agents become increasingly integrated into daily digital interactions, their ability to reason across long interaction histories becomes crucial for providing personalized and contextually aware assistance. However, the performance of these agents in long context scenarios, particularly for action-taking WebAgents operating in realistic web environments, remains largely unexplored. This paper introduces a benchmark for evaluating long context reasoning capabilities of WebAgents through sequentially dependent subtasks that require retrieval and application of information from extended interaction histories. We develop a novel evaluation framework that simulates multi-session user interactions by injecting irrelevant task trajectories between dependent subtasks, creating contexts ranging from 25,000 to 150,000 tokens. Through extensive evaluation of four popular models, Claude-3.7, GPT-4.1, Llama 4, and o4-mini, we observe a dramatic performance degradation as context length increases, with success rates dropping from 40-50% in baseline conditions to less than 10% in long context scenarios. Our detailed error analysis reveals that agents primarily fail due to getting stuck in loops and losing track of original task objectives. We further propose an implicit RAG approach that provides modest improvements by generating task-relevant summaries, though fundamental limitations in long context reasoning persist. These findings highlight critical challenges for deploying WebAgents in realistic, long-term user interaction scenarios and provide insights for developing more robust agent architectures capable of maintaining coherent task execution across extended contexts.
Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 16 of its 18 references that are in the map. First posted on arXiv 3 Dec 2025.
Builds on
16 of 18 references.
References · 16
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,242
- 2024GPT-4V(ision) is a Generalist Web Agent, if Groundedcited by 563
- 2024WebVoyager: Building an End-to-End Web Agent with Large Multimodal Modelscited by 438
- 2023A Real-World WebAgent with Planning, Long Context Understanding, and Program Synthesiscited by 353
- 2023Set-of-Mark Prompting Unleashes Extraordinary Visual Grounding in GPT-4Vcited by 299
- 2023Multimodal Web Navigation with Instruction-Finetuned Foundation Modelscited by 160
- 2025Do LLMs Recognize Your Preferences? Evaluating Personalized Preference Following in LLMscited by 148
- 2024Autonomous Evaluation and Refinement of Digital Agentscited by 137
- 2024WebCanvas: Benchmarking Web Agents in Online Environmentscited by 121
- 2024Personalization of Large Language Models: A Surveycited by 104
4 more
- 2024Non-Determinism of "Deterministic" LLM Settingscited by 92
- 2023LLM-Rec: Personalized Recommendation via Prompting Large Language Modelscited by 77
- 2024Proposer-Agent-Evaluator(PAE): Autonomous Skill Discovery For Foundation Model Internet Agentscited by 50
- 2024Personalized LLM Response Generation with Parameterized Memory Injectioncited by 33
Built on by
Citing papers per year: 2026: 15.
15 papers.
Sort:
By area:
- 2026Agent-BRACE: Decoupling Beliefs from Actions in Long-Horizon Tasks via Verbalized State Uncertaintycited by 10
- 2026WebAnchor: Anchoring Agent Planning to Stabilize Long-Horizon Web Reasoningcited by 8
- 2026PABU: Progress-Aware Belief Update for Efficient LLM Agentscited by 7
- 2026OdysseyArena: Benchmarking Large Language Models For Long-Horizon, Active and Inductive Interactionscited by 6
- 2026From GPT-3 to GPT-5: Mapping their capabilities, scope, limitations, and consequencescited by 3
- 2026Diagnosing and Mitigating Context Rot in Long-horizon Searchcited by 3
- 2026Beyond the Leaderboard: A Synthesis of Tool-Use, Planning, and Reasoning Failures in Large Language Model Agentscited by 3
- 2026TADDLE: A Tool-Augmented Agent for Detecting Deficient LLM-Generated Peer Reviewscited by 1
- 2026HANSEL: Extracting Breadcrumbs from Web Agent Trajectories for Interactive Verificationcited by 1
- 2026World-Model Collapse as a Phase Transitioncited by 1
- 2026Signal-Driven Observation for Long-Horizon Web Agentscited by 0
- 2026NELSSA: A GPU-PNM Heterogeneous System for Mixed-Length LLM Serving via Length-based Request Placementcited by 0
- 2026Relevance Does Not Imply Applicability: Experience Activation for Personal GUI Agents27 Sep 2026
- 2026DualSQL: Text-to-SQL with Multi-Agent Reinforcement Learning16 Sep 2026
- 2026MIRAGE: How Conversation State Shapes Historical Evidence Use in Multimodal Personal Agents25 Aug 2026
- 2026NELSSA: A GPU-PNM Heterogeneous System for Mixed-Length LLM Serving via Length-based Request Placement29 Jul 2026
- 2026Beyond the Leaderboard: A Synthesis of Tool-Use, Planning, and Reasoning Failures in Large Language Model Agents7 Jul 2026
- 2026World-Model Collapse as a Phase Transition30 Jun 2026
- 2026Diagnosing and Mitigating Context Rot in Long-horizon Search29 Jun 2026
- 2026HANSEL: Extracting Breadcrumbs from Web Agent Trajectories for Interactive Verification17 Jun 2026
- 2026Signal-Driven Observation for Long-Horizon Web Agents4 Jun 2026
- 2026TADDLE: A Tool-Augmented Agent for Detecting Deficient LLM-Generated Peer Reviews26 May 2026
- 2026Agent-BRACE: Decoupling Beliefs from Actions in Long-Horizon Tasks via Verbalized State Uncertainty12 May 2026
- 2026From GPT-3 to GPT-5: Mapping their capabilities, scope, limitations, and consequences11 Apr 2026
- 2026Agent-BRACE: Decoupling Beliefs from Actions in Long-Horizon Tasks via Verbalized State Uncertaintycited by 10
- 2026PABU: Progress-Aware Belief Update for Efficient LLM Agentscited by 7
- 2026HANSEL: Extracting Breadcrumbs from Web Agent Trajectories for Interactive Verificationcited by 1
- 2026Signal-Driven Observation for Long-Horizon Web Agentscited by 0
- 2026Relevance Does Not Imply Applicability: Experience Activation for Personal GUI Agentscited by 0
- 2026Relevance Does Not Imply Applicability: Experience Activation for Personal GUI Agents27 Sep 2026
- 2026HANSEL: Extracting Breadcrumbs from Web Agent Trajectories for Interactive Verification17 Jun 2026
- 2026Signal-Driven Observation for Long-Horizon Web Agents4 Jun 2026
- 2026Agent-BRACE: Decoupling Beliefs from Actions in Long-Horizon Tasks via Verbalized State Uncertainty12 May 2026
- 2026PABU: Progress-Aware Belief Update for Efficient LLM Agents9 Feb 2026
- 2026World-Model Collapse as a Phase Transitioncited by 1
- 2026World-Model Collapse as a Phase Transition30 Jun 2026
- 2026OdysseyArena: Benchmarking Large Language Models For Long-Horizon, Active and Inductive Interactionscited by 6
- 2026From GPT-3 to GPT-5: Mapping their capabilities, scope, limitations, and consequencescited by 3
- 2026Diagnosing and Mitigating Context Rot in Long-horizon Searchcited by 3
- 2026TADDLE: A Tool-Augmented Agent for Detecting Deficient LLM-Generated Peer Reviewscited by 1
- 2026DualSQL: Text-to-SQL with Multi-Agent Reinforcement Learningcited by 0
- 2026DualSQL: Text-to-SQL with Multi-Agent Reinforcement Learning16 Sep 2026
- 2026Diagnosing and Mitigating Context Rot in Long-horizon Search29 Jun 2026
- 2026TADDLE: A Tool-Augmented Agent for Detecting Deficient LLM-Generated Peer Reviews26 May 2026
- 2026From GPT-3 to GPT-5: Mapping their capabilities, scope, limitations, and consequences11 Apr 2026
- 2026OdysseyArena: Benchmarking Large Language Models For Long-Horizon, Active and Inductive Interactions5 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2026ContextWeaver: Selective and Dependency-Structured Memory Construction for LLM Agents
- 2026Improving LLM-based Autonomous Web Agents with Filtering
- 2026PRO-LONG: Programmatic Memory Enables Long-Horizon Reasoning
- 2024AgentQuest: A Modular Benchmark Framework to Measure Progress and Improve LLM Agents
- 2025VeriWeb: Verifiable Long-Chain Web Benchmark for Agentic Information-Seeking
- 2024Mobile-Bench: An Evaluation Benchmark for LLM-based Mobile Agents
- 2025Modeling Response Consistency in Multi-Agent LLM Systems: A Comparative Analysis of Shared and Separate Context Approaches
- 2026Why Do LLM-based Web Agents Fail? A Hierarchical Planning Perspective