Mango: Multi-Agent Web Navigation via Global-View Optimization

arXiv cs.CL Papers

Summary

Purdue researchers introduce Mango, a multi-agent web navigation system that uses global site structure and Thompson Sampling to pick optimal starting URLs, boosting success rates on WebVoyager and WebWalkerQA benchmarks.

arXiv:2604.18779v1 Announce Type: new Abstract: Existing web agents typically initiate exploration from the root URL, which is inefficient for complex websites with deep hierarchical structures. Without a global view of the website's structure, agents frequently fall into navigation traps, explore irrelevant branches, or fail to reach target information within a limited budget. We propose Mango, a multi-agent web navigation method that leverages the website structure to dynamically determine optimal starting points. We formulate URL selection as a multi-armed bandit problem and employ Thompson Sampling to adaptively allocate the navigation budget across candidate URLs. Furthermore, we introduce an episodic memory component to store navigation history, enabling the agent to learn from previous attempts. Experiments on WebVoyager demonstrate that Mango achieves a success rate of 63.6% when using GPT-5-mini, outperforming the best baseline by 7.3%. Furthermore, on WebWalkerQA, Mango attains a 52.5% success rate, surpassing the best baseline by 26.8%. We also demonstrate the generalizability of Mango using both open-source and closed-source models as backbones. Our data and code are open-source and available at https://github.com/VichyTong/Mango.
Original Article
View Cached Full Text

Cached at: 04/22/26, 08:29 AM

# Mango: Multi-Agent Web Navigation via Global-View Optimization
Source: [https://arxiv.org/html/2604.18779](https://arxiv.org/html/2604.18779)
Yifeng Di Purdue University di5@purdue\.edu Tianyi Zhang Purdue University tianyi@purdue\.edu

###### Abstract

Existing web agents typically initiate exploration from the root URL, which is inefficient for complex websites with deep hierarchical structures\. Without a global view of the website’s structure, agents frequently fall into navigation traps, explore irrelevant branches, or fail to reach target information within a limited budget\. We proposeMango, a multi\-agent web navigation method that leverages the website structure to dynamically determine optimal starting points\. We formulate URL selection as a multi\-armed bandit problem and employ Thompson Sampling to adaptively allocate the navigation budget across candidate URLs\. Furthermore, we introduce an episodic memory component to store navigation history, enabling the agent to learn from previous attempts\. Experiments on WebVoyager demonstrate thatMangoachieves a success rate of 63\.6% when using GPT\-5\-mini, outperforming the best baseline by 7\.3%\. Furthermore, on WebWalkerQA,Mangoattains a 52\.5% success rate, surpassing the best baseline by 26\.8%\. We also demonstrate the generalizability ofMangousing both open\-source and closed\-source models as backbones\. Our data and code are open\-source and available at[https://github\.com/VichyTong/Mango](https://github.com/VichyTong/Mango)\.

Mango: Multi\-Agent Web Navigation via Global\-View Optimization

Weixi TongPurdue Universitytong172@purdue\.eduYifeng DiPurdue Universitydi5@purdue\.eduTianyi ZhangPurdue Universitytianyi@purdue\.edu

## 1Introduction

There has been growing interest in building web agents using large language models \(LLMs\)Zhouet al\.\([2024c](https://arxiv.org/html/2604.18779#bib.bib30)\); Wanget al\.\([2023](https://arxiv.org/html/2604.18779#bib.bib20)\); Wuet al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib21)\); Akkilet al\.\([2024](https://arxiv.org/html/2604.18779#bib.bib4)\); Yanget al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib23)\)\. These agents typically start from the root URL \(i\.e\., the homepage\) of a website, navigate and parse web content, and interact with the browser through actions such as clicking buttons and typing into text fields\.

Given the complexity of real\-world websites, the root URL of a website may not be an optimal starting point\. These agents have to traverse the website’s structure from the top down, often exploring irrelevant sub\-trees, falling into navigation traps, or wasting computation on generic intermediate pages\. While prior work aims to enhance web navigation efficiency via better decision\-makingAbuelsaadet al\.\([2024](https://arxiv.org/html/2604.18779#bib.bib2)\); Tanet al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib19)\)or alignmentKimet al\.\([2024](https://arxiv.org/html/2604.18779#bib.bib13)\); Yanget al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib23)\), such methods are still limited by partial observations at each step without a global view of the website’s structure\.

To address this limitation, we proposeMango, aMulti\-AgentNavigation method withGlobal\-viewOptimization for web automation\. Given a target website,Mangofirst constructs the global structure of the website through a lightweight crawl and a site\-specific keyword search\. Building upon this structure,Mangofurther identifies a candidate set of URLs that are most relevant to the user query\. Given a limited budget,Mangodynamically selects the next URL to visit via Thompson Sampling\. After each navigation attempt,Mangoreflects on the navigation trajectory and updates the probabilistic distribution of Thompson Sampling\. It also stores both the reflection and the trajectory in an episodic memory to prevent redundant visits\.

Mangois evaluated on two web navigation benchmarks: WebVoyagerHeet al\.\([2024](https://arxiv.org/html/2604.18779#bib.bib12)\)and WebWalkerQAWuet al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib21)\)\. Following prior works on web navigationWuet al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib21)\); Yanget al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib23)\), we use success rate \(SR\) and action count \(AC\) to measure the performance and efficiency ofMango\. We experiment with five LLMs as backbones forMangoand compare it against two state\-of\-the\-art \(SOTA\) methods, AgentOccamYanget al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib23)\)and WebWalkerWuet al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib21)\), on both benchmarks\. The results show thatMangoconsistently achieves superior SR compared to SOTA baselines across all five backbone models, yielding absolute improvements of 3\.1% to 7\.3% on WebVoyager and 4\.6% to 26\.8% on WebWalkerQA\. Regarding efficiency,Mangomaintains competitive or lower AC on the Qwen3 models\. While it incurs higher AC when using GPT\-5\-mini, this investment translates into performance gains, yielding a 7\.3% absolute improvement on WebVoyager and a 26\.8% absolute improvement on WebWalkerQA compared to the best baseline\. Finally, ablation studies show thatMangosignificantly outperforms variants based on random URL selection, search\-based URL selection, and MCTS\-guided navigation, which confirms the effectiveness of global view analysis and Thompson Sampling used inMango\.

## 2Related Work

### 2\.1Web Navigation Agents

Recent advances in LLMs have significantly accelerated research on web navigation agentsNinget al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib17)\)\. One line of research focuses on improving agents’ perception of the browser environmentDenget al\.\([2023](https://arxiv.org/html/2604.18779#bib.bib8)\); Zhenget al\.\([2024](https://arxiv.org/html/2604.18779#bib.bib27)\), e\.g\., by summarizing long HTML documents into task\-relevant snippets to extract salient environmental informationGuret al\.\([2024](https://arxiv.org/html/2604.18779#bib.bib11)\)\. Another line of research focuses on planning and decision\-making, where complex tasks are decomposed into a sequence of sub\-tasks that are executed step by stepLiet al\.\([2023](https://arxiv.org/html/2604.18779#bib.bib15)\); Abuelsaadet al\.\([2024](https://arxiv.org/html/2604.18779#bib.bib2)\); Tanet al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib19)\)\. A third line of research aims to refine action execution through better grounding in the browser environment, e\.g\., aligning natural language actions with correct UI elementsLinet al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib16)\); Kimet al\.\([2024](https://arxiv.org/html/2604.18779#bib.bib13)\)\.

However, these methods share a common limitation: they typically initiate navigation from the root URL \(i\.e\., the homepage\), leading to inefficient exploration on large and complex websites\. In contrast, our method explicitly constructs a global structural representation of the website to identify intent\-related entry points for navigation\.

### 2\.2Agentic Search Strategies

To enhance the multi\-step reasoning capability of agents, different search strategies have been adopted to navigate the solution space of a task in different domainsGanet al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib9)\); Antoniadeset al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib5)\); Yuet al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib24)\)\. For instance, Language Agent Tree SearchZhouet al\.\([2024a](https://arxiv.org/html/2604.18779#bib.bib28)\)integrates Monte Carlo Tree Search \(MCTS\) with LLM\-powered value functions and self\-reflection to optimize decision\-making in the generation process\. In web navigation, WebPilotZhanget al\.\([2024](https://arxiv.org/html/2604.18779#bib.bib25)\)adopts MCTS with a dual optimization strategy\.Kohet al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib14)\)adopts a best\-first search algorithm to explore diverse interaction trajectories for improved task completion\.

While effective, these methods still must discover the website structure incrementally from the homepage\. Our method differs by pruning the search space before navigation begins\. Instead of expanding a massive search tree from the root, we use the global structure of the website to identify candidate URLs and then use Thompson Sampling to allocate the computational budget efficiently\. As shown in Section[4\.3](https://arxiv.org/html/2604.18779#S4.SS3),Mangoconsistently outperforms the MCTS variant, achieving absolute improvements ranging from 5\.2% to 17\.1%\.

### 2\.3Agentic Memory

Agentic memory is an effective way to transform stateless LLMs into adaptive agents by enabling the autonomous retention, organization, and retrieval of experiential knowledge for long\-horizon planning and continuous adaptationXuet al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib22)\)\. Some web agents adopt short\-term memory, which stores previous actions in a web navigation trajectoryGuanet al\.\([2024](https://arxiv.org/html/2604.18779#bib.bib10)\); Laiet al\.\([2024](https://arxiv.org/html/2604.18779#bib.bib1)\)\.Zhenget al\.\([2024](https://arxiv.org/html/2604.18779#bib.bib27)\)propose a method to store and retrieve web navigation trajectories of successfully completed tasks to guide the current navigation\.Agasheet al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib3)\)introduced Narrative Memory, which stores high\-level summaries of past experiences and real\-time information retrieved from the web\.

Building on these foundations, we integrate an episodic memory module to prevent the agent from repeating unsuccessful actions\.Mangorecords the actions performed in each navigation trajectory and its reflection on the trajectory\. During subsequent navigation to the same URL, the stored information is provided to the navigation agent to prevent it from repeating incorrect actions\.

## 3Method

![Refer to caption](https://arxiv.org/html/2604.18779v1/x1.png)Figure 1:Overview of the web navigation agent system\.Figure[1](https://arxiv.org/html/2604.18779#S3.F1)provides an overview ofMango\. Given the user queryqqand the root URLuru\_\{r\},Mangofirst constructs and analyzes the website structure to identify a candidate set of URLs\. Under a limited navigation budget,Mangomodels URL selection as a Multi\-Armed Bandit \(MAB\) problem and applies Thompson sampling to adaptively prioritize promising URLs during navigation\. For each selected URL, the web navigation agent interacts with the browser to navigate starting from that URL\. After each navigation attempt, the reflection agent evaluates the navigation trajectory and provides feedback to update the bandit posterior for the next navigation attempt\.

### 3\.1Global Structure Analysis

Existing web navigation agents typically begin their exploration from the root URLGuret al\.\([2024](https://arxiv.org/html/2604.18779#bib.bib11)\); Zhouet al\.\([2024a](https://arxiv.org/html/2604.18779#bib.bib28)\)\. While effective for small\-scale sites, this strategy becomes inefficient for large\-scale websites with thousands of pages, as it forces the agent to incrementally traverse the enormous search space\. To address this limitation,Mangoconstructs and analyzes the global hierarchical structure of a website to identify a set of query\-related URLs as starting points, denoted as𝒰\\mathcal\{U\}, prior to navigation\.

Specifically, given the root URLuru\_\{r\},Mangofirst performs lightweight web crawling via breadth\-first search \(BFS\) to collect a set of reachable URLs starting fromuru\_\{r\}\. During crawling,Mangofilters out URLs that point to non\-HTML files \(e\.g\., images and videos\) as well as URLs that lead to external websites, retaining only pages within the same domain\. To ensure the process completes within a reasonable time, we set a limitτ\\tauon the maximum number of pages to crawl\. To ensure simplicity and cost efficiency,Mangoemploys the BM25 ranking algorithmRobertsonet al\.\([2009](https://arxiv.org/html/2604.18779#bib.bib18)\)to score these URLs based on the semantic similarity of their content to the queryqq\. The top 10 URLs are added to𝒰\\mathcal\{U\}\. We describe the implementation details of this web crawling process in Appendix[A\.1](https://arxiv.org/html/2604.18779#A1.SS1)\.

However, some websites contain a vast number of webpages that cannot be fully reached through crawling alone due to time and depth constraints\. For example, arXiv has over 2\.9M pages of research papers\.111[https://arxiv\.org/stats/main](https://arxiv.org/stats/main)Consequently, crawling the entire site is practically infeasible\. In such cases, relying solely on web crawling is insufficient\. As Google has already indexed most pages within a website’s hierarchy,Mangoasks the LLM to recommend search keywords based on the user query \(Prompt shown in Table[6](https://arxiv.org/html/2604.18779#A3.T6)\)\. Then, it leverages thesiteoperator of Google Search to retrieve additional relevant pages and add the top 10 results into𝒰\\mathcal\{U\}\.

### 3\.2URL Prioritization and Selection

After the global structure analysis component identifies the candidate URLs set𝒰\\mathcal\{U\},Mangoneeds to prioritize these URLs for navigation under a limited navigation budget\. Inspired byChakrabartiet al\.\([2008](https://arxiv.org/html/2604.18779#bib.bib7)\), we model this task as a multi\-armed bandit \(MAB\) problem with finite\-lifetime arms\. UnlikeChakrabartiet al\.\([2008](https://arxiv.org/html/2604.18779#bib.bib7)\), which assigns a fixed lifetime to each arm \(e\.g\., an armiiis deactivated after being selectedLiL\_\{i\}times\), the deactivation of an arm in our method is dynamically determined by the reflection agent based on the navigation history\. We formalize this variant of the MAB problem as follows:

- •Arms: The set of candidate URLs𝒰\\mathcal\{U\}\. Each URLuiu\_\{i\}maintains a dynamic status, being eitherActiveorExhausted\.
- •Selection Strategy: A probabilistic strategy based on Thompson Sampling that selects the most promising URL from the set of currently active arms, denoted as𝒰a​c​t\\mathcal\{U\}\_\{act\}\.
- •State Transitions: A dual\-update logic that modifies both the probability distribution and the active status of the arm based on navigation outcomes\.

We initialize the Beta distribution parameters \(αu,βu\\alpha\_\{u\},\\beta\_\{u\}\) for each arm based on the relevance between the web content of a URL and the user query\. Specifically, we reuse the BM25 relevance scores calculated by the global structure analysis component to initialize these two parameters\. Letλu\\lambda\_\{u\}be the BM25 score of the content of URLuu, we normalizeλu\\lambda\_\{u\}toρu\\rho\_\{u\}:

ρu=λu−minu′∈𝒰r⁡\(λu′\)maxu′∈𝒰r⁡\(λu′\)−minu′∈𝒰r⁡\(λu′\)\+ϵ\\rho\_\{u\}=\\frac\{\\lambda\_\{u\}\-\\min\_\{u^\{\\prime\}\\in\\mathcal\{U\}\_\{r\}\}\(\\lambda\_\{u^\{\\prime\}\}\)\}\{\\max\_\{u^\{\\prime\}\\in\\mathcal\{U\}\_\{r\}\}\(\\lambda\_\{u^\{\\prime\}\}\)\-\\min\_\{u^\{\\prime\}\\in\\mathcal\{U\}\_\{r\}\}\(\\lambda\_\{u^\{\\prime\}\}\)\+\\epsilon\}Here,ϵ\\epsilonis a small constant for numerical stability\. Then, we initializeαu,βu\\alpha\_\{u\},\\beta\_\{u\}as follows:

αu\(0\)=1\+κ⋅ρu,βu\(0\)=1\+κ⋅\(1−ρu\)\\alpha\_\{u\}^\{\(0\)\}=1\+\\kappa\\cdot\\rho\_\{u\},\\quad\\beta\_\{u\}^\{\(0\)\}=1\+\\kappa\\cdot\(1\-\\rho\_\{u\}\)Here,κ\\kappais the weight parameter of the relevance\.

At each steptt, the agent selects a URLu∗u^\{\*\}to visit by sampling a valueθu\\theta\_\{u\}from the posterior Beta distribution of eachActivearm and choosing the maximum:

u∗=arg⁡maxu∈𝒰a​c​t⁡\{θu\(t\):θu\(t\)∼Beta​\(αu\(t\),βu\(t\)\)\}u^\{\*\}=\\arg\\max\_\{u\\in\\mathcal\{U\}\_\{act\}\}\\left\\\{\\theta\_\{u\}^\{\(t\)\}:\\theta\_\{u\}^\{\(t\)\}\\sim\\mathrm\{Beta\}\(\\alpha\_\{u\}^\{\(t\)\},\\beta\_\{u\}^\{\(t\)\}\)\\right\\\}
After each navigation, the reflection agent outputs a status based on the navigation trajectory \(detailed in Section[3\.4](https://arxiv.org/html/2604.18779#S3.SS4)\)\. We assign a Bernoulli rewardr∈\{0,1\}r\\in\\\{0,1\\\}for each type of status\. Given the reward valuer\(t\)r^\{\(t\)\}of the status,Mangoupdates the distribution parameters as follows:

αu\(t\+1\)=αu\(t\)\+r\(t\),βu\(t\+1\)=βu\(t\)\+\(1−r\(t\)\)\\alpha\_\{u\}^\{\(t\+1\)\}=\\alpha\_\{u\}^\{\(t\)\}\+r^\{\(t\)\},\\beta\_\{u\}^\{\(t\+1\)\}=\\beta\_\{u\}^\{\(t\)\}\+\(1\-r^\{\(t\)\}\)\(1\)Furthermore, if the status indicates the navigation of the URL reached a dead end,Mangowill mark this URL as exhausted so it will not be considered in future URL selection and navigation\.

### 3\.3Web Navigation Agent

The input to the web navigation agent consists of the user queryqqand the selected URLu∗u^\{\*\}, which is chosen by Thompson Sampling\. The web navigation agent is constrained with a navigation budgetbbto limit the maximum actions to perform\. If the URL has been previously visited,Mangoretrieves the navigation trajectory and reflection summary of the previous visit from the episodic memory and appends them to the input of the navigation agent\. The navigation agent then decides which actions to perform on the browser environment and receives browser observations in response iteratively\.

Specifically,Mangotreats the browser environment as a plug\-in component\. This architectural choice allows the navigation agent to interact with different web browsing environments and action spaces\. To ensure a fair comparison with baselines, we align our browser environment settings with those used by leading methods on each benchmark\. For example, when evaluating on WebVoyagerHeet al\.\([2024](https://arxiv.org/html/2604.18779#bib.bib12)\), we adopt the Playwright\-based environment222[https://github\.com/microsoft/playwright\-mcp](https://github.com/microsoft/playwright-mcp)used by AgentOccam\. Similarly, for the WebWalkerQA benchmarkWuet al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib21)\), we utilize the Crawl4AI environment333[https://github\.com/unclecode/crawl4ai](https://github.com/unclecode/crawl4ai)employed by WebWalker\. Adopting the same browsing environments as these SOTA methods makes it easier to run the experiments and establish a fair comparison with these web agents\.

Finally, the web navigation agent may end in one of two states\. First, it may have generated a response indicating completion of the task\. However, there is a chance that the task is not yet fully completed, especially for tasks that require multiple actions, e\.g\., scraping multiple pieces of information from a webpage, filling in multiple text fields, etc\. Second, the agent may exhaust its navigation budgetbbbefore completing the task\. This case is more challenging\. The agent may be following a promising path but is forced to terminate early due to budget constraints, or it may be pursuing an unpromising path that would ultimately lead to a dead end\. To carefully evaluate the status of the navigation attempt, the web navigation agent shares its navigation history with the reflection agent and hands off control to it\.

### 3\.4Reflection Agent

We introduce a reflection agent to further analyze the navigation trajectory and the final output of this navigation to determine the navigation attempt’s status\. If the web navigation agent indicates task completion, the reflection agent will assess whether the actions performed in the navigation trajectory and final output satisfy the user query\. The prompt for this reflection is shown in Table[8](https://arxiv.org/html/2604.18779#A3.T8)in Appendix[C](https://arxiv.org/html/2604.18779#A3)\. If the answer is considered adequate by the reflection agent,Mangoterminates and outputs the final result\. However, if the result is inadequate \(e\.g\., the extracted information is partial or the interaction is incomplete\),Mangotreats this as a promising path that requires further exploration\. Consequently, it assigns a positive rewardr=1r=1to update the Beta distribution parameters \(Eq\.[1](https://arxiv.org/html/2604.18779#S3.E1)\), thereby increasing the probability of re\-selecting this URL in future iterations\.

In the case of budget exhaustion, the reflection agent will evaluate whether the current navigation trajectory remains promising and should be continued\. The prompt is shown in Table[9](https://arxiv.org/html/2604.18779#A3.T9)in Appendix[C](https://arxiv.org/html/2604.18779#A3)\. If the reflection agent deems the page is relevant but requires more navigation to complete the task,Mangoassigns a rewardr=1r=1to maintain a high probability of selection\. Otherwise,Mangoassigns a negative rewardr=0r=0, which updates the Beta distribution to discourage the agent from revisiting unpromising URLs\.

The resulting status is then stored in the episodic memory and returned to the Thompson sampling selector to update the probability distribution\. Furthermore,Mangostores the navigation trajectory, the final output of this navigation, and the reflection in the episodic memory\. In the next round of navigation, if the same URL is visited again, this information will be retrieved to help the web navigation agent to make a more informed decision without repeating the actions on the same URL\.

## 4Experiment

### 4\.1Experimental Settings

#### Benchmarks

We conduct experiments on two web navigation benchmarks, WebVoyagerHeet al\.\([2024](https://arxiv.org/html/2604.18779#bib.bib12)\)and WebWalkerQAWuet al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib21)\)\. WebVoyager consists of web navigation tasks on popular real\-world websites, such as Amazon and Coursera\. To evaluateMangoon WebVoyager without the subjectivity introduced by human annotations, we follow AgentOccamYanget al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib23)\)to use the 129 filtered QA tasks with golden answers\. WebWalkerQA is a benchmark that contains 680 web navigation tasks across websites in four different domains, including conference, education, organization, and game\. Furthermore, WebWalkerQA includes both single\-source and multi\-source QA tasks\. Single\-source tasks require deep exploration from the root URL to locate information on a single page, whereas multi\-source tasks require integrating details from multiple distinct pages to answer a user query\.

#### Comparison Baselines

We compareMangowith two prior methods: \(1\) AgentOccamYanget al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib23)\), a web agent that refines the action and observation space to better align with the LLM’s capabilities; and \(2\) WebWalkerWuet al\.\([2025](https://arxiv.org/html/2604.18779#bib.bib21)\), a web agent that adopts an explore–critic paradigm\. These two baselines are the best\-performing methods on the WebVoyager and WebWalkerQA benchmarks, respectively\.

#### Base LLMs

We experiment with five different LLMs as the backbone ofMango, including the GPT\-5\-mini model and Qwen3\-\{4, 8, 14, 32\}B models\. We access all models with their official API\. For the GPT\-5\-mini model, we use the default parameter settings of the OpenAI API\. For the Qwen3 models, we disable the thinking mode and set the temperature to 0\.7 and top\_p to 0\.8 following the official best\-practice guideline\.

#### Implementation Details

In our experiments, we limit both the navigation budgetbband Thompson sampling iterations ofMangoto 10\. We run all experiments in a single run\.

### 4\.2Results and Analysis

Table 1:Comparison of the success rate \(SR\) ofMangowith baselines on WebVoyager\.Single\-source QAMulti\-source QAOverallModelMethodEasyMediumHardOverallEasyMediumHardOverallOpen\-Sourced LLMsQwen3\-4BWebWalker28\.7516\.435\.8315\.5916\.2510\.004\.179\.4112\.50AgentOccam7\.502\.861\.673\.5311\.254\.293\.335\.594\.56Mango21\.2526\.4317\.5022\.0611\.2512\.1412\.5012\.0617\.06Qwen3\-8BWebWalker15\.0018\.5713\.3315\.8817\.508\.575\.009\.4112\.65AgentOccam8\.754\.291\.674\.4110\.005\.002\.505\.294\.85Mango26\.2531\.4325\.8328\.2416\.2515\.7115\.0015\.5921\.91Qwen3\-14BWebWalker35\.0020\.7110\.8320\.5915\.007\.865\.838\.8214\.71AgentOccam11\.255\.001\.675\.298\.755\.718\.337\.356\.32Mango35\.0037\.1425\.8332\.6520\.0019\.2919\.1719\.4126\.03Qwen3\-32BWebWalker35\.0022\.1414\.1722\.3513\.7515\.005\.0011\.1816\.76AgentOccam11\.2510\.005\.008\.5316\.2511\.4311\.6712\.6510\.59Mango41\.2540\.7125\.0035\.2925\.0022\.1418\.3321\.4728\.38Closed\-Sourced LLMsGPT\-5\-miniWebWalker35\.0032\.8621\.6729\.4133\.7522\.1414\.1722\.0625\.74AgentOccam26\.2520\.0013\.3319\.1230\.0018\.5719\.1721\.4720\.29Mango63\.7564\.2954\.1760\.5943\.7550\.7137\.5044\.4152\.50

Table 2:Comparison of the success rate \(SR\) ofMangowith baselines on WebWalkerQA\.Table 3:Action count comparison on WebVoyager and WebWalkerQA\.In this section, we present a comprehensive analysis ofMango’s performance and efficiency on the WebVoyager and WebWalkerQA benchmarks\.

#### Success Rate

Table[1](https://arxiv.org/html/2604.18779#S4.T1)shows the success rate ofMangocompared with WebWalker and AgentOccam on the WebVoyager benchmark\.Mangoachieves the best performance across all settings\. For instance, with GPT\-5\-mini as the backbone,Mangoachieves a 63\.6% success rate, surpassing AgentOccam with a 7\.3% absolute improvement and WebWalker with a 47\.3% absolute improvement\.

Table[2](https://arxiv.org/html/2604.18779#S4.T2)presents the results on the WebWalkerQA benchmark\.Mangoconsistently outperforms WebWalker and AgentOccam in terms of overall success rate across all backbone models\. For example, with the GPT\-5\-mini backbone,Mangoachieves an overall success rate of 52\.5%, substantially outperforming WebWalker \(25\.7%\) and AgentOccam \(20\.3%\)\. Comparing the performance across different difficulty levels, we observe thatMangoexhibits better robustness than both baselines\. While the success rate naturally declines as the task difficulty level increases,Mangomaintains a significant lead over baselines on the most challenging queries\.

Furthermore,Mangodemonstrates robust capabilities across both single\-source QA and multi\-source QA tasks\. On single\-source QA tasks,Mangoachieves a 31\.2% absolute improvement over the best baseline when using GPT\-5\-mini\. The performance gain is even more pronounced on the more challenging multi\-source QA tasks—Mangodoubles the performance of both AgentOccam and WebWalker when using GPT\-5\-mini\.

We also analyze the impact of the backbone model size using the Qwen3 family\. As shown in Table[2](https://arxiv.org/html/2604.18779#S4.T2), the performance ofMangoscales monotonically with model size, improving from 17\.1% with Qwen3\-4B to 28\.4% with Qwen3\-32B\.

#### Action Count

We count the total number of actions performed byMangoand the baseline methods for each task to measure their efficiency\. Table[3](https://arxiv.org/html/2604.18779#S4.T3)reports the average action count of different methods on WebVoyager and WebWalkerQA\. When using Qwen3 models,Mangorequires competitive or lower action counts while consistently obtaining higher success rates\. Yet when using GPT\-5\-mini,Mangotakes more actions than both baselines on both benchmarks\. An in\-depth analysis reveals that this increase of actions is becauseMangosolves more complex, long\-horizon tasks when using GPT\-5\-mini\. As illustrated in Figure[2](https://arxiv.org/html/2604.18779#S4.F2), WebWalker and AgentOccam plateau early on both benchmarks\. Specifically, on WebWalkerQA \(Figure[2\(b\)](https://arxiv.org/html/2604.18779#S4.F2.sf2)\), they fail to complete any more tasks after 28 and 49 action counts, respectively\. In contrast,Mangocontinues to accumulate successes well beyond 50 to 100 actions\. This suggests that the higher average action count is driven byMango’s ability to persevere and succeed on challenging tasks that require more actions to complete\.

![Refer to caption](https://arxiv.org/html/2604.18779v1/x2.png)\(a\)WebVoyager
![Refer to caption](https://arxiv.org/html/2604.18779v1/x3.png)\(b\)WebWalkerQA

Figure 2:Cumulative number of successful tasks relative to the action count using GPT\-5\-mini on WebVoyager \(Figure[2\(a\)](https://arxiv.org/html/2604.18779#S4.F2.sf1)\) and WebWalkerQA \(Figure[2\(b\)](https://arxiv.org/html/2604.18779#S4.F2.sf2)\)\.Finally, we analyze the impact of model size on the number of actions within the Qwen3 family\. As shown in Table[3](https://arxiv.org/html/2604.18779#S4.T3), the average action count remains relatively stable despite the significant improvement in success rates \(e\.g\., from 17\.1% with Qwen3\-4B to 28\.4% with Qwen3\-32B on WebWalkerQA\)\. This indicates that larger models in the Qwen3 family improve performance primarily through more accurate decision\-making rather than by simply extending the exploration depth, thereby maintaining navigation efficiency even as their capability to handle complex tasks increases\.

### 4\.3Ablation Study

Table 4:Comparison of success rates \(SR\) betweenMangoand three variants on WebVoyager and WebWalkerQA\.To validate the effectiveness of each component inMango, we conduct an ablation study by comparingMangowith three variants\.

We first evaluate the impact of the global structure analysis component by modifying the candidate URL set generation strategy with two variants:Mangorandom\{\}\_\{\\text\{random\}\}andMangogoogle\{\}\_\{\\text\{google\}\}\.Mangorandom\{\}\_\{\\text\{random\}\}is a simple method that randomly selects a candidate URL set from the entire set of reachable pages collected during web crawling\.Mangogoogle\{\}\_\{\\text\{google\}\}constructs the candidate set𝒰\\mathcal\{U\}solely using URLs retrieved by Google Search\.

Second, we assess the contribution of our URL prioritization and selection algorithm by comparingMangowith an agentic search strategy, Monte Carlo Tree Search \(MCTS\), as introduced in Section[2\.3](https://arxiv.org/html/2604.18779#S2.SS3)\. We implement this variant inspired by both LATSZhouet al\.\([2024a](https://arxiv.org/html/2604.18779#bib.bib28)\), a general agent leveraging MCTS, and WebPilotZhanget al\.\([2024](https://arxiv.org/html/2604.18779#bib.bib25)\), a web agent leveraging a variant of MCTS\. Since the implementation of WebPilot is not released publicly, we adopt the one\-step simulation concept from it and retain the standard MCTS search for agents following LATS\. We connect the MCTS navigation agent after our Global Structure Analysis component, initializing the state using the candidate URL set𝒰\\mathcal\{U\}and performing MCTS to navigate the pages\. We describe the implementation details in Appendix[A\.2](https://arxiv.org/html/2604.18779#A1.SS2)\.

As shown in Table[4](https://arxiv.org/html/2604.18779#S4.T4),Mangoconsistently outperforms all variants across both benchmarks\. When comparing URL selection strategies,Mangorandom\{\}\_\{\\text\{random\}\}exhibits lower performance \(e\.g\., 56\.59% SR on WebVoyager with GPT\-5\-mini\) compared toMango\. WhileMangogoogle\{\}\_\{\\text\{google\}\}performs better than the random baseline, it still lags behind the full method\. This demonstrates that relying solely on Google Search is insufficient\.

Furthermore, the comparison withMangoMCTS\{\}\_\{\\text\{MCTS\}\}reveals the superiority of our Thompson Sampling approach for budget\-constrained web navigation\.Mangosignificantly outperformsMangoMCTS\{\}\_\{\\text\{MCTS\}\}across all settings\. For instance, on WebVoyager with the GPT\-5\-mini backbone,Mangoachieves a success rate of 63\.57% compared to 46\.51% forMangoMCTS\{\}\_\{\\text\{MCTS\}\}\. This is primarily because MCTS requires a large number of interaction steps to expand the search tree and estimate state values, which becomes impractical under strict budget constraints\. In contrast, Thompson Sampling can rapidly balance exploration and exploitation without simulation, allowing the agent to allocate its limited navigation budget more efficiently toward the most promising candidate URLs\.

We further justify our design choices of the relevance scoring mechanism, the URL prioritization strategy, and the episodic memory component through additional ablation studies in Appendix[B](https://arxiv.org/html/2604.18779#A2)\.

### 4\.4Sensitivity Analysis

![Refer to caption](https://arxiv.org/html/2604.18779v1/x4.png)\(a\)
![Refer to caption](https://arxiv.org/html/2604.18779v1/x5.png)\(b\)
![Refer to caption](https://arxiv.org/html/2604.18779v1/x6.png)\(c\)
![Refer to caption](https://arxiv.org/html/2604.18779v1/x7.png)\(d\)
![Refer to caption](https://arxiv.org/html/2604.18779v1/x8.png)\(e\)
![Refer to caption](https://arxiv.org/html/2604.18779v1/x9.png)\(f\)

Figure 3:Sensitivity analysis ofMangoregarding key hyperparameters: the navigation budget per URL selectionbb, the number of Thompson Sampling iterations, the weight parameterκ\\kappa, the crawl limitτ\\tau, and the candidate set sizes of Crawling and Google Search\.We analyze the sensitivity ofMangoto five key hyperparameters: the navigation budget per URL selectionbb, the number of Thompson Sampling iterations, the weight parameterκ\\kappa, the crawl limitτ\\tau, and the candidate set size\. We runMangoin different budget settings on 100 tasks from WebWalkerQA using Qwen3\-32B\.

#### Navigation Budgetbb\.

As shown in Figure[3\(a\)](https://arxiv.org/html/2604.18779#S4.F3.sf1), the success rate improves asbbincreases from 5 to 15\. However, performance declines slightly whenbbis further increased to 20, suggesting that excessive actions on a single navigation attempt may cause the agent to confabulate or get lost in irrelevant paths\.

#### Thompson Sampling Iterations\.

Figure[3\(b\)](https://arxiv.org/html/2604.18779#S4.F3.sf2)shows a positive correlation between the number of Thompson Sampling iterations and the success rate\. This confirms that allocating more iterations allows the bandit to better balance exploration and exploitation across candidate URLs, leading to more effective navigation\.

#### Weight Parameterκ\\kappa\.

The parameterκ\\kappacontrols the strength of the initial BM25 relevance score when initializing the Beta distribution for Thompson Sampling\. As shown in Figure[3\(c\)](https://arxiv.org/html/2604.18779#S4.F3.sf3), the success rate peaks at 26% whenκ=3\\kappa\{=\}3\. Asκ\\kappaincreases to 7 and 9, performance drops to 19% and 18%, respectively\. A highκ\\kappamakes the initial prior too rigid, overpowering the reward signal from the reflection agent and preventing the bandit from dynamically adapting to navigation outcomes\.

#### Crawl Limitτ\\tau\.

Figure[3\(d\)](https://arxiv.org/html/2604.18779#S4.F3.sf4)shows that performance steadily improves asτ\\tauincreases from 100 \(22% SR\) to 1000 \(26% SR\)\. However, doublingτ\\tauto 2000 yields no further improvement\. Therefore,τ=1000\\tau\{=\}1000serves as an optimal sweet spot, maximizing structural coverage without incurring the exponential time and computational costs associated with deeper crawling\.

#### Candidate Set Size\.

Figures[3\(e\)](https://arxiv.org/html/2604.18779#S4.F3.sf5)and[3\(f\)](https://arxiv.org/html/2604.18779#S4.F3.sf6)show the effect of varying the number of candidates drawn from crawled URLs and Google search results, respectively\. For both sources, Top\-10 yields the best performance \(28% and 24% SR\)\. Since the navigation budget and Thompson Sampling iterations are capped at 10, an overly large combined candidate pool spreads the exploration budget too thin\. Taking Top\-10 from both sources thus strikes the ideal trade\-off\.

### 4\.5Failure Case Analysis

To understand the limitations ofMango, we manually inspected 323 failure cases from the WebWalkerQA benchmark using GPT\-5\-mini as the backbone model\. We identified five distinct error patterns:

- •Exceed Budget \(52\.4%\):This is the most common failure mode, where the agent exhausts the navigation budget before locating the target information\. We identify two possible reasons for this issue\. First,Mangorelies on lightweight crawling and search\-based augmentation to construct a global view, which may provide incomplete coverage for very large websites with thousands of webpages\. If the target information is buried deep in such websites,Mangomay not be able to find it with a limited budget\. Second, the bandit\-based URL selection depends on the quality of the initial candidate set, and errors in relevance estimation can result in suboptimal early choices that incur irreversible budget costs under strict action limits\.
- •Locating Wrongly \(24\.6%\):This error occurs when the agent navigates to an incorrect or irrelevant sub\-page\.Mangomay be misled by ambiguous links, resulting in navigation trajectories that deviate from the target information source\.
- •Reasoning Error \(15\.4%\):In these cases, the agent successfully navigates to the correct page containing the target information but fails to generate the correct answer\. For example, Task 140 asks for the student ID under a specific condition from the class of 2020, butMangooutputs the student ID that satisfies the corresponding condition for the class of 2022\. This indicates a failure in the underlying LLM’s reading comprehension or reasoning capabilities, leading to hallucinated or incorrect extraction of details from the correct context\.
- •Out\-of\-date Golden Answers \(5\.6%\):In a small portion of tasks in WebWalkerQA, the agent successfully retrieves the correct answer to the user query, but the answer is judged as incorrect because the golden answer is out\-of\-date\. For example, Task 155 in WebWalkerQA asks how many fiscal years in a row Sony fulfilled the goal of using renewable electricity in China\.Mangonavigates to the correct news page published in 2025 and answers “5 years” \(2020\-2024\)\. However, since this benchmark was created in 2024, which was one year earlier than 2025, the golden answer was labeled as “4 years”\.
- •Reflection Error \(2\.0%\):The rarest error type involves the reflection agent incorrectly assessing the navigation state\. Here, the reflection module prematurely classifies a partial or incorrect response as “adequate,” causing the agent to terminate the navigation session before the user query is fully satisfied\.

## 5Conclusion

We proposeMango, a web navigation framework that leverages global website structure to improve navigation efficiency under limited budgets\. By identifying query\-relevant entry points and modeling URL selection as a multi\-armed bandit problem with Thompson Sampling to prioritize the URL,Mangoallocates exploration efforts more effectively\. Experiments on WebVoyager and WebWalkerQA show thatMangoconsistently outperforms best baselines across five backbone models\.

## 6Limitation

Mangoconstructs a global view using lightweight crawling and search\-based augmentation, which does not guarantee full coverage for large, dynamic, or deeply nested websites\. In practice, many real\-world websites \(e\.g\., e\-commerce platforms like Amazon\) contain hundreds of thousands of pages, making exhaustive crawling both time\-prohibitive and unnecessary\. Therefore,Mangodeliberately constructs only a partial approximation of the site structure, focusing on representative and high\-relevance pages\. As a result, tasks with target information buried far down the hierarchy may still exceed the navigation budget\. This indicates that partial structural visibility remains a bottleneck for long\-horizon web navigation\.

The bandit\-based URL selection inMangodepends on the quality of the initial candidate set generated during global structure analysis\. Errors in relevance estimation or keyword generation can introduce suboptimal entry points, leading to early budget misallocation\. While Thompson Sampling mitigates this over time, incorrect early decisions are costly under strict action limits\.

Even when navigation succeeds,Mangocan fail due to reasoning errors, such as incorrect extraction or hallucinated details\. These failures are orthogonal to navigation quality and cannot be addressed solely through improved exploration strategies\. This limitation is shared by most current LLM\-based web agents\.

Mangooften achieves higher success rates by continuing exploration beyond where baseline agents plateau, which can increase action counts\. While beneficial for solving long\-horizon tasks, this behavior may be undesirable in latency\-sensitive or cost\-sensitive settings\.

## Acknowledgments

We sincerely thank the anonymous reviewers for their constructive feedback\. This work was supported by NSF Grant ITE\-2333736\.

## References

- T\. Abuelsaad, D\. Akkil, P\. Dey, A\. Jagmohan, A\. Vempaty, and R\. Kokku \(2024\)Agent\-e: from autonomous web navigation to foundational design principles in agentic systems\.arXiv preprint arXiv:2407\.13032\.Cited by:[§1](https://arxiv.org/html/2604.18779#S1.p2.1),[§2\.1](https://arxiv.org/html/2604.18779#S2.SS1.p1.1)\.
- S\. Agashe, J\. Han, S\. Gan, J\. Yang, A\. Li, and X\. E\. Wang \(2025\)Agent s: an open agentic framework that uses computers like a human\.InThe Thirteenth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=lIVRgt4nLv)Cited by:[§2\.3](https://arxiv.org/html/2604.18779#S2.SS3.p1.1)\.
- D\. Akkil, T\. Abuelsaad, P\. Dey, A\. Jagmohan, A\. Vempaty, and R\. Kokku \(2024\)Agent\-e: from autonomous web navigation to foundational design principles in agentic systems\.InNeurIPS 2024 Workshop on Open\-World Agents,External Links:[Link](https://openreview.net/forum?id=Z3qIhWAn1c)Cited by:[§1](https://arxiv.org/html/2604.18779#S1.p1.1)\.
- A\. Antoniades, A\. Örwall, K\. Zhang, Y\. Xie, A\. Goyal, and W\. Y\. Wang \(2025\)SWE\-search: enhancing software agents with monte carlo tree search and iterative refinement\.InThe Thirteenth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=G7sIFXugTX)Cited by:[§2\.2](https://arxiv.org/html/2604.18779#S2.SS2.p1.1)\.
- D\. Chakrabarti, R\. Kumar, F\. Radlinski, and E\. Upfal \(2008\)Mortal multi\-armed bandits\.InAdvances in Neural Information Processing Systems,D\. Koller, D\. Schuurmans, Y\. Bengio, and L\. Bottou \(Eds\.\),Vol\.21,pp\.\.External Links:[Link](https://proceedings.neurips.cc/paper_files/paper/2008/file/788d986905533aba051261497ecffcbb-Paper.pdf)Cited by:[§3\.2](https://arxiv.org/html/2604.18779#S3.SS2.p1.3)\.
- X\. Deng, Y\. Gu, B\. Zheng, S\. Chen, S\. Stevens, B\. Wang, H\. Sun, and Y\. Su \(2023\)Mind2Web: towards a generalist agent for the web\.InThirty\-seventh Conference on Neural Information Processing Systems Datasets and Benchmarks Track,External Links:[Link](https://openreview.net/forum?id=kiYqbO3wqw)Cited by:[§2\.1](https://arxiv.org/html/2604.18779#S2.SS1.p1.1)\.
- B\. Gan, Y\. Zhao, T\. Zhang, J\. Huang, L\. Yusu, S\. X\. Teo, C\. Zhang, and W\. Shi \(2025\)MASTER: a multi\-agent system with LLM specialized MCTS\.InProceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies \(Volume 1: Long Papers\),L\. Chiruzzo, A\. Ritter, and L\. Wang \(Eds\.\),Albuquerque, New Mexico,pp\. 9409–9426\.External Links:[Link](https://aclanthology.org/2025.naacl-long.476/),[Document](https://dx.doi.org/10.18653/v1/2025.naacl-long.476),ISBN 979\-8\-89176\-189\-6Cited by:[§2\.2](https://arxiv.org/html/2604.18779#S2.SS2.p1.1)\.
- Y\. Guan, D\. Wang, Z\. Chu, S\. Wang, F\. Ni, R\. Song, and C\. Zhuang \(2024\)Intelligent agents with llm\-based process automation\.InProceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining,KDD ’24,New York, NY, USA,pp\. 5018–5027\.External Links:ISBN 9798400704901,[Link](https://doi.org/10.1145/3637528.3671646),[Document](https://dx.doi.org/10.1145/3637528.3671646)Cited by:[§2\.3](https://arxiv.org/html/2604.18779#S2.SS3.p1.1)\.
- I\. Gur, H\. Furuta, A\. V\. Huang, M\. Safdari, Y\. Matsuo, D\. Eck, and A\. Faust \(2024\)A real\-world webagent with planning, long context understanding, and program synthesis\.InThe Twelfth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=9JQtrumvg8)Cited by:[§2\.1](https://arxiv.org/html/2604.18779#S2.SS1.p1.1),[§3\.1](https://arxiv.org/html/2604.18779#S3.SS1.p1.1)\.
- H\. He, W\. Yao, K\. Ma, W\. Yu, Y\. Dai, H\. Zhang, Z\. Lan, and D\. Yu \(2024\)WebVoyager: building an end\-to\-end web agent with large multimodal models\.InProceedings of the 62nd Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\),L\. Ku, A\. Martins, and V\. Srikumar \(Eds\.\),Bangkok, Thailand,pp\. 6864–6890\.External Links:[Link](https://aclanthology.org/2024.acl-long.371/),[Document](https://dx.doi.org/10.18653/v1/2024.acl-long.371)Cited by:[§1](https://arxiv.org/html/2604.18779#S1.p4.1),[§3\.3](https://arxiv.org/html/2604.18779#S3.SS3.p2.1),[§4\.1](https://arxiv.org/html/2604.18779#S4.SS1.SSS0.Px1.p1.1)\.
- J\. Kim, D\. Kim, L\. Logeswaran, S\. Sohn, and H\. Lee \(2024\)Auto\-intent: automated intent discovery and self\-exploration for large language model web agents\.InFindings of the Association for Computational Linguistics: EMNLP 2024,Y\. Al\-Onaizan, M\. Bansal, and Y\. Chen \(Eds\.\),Miami, Florida, USA,pp\. 16531–16541\.External Links:[Link](https://aclanthology.org/2024.findings-emnlp.964/),[Document](https://dx.doi.org/10.18653/v1/2024.findings-emnlp.964)Cited by:[§1](https://arxiv.org/html/2604.18779#S1.p2.1),[§2\.1](https://arxiv.org/html/2604.18779#S2.SS1.p1.1)\.
- J\. Y\. Koh, S\. M\. McAleer, D\. Fried, and R\. Salakhutdinov \(2025\)Tree search for language model agents\.Transactions on Machine Learning Research\.Note:External Links:ISSN 2835\-8856,[Link](https://openreview.net/forum?id=QF0N3x2XVm)Cited by:[§2\.2](https://arxiv.org/html/2604.18779#S2.SS2.p1.1)\.
- H\. Lai, X\. Liu, I\. L\. Iong, S\. Yao, Y\. Chen, P\. Shen, H\. Yu, H\. Zhang, X\. Zhang, Y\. Dong, and J\. Tang \(2024\)AutoWebGLM: a large language model\-based web navigating agent\.InProceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining,KDD ’24,New York, NY, USA,pp\. 5295–5306\.External Links:ISBN 9798400704901,[Link](https://doi.org/10.1145/3637528.3671620),[Document](https://dx.doi.org/10.1145/3637528.3671620)Cited by:[§2\.3](https://arxiv.org/html/2604.18779#S2.SS3.p1.1)\.
- T\. Li, G\. Li, Z\. Deng, B\. Wang, and Y\. Li \(2023\)A zero\-shot language agent for computer control with structured reflection\.InFindings of the Association for Computational Linguistics: EMNLP 2023,H\. Bouamor, J\. Pino, and K\. Bali \(Eds\.\),Singapore,pp\. 11261–11274\.External Links:[Link](https://aclanthology.org/2023.findings-emnlp.753/),[Document](https://dx.doi.org/10.18653/v1/2023.findings-emnlp.753)Cited by:[§2\.1](https://arxiv.org/html/2604.18779#S2.SS1.p1.1)\.
- K\. Q\. Lin, L\. Li, D\. Gao, Z\. Yang, S\. Wu, Z\. Bai, S\. W\. Lei, L\. Wang, and M\. Z\. Shou \(2025\)Showui: one vision\-language\-action model for gui visual agent\.InProceedings of the Computer Vision and Pattern Recognition Conference,pp\. 19498–19508\.Cited by:[§2\.1](https://arxiv.org/html/2604.18779#S2.SS1.p1.1)\.
- L\. Ning, Z\. Liang, Z\. Jiang, H\. Qu, Y\. Ding, W\. Fan, X\. Wei, S\. Lin, H\. Liu, P\. S\. Yu,et al\.\(2025\)A survey of webagents: towards next\-generation ai agents for web automation with large foundation models\.InProceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V\. 2,pp\. 6140–6150\.Cited by:[§2\.1](https://arxiv.org/html/2604.18779#S2.SS1.p1.1)\.
- S\. Robertson, H\. Zaragoza,et al\.\(2009\)The probabilistic relevance framework: bm25 and beyond\.Foundations and Trends® in Information Retrieval3\(4\),pp\. 333–389\.Cited by:[§3\.1](https://arxiv.org/html/2604.18779#S3.SS1.p2.5)\.
- W\. Tan, W\. Zhang, X\. Xu, H\. Xia, Z\. Ding, B\. Li, B\. Zhou, J\. Yue, J\. Jiang, Y\. Li, R\. An, M\. Qin, C\. Zong, L\. Zheng, Y\. Wu, X\. Chai, Y\. Bi, T\. Xie, P\. Gu, X\. Li, C\. Zhang, L\. Tian, C\. Wang, X\. Wang, B\. F\. Karlsson, B\. An, S\. YAN, and Z\. Lu \(2025\)Cradle: empowering foundation agents towards general computer control\.InForty\-second International Conference on Machine Learning,External Links:[Link](https://openreview.net/forum?id=6CAgbrjHTc)Cited by:[§1](https://arxiv.org/html/2604.18779#S1.p2.1),[§2\.1](https://arxiv.org/html/2604.18779#S2.SS1.p1.1)\.
- G\. Wang, Y\. Zhang, S\. Zhang,et al\.\(2023\)Voyager: an open\-ended embodied agent with large language models\.arXiv preprint arXiv:2305\.16291\.Cited by:[§1](https://arxiv.org/html/2604.18779#S1.p1.1)\.
- J\. Wu, W\. Yin, Y\. Jiang, Z\. Wang, Z\. Xi, R\. Fang, L\. Zhang, Y\. He, D\. Zhou, P\. Xie, and F\. Huang \(2025\)WebWalker: benchmarking LLMs in web traversal\.InProceedings of the 63rd Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\),W\. Che, J\. Nabende, E\. Shutova, and M\. T\. Pilehvar \(Eds\.\),Vienna, Austria,pp\. 10290–10305\.External Links:[Link](https://aclanthology.org/2025.acl-long.508/),[Document](https://dx.doi.org/10.18653/v1/2025.acl-long.508),ISBN 979\-8\-89176\-251\-0Cited by:[§1](https://arxiv.org/html/2604.18779#S1.p1.1),[§1](https://arxiv.org/html/2604.18779#S1.p4.1),[§3\.3](https://arxiv.org/html/2604.18779#S3.SS3.p2.1),[§4\.1](https://arxiv.org/html/2604.18779#S4.SS1.SSS0.Px1.p1.1),[§4\.1](https://arxiv.org/html/2604.18779#S4.SS1.SSS0.Px2.p1.1)\.
- W\. Xu, Z\. Liang, K\. Mei, H\. Gao, J\. Tan, and Y\. Zhang \(2025\)A\-mem: agentic memory for LLM agents\.InThe Thirty\-ninth Annual Conference on Neural Information Processing Systems,External Links:[Link](https://openreview.net/forum?id=FiM0M8gcct)Cited by:[§2\.3](https://arxiv.org/html/2604.18779#S2.SS3.p1.1)\.
- K\. Yang, Y\. Liu, S\. Chaudhary, R\. Fakoor, P\. Chaudhari, G\. Karypis, and H\. Rangwala \(2025\)AgentOccam: a simple yet strong baseline for LLM\-based web agents\.InThe Thirteenth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=oWdzUpOlkX)Cited by:[§1](https://arxiv.org/html/2604.18779#S1.p1.1),[§1](https://arxiv.org/html/2604.18779#S1.p2.1),[§1](https://arxiv.org/html/2604.18779#S1.p4.1),[§4\.1](https://arxiv.org/html/2604.18779#S4.SS1.SSS0.Px1.p1.1),[§4\.1](https://arxiv.org/html/2604.18779#S4.SS1.SSS0.Px2.p1.1)\.
- X\. Yu, B\. Peng, V\. Vajipey, H\. Cheng, M\. Galley, J\. Gao, and Z\. Yu \(2025\)ExACT: teaching AI agents to explore with reflective\-MCTS and exploratory learning\.InThe Thirteenth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=GBIUbwW9D8)Cited by:[§2\.2](https://arxiv.org/html/2604.18779#S2.SS2.p1.1)\.
- Y\. Zhang, Z\. Ma, Y\. Ma, and V\. Tresp \(2024\)WebPilot: A Versatile and Autonomous Multi\-Agent System for Web Task Execution with Strategic Exploration\.InProceedings of the AAAI Conference on Artificial Intelligence,Cited by:[§2\.2](https://arxiv.org/html/2604.18779#S2.SS2.p1.1),[§4\.3](https://arxiv.org/html/2604.18779#S4.SS3.p3.1)\.
- L\. Zheng, R\. Wang, X\. Wang, and B\. An \(2024\)Synapse: trajectory\-as\-exemplar prompting with memory for computer control\.InThe Twelfth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=Pc8AU1aF5e)Cited by:[§2\.1](https://arxiv.org/html/2604.18779#S2.SS1.p1.1),[§2\.3](https://arxiv.org/html/2604.18779#S2.SS3.p1.1)\.
- A\. Zhou, K\. Yan, M\. Shlapentokh\-Rothman, H\. Wang, and Y\. Wang \(2024a\)Language agent tree search unifies reasoning acting and planning in language models\.External Links:[Link](https://openreview.net/forum?id=6LNTSrJjBe)Cited by:[§2\.2](https://arxiv.org/html/2604.18779#S2.SS2.p1.1),[§3\.1](https://arxiv.org/html/2604.18779#S3.SS1.p1.1),[§4\.3](https://arxiv.org/html/2604.18779#S4.SS3.p3.1)\.
- A\. Zhou, K\. Yan, M\. Shlapentokh\-Rothman, H\. Wang, and Y\. Wang \(2024b\)Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models\.InInternational Conference on Machine Learning,Cited by:[§A\.2](https://arxiv.org/html/2604.18779#A1.SS2.p1.2)\.
- S\. Zhou, F\. F\. Xu, H\. Zhu, X\. Zhou, R\. Lo, A\. Sridhar, X\. Cheng, T\. Ou, Y\. Bisk, D\. Fried, U\. Alon, and G\. Neubig \(2024c\)WebArena: a realistic web environment for building autonomous agents\.InThe Twelfth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=oKn9c6ytLx)Cited by:[§1](https://arxiv.org/html/2604.18779#S1.p1.1)\.

## Appendix AImplementation Details

### A\.1Web Crawling

In this section, we describe our implementation details for the light\-weight web crawling used in the global structure analysis component \( Section[3\.1](https://arxiv.org/html/2604.18779#S3.SS1)\)\. We implement the web crawling component using the open\-source tool Crawl4AI444[https://github\.com/unclecode/crawl4ai](https://github.com/unclecode/crawl4ai)\. We employ theBFSDeepCrawlStrategyto traverse the website structure and extract page content in markdown format\. To ensure the process completes within a reasonable timeframe, we set themax\_pages\(i\.e\.,τ\\tauin Section[3\.1](https://arxiv.org/html/2604.18779#S3.SS1)\) parameter to 1000\. Additionally, we setinclude\_externaltoFalseandexclude\_all\_imagestoTrue\. These constraints ensure the crawler remains focused on the target domain’s hierarchy and filters out non\-navigational assets such as image paths\.

### A\.2MangoMCTS\{\}\_\{\\text\{MCTS\}\}

Following LATSZhouet al\.\([2024b](https://arxiv.org/html/2604.18779#bib.bib29)\),MangoMCTS\{\}\_\{\\text\{MCTS\}\}has the same six operations: selection, expansion, evaluation, simulation, backpropagation, and reflection\. To avoid exceeding the context length of LLMs due to long page content, instead of expanding the currently selected node until a terminal state is reached as in LATS, we leverage the one\-step simulation strategy from WebPilot\. Specifically, we perform the action that has the highest score from the evaluation step and ask the LLM to generate a reflection based on the observation after performing this action\. We set the maximum number of trajectories to sample, the number of times to prompt during expansion, and the number of times to prompt for state evaluation all to 10\. As we set both the navigation budgetbband the number of Thompson sampling iterations ofMangoto 10 \(Section[4\.1](https://arxiv.org/html/2604.18779#S4.SS1)\), we limit the maximum number of actions to 100 to ensure a fair comparison\.

## Appendix BAdditional Experiments and Analyses

In this section, we present additional experiments and analyses to justify our design choices regarding relevance scoring, URL prioritization, and the episodic memory component\. We conduct experiments on the same subset of the WebWalkerQA benchmark as Section[4\.4](https://arxiv.org/html/2604.18779#S4.SS4), using GPT\-5\-mini as the backbone model\.

Table 5:Additional ablation studies onMango, evaluated on a subset of WebWalkerQA with GPT\-5\-mini as the backbone\. We compareMangowith variants that \(1\) replace BM25 with semantic embeddings, \(2\) replace Thompson Sampling with a greedy ranking strategy, and \(3\) remove the episodic memory component\.### B\.1Impact of Relevance Scoring Mechanisms

In the URL Prioritization and Selection component \(Section[3\.2](https://arxiv.org/html/2604.18779#S3.SS2)\),Mangoemploys BM25 to score candidate URLs based on their relevance to the user query\. While semantic embedding models could potentially capture richer contextual signals, computing embeddings for up to 1,000 crawled pages per task incurs substantial computational overhead\. To validate our choice of BM25, we compareMangoagainst a variant,MangoEmbedding\\text\{\{Mango\}\{\}\}\_\{\\text\{Embedding\}\}, which replaces BM25 with semantic similarity scores computed by theKaLM\-Embedding\-V2\.5model555[https://huggingface\.co/KaLM\-Embedding/KaLM\-embedding\-multilingual\-mini\-instruct\-v2\.5](https://huggingface.co/KaLM-Embedding/KaLM-embedding-multilingual-mini-instruct-v2.5)\. As shown in Table[5](https://arxiv.org/html/2604.18779#A2.T5),Mangoachieves a 55\.0% overall success rate, slightly outperforming the embedding\-based variant at 53\.0%\. We found that using a pre\-trained embedding model sometimes struggled to distinguish page URLs that have subtle differences in wording, while BM25 is more sensitive to word differences\. Nevertheless, fine\-tuning an embedding model specifically for this task or performing semantic analysis on the page content instead of just the page URL would presumably lead to better performance, but would also lead to higher development cost or runtime cost\.

### B\.2Effectiveness of Thompson Sampling over Greedy Selection

To demonstrate that our MAB formulation provides meaningful benefits over simpler ranking approaches, we compareMangowith a greedy variant,MangoGreedy\\text\{\{Mango\}\{\}\}\_\{\\text\{Greedy\}\}, which ranks candidate URLs by their initial BM25 scores and visits them in descending order without dynamic updates from the reflection agent\. As shown in Table[5](https://arxiv.org/html/2604.18779#A2.T5),MangooutperformsMangoGreedy\\text\{\{Mango\}\{\}\}\_\{\\text\{Greedy\}\}with a 4\.0% absolute improvement in overall success rate\. This confirms that Thompson Sampling effectively leverages feedback from the reflection agent to dynamically update the posterior distribution, enablingMangoto adaptively prune unpromising URLs and reallocate the navigation budget toward more promising candidates\.

### B\.3Ablation on Episodic Memory

The episodic memory component inMangostores navigation trajectories and reflections, which are retrieved to inform subsequent navigation attempts on the same URL \(Section[3\.4](https://arxiv.org/html/2604.18779#S3.SS4)\)\. To isolate the contribution of this component, we evaluate a variant,MangoNo\_Memory\\text\{\{Mango\}\{\}\}\_\{\\text\{No\\\_Memory\}\}, in which the episodic memory module is removed\. As shown in Table[5](https://arxiv.org/html/2604.18779#A2.T5), removing the episodic memory causes the overall success rate to drop from 55\.0% to 47\.0%, an 8\.0% absolute decrease\. This is consistent with our design motivation: without access to prior trajectories and reflections, the navigation agent is prone to repeating the same actions when revisiting a URL, leading to redundant exploration and premature budget exhaustion\.

## Appendix CPrompts

In this section, we present the full prompts ofMango\. Table[6](https://arxiv.org/html/2604.18779#A3.T6)shows the prompt of generating keywords described in Section[3\.1](https://arxiv.org/html/2604.18779#S3.SS1)\. Table[7](https://arxiv.org/html/2604.18779#A3.T7)shows the prompt of the navigation agent \(Section[3\.3](https://arxiv.org/html/2604.18779#S3.SS3)\)\. Table[8](https://arxiv.org/html/2604.18779#A3.T8)and[9](https://arxiv.org/html/2604.18779#A3.T9)shows the prompts of the reflection agent \(Section[3\.4](https://arxiv.org/html/2604.18779#S3.SS4)\)\.

You are a search expert\.Transform the user’s intent into a concise search query composed of space\-separated keywords\.Output only the final query\.Table 6:Prompt for the Search Query Generator\. It transforms complex user intents into concise keyword\-based queries\.You are a Web Navigation Agent\.You can call functions to visit websites as needed\.You may also be provided with previous navigation history, including function calls, previous outputs, and reflections, to help inform your decisions\.You may choose to continue navigating by revisiting a previously visited URL or by starting fresh from the root URL\.TASK INSTRUCTIONS1\. Use the browser functions to visit and explore the target URL\.2\. Read the page content thoroughly\.3\. If you find new content that can answer the user query, generate an answer based on the page content\. Otherwise, continue navigating to find relevant information\.HANDOFF INSTRUCTIONSInstead of outputting text, you must hand off control to the appropriate reflection agent based on your findings\.Case 1: Relevant Information FoundIf you find new content that clearly answers the user query:\- Hand off to the success\_reflection\_agent\.\- Pass result and source \(the specific URL\) to the handoff function\.Case 2: Stuck / Information Not FoundIf you cannot find relevant information, reach a dead end, determine that the page content is entirely irrelevant, or cannot find new content after thorough exploration:\- Hand off to the failure\_reflection\_agent\.\- You do not need to provide content, but ensure that you have explored the page sufficiently\.TASKUser Query: \{USER\_QUERY\}Root URL: \{ROOT\_URL\}Table 7:Prompt for the Web Navigation Agent\. This instruction guides the agent to explore pages using previous navigation history and hand off control to specific reflection agents based on success or failure\.You are a Navigation Decision Evaluator\.You are reviewing a navigation session in which the agent has generated a response indicating task completion\. Your goal is to determine whether the navigation actions and output fully satisfy the user’s query\.DECISION FRAMEWORKA\. adequate\- The final output and navigation trajectory provide a complete and comprehensive answer to the User Query\. The answer needs to cover all questions of the User Query\.\- No further navigation is needed\.B\. inadequate\- The output is partial or relevant, but does not fully answer the User Query\.\- Further navigation on following links is likely to provide the missing information\.OUTPUT FORMATOutput a JSON object\.\{"status":"adequate" \| "inadequate","reason":"Explain why the current output is sufficient or why we should continue\.","output":"The response generated by the navigation agent\.","source":"The URL where the content was extracted from\."\}Table 8:Prompt for the Reflection Agent \(Task Completion Case\)\. This prompt is triggered when the navigation agent indicates task completion to determine if the agent should stop or continue\.You are a Navigation Decision Evaluator\.The web navigation agent has exhausted its navigation budget before completing the task\. Your goal is to analyze the navigation trajectory and the final URL to decide if this path is promising and should be continued, or if it should be abandoned\.DECISION FRAMEWORKA\. feasible\- The answer was not found yet, but the current page is relevant to the User Query\.\- The stop might be due to budget constraints, but the agent simply needs to visit more links or navigate deeper on this site\.\- We should NOT give up on this path yet\.B\. infeasible\- The page is irrelevant, a dead end, or the site is broken\.\- Repeated actions in the trajectory suggest no answer exists here\.\- We should abandon this path\.OUTPUT FORMATOutput a JSON object\.\{"status":"feasible" \| "infeasible","reason":"Explain why the current trajectory is promising vs\. why it leads to a dead end\."\}Table 9:Prompt for the Reflection Agent \(Budget Exhaustion Case\)\. This prompt is triggered when the agent exhausts its navigation budget, helping determine if the current trajectory remains promising\.
## Appendix DFull Results

Table 10:The full success rate \(SR\) results categorized by websites on WebVoyager\. WW refers to WebWalker, AO refers to AgentOccam, and M refers toMango\.Table 11:Full comparison of the success rate \(SR\) ofMangowith its four variants on WebVoyager\. R refers toMangoRandom\{\}\_\{\\text\{Random\}\}, G refers toMangoGoogle\{\}\_\{\\text\{Google\}\}, MCTS refers toMangoMCTS\{\}\_\{\\text\{MCTS\}\}, and M refers toMango\.Single\-source QAMulti\-source QAOverallModelMethodEasyMediumHardOverallEasyMediumHardOverallOpen\-Sourced LLMsQwen3\-4BMangorandom\{\}\_\{\\text\{random\}\}18\.7510\.717\.5011\.4713\.757\.147\.508\.8210\.15Mangogoogle\{\}\_\{\\text\{google\}\}16\.2525\.0010\.8317\.9412\.5012\.8614\.1713\.2415\.59MangoMCTS\{\}\_\{\\text\{MCTS\}\}15\.0010\.7112\.5012\.357\.5014\.2910\.8311\.4711\.91Mango21\.2526\.4317\.5022\.0611\.2512\.1412\.5012\.0617\.06Qwen3\-8BMangorandom\{\}\_\{\\text\{random\}\}22\.5015\.7110\.0015\.2920\.0012\.148\.3312\.6513\.97Mangogoogle\{\}\_\{\\text\{google\}\}23\.7525\.7116\.6722\.0621\.2514\.2910\.8314\.7118\.38MangoMCTS\{\}\_\{\\text\{MCTS\}\}17\.5012\.8612\.5013\.8210\.0016\.4311\.6713\.2413\.53Mango26\.2531\.4325\.8328\.2416\.2515\.7115\.0015\.5921\.91Qwen3\-14BMangorandom\{\}\_\{\\text\{random\}\}27\.5025\.7110\.0020\.5921\.2511\.4310\.8313\.5317\.06Mangogoogle\{\}\_\{\\text\{google\}\}32\.5035\.7117\.5028\.5318\.7520\.7113\.3317\.6523\.09MangoMCTS\{\}\_\{\\text\{MCTS\}\}18\.7513\.5717\.5016\.1811\.2520\.0012\.5015\.2915\.74Mango35\.0037\.1425\.8332\.6520\.0019\.2919\.1719\.4126\.03Qwen3\-32BMangorandom\{\}\_\{\\text\{random\}\}28\.7522\.1419\.1722\.6521\.2516\.4317\.5017\.9420\.29Mangogoogle\{\}\_\{\\text\{google\}\}35\.0041\.4320\.8332\.6522\.5021\.4314\.1719\.1225\.88MangoMCTS\{\}\_\{\\text\{MCTS\}\}18\.7514\.2918\.3316\.7611\.2522\.1412\.5016\.1816\.47Mango41\.2540\.7125\.0035\.2925\.0022\.1418\.3321\.4728\.38Closed\-Sourced LLMsGPT\-5\-miniMangorandom\{\}\_\{\\text\{random\}\}57\.5060\.7146\.6755\.0045\.0038\.5738\.3340\.0047\.50Mangogoogle\{\}\_\{\\text\{google\}\}53\.7560\.0050\.8355\.2946\.2540\.0045\.8343\.5349\.41MangoMCTS\{\}\_\{\\text\{MCTS\}\}50\.0041\.4344\.1744\.4140\.0041\.4338\.3340\.0042\.21Mango63\.7564\.2954\.1760\.5943\.7550\.7137\.5044\.4152\.50Table 12:Full comparison of the success rate \(SR\) ofMangowith four variants on WebWalkerQA\.We report the full experimental results on WebVoyager, categorized by website type in Table[10](https://arxiv.org/html/2604.18779#A4.T10)\. We also report the detailed results of the ablation study on WebVoyager and WebWalkerQA in Table[11](https://arxiv.org/html/2604.18779#A4.T11)and Table[12](https://arxiv.org/html/2604.18779#A4.T12), respectively\.

Similar Articles

MM-WebAgent: A Hierarchical Multimodal Web Agent for Webpage Generation

Hugging Face Daily Papers

MM-WebAgent is a hierarchical agentic framework that generates coherent and visually consistent webpages by coordinating AIGC-based element generation through joint optimization of layout and multimodal content. The paper introduces a benchmark and multi-level evaluation protocol, demonstrating improvements over code-generation and agent-based baselines.

COAgents: Multi-Agent Framework to Learn and Navigate Routing Problems Search Space

arXiv cs.AI

COAgents is a cooperative multi-agent framework for solving Vehicle Routing Problems that models search as a graph, using specialized agents for node selection, move selection, and jumps to escape local minima. It achieves state-of-the-art results on CVRP and VRPTW benchmarks, reducing the gap to best-known solutions by up to 44% compared to prior learning-based methods.

MineExplorer: Evaluating Open-World Exploration of MLLM Agents in Minecraft

Hugging Face Daily Papers

The MineExplorer benchmark evaluates multimodal large language model agents' open-world exploration abilities in Minecraft using atomic and multi-hop tasks designed through multi-agent synthesis. Experiments show that open-world exploration remains challenging, with strong models degrading sharply over longer trajectories.

WebWatcher: Breaking New Frontier of Vision-Language Deep Research Agent

Papers with Code Trending

WebWatcher is a multimodal agent for deep research that uses synthetic trajectories and reinforcement learning to achieve superior performance in complex visual and textual information retrieval tasks. The paper also introduces BrowseComp-VL, a new benchmark for evaluating multimodal agents.