The Technical Shift in Graph-Free Knowledge Base Retrieval
This article explains why "hard-to-use knowledge bases" are primarily an engineering problem rather than a model limitation, breaking down the hidden cost structure of traditional RAG pipelines across preprocessing, storage, compute, and tuning. It introduces an emerging graph-free approach that moves retrieval work from write-time preprocessing to query-time computation, using structured indexes and relationship traversal instead of chunking and vectorization. Three evaluation dimensions are covered—indexing latency, multi-hop retrieval accuracy, and update overhead—along with practical guidance on when to adopt this approach, when to be cautious, and what supporting engineering practices to put in place.
The Technical Shift in Graph-Free Knowledge Base Retrieval
1. Why “Hard-to-Use Knowledge Bases” Are an Engineering Problem, Not a Model Problem
Over the past two years, Retrieval-Augmented Generation (RAG) has become the default starting point for enterprises connecting large language models to their own data. Its core assumption is straightforward: the model does not know your internal material, so you split that material into small chunks, encode them into vectors, and store them. When a user asks a question, you retrieve the semantically closest chunks, stitch them into the prompt, and let the model answer.
This flow works very well in demos, but in real business scenarios, problems concentrate in three areas:
- Chunking breaks semantic completeness. A passage stating that “a certain owner is responsible for Project A with a budget of five million” gets split across two chunks, so retrieval only matches half of it and multi-hop clues are severed.
- Similarity thresholds are hard to tune. Lower the threshold and noisy chunks flood the context, prompting the model to improvise; raise it and genuinely relevant content with different phrasing gets filtered out, causing missed recall. Teams often bounce back and forth between these two failure modes.
- Maintenance costs are high. Once a source file changes, you must re-upload, re-chunk, re-encode, and re-write the index. With large document volumes, a full rebuild can take hours; incremental updates require handling version consistency and cleaning up stale data.
It is not unusual in this industry for a six-person team to spend half a year tuning accuracy to a “reasonably satisfactory” level. This shows the bottleneck is not the generation model’s capability, but how the retrieval layer is organized.
2. The Hidden Cost Structure of Traditional Approaches
Breaking down the traditional pipeline, costs are distributed across four places:
- Preprocessing cost: parsing, cleaning, chunking, and encoding all happen at write time—one-time but frequently triggered (rerun whenever a document changes).
- Storage cost: vector indexes require additional infrastructure, putting pressure on both memory and storage as data volume grows.
- Compute cost: encoding typically relies on acceleration hardware, with noticeable resource consumption during batch indexing.
- Tuning cost: chunking strategy, recall count, similarity threshold, and reranking strategy are coupled together; without a unified evaluation baseline, teams can only rely on manual trial and error.
The key point is that most of these costs are write-time costs, while in real business, writes happen continuously. This produces a long-standing “impossible triangle”—lightweight, low-cost, and high-accuracy can usually only be satisfied two at a time.
3. The Core Idea: Moving Retrieval from “Preprocessing” to “Query Time”
A class of newer open-source approaches attempts to replace the assumption at its root: instead of pre-chunking and pre-encoding documents, they treat local files directly as the knowledge base and parse and organize content on demand at query time. The technical points can be abstracted into four:
- Preprocessing-free writes: drop a file into a directory and it participates in retrieval—no chunking, no encoding.
- Vector-free retrieval: instead of relying on vector similarity, use structured indexes and relationship reasoning to locate content.
- No dedicated acceleration hardware: index building can be done on ordinary compute resources.
- On-demand query-time computation: shift compute from “every document change” to “every question,” trading write cost for query frequency.
The engineering significance of this shift is that the write path is compressed to near zero, document updates take effect immediately, and the maintenance problem is structurally eliminated. At the same time, because no chunking is done, semantic completeness is naturally preserved, and multi-hop clues do not break at chunk boundaries.
It is worth emphasizing that these approaches are not “index-free”; they change the index form from a “collection of vectors” to a “reasoning-capable structured representation.” At query time, they traverse relationships to locate the evidence chain, then hand it to the model to generate an answer.
4. Where the Gains Come From: Three Verifiable Dimensions
When evaluating this class of approaches, cover at least three dimensions rather than only checking whether the final answer “looks right.”
1. Indexing latency
For the same batch of text (for example, around ten thousand passages), the traditional pipeline takes hours, while the new approach can compress this to seconds. The difference does not come from hardware, but from removing the two heavy steps of encoding and chunking entirely.
2. Multi-hop retrieval accuracy
Multi-hop scenarios require the system to connect facts scattered across different locations. It is recommended to explicitly include questions requiring two or more jumps—such as “condition–result” or “owner–budget–project”—in the test set, and to separately track recall hit rate and answer correctness.
3. Update overhead
Construct an experiment: modify several key fields in a source file and observe the system’s activation latency. Preprocessing-free approaches typically behave as “save and it takes effect,” while traditional approaches require rerunning the entire write pipeline.
An illustrative directory-style knowledge base structure:
knowledge/├── project_a.md # project description, owner, budget├── finance_2026.md # budget adjustment records└── meeting/└── 0112.md # meeting conclusions
The query-side logic can be simplified as:
def answer(query, kb_dir):# 1. Parse query intent and extract entities and relationship constraintsplan = parse_query(query)# 2. Traverse relationships on the structured index to collect evidence chunksevidence = traverse(build_light_index(kb_dir), plan)# 3. Assemble context and let the model generatereturn generate(query, evidence)
5. Adoption Guidance: When It Fits
Suitable scenarios
- Documents update frequently and maintenance cost is sensitive;
- Internal knowledge is mainly text, meeting notes, and specification documents;
- No dedicated acceleration hardware is available and you want to control infrastructure complexity;
- Q&A is mainly multi-hop and condition-constrained, rather than pure semantic similarity matching.
Scenarios requiring caution
- Massive volumes of unstructured scanned documents, where parsing quality must be solved first;
- Retrieval that heavily depends on cross-language semantic approximation;
- Read-only knowledge bases that already have mature vector infrastructure and extremely low update frequency.
Supporting engineering recommendations
- Use object storage to hold raw files and a message queue to trigger incremental awareness;
- Deploy the retrieval service on a container platform, and use logging and monitoring/alerting to observe query latency and evidence hit rate;
- Establish a fixed evaluation set and treat recall rate, answer correctness, and indexing latency as long-term baseline metrics;
- Keep prompt-level constraints requiring the model to answer only based on retrieved evidence, reducing the probability of hallucination.
6. Conclusion
The real difficulty of a knowledge base has never been “connecting the model,” but the three things that continuously drain engineering resources: chunking, tuning, and maintenance. Moving preprocessing cost from write time to query time is essentially trading on-demand query-side computation for an overall lighter and more real-time system. For developers, what matters is not any specific tool, but whether this technical path fits your own document update frequency and query patterns—validate with a small-scale evaluation set first, then decide whether to replace the existing pipeline. That is the prudent approach.
