Manuscript Offprint

arXiv:2608.29953

SearchWiki: Learning to Build and Navigate Knowledge Wikis for Active Information Seeking

Guransh Singh, Vishwajeet Kumar, Arkadeep Acharya, Adnan Qidwai, Jaydeep Sen, Sachindra Joshi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Flat retrieval-augmented generation treats a corpus as a bag of chunks, discarding document hierarchy and cross document structure. We introduce SearchWiki, a harness framework that synthesizes a corpus into a hierarchical, typed, navigable wiki and trains an agent, WikiResearcher-9B, to retrieve information through multi-turn tool use. The wiki organizes knowledge into three layers - document overviews, cross-document topic pages, and page-level source records; enabling progressive refinement of retrieval when initial lookup misses. We optimize the agent's navigation policy with on-policy reinforcement learning with a multi-component reward function balancing answer correctness, retrieval quality and trajectory efficiency. Evaluation on ViDoRe-V3 (8 domains), FinanceBench, and memory benchmarks (LoCoMo, LongMemEval, PersonaMem-v2) shows that WikiResearcher-9B which is our RL-tuned Qwen 9B model, significantly outperforms same-size untrained baselines and exceeds or matches larger external models. SearchWiki paired with WikiResearcher-9B demonstrates that learned navigation over structured corpora is a superior alternative to flat retrieval.

1 Introduction

Retrieval augmented generation (RAG) has emerged as a dominant paradigm for grounding large language models on external knowledge (Lewis et al. 2020; Gao et al. 2023), mitigating hallucination (Shuster et al. 2021) and enabling access to information beyond model's parametric memory or training cutoff. In its canonical form, RAG operates by embedding a corpus into a vector space, retrieving the top-k chunks most similar to a query (Karpukhin et al. 2020), and conditioning generation on this retrieved context - an approach that has proven remarkably effective for open domain question answering(QA), enterprise search, and knowledge intensive/grounded NLP tasks more broadly. However, the "flat" formulation of RAG treats corpus as an undifferentiated bag of chunks, indexed and retrieved independently of one another. In doing so, it discards the very structure that makes the corpus navigable: the hierarchy of chapter, sections, sub-sections and the cross references and the citations linking the documents and the implicit organization that a human reader relies on to build context incrementally (Liu et al. 2021; Sarthi et al. 2024; Edge et al. 2024; Gutiérrez et al. 2024). Critically, flat RAG offers no recovery mechanism when initial retrieval fails - if the top-k chunks do not contain the answer, there is no mechanism for the system to reformulate its search, backtrack, or explore related regions of the corpus, since retrieval is a single-shot operation than an iterative process. The agent, in effect cannot navigate; it can only query and hope. As the corpora grow larger and more complex spanning technical documentations, legal codices, financial reports or scientific literature with deep hierarchical dependencies, answering non-trivial questions increasingly requires multi-step, structured reasoning that flat RAG/retrieval architectures are fundamentally unequipped to provide (Trivedi et al. 2023; Jiang et al. 2023; Asai et al. 2024; Jeong et al. 2024; Yao et al. 2023).

Consider how a human researcher approaches an unfamiliar body of knowledge: not by scanning every paragraph in isolation, but by navigating hierarchically starting from an overview of table of contents, drilling down into relevant chapters, sections, subsections, concepts and following cross references until sufficient detail is gathered to answer question at hand. This process is inherently structured and recoverable: if a chosen path proves unproductive, the reader backtracks to a higher level and tries another branch rather than abandoning the search entirely (Bates 1989; Pirolli and Card 1999). Flat RAG systems, by contrast have no notion of "levels" to retreat to or "branches" to explore, every chunk is equally proximate to every query, there is no scaffold on which the agent might orient itself. This raises a natural question: why doesn't RAG simply adopt the same navigational strategy as humans? Our insight is that this capability can be manufactured rather than assumed. Specifically, we propose to synthesize a wiki-like hierarchical structure directly from the unstructured corpus automatically by inducing overview pages, concept level summaries, cross document links (Ming et al. 2026; Dai et al. 2026; Du et al. 2026; Sun, Wei, and Hsieh 2026; Xu et al. 2026) and train an agent via reinforcement learning (RL), to navigate the synthesized structure much as a human would traverse a wiki. We argue that information seeking over corpora should move from passive retrieval to active corpus navigation (Hui et al. 2026; Salemi et al. 2026): the agent should choose what to inspect, in what order, and at what granularity, using intermediate observations to decide the next step.

∗^{*}Work done as an intern at IBM

We instantiate this insight into two-stage stage framework called SearchWiki, First, synthesis: an LLM processes the raw corpus and builds a typed, three-layer wiki:

• Document overviews (documents/): per-document summaries and optional section subfolders that act as entry points and proxies to direct sources.

• Topics (topics/): cross-document concept pages with markdown links to related documents and topics, to bridge the cross-document and cross-section information gap.

• Sources (sources/): page-level JSON records (OCR/layout text and related metadata) for fine-grained verification and cited answering.

This layout supports progressive disclosure: the agent can start from summaries or topics and descend to specific pages only when needed. The same tool suite (search_wiki, read_file, read_page, grep_search, and related filesystem tools) operates over any wiki compiled into this convention. Second, learning: we train WikiResearcher-9B, an agent via RL to navigate this wiki, deciding when to ascend into details and when to backtrack, conditioned on the query. This works because it replaces passive, single-shot retrieval with a learned policy operating over explicit structure: the wiki provides a navigable scaffold, while RL training gives the agent the judgment to use it efficiently and recover from dead ends. Two design choices matter most: the three-layer hierarchy balances global orientation against local precision, and a multi-component reward jointly optimizes for answer correctness, navigation efficiency, and effective backtracking.

We train the navigation policy with on-policy RL using Decoupled Clip and Dynamic Sampling Policy Optimization (Yu et al. 2025) (DAPO), building on group-relative advantages introduced by GRPO (Shao et al. 2024). Rollouts are multi-turn tool trajectories over live wiki environments. Retrieved Token Masking (RTM) (Jin et al. 2025) restricts policy gradients to model-generated tokens (planning, tool calls, and answers), not tool observations.

Our contributions are threefold:

  1. A domain-agnostic wiki compilation and navigation interface for any knowledge source, with progressive disclosure over document, topic, and source layers.

  2. An online RL training recipe (DAPO, RTM, retrieval-aligned dense rewards) for tuning multi-turn agents such as WikiResearcher-9B to learn an effective search strategy.

  3. A unified evaluation across all eight publicly released ViDoRe v3 splits(Loison et al. 2026), comparing WikiResearcher-9B with untrained baselines and larger external models under a common harness, together with out-of-domain evaluation on FinanceBench, LoCoMo, LongMemEval, and PersonaMem-v2 (Islam et al. 2023; Maharana et al. 2024; Wu et al. 2024; Jiang et al. 2025a).

The rest of the paper is organized as follows. Section 2 discusses related approaches. Section 3 presents the SearchWiki wiki representation, ingestion process, tool interface, and DAPO training recipe. Section 4 describes the experimental setup. Section 5 reports ViDoRe v3 results, ablations, generalization holdouts, and analyses when navigation helps. Section 6 concludes and summarizes the manuscript.

References (50)