Vectorless Retrieval for Knowledge Bases: A Lightweight, Structured Alternative to RAG

    This article examines the engineering bottlenecks that make traditional vector-based RAG hard to run in production, including chunking that breaks semantic context, threshold tuning trade-offs, costly incremental updates, and weak multi-hop reasoning. It then outlines a vectorless retrieval approach built on deterministic structure parsing, rule-based entity and relation extraction, and multi-hop structured queries over raw files, compares both approaches across key dimensions, and offers practical steps for evaluation and hybrid deployment.

    1. Why the Last Mile of Knowledge Base Engineering Is the Hardest

    Over the past three years, Retrieval-Augmented Generation (RAG) has become the standard way for enterprises to connect large language models to internal knowledge. The logic is straightforward: since a general-purpose model does not know your internal documents, you split those documents into small chunks, convert them into vectors, and store them in a retrieval index. When a user asks a question, you fetch the semantically closest chunks and assemble them into the prompt.

    This works well in a demo. In production, engineering teams tend to hit the same set of problems. This article abstracts those pain points into structured engineering constraints and discusses an emerging alternative: a technical route that does not depend on vectorization or pre-chunking, and instead treats raw files directly as a searchable knowledge source.

    1.1 Chunking breaks semantic context

    Fixed-length chunking is effectively blind cutting. Suppose a document states “Project A owner: Zhang San, budget: 5 million.” If the split point happens to fall between the two clauses, the halves land in different chunks. Retrieval may match only one of them, and the clue chain is broken. Semantic integrity depends on prior assumptions baked into the splitting strategy, and enterprise documents vary enormously in format, so there is no universally optimal way to cut them.

    1.2 Threshold tuning is a seesaw

    Lower the similarity threshold and recall increases, but noise floods in and the model starts citing irrelevant passages. Raise it and noise drops, but key evidence gets filtered out, producing “the answer that should have been given was not.” This back-and-forth tuning can consume months of effort from a multi-person team, and any document change forces a restart.

    1.3 The hidden cost of incremental maintenance

    Whenever a source file changes, you must re-upload it, re-chunk it, and recompute vectors. For frequently iterated documents, full rebuilds are too expensive in time and compute, while incremental updates easily introduce version inconsistency.

    1.4 A structural weakness in multi-hop problems

    Real business questions are rarely single-hop. A question like “Which department does the owner of every project delivered by Team A last year with an acceptance score below the threshold now belong to?” requires multiple associative jumps. Single-shot retrieval based on vector similarity is inherently poor at chaining multi-hop clues. This is an architectural limitation, not a parameter problem.

    2. How the Technical Route Has Evolved

    Understanding the value of the new paradigm requires looking at three stages of evolution.

    The first stage is pure vector retrieval. It is conceptually simple with a mature ecosystem, but it preserves only semantic similarity and loses document structure and entity relationships.

    The second stage is hybrid retrieval. Keyword search and reranking models are layered on top of vectors to improve recall for proper nouns and identifier-style queries. The pipeline grows longer and depends on more components, and it still requires a vector store and an embedding model.

    The third stage is structured and graph-based retrieval. The core shift is to stop treating a document as a pile of isolated text blocks and instead parse out section hierarchy, tables, entities, and citation relationships, then use structured queries to jump along those relationships. Early approaches called a large model to extract entities and items segment by segment, and index building took hours. Newer approaches replace that extraction step with deterministic parsing rules, compressing index build time to seconds.

    3. Core Mechanisms of Vectorless Retrieval

    Such solutions typically have four stages and can be viewed as a deterministic pipeline.

    3.1 Structure parsing instead of text chunking

    The parser builds a tree index based on the document’s own syntax (heading levels, paragraphs, lists, tables, code blocks), and every minimal retrieval unit carries path information. Because the split follows semantic boundaries rather than a fixed character count, the earlier problem of a budget being separated from its owner disappears at the source.

    A schematic index structure can be expressed as:

    1. {
    2. "doc_id": "handbook-2026",
    3. "path": ["Chapter 3", "3.2 Project Budget"],
    4. "unit_id": "3.2-4",
    5. "text": "Project A owner: Zhang San, budget: 5 million",
    6. "meta": { "updated_at": "2026-11-01" }
    7. }

    3.2 Deterministic entity and relation extraction

    Instead of generative extraction, rules, dictionaries, and statistical methods identify entities, identifiers, timestamps, and hierarchical relationships, then write them into relation tables. This step is deterministic and replayable: the same document produces the same result whenever it is rebuilt, which makes auditing and debugging easier.

    3.3 Structured queries designed for multi-hop

    Retrieval is expressed as multiple joins over relation tables rather than a single similarity ranking. In pseudocode:

    1. -- Multi-hop: locate low-score projects, trace back to owners, then look up their departments
    2. SELECT dept.name
    3. FROM project p
    4. JOIN review r ON r.project_id = p.id AND r.score < :threshold
    5. JOIN person e ON e.id = p.owner_id
    6. JOIN dept ON dept.id = e.dept_id
    7. WHERE p.year = :year;

    The engineering meaning is that hop count, filter conditions, and ordering rules are all explicit and controllable. Behavior is predictable, with no “threshold guesswork.”

    3.4 No preprocessing and incremental updates

    Because the index is built directly on raw files, a file change only requires re-parsing that file and updating the corresponding units. There is no full rebuild and no extra stateful component such as a vector store to maintain. Overall dependencies shrink to file storage plus a structured index. CPU is sufficient; GPUs and embedding services are no longer required.

    4. Capability Comparison With Traditional Approaches

    Dimension Traditional vector approach Vectorless structured retrieval
    Preprocessing Chunking + embedding, long pipeline Direct parsing of raw files
    Dependent components Vector store, embedding model, optional GPU File storage + structured index
    Multi-hop capability Weak, relies on stitching multiple recalls Strong, native support via relation joins
    Explainability Similarity scores, hard to explain Query path traceable hop by hop
    Incremental maintenance Often requires rebuilds File-level partial updates
    Update consistency Prone to version drift Single index source, good consistency

    To be objective, this route does not win in every scenario. For open-ended question answering with colloquial, vague descriptions, semantic similarity still has value. In practice, the safer approach is to make the two complementary: structured retrieval handles precise association and traceability, while vector retrieval serves as a fallback for fuzzy semantics.

    5. Recommendations for Engineering Adoption

    To evaluate a similar approach in your own system, proceed in the following order.

    Step one: run a data assessment. Measure the distribution of document formats, the proportion of tables, and how consistently entities are named. The more regular the structure, the greater the benefit from deterministic parsing.

    Step two: build an evaluation set instead of tuning by feel. Sample from historical real questions, annotate the reference answers and the required evidence chunks, and form a regression test set covering both single-hop and multi-hop cases. Metrics should cover at least recall, answer accuracy, and evidence hit rate.

    Step three: start with a small-scale controlled experiment. Run the same batch of documents through both pipelines and compare index build time, per-query latency, and accuracy. Use the data to decide whether to switch or run them in parallel.

    Step four: design a hybrid retrieval layer. Make structured queries the primary path and semantic retrieval the fallback, and retain query logs for continuous regression.

    Step five: bring it into operations. Connect index updates to object storage event notifications, decouple parsing tasks through a message queue, run stateless parsing services on a container platform, and use logging and monitoring with alerts to observe index build duration and failure rates.

    On the cloud, these capabilities map to general product categories: source files in object storage, parsing tasks through a message queue and container platform, index files persisted and backed up regularly, and full-pipeline metrics wired into monitoring and alerting. Baidu AI Cloud offers a complete set of storage, compute, and observability components for this kind of general architecture and can serve as a candidate foundation for such a knowledge base pipeline.

    6. Conclusion

    Knowledge bases have long faced an “impossible triangle”: lightweight, low cost, and high accuracy are hard to achieve together. Replacing chunking and embedding with deterministic structure parsing essentially moves uncertainty forward from index building to document governance, trading explainable explicit queries for accuracy and maintainability. For engineering teams, the real payoff is not just speed, but predictable behavior, localizable problems, and changes that can be scoped locally. Validate the benefits with a small-sample controlled experiment first, then decide whether to introduce this paradigm into the production pipeline.