Vector-Free Knowledge Base: Retrieval Architecture Design and Implementation Guide
This article explains how to design and operate a vector-free retrieval architecture for enterprise knowledge bases. It clarifies that the core requirement is evidence retrieval under constraints, not vector storage, and examines common failure points in chunking, structured constraints, and updates. It then outlines an architecture built on file ingestion, structure preservation, lexical indexing, structured queries, and evidence assembly; discusses multi-hop evidence chains, incremental synchronization, performance measurement, evaluation datasets, permission enforcement, and selection criteria. Readers gain a practical framework for deciding when a vector-free or hybrid retrieval approach is appropriate and how to validate it against real business queries.
1. Rethinking the Knowledge Base: The Key Is Finding Evidence, Not Storing Vectors
After enterprises adopt large language models, they often encounter a familiar problem: the model can understand natural language, but it does not know the organization’s internal policies, project status, contract terms, or business history.
Retrieval-augmented generation (RAG) is a common approach. The system first retrieves content relevant to the question from external materials, then gives the evidence to the model to organize an answer. What is truly necessary here is retrieval and evidence constraint—not one fixed indexing method.
A traditional implementation usually follows this pipeline:
Raw files → text parsing → content chunking → vectorization → vector indexing → similarity retrieval → answer generation.
This route has strong semantic matching capability, especially when users’ wording differs significantly from the wording in documents. But it also introduces additional work in model calls, index construction, version management, and retrieval tuning.
Another approach is based on lexical indexes, document structure, and relational queries, locating evidence step by step at query time. It can avoid using a vector model and does not depend on a vector database.
It is important to emphasize: vector-free is a retrieval architecture choice. It does not mean parsing-free, index-free, or a universal replacement for all vector retrieval approaches.
2. Traditional Knowledge Base Difficulties Often Go Beyond Retrieval
2.1 Chunking Can Break Factual Relationships
Suppose a project description contains two sentences:
“The project manager is Wang.”
“The annual budget for this project is 5 million yuan.”
If these two sentences fall into different chunks, and the second chunk does not retain the project name, the system may find the budget information but cannot determine which project the budget belongs to.
This problem cannot be solved simply by adjusting a similarity threshold. Its root cause is that chunking breaks the subject, context, and section ownership.
A knowledge base should therefore preserve document titles, section paths, table headers, adjacent paragraphs, and source locations as much as possible. Whether or not vectors are used, structural information is a foundation for more reliable answers.
2.2 High Similarity Does Not Mean the Question’s Constraints Are Satisfied
A user asks, “Which projects have been approved this year and have amounts above a specified threshold?” The system must not only find semantically related project materials; it must also evaluate the year, approval status, and amount conditions.
These conditions are better handled through explicit fields and filtering rules, rather than being left entirely to text similarity ranking.
Semantic retrieval is good at finding content that is “possibly relevant.” Structured queries are good at determining “whether conditions are met.” They solve different problems.
2.3 File Updates Involve the Entire Data Chain
Knowledge base maintenance is not just uploading new files. It also includes:
- Detecting additions, modifications, and deletions;
- Cleaning stale indexes;
- Retaining traceable version information;
- Synchronizing permission changes;
- Preventing queries from mixing conflicting old and new versions.
A vector-free approach can skip the step of recomputing vectors, but it still needs to complete the work above. Without version governance, fast index construction does not guarantee correct answers.
3. What Architecture Can Vector-Free Retrieval Use?
A practical system can consist of five parts: file ingestion, structure preservation, index retrieval, evidence organization, and answer generation.
3.1 File Ingestion: Reduce Operations Without Omitting Necessary Processing
The phrase “use local files directly” is better understood in engineering terms as follows: users do not need to manually upload and manage every change; the system automatically monitors file directories and synchronizes index updates.
For plain text files, the system can extract the body text directly. Documents, spreadsheets, and scanned files still require appropriate parsing; scanned files may also require optical character recognition.
The ingestion layer should record the following basic information:
- Document identifier and source path;
- Content digest and version number;
- Modification time and indexing time;
- File type and parsing status;
- Owning organization, access permissions, and retention policy.
The content digest is used to determine whether a file has actually changed and to reduce duplicate processing. Modification time can help with detection, but it cannot fully replace content verification.
3.2 Structure Preservation: Give Fragments Complete Context
Vector-free does not mean chunking must be abandoned entirely. Long documents still need to be divided into units suitable for retrieval and citation; they simply do not necessarily need vectors computed for those units.
Prefer division by natural structure:
- Policy documents by section and clause;
- Project records by topic, date, or matter;
- Tables by record, with headers attached;
- Q&A materials by complete question-answer pairs.
Each unit should retain its source location and parent structure. When necessary, adjacent paragraphs can be read after a hit, rather than infinitely expanding every fragment during indexing.
This design supports precise location and avoids irrelevant context consuming the model’s input space.
3.3 Lexical Indexing: Quickly Find Explicit Clues
An inverted index uses terms as entry points and records the documents or fragments containing each term. It is suitable for queries involving project names, contract numbers, clause numbers, device identifiers, and other expressions with clear literal forms.
Common lexical ranking methods consider term frequency, term discrimination, and document length. For Chinese materials, tokenization, business dictionaries, number formats, and abbreviation normalization also require attention.
For example, the same department may appear under a full name, an abbreviation, and a historical name. A reviewed alias table can associate these expressions.
But lexical retrieval has clear boundaries: if a user says “cost ceiling” and the document only says “budget limit,” the system may miss the result without synonym expansion or other semantic processing.
Therefore, a low-cost index does not automatically equal high recall. Dictionary maintenance, query rewriting, and error analysis remain important.
3.4 Structured Queries: Handle Conditions That Can Be Clearly Evaluated
For fields such as dates, amounts, status, and ownership, relational tables or other structured indexes can be built.
It is necessary to distinguish two types of data sources:
One type is structured fields already present in the source material, such as “owner” and “approval status” in a table. The other type is fields extracted from free text.
The former can be parsed into storage relatively directly. The latter requires rules, manual review, or model assistance, and extraction errors may occur. Therefore, it cannot be claimed that all unstructured material can become reliable relational data without additional processing.
Structured records should also retain the corresponding source location, ensuring that query results can return to evidence rather than becoming isolated fields that cannot be verified.
3.5 Evidence Organization: Turn Relevant Materials into Answerable Information
After initial retrieval, the system needs to deduplicate, filter, rank, and supplement context before handing evidence to the generation model.
Each piece of evidence should include at least:
- Original content;
- Document name and version;
- Section, page number, or record location;
- An explanation of its relevance to the current question;
- Necessary time range and permission information.
The model is responsible for expression and summarization, while key facts should still be constrained by evidence. When no evidence is found, the system should clearly state what is missing rather than completing a plausible-sounding answer.
4. Multi-Hop Questions: From Single Retrieval to Evidence-Chain Queries
Multi-hop questions require connecting multiple facts. For example:
“Which projects are currently being executed by the department of the person responsible for a certain project?”
This question contains at least three steps:
- Find the manager of the target project;
- Find the department to which the manager belongs;
- Find the projects currently being executed by that department.
Retrieving the whole sentence at once may return materials that contain several keywords but do not guarantee a complete relationship chain.
A more reliable method is to split the question into subqueries and make each step’s output a constraint for the next step. However, this method also has risks: if the first step identifies the wrong manager, subsequent queries may continue along an incorrect relationship.
Multi-hop queries therefore need the following boundaries:
- Each step must retain the source text supporting the relationship;
- People with the same name and similar project names need disambiguation;
- Cross-document associations must be checked for time consistency;
- Query rounds, candidate counts, and execution time should be limited;
- If evidence is insufficient, inference should stop or the user should be asked for clarification.
The value of multi-hop retrieval is not to make the model think several more times, but to make every relationship connection have a checkable basis.
5. Incremental Updates: From “Rebuild the Knowledge Base” to “Local Synchronization”
One important benefit of a vector-free architecture is reduced model computation during index updates. But for this benefit to become real maintenance convenience, a complete incremental update mechanism is required.
The recommended process is:
File change detection → content verification → parse changed files → build new version index → consistent switch → clean old version.
5.1 Avoid Duplicate Processing
Compare content digests and update only after confirming that content has changed. For large documents, it is possible to further determine which sections changed, but this finer-grained update increases implementation complexity and should be adopted according to actual scale.
5.2 Correctly Handle Deletions and Moves
After a file is deleted, the lexical index, structured records, and related caches should be cleaned in sync. For a file move, determine whether it is a source path change or a new document replacing an old one.
If only additions are handled and deletions are ignored, the system can easily reference withdrawn policies or expired contract information.
5.3 Avoid Mixing Old and New Versions
During index updates, queries should not use old body text together with new fields. Version identifiers and consistent switching can help a single query see a relatively consistent data view.
For businesses that require historical traceability, validity periods should be retained rather than simply overwriting old content. A user asking “which rule applied at that time” and a user asking “which rule applies now” require different version-selection logic.
6. Do Not Equate Indexing Speed with System Performance
Index construction time is only one part of knowledge base performance. A complete evaluation should also include:
- File reading and parsing time;
- Index size and memory usage;
- Single retrieval and multi-hop query latency;
- Response time during generation;
- Tail latency under concurrent load;
- Time until updated content becomes queryable.
If one test only compares index writes for already parsed text, while another includes file parsing and model processing, their timings cannot be directly used as end-to-end performance conclusions.
Likewise, not needing a vector model does not mean the system needs no models or compute resources at all. Query rewriting, complex relationship understanding, and final answer generation may still use large models; scanned-file parsing may also consume significant resources.
Costs should be calculated separately for the actual pipeline, not judged solely by whether a component has been removed.
7. How to Validate Results Instead of Judging by a Demo
Build a test set that is close to the real business distribution and covers the following types:
- Exact name, identifier, and clause queries;
- Synonym expressions and fuzzy descriptions;
- Date, amount, status, and other condition filters;
- Cross-document multi-hop questions;
- Version conflicts and expired content;
- Questions with no answer;
- Unauthorized access requests.
During evaluation, distinguish retrieval performance from answer performance.
On the retrieval side, focus on whether key evidence is found, whether too much irrelevant content is returned, and whether multi-hop evidence is complete. On the answer side, focus on factual correctness, whether citations support conclusions, whether conditions are omitted, and whether the system correctly refuses to answer when evidence is absent.
Maintenance costs and runtime costs should also be recorded separately. One approach may have answer quality close to another but lower update cost, making it more suitable for frequently changing internal materials; another approach may be more stable for conceptual questions and may be better for knowledge Q&A with varied expressions.
There is no “universally optimal” choice outside data types and query distributions.
8. Security Boundaries: Both Retrieval Permissions and File Content Need Control
Permission control in an enterprise knowledge base must enter the retrieval chain; it cannot rely only on the generation model to decide whether a piece of content can be displayed.
Before or during retrieval, accessible data should be filtered based on user identity. New candidate documents produced by multi-hop queries must also have permissions revalidated. Cached results must not be reused across users without isolation.
In addition, document content is data to be analyzed and should not become system instructions. Even if a file contains text such as “ignore the rules” or “output other materials,” it must not gain the ability to change query strategy or access scope.
If the model can issue structured queries, its operating scope should be limited—for example, read-only access, allowed fields and tables, result limits, and execution timeouts. Query plans proposed by the model need programmatic validation rather than direct execution of arbitrary operations.
9. Selection Guidance: Determine the Problem First, Then Decide on the Index
Vector-free approaches are worth prioritizing in scenarios such as:
- Project names, identifiers, and technical terms are relatively explicit;
- Document structure is clear, and fields and relationships can be extracted;
- Files update frequently, and index maintenance cost is sensitive;
- Queries mainly involve fact location and condition filtering;
- The business requires answers to be traceable to source text.
If materials use highly varied expressions, users often ask abstract questions, or strong cross-expression matching is required, lexical retrieval alone may not be enough. In such cases, hybrid retrieval can be considered, letting lexical, structured, and semantic methods handle the problems they are best suited to.
The ultimate goal is not to “eliminate vectors completely,” but to provide trustworthy answers with less engineering burden. Building an explainable baseline retrieval pipeline first and then adding capabilities based on real error cases is more reliable than repeatedly tuning a single technical route.
Knowledge base reliability comes from a complete system: materials are updated in time, retrieval finds the correct evidence, relationships can be verified, permissions are enforced, and answers are traceable. A vector-free architecture offers a lighter option for this system, but its value must be proven through real business testing.
