A New Knowledge Base Paradigm Without Vector Databases
This article explains why traditional vector-based RAG knowledge bases often remain slow to build, brittle under chunking, hard to tune, and expensive to maintain, especially for multi-hop questions. It breaks down the four design principles of an emerging lightweight paradigm—index as structure, retrieval as addressing, relations as reasoning, and model use only at generation time—and shows a minimal reproducible architecture with implementation notes and sample query orchestration code. It also offers a balanced view of the lightweight-cost-accuracy trade-off, along with a practical selection and rollout path for engineering teams.
1. Why Knowledge Bases Are Both Painful to Build and Inaccurate
Over the past two years, almost every enterprise AI project has run into the same problem: a large language model does not understand your company’s business, so internal documents need to be connected to it. The most common approach in the industry is retrieval-augmented generation (RAG): split documents into small chunks, convert them into vectors, store them in a vector database, and when a user asks a question, feed the most similar passages to the model. This approach spread quickly after 2023, and the engineering barrier did come down.
But anyone who has actually delivered such a system knows that building it is easy. The hard parts come afterward: preprocessing, tuning, and maintenance.
Preprocessing is slow. Building the index often requires running a model over the full text to extract entities, items, and relations. For hundreds of thousands of passages, this can take hours, and incremental updates are nearly impossible to perform in real time.
Chunking is brittle. Fixed-length or fixed-page splitting can cut cross-sentence information—such as “the owner of a project and that project’s budget”—into two separate pieces. Once the thread is broken, no amount of later retrieval can recover it.
Tuning feels like whack-a-mole. Lower the similarity threshold and noise increases, so the model starts fabricating. Raise it and key passages get missed. Many teams spend several people and several months just to reach a “barely usable” accuracy level.
Maintenance is expensive. When a file changes, it must be re-uploaded, re-chunked, and re-vectorized, rerunning the entire pipeline.
The common root cause of these problems is twofold: “understanding documents” has been turned into a heavy offline task done upfront, and answering multi-hop questions is left to a single similarity match. Yet most real business questions are not single-hop.
2. Multi-Hop Retrieval: The Real Problem Hidden by Similarity
Multi-hop means that answering a question requires chaining multiple clues. For example, “Who owns Project A with a budget above a certain threshold, and which other projects are they involved in?” requires first locating the binding between the project and its budget in the documents, then locating the owner, then reverse-searching for the other projects that owner is involved in.
Traditional vector retrieval has three natural weaknesses here:
- Semantic similarity does not equal factual adjacency. Similar vectors only mean the wording is close; they do not mean the two passages are related in business logic.
- A single Top-K cannot express a path. Multi-hop requires “look up A first, then use A’s result to look up B,” whereas similarity retrieval is one-shot and parallel.
- Global similarity is polluted by high-frequency terms. Common words and templated phrasing occupy the top similarity positions, pushing the truly critical sentences out of the candidate set.
So the key to improving multi-hop accuracy is not swapping in a larger vector model, but giving retrieval the ability to be addressable, linkable, and iterative.
3. Four Design Principles of the New Paradigm
A class of newer approaches in the open-source world makes index building radically lightweight: no large-model extraction, no embedding generation, no vector database, and no GPU required. Setting aside specific implementations, their design principles can be abstracted into four points that are worth borrowing for any knowledge base solution.
First, the index is structure. During index building, only deterministic parsing and numbering are performed. Each passage is assigned a stable ID, and its source file, position, hierarchy, and adjacency are recorded. Because no model inference is involved, build time drops from hours to seconds—a necessary result of the architecture choice, not merely an engineering optimization.
Second, retrieval is addressing. At query time, the question is first decomposed into executable retrieval intents, then candidate passages are precisely located via keywords, IDs, and structural relations, rather than doing approximate search across an entire vector space.
Third, relations are reasoning. Passages are connected through explicit relations (same file, same section, adjacent before/after, co-occurring entities) into a traversable graph. A multi-hop question becomes one or more jumps on the graph, and the path itself is explainable and traceable.
Fourth, the model is used only at generation. The large model is responsible only for the final summarization and expression. It does not participate in index building or in recall decisions, which compresses the uncontrollable inference cost from “full offline” to “single online.”
Together, these four principles hit the cost structure of traditional solutions right on target: heavy work becomes light work, and black-box recall becomes a white-box path.
4. Engineering Implementation: A Minimal Viable Architecture
Without reference to any specific product, a reproducible lightweight knowledge base architecture can be organized like this:
[Raw files]│ Parsing (format detection, layout restoration)▼[Passage units] -- stable ID / source / position / hierarchy│├── Keyword inverted index (in memory or local files)├── Structural relation table (parent-child, adjacency, same section)└── Entity-passage mapping (rules or dictionary, optional)▼[Query orchestration] question decomposition → multi-round addressing → path merging → context assembly▼[Generation] LLM summarization + citation tracing
A few implementation points:
- The parsing layer must preserve layout semantics. Heading levels, lists, tables, headers, and footers are all the basis for later structural relations. Crudely splitting by character count directly destroys addressability.
- Passage IDs must be stable. A combination of “file fingerprint + passage sequence number” is recommended, so that when a file is slightly modified, only the changed parts are recomputed, avoiding a full rebuild.
- Prioritize the inverted index. For Chinese-language scenarios, tokenization quality determines the recall ceiling. Maintaining a business dictionary (project names, product names, internal abbreviations) is an investment far smaller than full vectorization.
- Query orchestration is the core of effectiveness. Break complex questions into several sub-queries, execute them hop by hop, and feed intermediate results into the next hop, with deduplication and conflict resolution when necessary.
- Citations must be traceable. Labeling the source passage ID in the answer is the baseline requirement for a knowledge base to enter production, and the fastest way to troubleshoot a wrong answer.
Illustrative query orchestration logic:
def multi_hop_search(question, index, max_hops=3):sub_queries = decompose(question) # question decompositionfrontier, evidence = [], []for hop in range(max_hops):candidates = []for q in (sub_queries[hop] if hop < len(sub_queries) else frontier):candidates.extend(index.lookup(q)) # keyword/structure addressingfrontier = [c.id for c in candidates]evidence.extend(candidates)return assemble_context(dedupe(evidence)) # dedupe then hand off to the model
5. A Rational View of the “Impossible Triangle”
The industry often says the knowledge base has an impossible triangle: lightweight, low-cost, and high-accuracy—at most two can be satisfied at once. The new paradigm has drawn attention because it appears to lead in several public multi-hop retrieval evaluations while keeping index-building overhead extremely low, seemingly touching all three corners at once.
But we need to stay clear-headed: all such conclusions have boundary conditions.
- Data-shape dependence. Structured and semi-structured documents (policies, manuals, tickets, report descriptions) benefit the most; purely colloquial, heavily paraphrased, or cross-lingual scenarios still need semantic recall as a supplement.
- The recall ceiling depends on parsing and the dictionary. The effectiveness of the rules-based route relies heavily on parsing quality and business dictionary maintenance, and the cold-start phase requires manual investment.
- Complex negation and comparison questions. Logic like “except for…” and “no less than” still needs explicit handling at the query orchestration layer.
- A gap exists between evaluation sets and real distributions. Public datasets lean toward multi-hop fact chaining, while real enterprise questions are messier, so validation must be done with your own data.
A more pragmatic conclusion is therefore: a lightweight structured index is well suited as the default foundation, semantic vector recall serves as an optional enhancement, and the two should be combined by scenario rather than replacing each other.
6. Selection Advice and Implementation Roadmap
If you are maintaining a knowledge base, you can evolve along the following sequence:
- Start with a health check. Tally the high-frequency failure types: is it missed recall, wrong recall, or broken threads from chunking? Different causes call for different remedies.
- Rebuild the parsing layer. Preserve layout and hierarchy information and assign stable IDs to passages. This step usually delivers immediate gains on chunking problems.
- Introduce structured indexing and multi-hop orchestration. Replace the “one-shot Top-K” with an inverted index plus a relation table, and explicitly break multi-hop questions into steps.
- Establish an evaluation loop. Prepare 50 to 200 real questions as a regression set and run them after every change to avoid fixing one problem while creating another.
- Make incremental updates routine. When a file changes, recompute only the affected passages, and combine object storage for raw files, a message queue to trigger rebuilds, and logging and monitoring services to observe recall quality.
- Introduce semantic recall as needed. For scenarios with a high share of colloquial questions, add a vector channel on top for hybrid ranking.
7. Conclusion
The real difficulty of a knowledge base has never been “can it retrieve similar passages,” but “can it chain clues along business logic,” and “when a file changes, how quickly can it become usable again.” Removing the heavy work of understanding documents from the index-building stage, replacing black-box similarity with stable identifiers and explicit relations, and replacing the one-shot Top-K with a traceable path is a direction worth serious evaluation today. For engineering teams, fixing parsing and indexing first, then discussing models and parameters, often buys more stable accuracy at a lower cost.
