Proxy-Pointer Retrieval: Achieving Accuracy and Scale Without a Vector-Only Architecture

    This article examines why hierarchical, vector-free retrieval delivers high accuracy on structured documents but fails to scale, and introduces Proxy-Pointer retrieval, a two-layer index that keeps structure as a pointer layer rather than a content layer. It covers the three mechanisms behind hierarchical accuracy, a cost and latency breakdown of both approaches, the pointer and content layer design, engineering details for ingestion, pointer vectorization, retrieval, and incremental updates, plus evaluation metrics and practical adoption boundaries.

    1. The Problem: Structure-Aware Retrieval vs. Retrieval at Scale

    In enterprise knowledge bases, retrieval quality usually depends on two things: whether the system can understand a document’s own structure (the hierarchy among sections, clauses, tables, and footnotes), and whether it can locate candidates quickly across a large number of independent documents. Engineering practice over the past two years has split in a clear direction. One camp emphasizes “vector-free, reasoning-based retrieval,” building a hierarchical directory that lets a model browse a document layer by layer like a domain expert. The other emphasizes “flat vector retrieval,” chunking documents and recalling fragments by similarity. The former performs strongly on deep question answering over complex structured documents such as financial statements, contracts, and annual reports; the latter has cost and latency advantages for multi-document and open-domain retrieval.

    The signal from early practice is clear: hierarchical, vector-free retrieval can reach very high accuracy on deep single-document queries, but index construction depends on summarizing each document with a large model, which is slow and expensive. Retrieval is also a two-stage process of “traverse the directory, then synthesize the answer,” so the number of model calls grows linearly with hierarchy depth. When a knowledge base expands from “a few dozen complex documents” to “hundreds of thousands of heterogeneous documents,” both construction and retrieval become bottlenecks. So the question worth studying is not “which one to choose,” but: can structure-awareness be embedded into a scalable index form, so that retrieval keeps its accuracy without adding extra latency or cost?

    2. Why Hierarchical Directory Retrieval Is More Accurate: Three Mechanisms

    2.1 Structural priors replace arbitrary chunking

    Conventional chunking splits by fixed windows or punctuation, which easily separates “a table header from its data rows” or “a definition from its exception clause.” A hierarchical directory preserves a document’s natural boundaries. At retrieval time, the system first determines “which chapter,” then “which paragraph,” shrinking the search space from the whole corpus to a local region and reducing distractors that are similar but irrelevant.

    2.2 The reasoning path is explainable and correctable

    Layer-by-layer browsing produces a readable navigation trace (chapter → section → table → row). Engineers can identify which layer an error occurred at and fix it by adjusting directory granularity or node summaries. Flat vector recall only returns similarity scores, so when a match fails it is hard to tell whether the cause is chunking or semantic drift.

    2.3 Query intent aligns with document granularity

    Complex questions often “narrow the scope first, then extract a value,” for example “year-over-year capital expenditure in a given year’s segment report.” Hierarchical structures naturally support this coarse-to-fine constraint propagation, whereas flat recall must express both scope and detail in a single similarity computation and tends to trade one off against the other.

    3. Why It Does Not Scale: A Cost and Latency View

    Let the number of documents be N, and let building a directory for one document take k model calls on average. Ingestion cost is then O(N·k), and each call processes a long-text summary, so the unit cost is significantly higher than an embedding computation. At retrieval time, t directory-traversal calls are needed (t correlates with tree height), plus one answer-synthesis call, for t+1 model calls per query. A vector approach costs O(N) embedding computations at ingestion, and one similarity search plus one synthesis at query time. The gap is orders of magnitude at scale: as N grows from 10^2 to 10^5, the time and cost of directory-style ingestion become nearly unacceptable, and retrieval latency accumulates with t.

    The conclusion is not to reject hierarchical structure, but to point out: hierarchy should exist as a “pointer layer,” not as a “content layer” that participates in every reasoning step.

    4. The Core Idea of Proxy-Pointer Retrieval

    Proxy-Pointer splits the index into two layers:

    • Proxy Layer: each document generates a lightweight directory tree whose nodes store only a title path, a very short summary (the proxy text), and a pointer to the original location (document ID plus paragraph or table offset). The proxy layer can be vectorized or searched by keyword.
    • Content Layer: original fragments, tables, and footnotes stay as they are, and are fetched by offset only after a pointer is matched, then passed to the model as context for answer synthesis.

    The retrieval flow becomes: recall pointers by vector → select the most relevant nodes → fetch the original text by pointer → synthesize the answer. The model participates only in the last step, while traversal and localization are done by vector similarity. This compresses t model calls down to 0, and replaces long-document summarization at ingestion with short proxy-text generation.

    Illustrative data structure (pseudocode):

    1. class PointerNode:
    2. doc_id: str
    3. path: list[str] # e.g. ["Chapter 3", "3.2 Segment Information"]
    4. proxy_text: str # 32-64 character proxy summary
    5. span: tuple[int, int] # start and end offsets in the original text
    6. children: list[PointerNode]

    5. Engineering Implementation

    5.1 Ingestion: low-cost proxy text generation

    Replace whole-document summarization with a combination of “extractive plus lightweight generative”: first parse the title hierarchy with a structure parser, then compress each node’s first sentence, table captions, and key entities with templates, calling the model only when necessary. This brings per-document cost close to an embedding computation, and the work can be batched in parallel. Pairing object storage for the original text with a message queue for ingestion orchestration supports large-scale incremental updates.

    5.2 Pointer vectorization: one vector per node

    Proxy text is short and semantically focused, so embedding quality is high and dimensionality stays controlled. Build a vector for each node while keeping the title path as metadata for filtering (document type, year, department), enabling “filter first, then recall” and significantly reducing cross-document false recalls.

    5.3 Retrieval: one recall plus one synthesis

    After recalling the top-k pointers, deduplicate by path and merge adjacent nodes, then fetch the original fragments and concatenate them into context. If a question requires aggregation across sections, a second expansion can be applied to multiple pointers in the same document (taking parent or sibling nodes), still without introducing model calls.

    5.4 Incremental updates and consistency

    When a document is updated, rebuild only the proxy text and vectors of affected nodes, and manage pointer offsets with version numbers. Deletions use tombstone markers to avoid full rebuilds. For monitoring, use a logging service and alerting to track recall hit rate, context length distribution, and synthesis failure rate.

    6. Comparison and Evaluation Method

    Three groups of metrics are recommended as a baseline:

    • Retrieval quality: on complex structured documents, compare answer accuracy and citation accuracy across hierarchical vector-free retrieval, flat vector retrieval, and Proxy-Pointer retrieval.
    • Cost: count model calls and token volume per document at ingestion; the Proxy-Pointer approach should be significantly lower than the whole-document summarization approach.
    • Latency: count model calls per query and end-to-end time; the Proxy-Pointer approach should be close to the flat vector approach.

    The evaluation set should cover three question types: deep single-document queries (locating values and clauses), cross-document aggregation (comparing multiple annual reports), and open-domain retrieval (finding relevant passages among many independent documents). The expected result is that deep single-document queries approach hierarchical accuracy, while cross-document and open-domain retrieval approach the scale capability of vector search.

    7. Applicability and Adoption Advice

    Proxy-Pointer retrieval is not a universal solution. When document structure is very weak (plain text logs, for example) and questions mainly require exact keyword matching, flat vector or inverted-index retrieval is more economical; when there are very few documents with very complex structure, building a complete hierarchical directory directly is simpler. For adoption, validate pointer granularity and proxy text length in a single business domain first (financial or legal documents, for example), then expand gradually to a multi-domain knowledge base, and keep a manually editable directory-correction entry point to preserve the explainability advantage.