A Three-Layer Benchmarking Framework for AI Knowledge Assistants - Part 2: Results
A quick recap of what we measured in Part 1: retrieval (did the system find the right source?), generation (was the answer accurate, complete, and well-formatted, scored across five dimensions in an LLM-as-a-judge scheme), and user experience (latency, formatting, and cost). Now the results.
Step 2 Results: Retrieval
Our baseline is standard off-the-shelf retrieval: documents split into fixed text chunks, matched to queries using vector similarity.
Our proprietary retrieval framework, JEKLTM hit 96% on finding the correct source material, versus 78% for the baseline. More importantly, it ranked the correct source first on 9 out of 10 questions at minimum retrieval settings, meaning the right answer was the top result before we even retrieved anything else.
The category breakdown tells the more interesting story:
A few observations that stand out:
- Code Lookup: This is the biggest gap. The baseline missed 4 out of 10 code-specific questions entirely. These are queries like "what HCPCS code is used for Therapeutic Mentoring?" where the answer is a single identifier buried in a table row. Vector similarity on raw text chunks struggles here because the query vocabulary and the document vocabulary don't overlap. JEKL found the correct source on all 10.
- Acronym-Heavy: This is the second biggest gap. 90% vs 60% hit rate, with 4 of the 11 outright JEKL wins in this category. The baseline returned no useful result on questions about PASRR, COS 021/022/023, MEDI, and DON. These are domain-specific acronyms that general-purpose embedding models have no meaningful representation for. JEKL retrieved the correct context for all but one.
- Cross-Section Questions: These were the most competitive. Both systems hit 90% here. These are questions that require synthesizing information across multiple sections, and both systems struggled equally with the hardest ones.
Precision appears low in absolute terms - this is by design. Broad retrieval maximizes recall on complex policy questions where answers span multiple sections. The PR curve tells the full story: JEKL's advantage holds across every retrieval setting, not just a single snapshot.

Step 2 Results: Generation

The generation results mirror the retrieval story, with one nuance worth noting.
Code Lookup shows the largest generation gap: JEKL accuracy 4.00 vs baseline 1.80. This is a direct consequence of retrieval. The baseline missed the correct source on 4 of 10 code questions, and when you retrieve the wrong page, you generate the wrong code. In one instance, the baseline retrieved the correct page but still generated a different code from an adjacent table row. Retrieval quality sets the ceiling for generation quality.
Acronym-Heavy was our weakest category on generation (composite 3.96) despite strong retrieval. The reason: acronym-dense responses tend to elaborate beyond the source material, which the judge penalized on hallucination safety. While the retrieval was right, the responses were occasionally too verbose.
Modifier Traps and Cross-Section were the most competitive on generation. The baseline's concise citation-style answers scored marginally higher on accuracy in these categories. However, JEKL's composite score was still higher across both, driven by completeness and formatting quality
The radar chart tells the story visually - two very different shapes, two different approaches to answering. Our system optimizes for completeness and accuracy. The baseline optimizes for brevity.

Step 3 Results: User Experience
Latency
Average end-to-end generation time for our system was 11.5 seconds per query.
Formatting Quality
Our system scored 4.64 out of 5 on formatting quality versus 2.34 for the baseline. The difference is visible in the responses: our system returns structured tables, bullet points, and section headers appropriate to the complexity of the question. The baseline returns terse citation-style answers that score well on conciseness but poorly on usability for complex multi-part questions.
Cost
Good retrieval pays compounding dividends here. Precise retrieval means shorter, more focused context per query. This means smaller models can perform at the level of much larger ones on domain-specific tasks. We run generation on a 4-bit AWQ quantized version of Gemma 4 26B on a single NVIDIA L40S GPU instance (48GB). This delivers production-grade output, fully self-hosted, no frontier model API dependency. Better retrieval directly expands your deployment options and reduces cost at scale.
Wrapping up
AI in regulated industries isn't just about capability, it's about verifiability. It’s easy to demo a system on easy questions. The benchmark is how you find out what breaks.
If you're building a RAG-based knowledge assistant for regulated industries and want to compare notes on benchmarking methodology, reach out.
.webp)
