TreeSeeker: Tree-Structured Trial, Error, and Return in Deep Search

Zhuofan Shi, Mingzhe Ma, Lu Wang, Fangkai Yang, Pu Zhao, Yiming Guan, Youling Huang, Wei Zhang, Qingwei Lin, Dongmei Zhang, Saravan RajmohanarXiv 2026

TL;DR

TreeSeeker is an inference-time framework that transforms deep web search from a rigid, linear process into a flexible "branch-and-return" tree search. By using a novel textual Upper Confidence Bound (UCB) rule to dynamically balance exploitation, exploration, and risk-aware pruning, it prevents LLM agents from getting trapped in unproductive search loops and sets a new state-of-the-art for open-source deep search.

What Problem Does This Paper Address?

While Large Language Model (LLM) agents are highly capable of using web browsers and search APIs for simple tasks, "deep search"—which requires multi-step browsing, cross-page reasoning, and synthesizing conflicting evidence—presents a massive challenge.

Current agents typically suffer from a premature commitment problem. They either follow a single linear path (greedily chasing the first plausible lead) or execute a fixed schedule of parallel queries. If an early search direction leads to a dead end or noisy, irrelevant webpages, these agents lack a disciplined mechanism to realize they are stuck, prune the unproductive path, and backtrack to an earlier choice point. This leads to wasted token budgets and incorrect answers.

Methods

TreeSeeker solves this control problem by organizing deep search as a structured trial-and-error process over tree-structured states. It consists of two tightly coupled components:

  1. TreeMem (Tree-Structured Memory): Instead of maintaining a flat, growing text history, TreeMem organizes the agent's workspace into sub-goals and candidate paths (branches). It attaches compact summaries of evidence, uncertainties, conflicts, and failure cues directly to the specific branches that produced them.
  2. TreeSearch (The Controller): At each decision round, TreeSearch evaluates all active sub-goal trees in parallel. Instead of ranking every possible fine-grained action, it selects from three macro-operations:
  3. EXPLOIT: Deepen a highly promising search path.
  4. EXPLORE: Test an uncertain alternative branch to gather more information.
  5. PRUNE: Stop a high-risk or unproductive continuation and return to an earlier branch point.
Figure 1: Overview of TreeSeeker. TreeSearch is the central trial-and-error controller. It tests uncertain branches, continues promising ones, and prunes weak or misleading attempts. TreeMem provides the branch-local state required to recognize useful and failed attempts, while the goal DAG determines which goals are eligible for trial-and-error control.

To choose the best operation, TreeSearch implements a Textual UCB rule. It prompts the LLM to qualitatively rate three dimensions—Value (expected progress), Uncertainty (potential information gain), and Risk (chance of wasting budget)—as LOW, MEDIUM, or HIGH. These are mapped to discrete scores (0, 1, 2) to calculate a parameter-free priority score:

$$\psi(a) = \hat{V}_a + \hat{U}_a - \hat{R}_a$$

Datasets

The authors evaluated TreeSeeker across three challenging deep-search benchmarks:

  • XBench-DeepSearch (XBench-DS): A dataset designed for complex, multi-round web search refinement and heterogeneous evidence integration.
  • BrowseComp: An OpenAI-released benchmark focusing on hard-to-find, compositional web browsing tasks (evaluated on a random sample of 100 instances).
  • BrowseComp-ZH: A Chinese-language extension of BrowseComp used to test cross-lingual and cross-cultural generalization (evaluated on a random sample of 100 instances).

Key Insights and Ideas

  • Search as a Tree, Not a Line: Explicitly separating search directions into persistent semantic branches allows the agent to pause a path, pivot to an alternative, and safely return later without losing context or cluttering its short-term memory.
  • Textual UCB over Scalar Rewards: Traditional tree search algorithms (like MCTS) rely on numeric scalar rewards, which are notoriously difficult to define for open-ended text synthesis. TreeSeeker demonstrates that LLMs can reliably self-score qualitative semantic signals to achieve the same mathematical balance of exploration and exploitation.
  • Failure Cues Prevent Looping: When TreeSeeker prunes a branch, it compresses the mistake into a short "failure cue." When the agent backtracks to try a new angle, this cue acts as a warning sign, preventing the agent from falling into the exact same trap twice.

Key Results

  • State-of-the-Art Performance: Using a gpt-5.2 backbone, TreeSeeker achieved the highest performance among all evaluated open-source baselines, scoring 56.3 on XBench-DS, 47.0 on BrowseComp, and 43.0 on BrowseComp-ZH.
  • Better Accuracy, Lower Cost: Compared to its closest structural competitor, Flash-Searcher (which uses a fixed parallel DAG schedule), TreeSeeker improved XBench-DS accuracy by 5.6 points while actually reducing total token consumption (from 1474.6K to 1415.8K) and tool calls (from 90.20 to 71.92).
  • Crucial Backtracking: Ablation studies revealed that removing the EXPLORE and PRUNE operations caused the largest performance drop (-8.3 points), confirming that the framework's success is heavily driven by its ability to backtrack.

Limitations and Future Work

  • Text-Only Modality: TreeSeeker is currently restricted to text-based deep search. It does not integrate multimodal tools, meaning it cannot reason about images, charts, or videos encountered during web browsing.
  • Inference Latency: Running the TreeSearch controller and periodically updating TreeMem summaries introduces additional LLM calls per round, which may pose latency challenges in time-sensitive applications.
  • Dependency on Source Quality: While the framework handles conflicting information well, it ultimately relies on external web search APIs and cannot guarantee truthfulness if the retrieved sources are fundamentally inaccurate or highly biased.

Summary updated

BibTeX
@misc{shi2026treeseeker,
  author = {Zhuofan Shi and Mingzhe Ma and Lu Wang and Fangkai Yang and Pu Zhao and Yiming Guan and Youling Huang and Wei Zhang and Qingwei Lin and Dongmei Zhang and Saravan Rajmohan},
  title = {{TreeSeeker: Tree-Structured Trial, Error, and Return in Deep Search}},
  year = {2026},
  eprint = {2606.11662},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.11662},
}
Figure