Faculty of Information Technology & Computer Science

Retrieval-Augmented Generation Architectures for Enterprise Document Analysis: A Benchmark Study

Authors: Dr. Aris Thorne, Prof. Marcus Vance, Dr. Elena Rostova

Published in: Squiz U Journal of Advanced Computing & Artificial Intelligence, Vol. 14, 2026

DOI: 10.5555/squiz.ai.2026.0841

Executive Summary: An empirical benchmark of dense vector embeddings, hybrid BM25 lexical retrieval, and cross-encoder re-ranking algorithms applied to multi-structured academic and enterprise document repositories.

Abstract

Retrieval-Augmented Generation (RAG) has emerged as the state-of-the-art paradigm for grounding large language models (LLMs) on domain-specific enterprise knowledge bases. However, optimal chunking strategies, vector embedding dimensions, and hybrid retrieval fusion methods remain inconsistently evaluated across heterogeneous document types. In this paper, we present a comprehensive benchmark of dense vector retrieval (using OpenAI text-embedding-3-large and BGE-large-en), lexical BM25 indexing, and Reciprocal Rank Fusion (RRF) across a dataset of 50,000 multi-structured university course profiles, research publications, and administrative policies.


1. Introduction and Related Work

Large language models (LLMs) exhibit impressive generative reasoning capabilities but remain susceptible to factual hallucinations and knowledge cutoff constraints when deployed in specialized domain environments. Retrieval-Augmented Generation (RAG) addresses these limitations by fetching relevant document chunks from a vector database or hybrid index to construct grounded context prompts dynamically.

Recent literature highlights a key trade-off between chunk retrieval recall and contextual precision. Small chunk sizes (e.g., 256 tokens) isolate specific facts but fragment long-range semantic relationships, whereas large chunk sizes (e.g., 1024 tokens) risk diluting vector embedding density with irrelevant noise. Furthermore, pure semantic vector search often fails on keyword-exact queries, such as course code identifiers, unit prerequisites, or policy reference numbers.

2. Methodology and Hybrid Retrieval Fusion

To evaluate retrieval precision, we implemented a multi-stage hybrid search pipeline. Documents were parsed into semantically cohesive HTML sections based on header hierarchies (<h1> through <h3>) and sliding window token overlaps of 128 tokens. Indexes were constructed using a dual-path architecture:

  • Dense Vector Index: 1536-dimensional embeddings indexed via Hierarchical Navigable Small World (HNSW) graphs in a Qdrant vector database using cosine similarity distance.
  • Lexical Index: Full-text BM25 index implemented with configurable term frequency saturation ($k_1 = 1.2$) and document length normalization ($b = 0.75$).

Candidate retrieval results were merged using Reciprocal Rank Fusion (RRF) with a constant $k=60$, followed by a cross-encoder re-ranking model (Cohere Rerank v3) to select the top $k=5$ context chunks fed into the LLM prompt window.

3. Empirical Results and Discussion

Our benchmark revealed that hybrid dense-lexical retrieval with cross-encoder re-ranking achieved a Normalized Discounted Cumulative Gain (NDCG@5) of 0.892, representing a 24.3% improvement over standalone dense vector search on administrative policy queries. Furthermore, semantic chunking based on document layout hierarchy yielded a 18.7% reduction in LLM hallucination rates compared to fixed-length token splitting.

4. Conclusion and Implementation Directives

Grounding enterprise search systems in unstructured CMS environments requires a hybrid retrieval strategy that combines exact lexical matching with dense semantic embeddings. Our findings demonstrate that hierarchical HTML section parsing combined with cross-encoder re-ranking maximizes generation accuracy while optimizing prompt token consumption in production RAG systems.