HierSearch: A Hierarchical Enterprise Deep Search Framework Integrating Local and Web Searches

Jiejun Tan, Zhicheng Dou, Yan Yu, Jiehan Cheng, Qiang Ju +2 more
8/11/2025
cs.IRcs.AIcs.CL

No official code found. Best implementation: plageon/HierSearch (41 stars, MIT, last commit 2025-10-09).

Abstract

Recently, large reasoning models have demonstrated strong mathematical and coding abilities, and deep search leverages their reasoning capabilities in challenging information retrieval tasks. Existing deep search works are generally limited to a single knowledge source, either local or the Web. However, enterprises often require private deep search systems that can leverage search tools over both local and the Web corpus. Simply training an agent equipped with multiple search tools using flat reinforcement learning (RL) is a straightforward idea, but it has problems such as low training data efficiency and poor mastery of complex tools. To address the above issue, we propose a hierarchical agentic deep search framework, HierSearch, trained with hierarchical RL. At the low level, a local deep search agent and a Web deep search agent are trained to retrieve evidence from their corresponding domains. At the high level, a planner agent coordinates low-level agents and provides the final answer. Moreover, to prevent direct answer copying and error propagation, we design a knowledge refiner that filters out hallucinations and irrelevant evidence returned by low-level agents. Experiments show that HierSearch achieves better performance compared to flat RL, and outperforms various deep search and multi-source retrieval-augmented generation baselines in six benchmarks across general, finance, and medical domains.

View on arXivView PDF

Code Implementations(1)

plageon/HierSearchCommunity70%
MIT

HierSearch: A Hierarchical Enterprise Deep Search Framework Integrating Local and Web Searches

411XSLT, ShellJul 31, 20251 years agoMIT

Similar Papers

Cite this paper

@article{tan2025hiersearch,
  title  = {HierSearch: A Hierarchical Enterprise Deep Search Framework Integrating Local and Web Searches},
  author = {Jiejun Tan and Zhicheng Dou and Yan Yu and Jiehan Cheng and Qiang Ju and Jian Xie and Ji-Rong Wen},
  year   = {2025},
  eprint = {2508.08088},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.08088v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.08088.svg)](https://codeofpaper.com/paper/2508.08088)

Discussion